@fluid-topics/ft-search-load-more-button 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let c;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,c=new Set(i.observedAttributes||[]);p(i,c,s);const l={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:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let f=o.call(r,t);f||(f=h(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,l),l.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),d(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){b.push(this),r.upgrade.apply(r,arguments),b.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=c;if(e)return c=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,o),e},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!l(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),l(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=f(o)||window.customElements,i=r._getDefinition(e);return i?d(o,i):n.set(o,r),o}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!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)}},p=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n,i),o.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(e.has(r)){const t=this.getAttribute(r);i.call(this,r),o.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const e=this.getAttribute(i);o.call(this,i,t,e)}else n.call(this,i,r)})},u=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):u(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),c=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const g=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),b.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){b.push(this),o.set.call(this,t),b.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===i.get(o).formAssociated)return r?.call(this,...e);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));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 e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+o]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=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,[]),e=[];for(const o of t){const t=i.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Qn){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,t)}}}class e extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class o extends Promise{constructor(t){super(((o,r)=>t((t=>{this.isCanceled?r(new e("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?r(new e("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,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof o&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,r){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const i=(t=>new o(((e,o)=>t.then(e).catch(o))))(e());return this.content[t]=i,i.then((e=>(this.content[t]=e,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),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 i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)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}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let c;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,c=new Set(i.observedAttributes||[]);p(i,c,s);const l={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:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let f=o.call(r,t);f||(f=h(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,l),l.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),d(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){b.push(this),r.upgrade.apply(r,arguments),b.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=c;if(e)return c=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,o),e},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!l(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),l(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=f(o)||window.customElements,i=r._getDefinition(e);return i?d(o,i):n.set(o,r),o}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!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)}},p=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n,i),o.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(e.has(r)){const t=this.getAttribute(r);i.call(this,r),o.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const e=this.getAttribute(i);o.call(this,i,t,e)}else n.call(this,i,r)})},u=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):u(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),c=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const g=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),b.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){b.push(this),o.set.call(this,t),b.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===i.get(o).formAssociated)return r?.call(this,...e);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));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 e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+o]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=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,[]),e=[];for(const o of t){const t=i.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(ta){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,t)}}}class e extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class o extends Promise{constructor(t){super(((o,r)=>t((t=>{this.isCanceled?r(new e("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?r(new e("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,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof o&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,r){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const i=(t=>new o(((e,o)=>t.then(e).catch(o))))(e());return this.content[t]=i,i.then((e=>(this.content[t]=e,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),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 i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)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}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
@@ -81,7 +81,11 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
81
81
  * @license
82
82
  * Copyright 2019 Google LLC
83
83
  * SPDX-License-Identifier: BSD-3-Clause
84
- */class Ie extends me{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ue?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=$e.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var ke,Le=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const We=Symbol("constructorPrototype"),Ae=Symbol("constructorName"),je=Symbol("exportpartsDebouncer");class Fe extends Ie{constructor(){super(),this[ke]=new i(5),this[Ae]=this.constructor.name,this[We]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ae]&&Object.setPrototypeOf(this,this[We])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[je].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}ke=je,Le([$()],Fe.prototype,"exportpartsPrefix",void 0),Le([A([])],Fe.prototype,"exportpartsPrefixes",void 0),Le([$()],Fe.prototype,"customStylesheet",void 0);const Ke=xt`
84
+ */class Ie extends me{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ue?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=$e.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var ke,Le=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const We=Symbol("constructorPrototype"),Ae=Symbol("constructorName"),je=Symbol("exportpartsDebouncer");class Fe extends Ie{constructor(){super(),this[ke]=new i(5),this[Ae]=this.constructor.name,this[We]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ae]&&Object.setPrototypeOf(this,this[We])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[je].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}ke=je,Le([$()],Fe.prototype,"exportpartsPrefix",void 0),Le([A([])],Fe.prototype,"exportpartsPrefixes",void 0),Le([$()],Fe.prototype,"customStylesheet",void 0);const Ke=xe.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");xt`
85
+ .highlight-html-match {
86
+ background: ${Ke};
87
+ }
88
+ `;const Pe=xt`
85
89
  .ft-no-text-select {
86
90
  -webkit-touch-callout: none;
87
91
  -webkit-user-select: none;
@@ -102,7 +106,7 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
102
106
  -webkit-hyphens: auto;
103
107
  hyphens: auto
104
108
  }
105
- `;const Pe=xt`
109
+ `;const Me=xt`
106
110
  .ft-safari-ellipsis-fix {
107
111
  margin-right: 0;
108
112
 
@@ -113,8 +117,8 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
113
117
  display: inline-block;
114
118
  width: 0;
115
119
  }
116
- `;class Me{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}function De(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var ze,Be,Te;const Ze=Symbol("internalReduxEventsUnsubscribers"),_e=Symbol("internalStoresUnsubscribers"),He=Symbol("internalStores");class Ge extends Fe{constructor(){super(...arguments),this[ze]=new Map,this[Be]=new Map,this[Te]=[]}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[He].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[He].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[He].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:De(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[He].delete(e)}setupStore(t,e){this[He].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[He].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[_e].has(t.store):this[_e].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[_e].set(t,e.subscribe((()=>this.updateFromStores()))),De(e)&&e.eventBus&&(null===(o=this.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[Ze].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[_e].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Ze].forEach((t=>t())),this[Ze]=[]}unsubscribeFromStore(t){this[_e].has(t)&&this[_e].get(t)(),this[_e].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Ve(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function qe(t){return!!t&&!!t[Fo]}function Ye(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Ko}(t)||Array.isArray(t)||!!t[jo]||!!(null===(e=t.constructor)||void 0===e?void 0:e[jo])||oo(t)||ro(t))}function Xe(t,e,o){void 0===o&&(o=!1),0===Je(t)?(o?Object.keys:Po)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function Je(t){var e=t[Fo];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:oo(t)?2:ro(t)?3:0}function Qe(t,e){return 2===Je(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function to(t,e,o){var r=Je(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function eo(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function oo(t){return ko&&t instanceof Map}function ro(t){return Lo&&t instanceof Set}function io(t){return t.o||t.t}function no(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Mo(t);delete e[Fo];for(var o=Po(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function ao(t,e){return void 0===e&&(e=!1),co(t)||qe(t)||!Ye(t)||(Je(t)>1&&(t.set=t.add=t.clear=t.delete=so),Object.freeze(t),e&&Xe(t,(function(t,e){return ao(e,!0)}),!0)),t}function so(){Ve(2)}function co(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function lo(t){var e=Do[t];return e||Ve(18,t),e}function fo(){return Uo}function ho(t,e){e&&(lo("Patches"),t.u=[],t.s=[],t.v=e)}function po(t){uo(t),t.p.forEach(bo),t.p=null}function uo(t){t===Uo&&(Uo=t.l)}function yo(t){return Uo={p:[],l:Uo,h:t,m:!0,_:0}}function bo(t){var e=t[Fo];0===e.i||1===e.i?e.j():e.g=!0}function go(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||lo("ES5").S(e,t,r),r?(o[Fo].P&&(po(e),Ve(4)),Ye(t)&&(t=mo(e,t),e.l||Oo(e,t)),e.u&&lo("Patches").M(o[Fo].t,t,e.u,e.s)):t=mo(e,o,[]),po(e),e.u&&e.v(e.u,e.s),t!==Ao?t:void 0}function mo(t,e,o){if(co(e))return e;var r=e[Fo];if(!r)return Xe(e,(function(i,n){return vo(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;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=no(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),Xe(n,(function(e,n){return vo(t,r,i,e,n,o,a)})),Oo(t,i,!1),o&&t.u&&lo("Patches").N(r,o,t.u,t.s)}return r.o}function vo(t,e,o,r,i,n,a){if(qe(i)){var s=mo(t,i,n&&e&&3!==e.i&&!Qe(e.R,r)?n.concat(r):void 0);if(to(o,r,s),!qe(s))return;t.m=!1}else a&&o.add(i);if(Ye(i)&&!co(i)){if(!t.h.D&&t._<1)return;mo(t,i),e&&e.A.l||Oo(t,i)}}function Oo(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&ao(e,o)}function xo(t,e){var o=t[Fo];return(o?io(o):t)[e]}function wo(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function So(t){t.P||(t.P=!0,t.l&&So(t.l))}function No(t){t.o||(t.o=no(t.t))}function Co(t,e,o){var r=oo(e)?lo("MapSet").F(e,o):ro(e)?lo("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:fo(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=zo;o&&(i=[r],n=Bo);var a=Proxy.revocable(i,n),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):lo("ES5").J(e,o);return(o?o.A:fo()).p.push(r),r}function Eo(t){return qe(t)||Ve(22,t),function t(e){if(!Ye(e))return e;var o,r=e[Fo],i=Je(e);if(r){if(!r.P&&(r.i<4||!lo("ES5").K(r)))return r.t;r.I=!0,o=Ro(e,i),r.I=!1}else o=Ro(e,i);return Xe(o,(function(e,i){r&&function(t,e){return 2===Je(t)?t.get(e):t[e]}(r.t,e)===i||to(o,e,t(i))})),3===i?new Set(o):o}(t)}function Ro(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return no(t)}ze=_e,Be=He,Te=Ze;var $o,Uo,Io="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),ko="undefined"!=typeof Map,Lo="undefined"!=typeof Set,Wo="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ao=Io?Symbol.for("immer-nothing"):(($o={})["immer-nothing"]=!0,$o),jo=Io?Symbol.for("immer-draftable"):"__$immer_draftable",Fo=Io?Symbol.for("immer-state"):"__$immer_state",Ko=""+Object.prototype.constructor,Po="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Mo=Object.getOwnPropertyDescriptors||function(t){var e={};return Po(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Do={},zo={get:function(t,e){if(e===Fo)return t;var o=io(t);if(!Qe(o,e))return function(t,e,o){var r,i=wo(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!Ye(r)?r:r===xo(t.t,e)?(No(t),t.o[e]=Co(t.A.h,r,t)):r},has:function(t,e){return e in io(t)},ownKeys:function(t){return Reflect.ownKeys(io(t))},set:function(t,e,o){var r=wo(io(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=xo(io(t),e),n=null==i?void 0:i[Fo];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(eo(o,i)&&(void 0!==o||Qe(t.t,e)))return!0;No(t),So(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==xo(t.t,e)||e in t.t?(t.R[e]=!1,No(t),So(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=io(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){Ve(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ve(12)}},Bo={};Xe(zo,(function(t,e){Bo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Bo.deleteProperty=function(t,e){return Bo.set.call(this,t,e,void 0)},Bo.set=function(t,e,o){return zo.set.call(this,t[0],e,o,t[0])};var To=function(){function t(t){var e=this;this.O=Wo,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=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=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Ve(6),void 0!==r&&"function"!=typeof r&&Ve(7),Ye(t)){var s=yo(e),c=Co(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?po(s):uo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return ho(s,r),go(t,s)}),(function(t){throw po(s),t})):(ho(s,r),go(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Ao&&(a=void 0),e.D&&ao(a,!0),r){var f=[],h=[];lo("Patches").M(t,a,f,h),r(f,h)}return a}Ve(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));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 e=t.prototype;return e.createDraft=function(t){Ye(t)||Ve(8),qe(t)&&(t=Eo(t));var e=yo(this),o=Co(this,t,void 0);return o[Fo].C=!0,uo(e),o},e.finishDraft=function(t,e){var o=(t&&t[Fo]).A;return ho(o,e),go(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Wo&&Ve(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=lo("Patches").$;return qe(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),Zo=new To,_o=Zo.produce;function Ho(t){return Ho="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},Ho(t)}function Go(t){var e=function(t,e){if("object"!==Ho(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Ho(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Ho(e)?e:String(e)}function Vo(t,e,o){return(e=Go(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function qo(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function Yo(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?qo(Object(o),!0).forEach((function(e){Vo(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):qo(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function Xo(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Zo.produceWithPatches.bind(Zo),Zo.setAutoFreeze.bind(Zo),Zo.setUseProxies.bind(Zo),Zo.applyPatches.bind(Zo),Zo.createDraft.bind(Zo),Zo.finishDraft.bind(Zo);var Jo="function"==typeof Symbol&&Symbol.observable||"@@observable",Qo=function(){return Math.random().toString(36).substring(7).split("").join(".")},tr={INIT:"@@redux/INIT"+Qo(),REPLACE:"@@redux/REPLACE"+Qo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Qo()}};function er(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(Xo(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(Xo(1));return o(er)(t,e)}if("function"!=typeof t)throw new Error(Xo(2));var i=t,n=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Xo(3));return n}function h(t){if("function"!=typeof t)throw new Error(Xo(4));if(c)throw new Error(Xo(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(Xo(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function p(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(Xo(7));if(void 0===t.type)throw new Error(Xo(8));if(c)throw new Error(Xo(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return p({type:tr.INIT}),(r={dispatch:p,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Xo(10));i=t,p({type:tr.REPLACE})}})[Jo]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Xo(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[Jo]=function(){return this},t},r}function or(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:tr.INIT}))throw new Error(Xo(12));if(void 0===o(void 0,{type:tr.PROBE_UNKNOWN_ACTION()}))throw new Error(Xo(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],h=l(f,e);if(void 0===h)throw e&&e.type,new Error(Xo(14));i[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function rr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function ir(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(Xo(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=rr.apply(void 0,n)(o.dispatch),Yo(Yo({},o),{},{dispatch:r})}}}function nr(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var ar=nr();ar.withExtraArgument=nr;var sr,cr=ar,lr=(sr=function(t,e){return sr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},sr(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}sr(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),fr=function(t,e){var o,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(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=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=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},hr=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},pr=Object.defineProperty,ur=Object.defineProperties,dr=Object.getOwnPropertyDescriptors,yr=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,gr=Object.prototype.propertyIsEnumerable,mr=function(t,e,o){return e in t?pr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},vr=function(t,e){for(var o in e||(e={}))br.call(e,o)&&mr(t,o,e[o]);if(yr)for(var r=0,i=yr(e);r<i.length;r++){o=i[r];gr.call(e,o)&&mr(t,o,e[o])}return t},Or=function(t,e){return ur(t,dr(e))},xr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?rr:rr.apply(null,arguments)};var wr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return lr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,hr([void 0],t[0].concat(this)))):new(e.bind.apply(e,hr([void 0],t.concat(this))))},e}(Array),Sr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return lr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,hr([void 0],t[0].concat(this)))):new(e.bind.apply(e,hr([void 0],t.concat(this))))},e}(Array);function Nr(t){return Ye(t)?_o(t,(function(){})):t}function Cr(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new wr;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(cr.withExtraArgument(o.extraArgument)):r.push(cr));return r}(t)}}function Er(t){var e,o=Cr(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,h=void 0===f?void 0:f,p=r.enhancers,u=void 0===p?void 0:p;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=or(n)}var d=s;"function"==typeof d&&(d=d(o));var y=ir.apply(void 0,d),b=rr;l&&(b=xr(vr({trace:!1},"object"==typeof l&&l)));var g=new Sr(y),m=g;return Array.isArray(u)?m=hr([y],u):"function"==typeof u&&(m=u(g)),er(e,h,b.apply(void 0,m))}function Rr(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return vr(vr({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function $r(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function Ur(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:Nr(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?$r(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,c=e[2],l=void 0===c?void 0:c,f=vr(vr({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?$r(e):[e,o,r],a=n[0],s=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Nr(t())};else{var l=Nr(t);i=function(){return l}}function f(t,e){void 0===t&&(t=i());var o=hr([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[c]),o.reduce((function(t,o){if(o){var r;if(qe(t))return void 0===(r=o(t,e))?t:r;if(Ye(t))return _o(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){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 e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}l&&t.addDefaultCase(l)}))}return n.forEach((function(t){var o,r,n=i[t],l=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[l]=o,c[t]=r?Rr(l,r):Rr(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var Ir=["name","message","stack","code"],kr=function(t,e){this.payload=t,this.meta=e},Lr=function(t,e){this.payload=t,this.meta=e},Wr=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Ir;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function Ar(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=Rr(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:Or(vr({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=Rr(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Or(vr({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Rr(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Wr)(t||"Rejected"),meta:Or(vr({},n||{}),{arg:r,requestId:e,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,c,l){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),p=new a;function u(t){f=t,p.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,b,g,m;return fr(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),b=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:c,extra:l}),null===(O=b)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,b];case 1:b=v.sent(),v.label=2;case 2:if(!1===b||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return g=new Promise((function(t,e){return p.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(h,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([g,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:p.signal,abort:u,rejectWithValue:function(t,e){return new kr(t,e)},fulfillWithValue:function(t,e){return new Lr(t,e)}})).then((function(e){if(e instanceof kr)throw e;return e instanceof Lr?r(e.payload,h,t,e.meta):r(e,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof kr?n(null,h,t,m.payload,m.meta):n(m,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:h,arg:t,unwrap:function(){return d.then(Ar)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var jr="listenerMiddleware";Rr(jr+"/add"),Rr(jr+"/removeAll"),Rr(jr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Fo];return zo.get(e,t)},set:function(e){var o=this[Fo];zo.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Fo];if(!i.P)switch(i.i){case 5:r(i)&&So(i);break;case 4:o(i)&&So(i)}}}function o(t){for(var e=t.t,o=t.k,r=Po(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Fo){var a=e[n];if(void 0===a&&!Qe(e,n))return!0;var s=o[n],c=s&&s[Fo];if(c?c.t!==a:!eo(s,a))return!0}}var l=!!e[Fo];return r.length!==Po(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Do[t]||(Do[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Mo(o);delete n[Fo];for(var a=Po(n),s=0;s<a.length;s++){var c=a[s];n[c]=t(c,e||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:fo(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Fo,{value:n,writable:!0}),i},S:function(t,o,i){i?qe(o)&&o[Fo].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Fo];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)Xe(n,(function(e){e!==Fo&&(void 0!==i[e]||Qe(i,e)?a[e]||t(n[e]):(a[e]=!0,So(o)))})),Xe(i,(function(t){void 0!==n[t]||Qe(n,t)||(a[t]=!1,So(o))}));else if(5===s){if(r(o)&&(So(o),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var l=i.length;l<n.length;l++)a[l]=!0;for(var f=Math.min(n.length,i.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Fr{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(De(i))return i;if(null==r)return;const n=Ur({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Er({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new Fr(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}: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 Kr=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!L(t,e),attribute:!1,...e};$(i)(t,o);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}},Pr=Symbol("elementInternals");var Mr,Dr,zr;const Br=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(zr=null===(Dr=null===(Mr=window.safari)||void 0===Mr?void 0:Mr.pushNotification)||void 0===Dr?void 0:Dr.toString())&&void 0!==zr?zr:""),Tr=xt`
117
- `,Zr=xe.extend("--ft-ripple-color","",Re.colorContent),_r={color:Zr,backgroundColor:xe.extend("--ft-ripple-background-color","",Zr),opacityContentOnSurfacePressed:xe.external(Re.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:xe.external(Re.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:xe.external(Re.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:xe.external(Re.opacityContentOnSurfaceSelected,"Design system"),borderRadius:xe.create("--ft-ripple-border-radius","","SIZE","0px")},Hr=xe.extend("--ft-ripple-color","",Re.colorPrimary),Gr=Hr,Vr=xe.extend("--ft-ripple-background-color","",Hr),qr=xe.extend("--ft-ripple-color","",Re.colorSecondary),Yr=qr,Xr=xe.extend("--ft-ripple-background-color","",qr),Jr=xt`
120
+ `;class De{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}function ze(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Be,Te,Ze;const _e=Symbol("internalReduxEventsUnsubscribers"),He=Symbol("internalStoresUnsubscribers"),Ge=Symbol("internalStores");class Ve extends Fe{constructor(){super(...arguments),this[Be]=new Map,this[Te]=new Map,this[Ze]=[]}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[Ge].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ge].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ge].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:ze(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Ge].delete(e)}setupStore(t,e){this[Ge].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ge].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[He].has(t.store):this[He].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[He].set(t,e.subscribe((()=>this.updateFromStores()))),ze(e)&&e.eventBus&&(null===(o=this.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[_e].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[He].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[_e].forEach((t=>t())),this[_e]=[]}unsubscribeFromStore(t){this[He].has(t)&&this[He].get(t)(),this[He].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function qe(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ye(t){return!!t&&!!t[Ko]}function Xe(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Po}(t)||Array.isArray(t)||!!t[Fo]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Fo])||ro(t)||io(t))}function Je(t,e,o){void 0===o&&(o=!1),0===Qe(t)?(o?Object.keys:Mo)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function Qe(t){var e=t[Ko];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ro(t)?2:io(t)?3:0}function to(t,e){return 2===Qe(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function eo(t,e,o){var r=Qe(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function oo(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}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 e=Do(t);delete e[Ko];for(var o=Mo(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function so(t,e){return void 0===e&&(e=!1),lo(t)||Ye(t)||!Xe(t)||(Qe(t)>1&&(t.set=t.add=t.clear=t.delete=co),Object.freeze(t),e&&Je(t,(function(t,e){return so(e,!0)}),!0)),t}function co(){qe(2)}function lo(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function fo(t){var e=zo[t];return e||qe(18,t),e}function ho(){return Io}function po(t,e){e&&(fo("Patches"),t.u=[],t.s=[],t.v=e)}function uo(t){yo(t),t.p.forEach(go),t.p=null}function yo(t){t===Io&&(Io=t.l)}function bo(t){return Io={p:[],l:Io,h:t,m:!0,_:0}}function go(t){var e=t[Ko];0===e.i||1===e.i?e.j():e.g=!0}function mo(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||fo("ES5").S(e,t,r),r?(o[Ko].P&&(uo(e),qe(4)),Xe(t)&&(t=vo(e,t),e.l||xo(e,t)),e.u&&fo("Patches").M(o[Ko].t,t,e.u,e.s)):t=vo(e,o,[]),uo(e),e.u&&e.v(e.u,e.s),t!==jo?t:void 0}function vo(t,e,o){if(lo(e))return e;var r=e[Ko];if(!r)return Je(e,(function(i,n){return Oo(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return xo(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),Je(n,(function(e,n){return Oo(t,r,i,e,n,o,a)})),xo(t,i,!1),o&&t.u&&fo("Patches").N(r,o,t.u,t.s)}return r.o}function Oo(t,e,o,r,i,n,a){if(Ye(i)){var s=vo(t,i,n&&e&&3!==e.i&&!to(e.R,r)?n.concat(r):void 0);if(eo(o,r,s),!Ye(s))return;t.m=!1}else a&&o.add(i);if(Xe(i)&&!lo(i)){if(!t.h.D&&t._<1)return;vo(t,i),e&&e.A.l||xo(t,i)}}function xo(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&so(e,o)}function wo(t,e){var o=t[Ko];return(o?no(o):t)[e]}function So(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}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,e,o){var r=ro(e)?fo("MapSet").F(e,o):io(e)?fo("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:ho(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=Bo;o&&(i=[r],n=To);var a=Proxy.revocable(i,n),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):fo("ES5").J(e,o);return(o?o.A:ho()).p.push(r),r}function Ro(t){return Ye(t)||qe(22,t),function t(e){if(!Xe(e))return e;var o,r=e[Ko],i=Qe(e);if(r){if(!r.P&&(r.i<4||!fo("ES5").K(r)))return r.t;r.I=!0,o=$o(e,i),r.I=!1}else o=$o(e,i);return Je(o,(function(e,i){r&&function(t,e){return 2===Qe(t)?t.get(e):t[e]}(r.t,e)===i||eo(o,e,t(i))})),3===i?new Set(o):o}(t)}function $o(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ao(t)}Be=He,Te=Ge,Ze=_e;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",Po=""+Object.prototype.constructor,Mo="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Do=Object.getOwnPropertyDescriptors||function(t){var e={};return Mo(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},zo={},Bo={get:function(t,e){if(e===Ko)return t;var o=no(t);if(!to(o,e))return function(t,e,o){var r,i=So(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!Xe(r)?r:r===wo(t.t,e)?(Co(t),t.o[e]=Eo(t.A.h,r,t)):r},has:function(t,e){return e in no(t)},ownKeys:function(t){return Reflect.ownKeys(no(t))},set:function(t,e,o){var r=So(no(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=wo(no(t),e),n=null==i?void 0:i[Ko];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(oo(o,i)&&(void 0!==o||to(t.t,e)))return!0;Co(t),No(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==wo(t.t,e)||e in t.t?(t.R[e]=!1,Co(t),No(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=no(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){qe(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){qe(12)}},To={};Je(Bo,(function(t,e){To[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),To.deleteProperty=function(t,e){return To.set.call(this,t,e,void 0)},To.set=function(t,e,o){return Bo.set.call(this,t[0],e,o,t[0])};var Zo=function(){function t(t){var e=this;this.O=Ao,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=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=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&qe(6),void 0!==r&&"function"!=typeof r&&qe(7),Xe(t)){var s=bo(e),c=Eo(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?uo(s):yo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return po(s,r),mo(t,s)}),(function(t){throw uo(s),t})):(po(s,r),mo(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===jo&&(a=void 0),e.D&&so(a,!0),r){var f=[],h=[];fo("Patches").M(t,a,f,h),r(f,h)}return a}qe(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));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 e=t.prototype;return e.createDraft=function(t){Xe(t)||qe(8),Ye(t)&&(t=Ro(t));var e=bo(this),o=Eo(this,t,void 0);return o[Ko].C=!0,yo(e),o},e.finishDraft=function(t,e){var o=(t&&t[Ko]).A;return po(o,e),mo(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Ao&&qe(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=fo("Patches").$;return Ye(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),_o=new Zo,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 Vo(t){var e=function(t,e){if("object"!==Go(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Go(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Go(e)?e:String(e)}function qo(t,e,o){return(e=Vo(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Yo(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function Xo(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Yo(Object(o),!0).forEach((function(e){qo(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Yo(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}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",tr=function(){return Math.random().toString(36).substring(7).split("").join(".")},er={INIT:"@@redux/INIT"+tr(),REPLACE:"@@redux/REPLACE"+tr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+tr()}};function or(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(Jo(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(Jo(1));return o(or)(t,e)}if("function"!=typeof t)throw new Error(Jo(2));var i=t,n=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Jo(3));return n}function h(t){if("function"!=typeof t)throw new Error(Jo(4));if(c)throw new Error(Jo(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(Jo(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function p(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(Jo(7));if(void 0===t.type)throw new Error(Jo(8));if(c)throw new Error(Jo(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return p({type:er.INIT}),(r={dispatch:p,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Jo(10));i=t,p({type:er.REPLACE})}})[Qo]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Jo(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[Qo]=function(){return this},t},r}function rr(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:er.INIT}))throw new Error(Jo(12));if(void 0===o(void 0,{type:er.PROBE_UNKNOWN_ACTION()}))throw new Error(Jo(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],h=l(f,e);if(void 0===h)throw e&&e.type,new Error(Jo(14));i[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ir(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function nr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(Jo(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=ir.apply(void 0,n)(o.dispatch),Xo(Xo({},o),{},{dispatch:r})}}}function ar(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var sr=ar();sr.withExtraArgument=ar;var cr,lr=sr,fr=(cr=function(t,e){return cr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},cr(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}cr(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),hr=function(t,e){var o,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(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=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=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},pr=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},ur=Object.defineProperty,dr=Object.defineProperties,yr=Object.getOwnPropertyDescriptors,br=Object.getOwnPropertySymbols,gr=Object.prototype.hasOwnProperty,mr=Object.prototype.propertyIsEnumerable,vr=function(t,e,o){return e in t?ur(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Or=function(t,e){for(var o in e||(e={}))gr.call(e,o)&&vr(t,o,e[o]);if(br)for(var r=0,i=br(e);r<i.length;r++){o=i[r];mr.call(e,o)&&vr(t,o,e[o])}return t},xr=function(t,e){return dr(t,yr(e))},wr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ir:ir.apply(null,arguments)};var Sr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return fr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,pr([void 0],t[0].concat(this)))):new(e.bind.apply(e,pr([void 0],t.concat(this))))},e}(Array),Nr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return fr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,pr([void 0],t[0].concat(this)))):new(e.bind.apply(e,pr([void 0],t.concat(this))))},e}(Array);function Cr(t){return Xe(t)?Ho(t,(function(){})):t}function Er(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new Sr;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(lr.withExtraArgument(o.extraArgument)):r.push(lr));return r}(t)}}function Rr(t){var e,o=Er(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,h=void 0===f?void 0:f,p=r.enhancers,u=void 0===p?void 0:p;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=rr(n)}var d=s;"function"==typeof d&&(d=d(o));var y=nr.apply(void 0,d),b=ir;l&&(b=wr(Or({trace:!1},"object"==typeof l&&l)));var g=new Nr(y),m=g;return Array.isArray(u)?m=pr([y],u):"function"==typeof u&&(m=u(g)),or(e,h,b.apply(void 0,m))}function $r(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return Or(Or({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Ur(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function Ir(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:Cr(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Ur(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,c=e[2],l=void 0===c?void 0:c,f=Or(Or({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Ur(e):[e,o,r],a=n[0],s=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Cr(t())};else{var l=Cr(t);i=function(){return l}}function f(t,e){void 0===t&&(t=i());var o=pr([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[c]),o.reduce((function(t,o){if(o){var r;if(Ye(t))return void 0===(r=o(t,e))?t:r;if(Xe(t))return Ho(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){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 e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}l&&t.addDefaultCase(l)}))}return n.forEach((function(t){var o,r,n=i[t],l=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[l]=o,c[t]=r?$r(l,r):$r(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var kr=["name","message","stack","code"],Lr=function(t,e){this.payload=t,this.meta=e},Wr=function(t,e){this.payload=t,this.meta=e},Ar=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=kr;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function jr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=$r(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:xr(Or({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=$r(t+"/pending",(function(t,e,o){return{payload:void 0,meta:xr(Or({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=$r(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Ar)(t||"Rejected"),meta:xr(Or({},n||{}),{arg:r,requestId:e,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,c,l){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),p=new a;function u(t){f=t,p.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,b,g,m;return hr(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),b=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:c,extra:l}),null===(O=b)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,b];case 1:b=v.sent(),v.label=2;case 2:if(!1===b||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return g=new Promise((function(t,e){return p.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(h,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([g,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:p.signal,abort:u,rejectWithValue:function(t,e){return new Lr(t,e)},fulfillWithValue:function(t,e){return new Wr(t,e)}})).then((function(e){if(e instanceof Lr)throw e;return e instanceof Wr?r(e.payload,h,t,e.meta):r(e,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Lr?n(null,h,t,m.payload,m.meta):n(m,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:h,arg:t,unwrap:function(){return d.then(jr)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Fr="listenerMiddleware";$r(Fr+"/add"),$r(Fr+"/removeAll"),$r(Fr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Ko];return Bo.get(e,t)},set:function(e){var o=this[Ko];Bo.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Ko];if(!i.P)switch(i.i){case 5:r(i)&&No(i);break;case 4:o(i)&&No(i)}}}function o(t){for(var e=t.t,o=t.k,r=Mo(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Ko){var a=e[n];if(void 0===a&&!to(e,n))return!0;var s=o[n],c=s&&s[Ko];if(c?c.t!==a:!oo(s,a))return!0}}var l=!!e[Ko];return r.length!==Mo(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){zo[t]||(zo[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Do(o);delete n[Ko];for(var a=Mo(n),s=0;s<a.length;s++){var c=a[s];n[c]=t(c,e||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:ho(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Ko,{value:n,writable:!0}),i},S:function(t,o,i){i?Ye(o)&&o[Ko].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Ko];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)Je(n,(function(e){e!==Ko&&(void 0!==i[e]||to(i,e)?a[e]||t(n[e]):(a[e]=!0,No(o)))})),Je(i,(function(t){void 0!==n[t]||to(n,t)||(a[t]=!1,No(o))}));else if(5===s){if(r(o)&&(No(o),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var l=i.length;l<n.length;l++)a[l]=!0;for(var f=Math.min(n.length,i.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Kr{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(ze(i))return i;if(null==r)return;const n=Ir({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Rr({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new Kr(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}: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 Pr=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!L(t,e),attribute:!1,...e};$(i)(t,o);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}},Mr=Symbol("elementInternals");var Dr,zr,Br;const Tr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Br=null===(zr=null===(Dr=window.safari)||void 0===Dr?void 0:Dr.pushNotification)||void 0===zr?void 0:zr.toString())&&void 0!==Br?Br:""),Zr=xt`
121
+ `,_r=xe.extend("--ft-ripple-color","",Re.colorContent),Hr={color:_r,backgroundColor:xe.extend("--ft-ripple-background-color","",_r),opacityContentOnSurfacePressed:xe.external(Re.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:xe.external(Re.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:xe.external(Re.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:xe.external(Re.opacityContentOnSurfaceSelected,"Design system"),borderRadius:xe.create("--ft-ripple-border-radius","","SIZE","0px")},Gr=xe.extend("--ft-ripple-color","",Re.colorPrimary),Vr=Gr,qr=xe.extend("--ft-ripple-background-color","",Gr),Yr=xe.extend("--ft-ripple-color","",Re.colorSecondary),Xr=Yr,Jr=xe.extend("--ft-ripple-background-color","",Yr),Qr=xt`
118
122
  :host {
119
123
  display: contents;
120
124
  }
@@ -127,7 +131,7 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
127
131
 
128
132
  .ft-ripple:not(.ft-ripple--unbounded) {
129
133
  overflow: hidden;
130
- border-radius: ${_r.borderRadius};
134
+ border-radius: ${Hr.borderRadius};
131
135
  }
132
136
 
133
137
  .ft-ripple .ft-ripple--background,
@@ -161,27 +165,27 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
161
165
  }
162
166
 
163
167
  .ft-ripple .ft-ripple--background {
164
- background-color: ${_r.backgroundColor};
168
+ background-color: ${Hr.backgroundColor};
165
169
  }
166
170
 
167
171
  .ft-ripple .ft-ripple--effect {
168
- background-color: ${_r.color};
172
+ background-color: ${Hr.color};
169
173
  }
170
174
 
171
175
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
172
- background-color: ${Xr};
176
+ background-color: ${Jr};
173
177
  }
174
178
 
175
179
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
176
- background-color: ${Yr};
180
+ background-color: ${Xr};
177
181
  }
178
182
 
179
183
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
180
- background-color: ${Vr};
184
+ background-color: ${qr};
181
185
  }
182
186
 
183
187
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
184
- background-color: ${Gr};
188
+ background-color: ${Vr};
185
189
  }
186
190
 
187
191
  .ft-ripple .ft-ripple--background {
@@ -211,117 +215,117 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
211
215
  }
212
216
 
213
217
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
214
- opacity: ${_r.opacityContentOnSurfaceHover};
218
+ opacity: ${Hr.opacityContentOnSurfaceHover};
215
219
  }
216
220
 
217
221
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
218
- opacity: ${_r.opacityContentOnSurfaceSelected};
222
+ opacity: ${Hr.opacityContentOnSurfaceSelected};
219
223
  }
220
224
 
221
225
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
222
- opacity: ${_r.opacityContentOnSurfaceFocused};
226
+ opacity: ${Hr.opacityContentOnSurfaceFocused};
223
227
  }
224
228
 
225
229
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
226
- opacity: ${_r.opacityContentOnSurfacePressed};
230
+ opacity: ${Hr.opacityContentOnSurfacePressed};
227
231
  transform: translate(-50%, -50%) scale(1);
228
232
  }
229
- `;const Qr=xe.extend("--ft-typography-font-family","",Re.titleFont),ti=xe.extend("--ft-typography-font-family","",Re.contentFont),ei={fontFamily:ti,fontSize:xe.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:xe.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:xe.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:xe.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:xe.create("--ft-typography-text-transform","","UNKNOWN","inherit")},oi=xe.extend("--ft-typography-title-font-family","",Qr),ri=xe.extend("--ft-typography-title-font-size","",ei.fontSize,"20px"),ii=xe.extend("--ft-typography-title-font-weight","",ei.fontWeight,"normal"),ni=xe.extend("--ft-typography-title-letter-spacing","",ei.letterSpacing,"0.15px"),ai=xe.extend("--ft-typography-title-line-height","",ei.lineHeight,"1.2"),si=xe.extend("--ft-typography-title-text-transform","",ei.textTransform,"inherit"),ci=xe.extend("--ft-typography-title-dense-font-family","",Qr),li=xe.extend("--ft-typography-title-dense-font-size","",ei.fontSize,"14px"),fi=xe.extend("--ft-typography-title-dense-font-weight","",ei.fontWeight,"normal"),hi=xe.extend("--ft-typography-title-dense-letter-spacing","",ei.letterSpacing,"0.105px"),pi=xe.extend("--ft-typography-title-dense-line-height","",ei.lineHeight,"1.7"),ui=xe.extend("--ft-typography-title-dense-text-transform","",ei.textTransform,"inherit"),di=xe.extend("--ft-typography-subtitle1-font-family","",ti),yi=xe.extend("--ft-typography-subtitle1-font-size","",ei.fontSize,"16px"),bi=xe.extend("--ft-typography-subtitle1-font-weight","",ei.fontWeight,"600"),gi=xe.extend("--ft-typography-subtitle1-letter-spacing","",ei.letterSpacing,"0.144px"),mi=xe.extend("--ft-typography-subtitle1-line-height","",ei.lineHeight,"1.5"),vi=xe.extend("--ft-typography-subtitle1-text-transform","",ei.textTransform,"inherit"),Oi=xe.extend("--ft-typography-subtitle2-font-family","",ti),xi=xe.extend("--ft-typography-subtitle2-font-size","",ei.fontSize,"14px"),wi=xe.extend("--ft-typography-subtitle2-font-weight","",ei.fontWeight,"normal"),Si=xe.extend("--ft-typography-subtitle2-letter-spacing","",ei.letterSpacing,"0.098px"),Ni=xe.extend("--ft-typography-subtitle2-line-height","",ei.lineHeight,"1.7"),Ci=xe.extend("--ft-typography-subtitle2-text-transform","",ei.textTransform,"inherit"),Ei=xe.extend("--ft-typography-body1-font-family","",ti),Ri=xe.extend("--ft-typography-body1-font-size","",ei.fontSize,"16px"),$i=xe.extend("--ft-typography-body1-font-weight","",ei.fontWeight,"normal"),Ui=xe.extend("--ft-typography-body1-letter-spacing","",ei.letterSpacing,"0.496px"),Ii=xe.extend("--ft-typography-body1-line-height","",ei.lineHeight,"1.5"),ki=xe.extend("--ft-typography-body1-text-transform","",ei.textTransform,"inherit"),Li=xe.extend("--ft-typography-body2-font-family","",ti),Wi=xe.extend("--ft-typography-body2-font-size","",ei.fontSize,"14px"),Ai=xe.extend("--ft-typography-body2-font-weight","",ei.fontWeight,"normal"),ji=xe.extend("--ft-typography-body2-letter-spacing","",ei.letterSpacing,"0.252px"),Fi=xe.extend("--ft-typography-body2-line-height","",ei.lineHeight,"1.4"),Ki=xe.extend("--ft-typography-body2-text-transform","",ei.textTransform,"inherit"),Pi=xe.extend("--ft-typography-caption-font-family","",ti),Mi=xe.extend("--ft-typography-caption-font-size","",ei.fontSize,"12px"),Di=xe.extend("--ft-typography-caption-font-weight","",ei.fontWeight,"normal"),zi=xe.extend("--ft-typography-caption-letter-spacing","",ei.letterSpacing,"0.396px"),Bi=xe.extend("--ft-typography-caption-line-height","",ei.lineHeight,"1.33"),Ti=xe.extend("--ft-typography-caption-text-transform","",ei.textTransform,"inherit"),Zi=xe.extend("--ft-typography-breadcrumb-font-family","",ti),_i=xe.extend("--ft-typography-breadcrumb-font-size","",ei.fontSize,"10px"),Hi=xe.extend("--ft-typography-breadcrumb-font-weight","",ei.fontWeight,"normal"),Gi=xe.extend("--ft-typography-breadcrumb-letter-spacing","",ei.letterSpacing,"0.33px"),Vi=xe.extend("--ft-typography-breadcrumb-line-height","",ei.lineHeight,"1.6"),qi=xe.extend("--ft-typography-breadcrumb-text-transform","",ei.textTransform,"inherit"),Yi=xe.extend("--ft-typography-overline-font-family","",ti),Xi=xe.extend("--ft-typography-overline-font-size","",ei.fontSize,"10px"),Ji=xe.extend("--ft-typography-overline-font-weight","",ei.fontWeight,"normal"),Qi=xe.extend("--ft-typography-overline-letter-spacing","",ei.letterSpacing,"1.5px"),tn=xe.extend("--ft-typography-overline-line-height","",ei.lineHeight,"1.6"),en=xe.extend("--ft-typography-overline-text-transform","",ei.textTransform,"uppercase"),on={fontFamily:xe.extend("--ft-typography-button-font-family","",ti),fontSize:xe.extend("--ft-typography-button-font-size","",ei.fontSize,"14px"),fontWeight:xe.extend("--ft-typography-button-font-weight","",ei.fontWeight,"600"),letterSpacing:xe.extend("--ft-typography-button-letter-spacing","",ei.letterSpacing,"1.246px"),lineHeight:xe.extend("--ft-typography-button-line-height","",ei.lineHeight,"1.15"),textTransform:xe.extend("--ft-typography-button-text-transform","",ei.textTransform,"uppercase")},rn=xt`
233
+ `;const ti=xe.extend("--ft-typography-font-family","",Re.titleFont),ei=xe.extend("--ft-typography-font-family","",Re.contentFont),oi={fontFamily:ei,fontSize:xe.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:xe.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:xe.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:xe.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:xe.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ri=xe.extend("--ft-typography-title-font-family","",ti),ii=xe.extend("--ft-typography-title-font-size","",oi.fontSize,"20px"),ni=xe.extend("--ft-typography-title-font-weight","",oi.fontWeight,"normal"),ai=xe.extend("--ft-typography-title-letter-spacing","",oi.letterSpacing,"0.15px"),si=xe.extend("--ft-typography-title-line-height","",oi.lineHeight,"1.2"),ci=xe.extend("--ft-typography-title-text-transform","",oi.textTransform,"inherit"),li=xe.extend("--ft-typography-title-dense-font-family","",ti),fi=xe.extend("--ft-typography-title-dense-font-size","",oi.fontSize,"14px"),hi=xe.extend("--ft-typography-title-dense-font-weight","",oi.fontWeight,"normal"),pi=xe.extend("--ft-typography-title-dense-letter-spacing","",oi.letterSpacing,"0.105px"),ui=xe.extend("--ft-typography-title-dense-line-height","",oi.lineHeight,"1.7"),di=xe.extend("--ft-typography-title-dense-text-transform","",oi.textTransform,"inherit"),yi=xe.extend("--ft-typography-subtitle1-font-family","",ei),bi=xe.extend("--ft-typography-subtitle1-font-size","",oi.fontSize,"16px"),gi=xe.extend("--ft-typography-subtitle1-font-weight","",oi.fontWeight,"600"),mi=xe.extend("--ft-typography-subtitle1-letter-spacing","",oi.letterSpacing,"0.144px"),vi=xe.extend("--ft-typography-subtitle1-line-height","",oi.lineHeight,"1.5"),Oi=xe.extend("--ft-typography-subtitle1-text-transform","",oi.textTransform,"inherit"),xi=xe.extend("--ft-typography-subtitle2-font-family","",ei),wi=xe.extend("--ft-typography-subtitle2-font-size","",oi.fontSize,"14px"),Si=xe.extend("--ft-typography-subtitle2-font-weight","",oi.fontWeight,"normal"),Ni=xe.extend("--ft-typography-subtitle2-letter-spacing","",oi.letterSpacing,"0.098px"),Ci=xe.extend("--ft-typography-subtitle2-line-height","",oi.lineHeight,"1.7"),Ei=xe.extend("--ft-typography-subtitle2-text-transform","",oi.textTransform,"inherit"),Ri=xe.extend("--ft-typography-body1-font-family","",ei),$i=xe.extend("--ft-typography-body1-font-size","",oi.fontSize,"16px"),Ui=xe.extend("--ft-typography-body1-font-weight","",oi.fontWeight,"normal"),Ii=xe.extend("--ft-typography-body1-letter-spacing","",oi.letterSpacing,"0.496px"),ki=xe.extend("--ft-typography-body1-line-height","",oi.lineHeight,"1.5"),Li=xe.extend("--ft-typography-body1-text-transform","",oi.textTransform,"inherit"),Wi=xe.extend("--ft-typography-body2-font-family","",ei),Ai=xe.extend("--ft-typography-body2-font-size","",oi.fontSize,"14px"),ji=xe.extend("--ft-typography-body2-font-weight","",oi.fontWeight,"normal"),Fi=xe.extend("--ft-typography-body2-letter-spacing","",oi.letterSpacing,"0.252px"),Ki=xe.extend("--ft-typography-body2-line-height","",oi.lineHeight,"1.4"),Pi=xe.extend("--ft-typography-body2-text-transform","",oi.textTransform,"inherit"),Mi=xe.extend("--ft-typography-caption-font-family","",ei),Di=xe.extend("--ft-typography-caption-font-size","",oi.fontSize,"12px"),zi=xe.extend("--ft-typography-caption-font-weight","",oi.fontWeight,"normal"),Bi=xe.extend("--ft-typography-caption-letter-spacing","",oi.letterSpacing,"0.396px"),Ti=xe.extend("--ft-typography-caption-line-height","",oi.lineHeight,"1.33"),Zi=xe.extend("--ft-typography-caption-text-transform","",oi.textTransform,"inherit"),_i=xe.extend("--ft-typography-breadcrumb-font-family","",ei),Hi=xe.extend("--ft-typography-breadcrumb-font-size","",oi.fontSize,"10px"),Gi=xe.extend("--ft-typography-breadcrumb-font-weight","",oi.fontWeight,"normal"),Vi=xe.extend("--ft-typography-breadcrumb-letter-spacing","",oi.letterSpacing,"0.33px"),qi=xe.extend("--ft-typography-breadcrumb-line-height","",oi.lineHeight,"1.6"),Yi=xe.extend("--ft-typography-breadcrumb-text-transform","",oi.textTransform,"inherit"),Xi=xe.extend("--ft-typography-overline-font-family","",ei),Ji=xe.extend("--ft-typography-overline-font-size","",oi.fontSize,"10px"),Qi=xe.extend("--ft-typography-overline-font-weight","",oi.fontWeight,"normal"),tn=xe.extend("--ft-typography-overline-letter-spacing","",oi.letterSpacing,"1.5px"),en=xe.extend("--ft-typography-overline-line-height","",oi.lineHeight,"1.6"),on=xe.extend("--ft-typography-overline-text-transform","",oi.textTransform,"uppercase"),rn={fontFamily:xe.extend("--ft-typography-button-font-family","",ei),fontSize:xe.extend("--ft-typography-button-font-size","",oi.fontSize,"14px"),fontWeight:xe.extend("--ft-typography-button-font-weight","",oi.fontWeight,"600"),letterSpacing:xe.extend("--ft-typography-button-letter-spacing","",oi.letterSpacing,"1.246px"),lineHeight:xe.extend("--ft-typography-button-line-height","",oi.lineHeight,"1.15"),textTransform:xe.extend("--ft-typography-button-text-transform","",oi.textTransform,"uppercase")},nn=xt`
230
234
  .ft-typography--title {
231
- font-family: ${oi};
232
- font-size: ${ri};
233
- font-weight: ${ii};
234
- letter-spacing: ${ni};
235
- line-height: ${ai};
236
- text-transform: ${si};
237
- }
238
- `,nn=xt`
239
- .ft-typography--title-dense {
240
- font-family: ${ci};
241
- font-size: ${li};
242
- font-weight: ${fi};
243
- letter-spacing: ${hi};
244
- line-height: ${pi};
245
- text-transform: ${ui};
235
+ font-family: ${ri};
236
+ font-size: ${ii};
237
+ font-weight: ${ni};
238
+ letter-spacing: ${ai};
239
+ line-height: ${si};
240
+ text-transform: ${ci};
246
241
  }
247
242
  `,an=xt`
248
- .ft-typography--subtitle1 {
249
- font-family: ${di};
250
- font-size: ${yi};
251
- font-weight: ${bi};
252
- letter-spacing: ${gi};
253
- line-height: ${mi};
254
- text-transform: ${vi};
243
+ .ft-typography--title-dense {
244
+ font-family: ${li};
245
+ font-size: ${fi};
246
+ font-weight: ${hi};
247
+ letter-spacing: ${pi};
248
+ line-height: ${ui};
249
+ text-transform: ${di};
255
250
  }
256
251
  `,sn=xt`
257
- .ft-typography--subtitle2 {
258
- font-family: ${Oi};
259
- font-size: ${xi};
260
- font-weight: ${wi};
261
- letter-spacing: ${Si};
262
- line-height: ${Ni};
263
- text-transform: ${Ci};
252
+ .ft-typography--subtitle1 {
253
+ font-family: ${yi};
254
+ font-size: ${bi};
255
+ font-weight: ${gi};
256
+ letter-spacing: ${mi};
257
+ line-height: ${vi};
258
+ text-transform: ${Oi};
264
259
  }
265
-
266
260
  `,cn=xt`
267
- .ft-typography--body1 {
268
- font-family: ${Ei};
269
- font-size: ${Ri};
270
- font-weight: ${$i};
271
- letter-spacing: ${Ui};
272
- line-height: ${Ii};
273
- text-transform: ${ki};
261
+ .ft-typography--subtitle2 {
262
+ font-family: ${xi};
263
+ font-size: ${wi};
264
+ font-weight: ${Si};
265
+ letter-spacing: ${Ni};
266
+ line-height: ${Ci};
267
+ text-transform: ${Ei};
274
268
  }
269
+
275
270
  `,ln=xt`
276
- .ft-typography--body2 {
277
- font-family: ${Li};
278
- font-size: ${Wi};
279
- font-weight: ${Ai};
280
- letter-spacing: ${ji};
281
- line-height: ${Fi};
282
- text-transform: ${Ki};
271
+ .ft-typography--body1 {
272
+ font-family: ${Ri};
273
+ font-size: ${$i};
274
+ font-weight: ${Ui};
275
+ letter-spacing: ${Ii};
276
+ line-height: ${ki};
277
+ text-transform: ${Li};
283
278
  }
284
279
  `,fn=xt`
285
- .ft-typography--caption {
286
- font-family: ${Pi};
287
- font-size: ${Mi};
288
- font-weight: ${Di};
289
- letter-spacing: ${zi};
290
- line-height: ${Bi};
291
- text-transform: ${Ti};
280
+ .ft-typography--body2 {
281
+ font-family: ${Wi};
282
+ font-size: ${Ai};
283
+ font-weight: ${ji};
284
+ letter-spacing: ${Fi};
285
+ line-height: ${Ki};
286
+ text-transform: ${Pi};
292
287
  }
293
288
  `,hn=xt`
294
- .ft-typography--breadcrumb {
295
- font-family: ${Zi};
296
- font-size: ${_i};
297
- font-weight: ${Hi};
298
- letter-spacing: ${Gi};
299
- line-height: ${Vi};
300
- text-transform: ${qi};
289
+ .ft-typography--caption {
290
+ font-family: ${Mi};
291
+ font-size: ${Di};
292
+ font-weight: ${zi};
293
+ letter-spacing: ${Bi};
294
+ line-height: ${Ti};
295
+ text-transform: ${Zi};
301
296
  }
302
297
  `,pn=xt`
303
- .ft-typography--overline {
304
- font-family: ${Yi};
305
- font-size: ${Xi};
306
- font-weight: ${Ji};
307
- letter-spacing: ${Qi};
308
- line-height: ${tn};
309
- text-transform: ${en};
298
+ .ft-typography--breadcrumb {
299
+ font-family: ${_i};
300
+ font-size: ${Hi};
301
+ font-weight: ${Gi};
302
+ letter-spacing: ${Vi};
303
+ line-height: ${qi};
304
+ text-transform: ${Yi};
310
305
  }
311
306
  `,un=xt`
312
- .ft-typography--button {
313
- font-family: ${on.fontFamily};
314
- font-size: ${on.fontSize};
315
- font-weight: ${on.fontWeight};
316
- letter-spacing: ${on.letterSpacing};
317
- line-height: ${on.lineHeight};
318
- text-transform: ${on.textTransform};
307
+ .ft-typography--overline {
308
+ font-family: ${Xi};
309
+ font-size: ${Ji};
310
+ font-weight: ${Qi};
311
+ letter-spacing: ${tn};
312
+ line-height: ${en};
313
+ text-transform: ${on};
319
314
  }
320
315
  `,dn=xt`
316
+ .ft-typography--button {
317
+ font-family: ${rn.fontFamily};
318
+ font-size: ${rn.fontSize};
319
+ font-weight: ${rn.fontWeight};
320
+ letter-spacing: ${rn.letterSpacing};
321
+ line-height: ${rn.lineHeight};
322
+ text-transform: ${rn.textTransform};
323
+ }
324
+ `,yn=xt`
321
325
  .ft-typography {
322
326
  vertical-align: inherit;
323
327
  }
324
- `,yn=[Object.keys(Ne).map((t=>function(t){const e=Ne[t];return xt`
328
+ `,bn=[Object.keys(Ne).map((t=>function(t){const e=Ne[t];return xt`
325
329
  .ft-typography--${Ot(t)} {
326
330
  font-family: ${e.fontFamily};
327
331
  font-size: ${e.fontSize};
@@ -330,7 +334,7 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
330
334
  line-height: ${e.lineHeight};
331
335
  text-transform: ${e.textCase};
332
336
  }
333
- `}(t)))],bn={color:xe.extend("--ft-loader-color","",Re.colorPrimary),size:xe.create("--ft-loader-size","","SIZE","80px")},gn=xt`
337
+ `}(t)))],gn={color:xe.extend("--ft-loader-color","",Re.colorPrimary),size:xe.create("--ft-loader-size","","SIZE","80px")},mn=xt`
334
338
  :host {
335
339
  line-height: 0;
336
340
  }
@@ -339,8 +343,8 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
339
343
  display: inline-block;
340
344
  position: relative;
341
345
 
342
- width: ${bn.size};
343
- height: ${bn.size};
346
+ width: ${gn.size};
347
+ height: ${gn.size};
344
348
  }
345
349
 
346
350
  .ft-loader div {
@@ -349,7 +353,7 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
349
353
  width: 25%;
350
354
  height: 25%;
351
355
  border-radius: 50%;
352
- background: ${bn.color};
356
+ background: ${gn.color};
353
357
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
354
358
  }
355
359
 
@@ -396,10 +400,10 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
396
400
  transform: translate(0, 0);
397
401
  }
398
402
  100% {
399
- transform: translate(calc(0.35 * ${bn.size}), 0);
403
+ transform: translate(calc(0.35 * ${gn.size}), 0);
400
404
  }
401
405
  }
402
- `,mn={size:xe.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:xe.extend("--ft-icon-fluid-topics-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:xe.extend("--ft-icon-file-format-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:xe.extend("--ft-icon-material-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:xe.create("--ft-icon-vertical-align","","UNKNOWN","unset")},vn=xt`
406
+ `,vn={size:xe.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:xe.extend("--ft-icon-fluid-topics-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:xe.extend("--ft-icon-file-format-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:xe.extend("--ft-icon-material-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:xe.create("--ft-icon-vertical-align","","UNKNOWN","unset")},On=xt`
403
407
  :host, i.ft-icon {
404
408
  display: inline-flex;
405
409
  align-items: center;
@@ -408,14 +412,14 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
408
412
  }
409
413
 
410
414
  :host {
411
- width: ${mn.size};
412
- height: ${mn.size};
415
+ width: ${vn.size};
416
+ height: ${vn.size};
413
417
  }
414
418
 
415
419
  i.ft-icon {
416
420
  width: 100%;
417
421
  height: 100%;
418
- font-size: ${mn.size};
422
+ font-size: ${vn.size};
419
423
  line-height: 1;
420
424
  font-weight: normal;
421
425
  text-transform: none;
@@ -426,28 +430,28 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
426
430
  text-rendering: auto;
427
431
  -webkit-font-smoothing: antialiased;
428
432
  -moz-osx-font-smoothing: grayscale;
429
- vertical-align: ${mn.verticalAlign};
433
+ vertical-align: ${vn.verticalAlign};
430
434
  }
431
435
 
432
436
  i.ft-icon.ft-icon--fluid-topics {
433
- font-family: ${mn.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
437
+ font-family: ${vn.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
434
438
 
435
439
  /* Ugly fix because font is broken */
436
- font-size: calc(0.75 * ${mn.size});
437
- line-height: ${mn.size};
440
+ font-size: calc(0.75 * ${vn.size});
441
+ line-height: ${vn.size};
438
442
  position: relative;
439
443
  top: -4%;
440
444
  justify-content: center;
441
445
  }
442
446
 
443
447
  .ft-icon--file-format {
444
- font-family: ${mn.fileFormatFontFamily}, ft-mime, sans-serif;
448
+ font-family: ${vn.fileFormatFontFamily}, ft-mime, sans-serif;
445
449
  }
446
450
 
447
451
  .ft-icon--material {
448
- font-family: ${mn.materialFontFamily}, "Material Icons", sans-serif;
452
+ font-family: ${vn.materialFontFamily}, "Material Icons", sans-serif;
449
453
  }
450
- `,On=xe.extend("--ft-button-color","",Re.colorPrimary),xn={backgroundColor:xe.extend("--ft-button-background-color","",Re.colorSurface),borderRadius:xe.extend("--ft-button-border-radius","",Re.borderRadiusL),color:On,fontSize:xe.extend("--ft-button-font-size","",on.fontSize),iconSize:xe.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:xe.extend("--ft-button-ripple-color","",On),verticalPadding:xe.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:xe.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:xe.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:xe.external(Re.colorOpacityDisabled,"Design system")},wn=xe.extend("--ft-button-primary-color","",xe.extend("--ft-button-color","",Re.colorOnPrimary)),Sn={backgroundColor:xe.extend("--ft-button-primary-background-color","",xe.extend("--ft-button-background-color","",Re.colorPrimary)),color:wn,rippleColor:xe.extend("--ft-button-primary-ripple-color","",wn)},Nn=xe.extend("--ft-button-dense-border-radius","",xe.extend("--ft-button-border-radius","",Re.borderRadiusM)),Cn=xe.create("--ft-button-dense-vertical-padding","","SIZE","2px"),En=xe.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Rn=xe.create("--ft-button-dense-icon-padding","","SIZE","4px"),$n=[xt`
454
+ `,xn=xe.extend("--ft-button-color","",Re.colorPrimary),wn={backgroundColor:xe.extend("--ft-button-background-color","",Re.colorSurface),borderRadius:xe.extend("--ft-button-border-radius","",Re.borderRadiusL),color:xn,fontSize:xe.extend("--ft-button-font-size","",rn.fontSize),iconSize:xe.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:xe.extend("--ft-button-ripple-color","",xn),verticalPadding:xe.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:xe.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:xe.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:xe.external(Re.colorOpacityDisabled,"Design system")},Sn=xe.extend("--ft-button-primary-color","",xe.extend("--ft-button-color","",Re.colorOnPrimary)),Nn={backgroundColor:xe.extend("--ft-button-primary-background-color","",xe.extend("--ft-button-background-color","",Re.colorPrimary)),color:Sn,rippleColor:xe.extend("--ft-button-primary-ripple-color","",Sn)},Cn=xe.extend("--ft-button-dense-border-radius","",xe.extend("--ft-button-border-radius","",Re.borderRadiusM)),En=xe.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Rn=xe.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),$n=xe.create("--ft-button-dense-icon-padding","","SIZE","4px"),Un=[xt`
451
455
  :host {
452
456
  display: inline-block;
453
457
  max-width: 100%;
@@ -458,7 +462,7 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
458
462
  box-shadow: 0px 0px 0px transparent;
459
463
  border: 0px solid transparent;
460
464
  text-shadow: 0px 0px 0px transparent;
461
- font-size: ${xn.fontSize};
465
+ font-size: ${wn.fontSize};
462
466
  }
463
467
 
464
468
  button:hover {
@@ -487,31 +491,31 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
487
491
  border: none;
488
492
  pointer-events: auto;
489
493
 
490
- --ft-button-internal-line-height: max(calc(${xn.fontSize} + 2px), ${xn.iconSize});
491
- --ft-button-internal-color: ${xn.color};
492
- ${we(mn.size,xn.iconSize)};
493
- ${we(_r.color,xn.rippleColor)};
494
+ --ft-button-internal-line-height: max(calc(${wn.fontSize} + 2px), ${wn.iconSize});
495
+ --ft-button-internal-color: ${wn.color};
496
+ ${we(vn.size,wn.iconSize)};
497
+ ${we(Hr.color,wn.rippleColor)};
494
498
 
495
- border-radius: ${xn.borderRadius};
496
- padding: ${xn.verticalPadding} ${xn.horizontalPadding};
497
- background-color: ${xn.backgroundColor};
499
+ border-radius: ${wn.borderRadius};
500
+ padding: ${wn.verticalPadding} ${wn.horizontalPadding};
501
+ background-color: ${wn.backgroundColor};
498
502
  color: var(--ft-button-internal-color);
499
503
  -webkit-mask-image: radial-gradient(white, black);
500
504
  }
501
505
 
502
506
  .ft-button.ft-button--outlined {
503
507
  border: 1px solid var(--ft-button-internal-color);
504
- padding: calc(${xn.verticalPadding} - 1px) calc(${xn.horizontalPadding} - 1px);
508
+ padding: calc(${wn.verticalPadding} - 1px) calc(${wn.horizontalPadding} - 1px);
505
509
  }
506
510
 
507
511
  .ft-button.ft-button--dense {
508
- padding: ${Cn} ${En};
509
- border-radius: ${Nn};
510
- gap: ${Rn};
512
+ padding: ${En} ${Rn};
513
+ border-radius: ${Cn};
514
+ gap: ${$n};
511
515
  }
512
516
 
513
517
  .ft-button.ft-button--dense.ft-button--outlined {
514
- padding: calc(${Cn} - 1px) calc(${En} - 1px);
518
+ padding: calc(${En} - 1px) calc(${Rn} - 1px);
515
519
  }
516
520
 
517
521
  .ft-button:not([disabled]):hover {
@@ -519,22 +523,22 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
519
523
  }
520
524
 
521
525
  .ft-button--round {
522
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${xn.verticalPadding});
526
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${wn.verticalPadding});
523
527
  }
524
528
 
525
529
  .ft-button--round.ft-button--dense {
526
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Cn});
530
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${En});
527
531
  }
528
532
 
529
533
  .ft-button[disabled] {
530
534
  filter: grayscale(1);
531
- opacity: ${xn.opacityDisabled};
535
+ opacity: ${wn.opacityDisabled};
532
536
  }
533
537
 
534
538
  .ft-button.ft-button--primary {
535
- background-color: ${Sn.backgroundColor};
536
- --ft-button-internal-color: ${Sn.color};
537
- ${we(_r.color,Sn.rippleColor)};
539
+ background-color: ${Nn.backgroundColor};
540
+ --ft-button-internal-color: ${Nn.color};
541
+ ${we(Hr.color,Nn.rippleColor)};
538
542
  }
539
543
 
540
544
  .ft-button:focus {
@@ -547,13 +551,13 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
547
551
  white-space: nowrap;
548
552
  text-overflow: ellipsis;
549
553
  display: block;
550
- margin: 0 ${xn.iconPadding};
551
- ${we(on.fontSize,"1em")};
552
- ${we(on.lineHeight,"var(--ft-button-internal-line-height)")};
554
+ margin: 0 ${wn.iconPadding};
555
+ ${we(rn.fontSize,"1em")};
556
+ ${we(rn.lineHeight,"var(--ft-button-internal-line-height)")};
553
557
  }
554
558
 
555
559
  .ft-button--dense .ft-button--label {
556
- margin: 0 ${Rn};
560
+ margin: 0 ${$n};
557
561
  }
558
562
 
559
563
  .ft-button--label[hidden] {
@@ -566,13 +570,13 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
566
570
  }
567
571
 
568
572
  .ft-button--label[hidden] + ft-icon {
569
- margin: 0 calc(${xn.horizontalPadding} * -1);
570
- padding: 0 ${xn.verticalPadding};
573
+ margin: 0 calc(${wn.horizontalPadding} * -1);
574
+ padding: 0 ${wn.verticalPadding};
571
575
  }
572
576
 
573
577
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
574
- margin: 0 calc(${En} * -1);
575
- padding: 0 ${Cn};
578
+ margin: 0 calc(${Rn} * -1);
579
+ padding: 0 ${En};
576
580
  }
577
581
 
578
582
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -581,39 +585,39 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
581
585
  }
582
586
 
583
587
  ft-loader {
584
- ${we(bn.size,xn.iconSize)};
585
- ${we(bn.color,"var(--ft-button-internal-color)")};
588
+ ${we(gn.size,wn.iconSize)};
589
+ ${we(gn.color,"var(--ft-button-internal-color)")};
586
590
  }
587
- `,Ke],Un=1,In=2,kn=t=>(...e)=>({_$litDirective$:t,values:e});let Ln=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
591
+ `,Pe],In=1,kn=2,Ln=t=>(...e)=>({_$litDirective$:t,values:e});let Wn=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
588
592
  /**
589
593
  * @license
590
594
  * Copyright 2018 Google LLC
591
595
  * SPDX-License-Identifier: BSD-3-Clause
592
- */const Wn=kn(class extends Ln{constructor(t){if(super(t),t.type!==Un||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const r=!!e[t];r===this.it.has(t)||this.st?.has(t)||(r?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return et}});var An=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class jn extends Fe{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 e,o;let{x:r,y:i}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=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 re`
596
+ */const An=Ln(class extends Wn{constructor(t){if(super(t),t.type!==In||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const r=!!e[t];r===this.it.has(t)||this.st?.has(t)||(r?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return et}});var jn=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Fn extends Fe{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 e,o;let{x:r,y:i}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=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 re`
593
597
  <style>
594
598
  .ft-ripple .ft-ripple--effect {
595
599
  left: ${this.originX}px;
596
600
  top: ${this.originY}px;
597
601
  }
598
602
  </style>
599
- <div class="${Wn(t)}">
603
+ <div class="${An(t)}">
600
604
  <div class="ft-ripple--background"></div>
601
605
  <div class="ft-ripple--effect"></div>
602
606
  </div>
603
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),r=e("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",o),t.addEventListener("touchstart",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",o),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 e=t,o=t;let r,i;return null!=e.x?({x:r,y:i}=e):null!=o.touches&&(r=o.touches[0].clientX,i=o.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 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()}}jn.elementDefinitions={},jn.styles=Jr,An([$({type:Boolean})],jn.prototype,"primary",void 0),An([$({type:Boolean})],jn.prototype,"secondary",void 0),An([$({type:Boolean})],jn.prototype,"unbounded",void 0),An([$({type:Boolean})],jn.prototype,"activated",void 0),An([$({type:Boolean})],jn.prototype,"selected",void 0),An([$({type:Boolean})],jn.prototype,"disabled",void 0),An([U()],jn.prototype,"hovered",void 0),An([U()],jn.prototype,"focused",void 0),An([U()],jn.prototype,"pressed",void 0),An([U()],jn.prototype,"rippling",void 0),An([U()],jn.prototype,"originX",void 0),An([U()],jn.prototype,"originY",void 0),An([k(".ft-ripple")],jn.prototype,"ripple",void 0),An([k(".ft-ripple--effect")],jn.prototype,"rippleEffect",void 0),W("ft-ripple")(jn);
607
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),r=e("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",o),t.addEventListener("touchstart",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",o),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 e=t,o=t;let r,i;return null!=e.x?({x:r,y:i}=e):null!=o.touches&&(r=o.touches[0].clientX,i=o.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 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()}}Fn.elementDefinitions={},Fn.styles=Qr,jn([$({type:Boolean})],Fn.prototype,"primary",void 0),jn([$({type:Boolean})],Fn.prototype,"secondary",void 0),jn([$({type:Boolean})],Fn.prototype,"unbounded",void 0),jn([$({type:Boolean})],Fn.prototype,"activated",void 0),jn([$({type:Boolean})],Fn.prototype,"selected",void 0),jn([$({type:Boolean})],Fn.prototype,"disabled",void 0),jn([U()],Fn.prototype,"hovered",void 0),jn([U()],Fn.prototype,"focused",void 0),jn([U()],Fn.prototype,"pressed",void 0),jn([U()],Fn.prototype,"rippling",void 0),jn([U()],Fn.prototype,"originX",void 0),jn([U()],Fn.prototype,"originY",void 0),jn([k(".ft-ripple")],Fn.prototype,"ripple",void 0),jn([k(".ft-ripple--effect")],Fn.prototype,"rippleEffect",void 0),W("ft-ripple")(Fn);
604
608
  /**
605
609
  * @license
606
610
  * Copyright 2020 Google LLC
607
611
  * SPDX-License-Identifier: BSD-3-Clause
608
612
  */
609
- const Fn=Symbol.for(""),Kn=t=>{if(t?.r===Fn)return t?._$litStatic$},Pn=t=>({_$litStatic$:t,r:Fn}),Mn=new Map,Dn=(t=>(e,...o)=>{const r=o.length;let i,n;const a=[],s=[];let c,l=0,f=!1;for(;l<r;){for(c=e[l];l<r&&void 0!==(n=o[l],i=Kn(n));)c+=i+e[++l],f=!0;l!==r&&s.push(n),a.push(c),l++}if(l===r&&a.push(e[r]),f){const t=a.join("$$lit$$");void 0===(e=Mn.get(t))&&(a.raw=a,Mn.set(t,e=a)),o=s}return t(e,...o)})(tt);var zn;!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"}(zn||(zn={}));var Bn=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Tn extends Fe{constructor(){super(...arguments),this.variant=zn.body1}render(){return this.element?Dn`
610
- <${Pn(this.element)}
613
+ const Kn=Symbol.for(""),Pn=t=>{if(t?.r===Kn)return t?._$litStatic$},Mn=t=>({_$litStatic$:t,r:Kn}),Dn=new Map,zn=(t=>(e,...o)=>{const r=o.length;let i,n;const a=[],s=[];let c,l=0,f=!1;for(;l<r;){for(c=e[l];l<r&&void 0!==(n=o[l],i=Pn(n));)c+=i+e[++l],f=!0;l!==r&&s.push(n),a.push(c),l++}if(l===r&&a.push(e[r]),f){const t=a.join("$$lit$$");void 0===(e=Dn.get(t))&&(a.raw=a,Dn.set(t,e=a)),o=s}return t(e,...o)})(tt);var Bn;!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"}(Bn||(Bn={}));var Tn=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Zn extends Fe{constructor(){super(...arguments),this.variant=Bn.body1}render(){return this.element?zn`
614
+ <${Mn(this.element)}
611
615
  class="ft-typography ft-typography--${this.variant}">
612
616
  <slot></slot>
613
- </${Pn(this.element)}>
614
- `:Dn`
617
+ </${Mn(this.element)}>
618
+ `:zn`
615
619
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
616
- `}}Tn.styles=[rn,nn,an,sn,cn,ln,fn,hn,pn,un,dn,...yn],Bn([$()],Tn.prototype,"element",void 0),Bn([$()],Tn.prototype,"variant",void 0),W("ft-typography")(Tn);const Zn=xe.create("--ft-tooltip-distance","","SIZE","4px"),_n=xe.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Hn=xe.create("--ft-tooltip-background-color","","COLOR","#666666"),Gn=xe.create("--ft-tooltip-z-index","","NUMBER","100"),Vn=xe.external(Re.borderRadiusS,"Design system"),qn=xe.create("--ft-tooltip-max-width","","SIZE","150px"),Yn=xt`
620
+ `}}Zn.styles=[nn,an,sn,cn,ln,fn,hn,pn,un,dn,yn,...bn],Tn([$()],Zn.prototype,"element",void 0),Tn([$()],Zn.prototype,"variant",void 0),W("ft-typography")(Zn);const _n=xe.create("--ft-tooltip-distance","","SIZE","4px"),Hn=xe.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Gn=xe.create("--ft-tooltip-background-color","","COLOR","#666666"),Vn=xe.create("--ft-tooltip-z-index","","NUMBER","100"),qn=xe.external(Re.borderRadiusS,"Design system"),Yn=xe.create("--ft-tooltip-max-width","","SIZE","150px"),Xn=xt`
617
621
  .ft-tooltip--container {
618
622
  display: block;
619
623
  }
@@ -628,21 +632,21 @@ const Fn=Symbol.for(""),Kn=t=>{if(t?.r===Fn)return t?._$litStatic$},Pn=t=>({_$li
628
632
  box-sizing: border-box;
629
633
  overflow: hidden;
630
634
  width: max-content;
631
- max-width: ${qn};
635
+ max-width: ${Yn};
632
636
  text-align: center;
633
- padding: ${Zn};
634
- z-index: ${Gn};
637
+ padding: ${_n};
638
+ z-index: ${Vn};
635
639
  }
636
640
 
637
641
  .ft-tooltip--content {
638
642
  padding: 4px 8px;
639
- border-radius: ${Vn};
640
- background-color: ${Hn};
641
- color: ${_n};
643
+ border-radius: ${qn};
644
+ background-color: ${Gn};
645
+ color: ${Hn};
642
646
  position: relative;
643
647
  word-break: break-word;
644
648
  }
645
- `;var Xn=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Jn extends Fe{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 re`
649
+ `;var Jn=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Qn extends Fe{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 re`
646
650
  <div part="container"
647
651
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
648
652
  @mouseenter=${this.onHover}
@@ -660,34 +664,34 @@ const Fn=Symbol.for(""),Kn=t=>{if(t?.r===Fn)return t?._$litStatic$},Pn=t=>({_$li
660
664
  </div>
661
665
  </div>
662
666
  </div>
663
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,o=this.tooltip.offsetHeight,r=(t.offsetHeight-o)/2,i=(t.offsetWidth-e)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-o-this.tooltip.offsetTop,n=t.offsetLeft+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-e-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 c=this.tooltip.getBoundingClientRect();let l=-c.x,f=c.x+c.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(l,f))+"px";let h=-c.y,p=c.y+c.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(h,p))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${qn})`}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))}}Jn.elementDefinitions={"ft-typography":Tn},Jn.styles=Yn,Xn([$()],Jn.prototype,"text",void 0),Xn([$({type:Boolean})],Jn.prototype,"manual",void 0),Xn([$({type:Boolean})],Jn.prototype,"inline",void 0),Xn([$({type:Number})],Jn.prototype,"delay",void 0),Xn([$()],Jn.prototype,"position",void 0),Xn([function(t){return(e,o)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return I(0,0,{get(){const e=this.renderRoot?.querySelector(i);return e?.assignedNodes(t)??[]}})}}()],Jn.prototype,"slotNodes",void 0),Xn([k(".ft-tooltip--container")],Jn.prototype,"container",void 0),Xn([k(".ft-tooltip")],Jn.prototype,"tooltip",void 0),Xn([k(".ft-tooltip--content")],Jn.prototype,"tooltipContent",void 0),Xn([U()],Jn.prototype,"visible",void 0),W("ft-tooltip")(Jn);
667
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,o=this.tooltip.offsetHeight,r=(t.offsetHeight-o)/2,i=(t.offsetWidth-e)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-o-this.tooltip.offsetTop,n=t.offsetLeft+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-e-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 c=this.tooltip.getBoundingClientRect();let l=-c.x,f=c.x+c.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(l,f))+"px";let h=-c.y,p=c.y+c.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(h,p))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${Yn})`}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))}}Qn.elementDefinitions={"ft-typography":Zn},Qn.styles=Xn,Jn([$()],Qn.prototype,"text",void 0),Jn([$({type:Boolean})],Qn.prototype,"manual",void 0),Jn([$({type:Boolean})],Qn.prototype,"inline",void 0),Jn([$({type:Number})],Qn.prototype,"delay",void 0),Jn([$()],Qn.prototype,"position",void 0),Jn([function(t){return(e,o)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return I(0,0,{get(){const e=this.renderRoot?.querySelector(i);return e?.assignedNodes(t)??[]}})}}()],Qn.prototype,"slotNodes",void 0),Jn([k(".ft-tooltip--container")],Qn.prototype,"container",void 0),Jn([k(".ft-tooltip")],Qn.prototype,"tooltip",void 0),Jn([k(".ft-tooltip--content")],Qn.prototype,"tooltipContent",void 0),Jn([U()],Qn.prototype,"visible",void 0),W("ft-tooltip")(Qn);
664
668
  /**
665
669
  * @license
666
670
  * Copyright 2017 Google LLC
667
671
  * SPDX-License-Identifier: BSD-3-Clause
668
672
  */
669
- class Qn extends Ln{constructor(t){if(super(t),this.et=ot,t.type!==In)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ot||null==t)return this.vt=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.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Qn.directiveName="unsafeHTML",Qn.resultType=1;const ta=kn(Qn);var ea,oa,ra;!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;"}(ea||(ea={})),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;"}(oa||(oa={})),new Map([...["abw"].map((t=>[t,oa.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,oa.AUDIO])),...["avi"].map((t=>[t,oa.AVI])),...["chm","xhs"].map((t=>[t,oa.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,oa.CODE])),...["csv"].map((t=>[t,oa.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,oa.DITA])),...["epub"].map((t=>[t,oa.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,oa.EXCEL])),...["flac"].map((t=>[t,oa.FLAC])),...["gif"].map((t=>[t,oa.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,oa.GZIP])),...["html","htm","xhtml"].map((t=>[t,oa.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,oa.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,oa.JPEG])),...["json"].map((t=>[t,oa.JSON])),...["m4a","m4p"].map((t=>[t,oa.M4A])),...["mov","qt"].map((t=>[t,oa.MOV])),...["mp3"].map((t=>[t,oa.MP3])),...["mp4","m4v"].map((t=>[t,oa.MP4])),...["ogg","oga"].map((t=>[t,oa.OGG])),...["pdf","ps"].map((t=>[t,oa.PDF])),...["png"].map((t=>[t,oa.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,oa.POWERPOINT])),...["rar"].map((t=>[t,oa.RAR])),...["stp"].map((t=>[t,oa.STP])),...["txt","rtf","md","mdown"].map((t=>[t,oa.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,oa.VIDEO])),...["wav"].map((t=>[t,oa.WAV])),...["wma"].map((t=>[t,oa.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,oa.WORD])),...["xml","xsl","rdf"].map((t=>[t,oa.XML])),...["yaml","yml","x-yaml"].map((t=>[t,oa.YAML])),...["zip"].map((t=>[t,oa.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ra||(ra={}));var ia=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class na extends Fe{constructor(){super(...arguments),this.resolvedIcon=ne}render(){const t=this.variant&&Object.values(ra).includes(this.variant)?this.variant:ra.fluid_topics,e=t!==ra.material||!!this.value;return re`
673
+ class ta extends Wn{constructor(t){if(super(t),this.et=ot,t.type!==kn)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ot||null==t)return this.vt=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.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}ta.directiveName="unsafeHTML",ta.resultType=1;const ea=Ln(ta);var oa,ra,ia;!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;"}(oa||(oa={})),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;"}(ra||(ra={})),new Map([...["abw"].map((t=>[t,ra.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,ra.AUDIO])),...["avi"].map((t=>[t,ra.AVI])),...["chm","xhs"].map((t=>[t,ra.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,ra.CODE])),...["csv"].map((t=>[t,ra.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ra.DITA])),...["epub"].map((t=>[t,ra.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ra.EXCEL])),...["flac"].map((t=>[t,ra.FLAC])),...["gif"].map((t=>[t,ra.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ra.GZIP])),...["html","htm","xhtml"].map((t=>[t,ra.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,ra.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ra.JPEG])),...["json"].map((t=>[t,ra.JSON])),...["m4a","m4p"].map((t=>[t,ra.M4A])),...["mov","qt"].map((t=>[t,ra.MOV])),...["mp3"].map((t=>[t,ra.MP3])),...["mp4","m4v"].map((t=>[t,ra.MP4])),...["ogg","oga"].map((t=>[t,ra.OGG])),...["pdf","ps"].map((t=>[t,ra.PDF])),...["png"].map((t=>[t,ra.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ra.POWERPOINT])),...["rar"].map((t=>[t,ra.RAR])),...["stp"].map((t=>[t,ra.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ra.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,ra.VIDEO])),...["wav"].map((t=>[t,ra.WAV])),...["wma"].map((t=>[t,ra.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ra.WORD])),...["xml","xsl","rdf"].map((t=>[t,ra.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ra.YAML])),...["zip"].map((t=>[t,ra.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ia||(ia={}));var na=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class aa extends Fe{constructor(){super(...arguments),this.resolvedIcon=ne}render(){const t=this.variant&&Object.values(ia).includes(this.variant)?this.variant:ia.fluid_topics,e=t!==ia.material||!!this.value;return re`
670
674
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
671
- ${ta(this.resolvedIcon)}
675
+ ${ea(this.resolvedIcon)}
672
676
  <slot ?hidden=${e}></slot>
673
677
  </i>
674
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case ra.file_format:this.resolvedIcon=null!==(t=oa[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case ra.material:this.resolvedIcon=this.value||ne;break;default:this.resolvedIcon=null!==(e=ea[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}na.elementDefinitions={},na.styles=vn,ia([$()],na.prototype,"variant",void 0),ia([$()],na.prototype,"value",void 0),ia([U()],na.prototype,"resolvedIcon",void 0),ia([k("slot")],na.prototype,"slottedContent",void 0),W("ft-icon")(na);class aa extends Fe{render(){return re`
678
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case ia.file_format:this.resolvedIcon=null!==(t=ra[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case ia.material:this.resolvedIcon=this.value||ne;break;default:this.resolvedIcon=null!==(e=oa[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}aa.elementDefinitions={},aa.styles=On,na([$()],aa.prototype,"variant",void 0),na([$()],aa.prototype,"value",void 0),na([U()],aa.prototype,"resolvedIcon",void 0),na([k("slot")],aa.prototype,"slottedContent",void 0),W("ft-icon")(aa);class sa extends Fe{render(){return re`
675
679
  <div class="ft-loader">
676
680
  <div></div>
677
681
  <div></div>
678
682
  <div></div>
679
683
  <div></div>
680
684
  </div>
681
- `}}aa.styles=gn,W("ft-loader")(aa);var sa=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ca extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Pr].form}constructor(...t){super(t),this[Pr]=this.attachInternals(),this[Pr].role=e}setFormValue(t){this[Pr].setFormValue(t)}}}(Fe,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(re`
685
+ `}}sa.styles=mn,W("ft-loader")(sa);var ca=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class la extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Mr].form}constructor(...t){super(t),this[Mr]=this.attachInternals(),this[Mr].role=e}setFormValue(t){this[Mr].setFormValue(t)}}}(Fe,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(re`
682
686
  <button part="button"
683
- class="${Wn(this.buttonClasses)}"
687
+ class="${An(this.buttonClasses)}"
684
688
  aria-label="${this.getLabel()}"
685
689
  ?disabled=${this.isDisabled()}>
686
690
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
687
691
  <ft-typography part="label"
688
692
  variant=${this.typographyVariant}
689
693
  element="span"
690
- class="ft-button--label ${Br?"ft-safari-ellipsis-fix":""}"
694
+ class="ft-button--label ${Tr?"ft-safari-ellipsis-fix":""}"
691
695
  ?hidden=${!this.hasTextContent()}>
692
696
  <slot @slotchange=${this.onSlotchange}></slot>
693
697
  </ft-typography>
@@ -701,7 +705,7 @@ class Qn extends Ln{constructor(t){if(super(t),this.et=ot,t.type!==In)throw Erro
701
705
  </ft-tooltip>
702
706
  `:t}resolveIcon(){return this.loading?re`
703
707
  <ft-loader part="loader icon"></ft-loader> `:this.icon?re`
704
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ne}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}}ca.elementDefinitions={"ft-ripple":jn,"ft-tooltip":Jn,"ft-typography":Tn,"ft-icon":na,"ft-loader":aa},sa([$({type:String,reflect:!0})],ca.prototype,"role",void 0),sa([$()],ca.prototype,"type",void 0),sa([$({type:Boolean})],ca.prototype,"disabled",void 0),sa([$()],ca.prototype,"label",void 0),sa([$()],ca.prototype,"icon",void 0),sa([$()],ca.prototype,"iconVariant",void 0),sa([$({type:Boolean})],ca.prototype,"trailingIcon",void 0),sa([$({type:Boolean})],ca.prototype,"loading",void 0),sa([$()],ca.prototype,"tooltipPosition",void 0),sa([$({type:Boolean})],ca.prototype,"hideTooltip",void 0),sa([$({type:Boolean})],ca.prototype,"forceTooltip",void 0),sa([k(".ft-button")],ca.prototype,"button",void 0),sa([k(".ft-button--label slot")],ca.prototype,"slottedContent",void 0);var la=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class fa extends ca{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}fa.styles=[Pe,$n],la([$({type:Boolean})],fa.prototype,"primary",void 0),la([$({type:Boolean})],fa.prototype,"outlined",void 0),la([$({type:Boolean})],fa.prototype,"dense",void 0),la([$({type:Boolean})],fa.prototype,"round",void 0);const ha=[xt`
708
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ne}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}}la.elementDefinitions={"ft-ripple":Fn,"ft-tooltip":Qn,"ft-typography":Zn,"ft-icon":aa,"ft-loader":sa},ca([$({type:String,reflect:!0})],la.prototype,"role",void 0),ca([$()],la.prototype,"type",void 0),ca([$({type:Boolean})],la.prototype,"disabled",void 0),ca([$()],la.prototype,"label",void 0),ca([$()],la.prototype,"icon",void 0),ca([$()],la.prototype,"iconVariant",void 0),ca([$({type:Boolean})],la.prototype,"trailingIcon",void 0),ca([$({type:Boolean})],la.prototype,"loading",void 0),ca([$()],la.prototype,"tooltipPosition",void 0),ca([$({type:Boolean})],la.prototype,"hideTooltip",void 0),ca([$({type:Boolean})],la.prototype,"forceTooltip",void 0),ca([k(".ft-button")],la.prototype,"button",void 0),ca([k(".ft-button--label slot")],la.prototype,"slottedContent",void 0);var fa=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ha extends la{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}ha.styles=[Me,Un],fa([$({type:Boolean})],ha.prototype,"primary",void 0),fa([$({type:Boolean})],ha.prototype,"outlined",void 0),fa([$({type:Boolean})],ha.prototype,"dense",void 0),fa([$({type:Boolean})],ha.prototype,"round",void 0);const pa=[xt`
705
709
  :host {
706
710
  display: inline-block;
707
711
  max-width: 100%;
@@ -780,13 +784,13 @@ class Qn extends Ln{constructor(t){if(super(t),this.et=ot,t.type!==In)throw Erro
780
784
  /** Primary styles **/
781
785
 
782
786
  .ft-button--primary {
783
- ${we(bn.color,Ee.primaryIconColor)};
787
+ ${we(gn.color,Ee.primaryIconColor)};
784
788
 
785
- ${we(_r.color,Ee.primaryStateLayerColor)};
786
- ${we(_r.opacityContentOnSurfaceHover,Ee.primaryStateLayerOpacityHover)};
787
- ${we(_r.opacityContentOnSurfaceFocused,Ee.primaryStateLayerOpacityFocus)};
788
- ${we(_r.opacityContentOnSurfaceSelected,Ee.primaryStateLayerOpacityActive)};
789
- ${we(_r.opacityContentOnSurfacePressed,Ee.primaryStateLayerOpacityActive)};
789
+ ${we(Hr.color,Ee.primaryStateLayerColor)};
790
+ ${we(Hr.opacityContentOnSurfaceHover,Ee.primaryStateLayerOpacityHover)};
791
+ ${we(Hr.opacityContentOnSurfaceFocused,Ee.primaryStateLayerOpacityFocus)};
792
+ ${we(Hr.opacityContentOnSurfaceSelected,Ee.primaryStateLayerOpacityActive)};
793
+ ${we(Hr.opacityContentOnSurfacePressed,Ee.primaryStateLayerOpacityActive)};
790
794
 
791
795
  background-color: ${Ee.primaryBackgroundColor};
792
796
  color: ${Ee.primaryColor};
@@ -804,13 +808,13 @@ class Qn extends Ln{constructor(t){if(super(t),this.et=ot,t.type!==In)throw Erro
804
808
  /** Secondary styles **/
805
809
 
806
810
  .ft-button--secondary {
807
- ${we(bn.color,Ee.secondaryIconColor)};
811
+ ${we(gn.color,Ee.secondaryIconColor)};
808
812
 
809
- ${we(_r.color,Ee.secondaryStateLayerColor)};
810
- ${we(_r.opacityContentOnSurfaceHover,Ee.secondaryStateLayerOpacityHover)};
811
- ${we(_r.opacityContentOnSurfaceFocused,Ee.secondaryStateLayerOpacityFocus)};
812
- ${we(_r.opacityContentOnSurfaceSelected,Ee.secondaryStateLayerOpacityActive)};
813
- ${we(_r.opacityContentOnSurfacePressed,Ee.secondaryStateLayerOpacityActive)};
813
+ ${we(Hr.color,Ee.secondaryStateLayerColor)};
814
+ ${we(Hr.opacityContentOnSurfaceHover,Ee.secondaryStateLayerOpacityHover)};
815
+ ${we(Hr.opacityContentOnSurfaceFocused,Ee.secondaryStateLayerOpacityFocus)};
816
+ ${we(Hr.opacityContentOnSurfaceSelected,Ee.secondaryStateLayerOpacityActive)};
817
+ ${we(Hr.opacityContentOnSurfacePressed,Ee.secondaryStateLayerOpacityActive)};
814
818
 
815
819
  background-color: ${Ee.secondaryBackgroundColor};
816
820
  color: ${Ee.secondaryColor};
@@ -829,13 +833,13 @@ class Qn extends Ln{constructor(t){if(super(t),this.et=ot,t.type!==In)throw Erro
829
833
  /** Tertiary styles **/
830
834
 
831
835
  .ft-button--tertiary {
832
- ${we(bn.color,Ee.tertiaryIconColor)};
836
+ ${we(gn.color,Ee.tertiaryIconColor)};
833
837
 
834
- ${we(_r.color,Ee.tertiaryStateLayerColor)};
835
- ${we(_r.opacityContentOnSurfaceHover,Ee.tertiaryStateLayerOpacityHover)};
836
- ${we(_r.opacityContentOnSurfaceFocused,Ee.tertiaryStateLayerOpacityFocus)};
837
- ${we(_r.opacityContentOnSurfaceSelected,Ee.tertiaryStateLayerOpacityActive)};
838
- ${we(_r.opacityContentOnSurfacePressed,Ee.tertiaryStateLayerOpacityActive)};
838
+ ${we(Hr.color,Ee.tertiaryStateLayerColor)};
839
+ ${we(Hr.opacityContentOnSurfaceHover,Ee.tertiaryStateLayerOpacityHover)};
840
+ ${we(Hr.opacityContentOnSurfaceFocused,Ee.tertiaryStateLayerOpacityFocus)};
841
+ ${we(Hr.opacityContentOnSurfaceSelected,Ee.tertiaryStateLayerOpacityActive)};
842
+ ${we(Hr.opacityContentOnSurfacePressed,Ee.tertiaryStateLayerOpacityActive)};
839
843
 
840
844
  background-color: ${Ee.tertiaryBackgroundColor};
841
845
  color: ${Ee.tertiaryColor};
@@ -853,13 +857,13 @@ class Qn extends Ln{constructor(t){if(super(t),this.et=ot,t.type!==In)throw Erro
853
857
  /** Neutral styles **/
854
858
 
855
859
  .ft-button--neutral {
856
- ${we(bn.color,Ee.neutralIconColor)};
860
+ ${we(gn.color,Ee.neutralIconColor)};
857
861
 
858
- ${we(_r.backgroundColor,Ee.neutralStateLayerColor)};
859
- ${we(_r.opacityContentOnSurfaceHover,Ee.neutralStateLayerOpacityHover)};
860
- ${we(_r.opacityContentOnSurfaceFocused,Ee.neutralStateLayerOpacityFocus)};
861
- ${we(_r.opacityContentOnSurfaceSelected,Ee.neutralStateLayerOpacityActive)};
862
- ${we(_r.opacityContentOnSurfacePressed,Ee.neutralStateLayerOpacityActive)};
862
+ ${we(Hr.backgroundColor,Ee.neutralStateLayerColor)};
863
+ ${we(Hr.opacityContentOnSurfaceHover,Ee.neutralStateLayerOpacityHover)};
864
+ ${we(Hr.opacityContentOnSurfaceFocused,Ee.neutralStateLayerOpacityFocus)};
865
+ ${we(Hr.opacityContentOnSurfaceSelected,Ee.neutralStateLayerOpacityActive)};
866
+ ${we(Hr.opacityContentOnSurfacePressed,Ee.neutralStateLayerOpacityActive)};
863
867
 
864
868
  background-color: ${Ee.neutralBackgroundColor};
865
869
  color: ${Ee.neutralColor};
@@ -877,8 +881,8 @@ class Qn extends Ln{constructor(t){if(super(t),this.et=ot,t.type!==In)throw Erro
877
881
  /** Large styles **/
878
882
 
879
883
  .ft-button--large {
880
- ${we(mn.size,Ee.largeIconSize)};
881
- ${we(bn.size,Ee.largeIconSize)};
884
+ ${we(vn.size,Ee.largeIconSize)};
885
+ ${we(gn.size,Ee.largeIconSize)};
882
886
 
883
887
  height: ${Ee.largeHeight};
884
888
  padding: 0 ${Ee.largeHorizontalPadding};
@@ -900,8 +904,8 @@ class Qn extends Ln{constructor(t){if(super(t),this.et=ot,t.type!==In)throw Erro
900
904
  /** Small styles **/
901
905
 
902
906
  .ft-button--small {
903
- ${we(mn.size,Ee.smallIconSize)};
904
- ${we(bn.size,Ee.smallIconSize)};
907
+ ${we(vn.size,Ee.smallIconSize)};
908
+ ${we(gn.size,Ee.smallIconSize)};
905
909
 
906
910
  height: ${Ee.smallHeight};
907
911
  padding: 0 ${Ee.smallHorizontalPadding};
@@ -919,16 +923,16 @@ class Qn extends Ln{constructor(t){if(super(t),this.et=ot,t.type!==In)throw Erro
919
923
  width: ${Ee.smallIconOnlyWidth};
920
924
  padding: unset;
921
925
  }
922
- `,Ke];var pa,ua,da,ya,ba,ga,ma,va,Oa,xa,wa,Sa,Na,Ca,Ea=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ra extends ca{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?zn.caption1medium:zn.body2medium}}Ra.styles=[Pe,ha],Ea([$({type:Boolean})],Ra.prototype,"primary",void 0),Ea([$({type:Boolean})],Ra.prototype,"secondary",void 0),Ea([$({type:Boolean})],Ra.prototype,"tertiary",void 0),Ea([$({type:Boolean})],Ra.prototype,"neutral",void 0),Ea([$({type:Boolean})],Ra.prototype,"small",void 0),W("ft-button")(fa),W("ftds-button")(Ra),function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var 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 e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function u(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=l(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?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),r=0;r<e.length;r++)o[r]=String.fromCharCode(e[r]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,e){this.map[n(t)]=a(e)},c.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},c.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,r,i=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new c(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=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new c(e.headers)),this.method=(o=e.method||this.method||"GET",r=o.toUpperCase(),d.indexOf(r)>-1?r:o),this.mode=e.mode||this.mode||null,this.signal=e.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 b(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),r=o.shift().replace(/\+/g," "),i=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}})),e}function g(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new c(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},g.error=function(){var t=new g(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];g.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new g(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,r){return new Promise((function(i,n){var a=new y(t,r);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),r=o.shift().trim();if(r){var i=o.join(":").trim();e.append(r,i)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;i(new g(r,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=g),e.Headers=c,e.Request=y,e.Response=g,e.fetch=v,Object.defineProperty(e,"U",{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"}(pa||(pa={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(ua||(ua={})),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"}(da||(da={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(ya||(ya={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(ba||(ba={})),function(t){t.ASC="ASC",t.DESC="DESC"}(ga||(ga={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(ma||(ma={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(va||(va={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Oa||(Oa={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(xa||(xa={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(wa||(wa={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Sa||(Sa={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(Na||(Na={})),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"}(Ca||(Ca={})),Ca.PERSONAL_BOOK_SHARE_USER,Ca.PERSONAL_BOOK_USER,Ca.HTML_EXPORT_USER,Ca.PERSONAL_BOOK_USER,Ca.PDF_EXPORT_USER,Ca.PERSONAL_BOOK_USER,Ca.KHUB_ADMIN,Ca.CONTENT_PUBLISHER,Ca.ADMIN,Ca.KHUB_ADMIN,Ca.USERS_ADMIN,Ca.PORTAL_ADMIN,Ca.DEVELOPER,Ca.BETA_USER,Ca.DEBUG_USER;const $a=xt`
923
- `,Ua=Fr.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 Ia{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Ua.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static get(t){var e;return null!=t?Ia.build(t):null!==(e=Ia.API)&&void 0!==e?e:Ia.API=Ia.build()}static await(t){return new Promise((e=>{let o=Ia.get(t);if(o)e(o);else{const r=Ua.subscribe((()=>{o=Ia.get(t),o&&(r(),e(o))}))}}))}}var ka;const La=Symbol("clearAfterUnitTest");class Wa{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[ka]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=Ua.getState().uiLocale,Ua.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Ua.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};L(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){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 Me(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}ka=La,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Wa((async(t,e)=>(await Ia.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Wa((async(t,e)=>(await Ia.await()).getCustomMessageContext(t,e))));const Aa=window.FluidTopicsI18nService,ja=window.FluidTopicsCustomI18nService;var Fa=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ka extends Fe{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=()=>Ia.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return re`
926
+ `,Pe];var ua,da,ya,ba,ga,ma,va,Oa,xa,wa,Sa,Na,Ca,Ea,Ra=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class $a extends la{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?Bn.caption1medium:Bn.body2medium}}$a.styles=[Me,pa],Ra([$({type:Boolean})],$a.prototype,"primary",void 0),Ra([$({type:Boolean})],$a.prototype,"secondary",void 0),Ra([$({type:Boolean})],$a.prototype,"tertiary",void 0),Ra([$({type:Boolean})],$a.prototype,"neutral",void 0),Ra([$({type:Boolean})],$a.prototype,"small",void 0),W("ft-button")(ha),W("ftds-button")($a),function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var 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 e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function u(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=l(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?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),r=0;r<e.length;r++)o[r]=String.fromCharCode(e[r]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,e){this.map[n(t)]=a(e)},c.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},c.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,r,i=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new c(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=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new c(e.headers)),this.method=(o=e.method||this.method||"GET",r=o.toUpperCase(),d.indexOf(r)>-1?r:o),this.mode=e.mode||this.mode||null,this.signal=e.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 b(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),r=o.shift().replace(/\+/g," "),i=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}})),e}function g(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new c(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},g.error=function(){var t=new g(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];g.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new g(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,r){return new Promise((function(i,n){var a=new y(t,r);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),r=o.shift().trim();if(r){var i=o.join(":").trim();e.append(r,i)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;i(new g(r,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=g),e.Headers=c,e.Request=y,e.Response=g,e.fetch=v,Object.defineProperty(e,"U",{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"}(ua||(ua={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(da||(da={})),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"}(ya||(ya={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(ba||(ba={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(ga||(ga={})),function(t){t.ASC="ASC",t.DESC="DESC"}(ma||(ma={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(va||(va={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Oa||(Oa={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(xa||(xa={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(wa||(wa={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Sa||(Sa={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Na||(Na={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(Ca||(Ca={})),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"}(Ea||(Ea={})),Ea.PERSONAL_BOOK_SHARE_USER,Ea.PERSONAL_BOOK_USER,Ea.HTML_EXPORT_USER,Ea.PERSONAL_BOOK_USER,Ea.PDF_EXPORT_USER,Ea.PERSONAL_BOOK_USER,Ea.KHUB_ADMIN,Ea.CONTENT_PUBLISHER,Ea.ADMIN,Ea.KHUB_ADMIN,Ea.USERS_ADMIN,Ea.PORTAL_ADMIN,Ea.DEVELOPER,Ea.BETA_USER,Ea.DEBUG_USER;const Ua=xt`
927
+ `,Ia=Kr.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 ka{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Ia.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static get(t){var e;return null!=t?ka.build(t):null!==(e=ka.API)&&void 0!==e?e:ka.API=ka.build()}static await(t){return new Promise((e=>{let o=ka.get(t);if(o)e(o);else{const r=Ia.subscribe((()=>{o=ka.get(t),o&&(r(),e(o))}))}}))}}var La;const Wa=Symbol("clearAfterUnitTest");class Aa{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[La]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=Ia.getState().uiLocale,Ia.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Ia.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};L(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){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 De(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}La=Wa,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Aa((async(t,e)=>(await ka.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Aa((async(t,e)=>(await ka.await()).getCustomMessageContext(t,e))));const ja=window.FluidTopicsI18nService,Fa=window.FluidTopicsCustomI18nService;var Ka=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Pa extends Fe{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=()=>ka.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return re`
924
928
  <slot></slot>
925
- `}update(t){super.update(t),t.has("baseUrl")&&Ua.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Ua.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Ua.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Ua.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Ua.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Ua.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Ua.actions.setSession(this.session),t.has("availableUiLocales")&&Ua.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Aa.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()))))}}Ka.elementDefinitions={},Ka.styles=$a,Fa([$()],Ka.prototype,"baseUrl",void 0),Fa([$()],Ka.prototype,"apiIntegrationIdentifier",void 0),Fa([$()],Ka.prototype,"uiLocale",void 0),Fa([A([])],Ka.prototype,"availableUiLocales",void 0),Fa([$({type:Boolean})],Ka.prototype,"editorMode",void 0),Fa([$({type:Boolean})],Ka.prototype,"noCustom",void 0),Fa([$({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Ka.prototype,"noCustomComponent",void 0),Fa([$({type:Boolean})],Ka.prototype,"withManualResources",void 0),Fa([A([])],Ka.prototype,"messageContexts",void 0),Fa([A(void 0)],Ka.prototype,"session",void 0),Fa([$({type:Object})],Ka.prototype,"apiProvider",void 0);class Pa{async listMySearches(){var t;return(null===(t=Ua.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Ia.await()).listMySearches(Ua.getState().session.profile.userId):[]}}const Ma=new r;class Da{async listMyBookmarks(){return Ma.get("bookmarks",(async()=>(await Ia.await()).listMyBookmarks(Ua.getState().session.profile.userId)))}clearCache(){Ma.clear("bookmarks")}}const za=Fr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Ua.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Da,Ua.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Ua.getState();L(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(){za.actions.savedSearches(void 0)}clearMyBookmarks(){za.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Pa,e=await t.listMySearches();za.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;za.actions.bookmarks(e)}}},W("ft-app-context")(Ka);class Ba extends Event{constructor(){super(Ba.eventName)}}Ba.eventName="search-context-clear-all-filters";var Ta=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Za extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const _a=Symbol("registerInterval");class Ha extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[_a]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[_a]):this.dispatchEvent(new Za)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=_a,Ta([U()],o.prototype,"stateManager",void 0),o}(Ge)){}const Ga=xt`
926
- `;var Va=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const qa=Symbol("i18nProperties"),Ya=Symbol("i18nUnsubs");function Xa(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?ja:Aa}i18n(t,e,...o){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);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 e;null===(e=this[qa])||void 0===e||e.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var e;super.update(t),null===(e=this[qa])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[qa]&&new Set([...this[qa].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Ya].has(t)||this[Ya].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[Ya].forEach((t=>t())),this[Ya].clear()}}return e=Ya,Va([$({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Ja extends(Xa(Fe)){}class Qa extends(Xa(Ge)){}var ts=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class es extends Qa{constructor(){super(),this.editorMode=!1,this.addStore(Ua)}render(){return this.key&&this.context?re`
929
+ `}update(t){super.update(t),t.has("baseUrl")&&Ia.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Ia.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Ia.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Ia.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Ia.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Ia.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Ia.actions.setSession(this.session),t.has("availableUiLocales")&&Ia.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>ja.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()))))}}Pa.elementDefinitions={},Pa.styles=Ua,Ka([$()],Pa.prototype,"baseUrl",void 0),Ka([$()],Pa.prototype,"apiIntegrationIdentifier",void 0),Ka([$()],Pa.prototype,"uiLocale",void 0),Ka([A([])],Pa.prototype,"availableUiLocales",void 0),Ka([$({type:Boolean})],Pa.prototype,"editorMode",void 0),Ka([$({type:Boolean})],Pa.prototype,"noCustom",void 0),Ka([$({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Pa.prototype,"noCustomComponent",void 0),Ka([$({type:Boolean})],Pa.prototype,"withManualResources",void 0),Ka([A([])],Pa.prototype,"messageContexts",void 0),Ka([A(void 0)],Pa.prototype,"session",void 0),Ka([$({type:Object})],Pa.prototype,"apiProvider",void 0);class Ma{async listMySearches(){var t;return(null===(t=Ia.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await ka.await()).listMySearches(Ia.getState().session.profile.userId):[]}}const Da=new r;class za{async listMyBookmarks(){return Da.get("bookmarks",(async()=>(await ka.await()).listMyBookmarks(Ia.getState().session.profile.userId)))}clearCache(){Da.clear("bookmarks")}}const Ba=Kr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Ia.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new za,Ia.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Ia.getState();L(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(){Ba.actions.savedSearches(void 0)}clearMyBookmarks(){Ba.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Ma,e=await t.listMySearches();Ba.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;Ba.actions.bookmarks(e)}}},W("ft-app-context")(Pa);class Ta extends Event{constructor(){super(Ta.eventName)}}Ta.eventName="search-context-clear-all-filters";var Za=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class _a extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Ha=Symbol("registerInterval");class Ga extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Ha]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Ha]):this.dispatchEvent(new _a)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Ha,Za([U()],o.prototype,"stateManager",void 0),o}(Ve)){}const Va=xt`
930
+ `;var qa=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ya=Symbol("i18nProperties"),Xa=Symbol("i18nUnsubs");function Ja(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Fa:ja}i18n(t,e,...o){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);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 e;null===(e=this[Ya])||void 0===e||e.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var e;super.update(t),null===(e=this[Ya])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Ya]&&new Set([...this[Ya].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Xa].has(t)||this[Xa].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[Xa].forEach((t=>t())),this[Xa].clear()}}return e=Xa,qa([$({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Qa extends(Ja(Fe)){}class ts extends(Ja(Ve)){}var es=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class os extends ts{constructor(){super(),this.editorMode=!1,this.addStore(Ia)}render(){return this.key&&this.context?re`
927
931
  <span class="ft-i18n">
928
932
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
929
933
  </span>
930
- `:this.editorMode?"Select a context and a label key.":ne}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}es.elementDefinitions={},es.styles=Ga,ts([Kr()],es.prototype,"editorMode",void 0),ts([$()],es.prototype,"context",void 0),ts([$()],es.prototype,"key",void 0),ts([A([])],es.prototype,"args",void 0),ts([$()],es.prototype,"defaultMessage",void 0);class os{static build(t){return new os(t)}static fromGwt(t){return new os(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>Aa.resolveMessage(this.name,e,...t)})}}W("ft-i18n")(es);const rs=os.fromGwt("designedActionBlockAriaLabels");var is=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ns extends(Xa(Ha)){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(rs)}render(){return this.isLastPage?ne:re`
934
+ `:this.editorMode?"Select a context and a label key.":ne}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}os.elementDefinitions={},os.styles=Va,es([Pr()],os.prototype,"editorMode",void 0),es([$()],os.prototype,"context",void 0),es([$()],os.prototype,"key",void 0),es([A([])],os.prototype,"args",void 0),es([$()],os.prototype,"defaultMessage",void 0);class rs{static build(t){return new rs(t)}static fromGwt(t){return new rs(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>ja.resolveMessage(this.name,e,...t)})}}W("ft-i18n")(os);const is=rs.fromGwt("designedActionBlockAriaLabels");var ns=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class as extends(Ja(Ga)){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(is)}render(){return this.isLastPage?ne:re`
931
935
  <ft-button @click="${this.loadMore}">
932
- ${rs.messages.searchPageLoadMore()}
936
+ ${is.messages.searchPageLoadMore()}
933
937
  </ft-button>
934
- `}loadMore(){var t;null===(t=this.stateManager)||void 0===t||t.setPageNumber(this.currentPage+1)}}ns.elementDefinitions={"ft-button":fa},ns.styles=Tr,is([Kr({store:"search",selector:t=>{var e,o;return null!==(o=null===(e=t.paging)||void 0===e?void 0:e.currentPage)&&void 0!==o?o:1}})],ns.prototype,"currentPage",void 0),is([Kr({store:"search",selector:t=>{var e,o;return null===(o=null===(e=t.paging)||void 0===e?void 0:e.isLastPage)||void 0===o||o}})],ns.prototype,"isLastPage",void 0),W("ft-search-load-more-button")(ns),t.FtSearchLoadMoreButton=ns,t.FtSearchLoadMoreButtonCssVariables={},t.styles=Tr}({});
938
+ `}loadMore(){var t;null===(t=this.stateManager)||void 0===t||t.setPageNumber(this.currentPage+1)}}as.elementDefinitions={"ft-button":ha},as.styles=Zr,ns([Pr({store:"search",selector:t=>{var e,o;return null!==(o=null===(e=t.paging)||void 0===e?void 0:e.currentPage)&&void 0!==o?o:1}})],as.prototype,"currentPage",void 0),ns([Pr({store:"search",selector:t=>{var e,o;return null===(o=null===(e=t.paging)||void 0===e?void 0:e.isLastPage)||void 0===o||o}})],as.prototype,"isLastPage",void 0),W("ft-search-load-more-button")(as),t.FtSearchLoadMoreButton=as,t.FtSearchLoadMoreButtonCssVariables={},t.styles=Zr}({});