@fluid-topics/ft-search-period-filter 1.1.68 → 1.1.69

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 l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);d(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let f=o.call(r,t);f||(f=h(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,c),c.standInClass=f);const p=this._awaitingUpgrade.get(t);if(p){this._awaitingUpgrade.delete(t);for(const t of p)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const 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=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=f(o)||window.customElements,i=r._getDefinition(e);return i?u(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)}},d=(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)})},p=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):p(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),l=t;try{new e.elementClass}catch(t){p(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(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(Nl){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)}}}
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 l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);d(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let f=o.call(r,t);f||(f=h(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,c),c.standInClass=f);const p=this._awaitingUpgrade.get(t);if(p){this._awaitingUpgrade.delete(t);for(const t of p)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const 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=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=f(o)||window.customElements,i=r._getDefinition(e);return i?u(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)}},d=(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)})},p=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):p(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),l=t;try{new e.elementClass}catch(t){p(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(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(El){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)}}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
@@ -140,7 +140,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
140
140
  .highlight-html-match {
141
141
  background: ${Gi};
142
142
  }
143
- `,qi={className:"highlight-html-match"};var Yi=Object.freeze({__proto__:null,highlightHtml:function(t,e){var o;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=e?e:"")){const r=new Zi(t);if(r.unmark(qi),e&&e.trim()){r.mark(e.replace(/"[^"]+"/g,""),{...qi,separateWordSearch:!0});(null!==(o=e.match(/"[^"]+"/g))&&void 0!==o?o:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...qi,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=e?e:"")},highlightHtmlColorCssVariable:Gi,highlightHtmlStyles:Vi});const Ji=dt`
143
+ `,qi={className:"highlight-html-match"};function Yi(t,e){var o;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=e?e:"")){const r=new Zi(t);if(r.unmark(qi),e&&e.trim()){r.mark(e.replace(/"[^"]+"/g,""),{...qi,separateWordSearch:!0});(null!==(o=e.match(/"[^"]+"/g))&&void 0!==o?o:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...qi,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=e?e:"")}var Ji=Object.freeze({__proto__:null,highlightHtml:Yi,highlightHtmlColorCssVariable:Gi,highlightHtmlStyles:Vi});const Xi=dt`
144
144
  .ft-no-text-select {
145
145
  -webkit-touch-callout: none;
146
146
  -webkit-user-select: none;
@@ -149,7 +149,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
149
149
  -ms-user-select: none;
150
150
  user-select: none;
151
151
  }
152
- `,Xi=dt`
152
+ `,Qi=dt`
153
153
  .ft-word-wrap {
154
154
  white-space: normal;
155
155
  word-wrap: break-word;
@@ -161,7 +161,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
161
161
  -webkit-hyphens: auto;
162
162
  hyphens: auto
163
163
  }
164
- `,Qi=dt`
164
+ `,tn=dt`
165
165
  .ft-safari-ellipsis-fix {
166
166
  margin-right: 0;
167
167
 
@@ -172,102 +172,102 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
172
172
  display: inline-block;
173
173
  width: 0;
174
174
  }
175
- `;var tn=Object.freeze({__proto__:null,noTextSelect:Ji,safariEllipsisFix:Qi,wordWrap:Xi}),en=Object.freeze({__proto__:null});class on{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()}}}var rn=Object.freeze({__proto__:null,ParametrizedLabelResolver:on});const nn=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!yo(t,e),attribute:!1,...e};we(i)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}};class an{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function sn(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var ln,cn,fn;const hn=Symbol("internalReduxEventsUnsubscribers"),dn=Symbol("internalStoresUnsubscribers"),pn=Symbol("internalStores");class un extends Mi{constructor(){super(...arguments),this[ln]=new Map,this[cn]=new Map,this[fn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[pn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[pn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[pn].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:sn(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[pn].delete(e)}setupStore(t,e){this[pn].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[pn].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.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[dn].has(t.store):this[dn].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[dn].set(t,e.subscribe((()=>this.updateFromStores()))),sn(e)&&e.eventBus&&(null===(o=this.reduxConstructor.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[hn].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[dn].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[hn].forEach((t=>t())),this[hn]=[]}unsubscribeFromStore(t){this[dn].has(t)&&this[dn].get(t)(),this[dn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function yn(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 gn(t){return!!t&&!!t[oa]}function bn(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)===ra}(t)||Array.isArray(t)||!!t[ea]||!!(null===(e=t.constructor)||void 0===e?void 0:e[ea])||Sn(t)||Cn(t))}function mn(t,e,o){void 0===o&&(o=!1),0===vn(t)?(o?Object.keys:ia)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function vn(t){var e=t[oa];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Sn(t)?2:Cn(t)?3:0}function xn(t,e){return 2===vn(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function On(t,e,o){var r=vn(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function wn(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Sn(t){return Jn&&t instanceof Map}function Cn(t){return Xn&&t instanceof Set}function Nn(t){return t.o||t.t}function En(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=na(t);delete e[oa];for(var o=ia(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 $n(t,e){return void 0===e&&(e=!1),Rn(t)||gn(t)||!bn(t)||(vn(t)>1&&(t.set=t.add=t.clear=t.delete=kn),Object.freeze(t),e&&mn(t,(function(t,e){return $n(e,!0)}),!0)),t}function kn(){yn(2)}function Rn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function In(t){var e=aa[t];return e||yn(18,t),e}function Ln(){return qn}function Un(t,e){e&&(In("Patches"),t.u=[],t.s=[],t.v=e)}function An(t){Wn(t),t.p.forEach(zn),t.p=null}function Wn(t){t===qn&&(qn=t.l)}function Bn(t){return qn={p:[],l:qn,h:t,m:!0,_:0}}function zn(t){var e=t[oa];0===e.i||1===e.i?e.j():e.g=!0}function Fn(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||In("ES5").S(e,t,r),r?(o[oa].P&&(An(e),yn(4)),bn(t)&&(t=_n(e,t),e.l||jn(e,t)),e.u&&In("Patches").M(o[oa].t,t,e.u,e.s)):t=_n(e,o,[]),An(e),e.u&&e.v(e.u,e.s),t!==ta?t:void 0}function _n(t,e,o){if(Rn(e))return e;var r=e[oa];if(!r)return mn(e,(function(i,n){return Pn(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return jn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=En(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),mn(n,(function(e,n){return Pn(t,r,i,e,n,o,a)})),jn(t,i,!1),o&&t.u&&In("Patches").N(r,o,t.u,t.s)}return r.o}function Pn(t,e,o,r,i,n,a){if(gn(i)){var s=_n(t,i,n&&e&&3!==e.i&&!xn(e.R,r)?n.concat(r):void 0);if(On(o,r,s),!gn(s))return;t.m=!1}else a&&o.add(i);if(bn(i)&&!Rn(i)){if(!t.h.D&&t._<1)return;_n(t,i),e&&e.A.l||jn(t,i)}}function jn(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&$n(e,o)}function Dn(t,e){var o=t[oa];return(o?Nn(o):t)[e]}function Mn(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 Tn(t){t.P||(t.P=!0,t.l&&Tn(t.l))}function Hn(t){t.o||(t.o=En(t.t))}function Kn(t,e,o){var r=Sn(e)?In("MapSet").F(e,o):Cn(e)?In("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:Ln(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=sa;o&&(i=[r],n=la);var a=Proxy.revocable(i,n),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(e,o):In("ES5").J(e,o);return(o?o.A:Ln()).p.push(r),r}function Zn(t){return gn(t)||yn(22,t),function t(e){if(!bn(e))return e;var o,r=e[oa],i=vn(e);if(r){if(!r.P&&(r.i<4||!In("ES5").K(r)))return r.t;r.I=!0,o=Gn(e,i),r.I=!1}else o=Gn(e,i);return mn(o,(function(e,i){r&&function(t,e){return 2===vn(t)?t.get(e):t[e]}(r.t,e)===i||On(o,e,t(i))})),3===i?new Set(o):o}(t)}function Gn(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return En(t)}ln=dn,cn=pn,fn=hn,un.reduxProperties=new Map,un.reduxReactiveProperties=new Set,un.reduxEventListeners=new Map;var Vn,qn,Yn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Jn="undefined"!=typeof Map,Xn="undefined"!=typeof Set,Qn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,ta=Yn?Symbol.for("immer-nothing"):((Vn={})["immer-nothing"]=!0,Vn),ea=Yn?Symbol.for("immer-draftable"):"__$immer_draftable",oa=Yn?Symbol.for("immer-state"):"__$immer_state",ra=""+Object.prototype.constructor,ia="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,na=Object.getOwnPropertyDescriptors||function(t){var e={};return ia(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},aa={},sa={get:function(t,e){if(e===oa)return t;var o=Nn(t);if(!xn(o,e))return function(t,e,o){var r,i=Mn(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||!bn(r)?r:r===Dn(t.t,e)?(Hn(t),t.o[e]=Kn(t.A.h,r,t)):r},has:function(t,e){return e in Nn(t)},ownKeys:function(t){return Reflect.ownKeys(Nn(t))},set:function(t,e,o){var r=Mn(Nn(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=Dn(Nn(t),e),n=null==i?void 0:i[oa];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(wn(o,i)&&(void 0!==o||xn(t.t,e)))return!0;Hn(t),Tn(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!==Dn(t.t,e)||e in t.t?(t.R[e]=!1,Hn(t),Tn(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Nn(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(){yn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){yn(12)}},la={};mn(sa,(function(t,e){la[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),la.deleteProperty=function(t,e){return la.set.call(this,t,e,void 0)},la.set=function(t,e,o){return sa.set.call(this,t[0],e,o,t[0])};var ca=function(){function t(t){var e=this;this.O=Qn,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&&yn(6),void 0!==r&&"function"!=typeof r&&yn(7),bn(t)){var s=Bn(e),l=Kn(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?An(s):Wn(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Un(s,r),Fn(t,s)}),(function(t){throw An(s),t})):(Un(s,r),Fn(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===ta&&(a=void 0),e.D&&$n(a,!0),r){var f=[],h=[];In("Patches").M(t,a,f,h),r(f,h)}return a}yn(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){bn(t)||yn(8),gn(t)&&(t=Zn(t));var e=Bn(this),o=Kn(this,t,void 0);return o[oa].C=!0,Wn(e),o},e.finishDraft=function(t,e){var o=(t&&t[oa]).A;return Un(o,e),Fn(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Qn&&yn(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=In("Patches").$;return gn(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),fa=new ca,ha=fa.produce;function da(t){return da="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},da(t)}function pa(t){var e=function(t,e){if("object"!==da(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==da(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===da(e)?e:String(e)}function ua(t,e,o){return(e=pa(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function ya(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 ga(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?ya(Object(o),!0).forEach((function(e){ua(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ya(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function ba(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. "}fa.produceWithPatches.bind(fa),fa.setAutoFreeze.bind(fa),fa.setUseProxies.bind(fa),fa.applyPatches.bind(fa),fa.createDraft.bind(fa),fa.finishDraft.bind(fa);var ma="function"==typeof Symbol&&Symbol.observable||"@@observable",va=function(){return Math.random().toString(36).substring(7).split("").join(".")},xa={INIT:"@@redux/INIT"+va(),REPLACE:"@@redux/REPLACE"+va(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+va()}};function Oa(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(ba(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(ba(1));return o(Oa)(t,e)}if("function"!=typeof t)throw new Error(ba(2));var i=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(ba(3));return n}function h(t){if("function"!=typeof t)throw new Error(ba(4));if(l)throw new Error(ba(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(ba(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=null}}}function d(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(ba(7));if(void 0===t.type)throw new Error(ba(8));if(l)throw new Error(ba(9));try{l=!0,n=i(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return d({type:xa.INIT}),(r={dispatch:d,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ba(10));i=t,d({type:xa.REPLACE})}})[ma]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ba(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[ma]=function(){return this},t},r}function wa(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:xa.INIT}))throw new Error(ba(12));if(void 0===o(void 0,{type:xa.PROBE_UNKNOWN_ACTION()}))throw new Error(ba(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 l=a[s],c=o[l],f=t[l],h=c(f,e);if(void 0===h)throw e&&e.type,new Error(ba(14));i[l]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function Sa(){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 Ca(){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(ba(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=Sa.apply(void 0,n)(o.dispatch),ga(ga({},o),{},{dispatch:r})}}}function Na(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 Ea=Na();Ea.withExtraArgument=Na;var $a,ka=Ea,Ra=($a=function(t,e){return $a=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])},$a(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}$a(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),Ia=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])}}},La=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},Ua=Object.defineProperty,Aa=Object.defineProperties,Wa=Object.getOwnPropertyDescriptors,Ba=Object.getOwnPropertySymbols,za=Object.prototype.hasOwnProperty,Fa=Object.prototype.propertyIsEnumerable,_a=function(t,e,o){return e in t?Ua(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Pa=function(t,e){for(var o in e||(e={}))za.call(e,o)&&_a(t,o,e[o]);if(Ba)for(var r=0,i=Ba(e);r<i.length;r++){o=i[r];Fa.call(e,o)&&_a(t,o,e[o])}return t},ja=function(t,e){return Aa(t,Wa(e))},Da="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Sa:Sa.apply(null,arguments)};var Ma=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 Ra(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,La([void 0],t[0].concat(this)))):new(e.bind.apply(e,La([void 0],t.concat(this))))},e}(Array),Ta=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 Ra(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,La([void 0],t[0].concat(this)))):new(e.bind.apply(e,La([void 0],t.concat(this))))},e}(Array);function Ha(t){return bn(t)?ha(t,(function(){})):t}function Ka(){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 Ma;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(ka.withExtraArgument(o.extraArgument)):r.push(ka));return r}(t)}}function Za(t){var e,o=Ka(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,l=r.devTools,c=void 0===l||l,f=r.preloadedState,h=void 0===f?void 0:f,d=r.enhancers,p=void 0===d?void 0:d;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=wa(n)}var u=s;"function"==typeof u&&(u=u(o));var y=Ca.apply(void 0,u),g=Sa;c&&(g=Da(Pa({trace:!1},"object"==typeof c&&c)));var b=new Ta(y),m=b;return Array.isArray(p)?m=La([y],p):"function"==typeof p&&(m=p(b)),Oa(e,h,g.apply(void 0,m))}function Ga(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 Pa(Pa({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 Va(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 qa(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:Ha(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?Va(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,f=Pa(Pa({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Va(e):[e,o,r],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ha(t())};else{var c=Ha(t);i=function(){return c}}function f(t,e){void 0===t&&(t=i());var o=La([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var r;if(gn(t))return void 0===(r=o(t,e))?t:r;if(bn(t))return ha(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)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,r,n=i[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[c]=o,l[t]=r?Ga(c,r):Ga(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Ya=["name","message","stack","code"],Ja=function(t,e){this.payload=t,this.meta=e},Xa=function(t,e){this.payload=t,this.meta=e},Qa=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Ya;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function ts(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=Ga(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:ja(Pa({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=Ga(t+"/pending",(function(t,e,o){return{payload:void 0,meta:ja(Pa({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Ga(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Qa)(t||"Rejected"),meta:ja(Pa({},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,l,c){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),d=new a;function p(t){f=t,d.abort()}var u=function(){return a=this,u=null,y=function(){var a,u,y,g,b,m;return Ia(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return d.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(h,t,null==(u=null==o?void 0:o.getPendingMeta)?void 0:u.call(o,{requestId:h,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:h,signal:d.signal,abort:p,rejectWithValue:function(t,e){return new Ja(t,e)},fulfillWithValue:function(t,e){return new Xa(t,e)}})).then((function(e){if(e instanceof Ja)throw e;return e instanceof Xa?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 Ja?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 x}))},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,u)).next())}));var a,u,y}();return Object.assign(u,{abort:p,requestId:h,arg:t,unwrap:function(){return u.then(ts)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var es="listenerMiddleware";Ga(es+"/add"),Ga(es+"/removeAll"),Ga(es+"/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[oa];return sa.get(e,t)},set:function(e){var o=this[oa];sa.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][oa];if(!i.P)switch(i.i){case 5:r(i)&&Tn(i);break;case 4:o(i)&&Tn(i)}}}function o(t){for(var e=t.t,o=t.k,r=ia(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==oa){var a=e[n];if(void 0===a&&!xn(e,n))return!0;var s=o[n],l=s&&s[oa];if(l?l.t!==a:!wn(s,a))return!0}}var c=!!e[oa];return r.length!==ia(e).length+(c?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){aa[t]||(aa[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=na(o);delete n[oa];for(var a=ia(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:Ln(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,oa,{value:n,writable:!0}),i},S:function(t,o,i){i?gn(o)&&o[oa].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[oa];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)mn(n,(function(e){e!==oa&&(void 0!==i[e]||xn(i,e)?a[e]||t(n[e]):(a[e]=!0,Tn(o)))})),mn(i,(function(t){void 0!==n[t]||xn(n,t)||(a[t]=!1,Tn(o))}));else if(5===s){if(r(o)&&(Tn(o),a.length=!0),n.length<i.length)for(var l=n.length;l<i.length;l++)a[l]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),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 os{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(sn(i))return i;if(null==r)return;const n=qa({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Za({reducer:(t,e)=>"CLEAR_FT_REDUX_STORE"===e.type?n.getInitialState():"string"==typeof e.type&&e.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...e.overwrites}:n.reducer(t,e)});return window.ftReduxStores[r.name]=new os(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new an,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_VALUE_SETTER__"+Object.keys(t).join("_"),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()}}var rs=Object.freeze({__proto__:null,FtCommandQueue:an,FtLitElementRedux:un,FtReduxStore:os,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))sn(e)&&e.clear()},isFtReduxStore:sn,redux:nn,reduxEventListener:t=>(e,o)=>{const r=e.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(o,t)},reduxReactive:()=>(t,e)=>{var o;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(o=r.reduxReactiveProperties)||void 0===o||o.add(e)}});var is=Object.freeze({__proto__:null,serializeRequest:function(t,e){var o,r,i,n;const a=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all"});if((null===(r=e.query)||void 0===r?void 0:r.length)>0&&a.append("query",e.query),e.scope&&"DEFAULT"!==e.scope&&a.append("scope",e.scope.toLowerCase()),e.virtualField&&a.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let t=e.periodFilter.period;const o=t?`_${t.from}_${t.to}`:"";a.append("period",e.periodFilter.periodType.toLowerCase()+o)}if((null===(i=e.sort)||void 0===i?void 0:i.length)>0&&"ft:lastEdition"===e.sort[0].key&&a.append("sort","last_update"),(null===(n=e.filters)||void 0===n?void 0:n.length)>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.toString()}`).href}});const ns=Symbol("elementInternals");function as(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[ns].form}constructor(...t){super(t),this[ns]=this.attachInternals(),this[ns].role=e}setFormValue(t){this[ns].setFormValue(t)}}}var ss,ls,cs,fs,hs=Object.freeze({__proto__:null,toFtFormComponent:as});const ds=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(cs=null===(ls=null===(ss=window.safari)||void 0===ss?void 0:ss.pushNotification)||void 0===ls?void 0:ls.toString())&&void 0!==cs?cs:""),ps="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(fs=window.ftGlobals)&&void 0!==fs?fs:{lit:ve,litDecorators:Le,litRepeat:He,litClassMap:Ze,litStyleMap:Ye,litUnsafeHTML:Qe,wcUtils:{...no,...ro,...so,...co,...xo,...Nr,...Rr,...Ui,...Sr,...Ti,...Hi,...go,...Yi,...tn,...en,...rn,...rs,...Fi,...is,...hs,isSafari:ds,isTouchScreen:ps}};const us=wo.extend("--ft-typography-font-family","",Cr.titleFont),ys=wo.extend("--ft-typography-font-family","",Cr.contentFont),gs={fontFamily:ys,fontSize:wo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:wo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:wo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:wo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:wo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},bs=wo.extend("--ft-typography-title-font-family","",us),ms=wo.extend("--ft-typography-title-font-size","",gs.fontSize,"20px"),vs=wo.extend("--ft-typography-title-font-weight","",gs.fontWeight,"normal"),xs=wo.extend("--ft-typography-title-letter-spacing","",gs.letterSpacing,"0.15px"),Os=wo.extend("--ft-typography-title-line-height","",gs.lineHeight,"1.2"),ws=wo.extend("--ft-typography-title-text-transform","",gs.textTransform,"inherit"),Ss=wo.extend("--ft-typography-title-dense-font-family","",us),Cs=wo.extend("--ft-typography-title-dense-font-size","",gs.fontSize,"14px"),Ns=wo.extend("--ft-typography-title-dense-font-weight","",gs.fontWeight,"normal"),Es=wo.extend("--ft-typography-title-dense-letter-spacing","",gs.letterSpacing,"0.105px"),$s=wo.extend("--ft-typography-title-dense-line-height","",gs.lineHeight,"1.7"),ks=wo.extend("--ft-typography-title-dense-text-transform","",gs.textTransform,"inherit"),Rs=wo.extend("--ft-typography-subtitle1-font-family","",ys),Is=wo.extend("--ft-typography-subtitle1-font-size","",gs.fontSize,"16px"),Ls=wo.extend("--ft-typography-subtitle1-font-weight","",gs.fontWeight,"600"),Us=wo.extend("--ft-typography-subtitle1-letter-spacing","",gs.letterSpacing,"0.144px"),As=wo.extend("--ft-typography-subtitle1-line-height","",gs.lineHeight,"1.5"),Ws=wo.extend("--ft-typography-subtitle1-text-transform","",gs.textTransform,"inherit"),Bs=wo.extend("--ft-typography-subtitle2-font-family","",ys),zs=wo.extend("--ft-typography-subtitle2-font-size","",gs.fontSize,"14px"),Fs=wo.extend("--ft-typography-subtitle2-font-weight","",gs.fontWeight,"normal"),_s=wo.extend("--ft-typography-subtitle2-letter-spacing","",gs.letterSpacing,"0.098px"),Ps=wo.extend("--ft-typography-subtitle2-line-height","",gs.lineHeight,"1.7"),js=wo.extend("--ft-typography-subtitle2-text-transform","",gs.textTransform,"inherit"),Ds=wo.extend("--ft-typography-body1-font-family","",ys),Ms=wo.extend("--ft-typography-body1-font-size","",gs.fontSize,"16px"),Ts=wo.extend("--ft-typography-body1-font-weight","",gs.fontWeight,"normal"),Hs=wo.extend("--ft-typography-body1-letter-spacing","",gs.letterSpacing,"0.496px"),Ks=wo.extend("--ft-typography-body1-line-height","",gs.lineHeight,"1.5"),Zs=wo.extend("--ft-typography-body1-text-transform","",gs.textTransform,"inherit"),Gs={fontFamily:wo.extend("--ft-typography-body2-font-family","",ys),fontSize:wo.extend("--ft-typography-body2-font-size","",gs.fontSize,"14px"),fontWeight:wo.extend("--ft-typography-body2-font-weight","",gs.fontWeight,"normal"),letterSpacing:wo.extend("--ft-typography-body2-letter-spacing","",gs.letterSpacing,"0.252px"),lineHeight:wo.extend("--ft-typography-body2-line-height","",gs.lineHeight,"1.4"),textTransform:wo.extend("--ft-typography-body2-text-transform","",gs.textTransform,"inherit")},Vs=wo.extend("--ft-typography-caption-font-family","",ys),qs=wo.extend("--ft-typography-caption-font-size","",gs.fontSize,"12px"),Ys=wo.extend("--ft-typography-caption-font-weight","",gs.fontWeight,"normal"),Js=wo.extend("--ft-typography-caption-letter-spacing","",gs.letterSpacing,"0.396px"),Xs=wo.extend("--ft-typography-caption-line-height","",gs.lineHeight,"1.33"),Qs=wo.extend("--ft-typography-caption-text-transform","",gs.textTransform,"inherit"),tl=wo.extend("--ft-typography-breadcrumb-font-family","",ys),el=wo.extend("--ft-typography-breadcrumb-font-size","",gs.fontSize,"10px"),ol=wo.extend("--ft-typography-breadcrumb-font-weight","",gs.fontWeight,"normal"),rl=wo.extend("--ft-typography-breadcrumb-letter-spacing","",gs.letterSpacing,"0.33px"),il=wo.extend("--ft-typography-breadcrumb-line-height","",gs.lineHeight,"1.6"),nl=wo.extend("--ft-typography-breadcrumb-text-transform","",gs.textTransform,"inherit"),al=wo.extend("--ft-typography-overline-font-family","",ys),sl=wo.extend("--ft-typography-overline-font-size","",gs.fontSize,"10px"),ll=wo.extend("--ft-typography-overline-font-weight","",gs.fontWeight,"normal"),cl=wo.extend("--ft-typography-overline-letter-spacing","",gs.letterSpacing,"1.5px"),fl=wo.extend("--ft-typography-overline-line-height","",gs.lineHeight,"1.6"),hl=wo.extend("--ft-typography-overline-text-transform","",gs.textTransform,"uppercase"),dl={fontFamily:wo.extend("--ft-typography-button-font-family","",ys),fontSize:wo.extend("--ft-typography-button-font-size","",gs.fontSize,"14px"),fontWeight:wo.extend("--ft-typography-button-font-weight","",gs.fontWeight,"600"),letterSpacing:wo.extend("--ft-typography-button-letter-spacing","",gs.letterSpacing,"1.246px"),lineHeight:wo.extend("--ft-typography-button-line-height","",gs.lineHeight,"1.15"),textTransform:wo.extend("--ft-typography-button-text-transform","",gs.textTransform,"uppercase")},pl=dt`
175
+ `;var en=Object.freeze({__proto__:null,noTextSelect:Xi,safariEllipsisFix:tn,wordWrap:Qi}),on=Object.freeze({__proto__:null});class rn{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()}}}var nn=Object.freeze({__proto__:null,ParametrizedLabelResolver:rn});const an=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!yo(t,e),attribute:!1,...e};we(i)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}};class sn{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function ln(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var cn,fn,hn;const dn=Symbol("internalReduxEventsUnsubscribers"),pn=Symbol("internalStoresUnsubscribers"),un=Symbol("internalStores");class yn extends Mi{constructor(){super(...arguments),this[cn]=new Map,this[fn]=new Map,this[hn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[un].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[un].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[un].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:ln(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[un].delete(e)}setupStore(t,e){this[un].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[un].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.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[pn].has(t.store):this[pn].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[pn].set(t,e.subscribe((()=>this.updateFromStores()))),ln(e)&&e.eventBus&&(null===(o=this.reduxConstructor.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[dn].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[pn].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[dn].forEach((t=>t())),this[dn]=[]}unsubscribeFromStore(t){this[pn].has(t)&&this[pn].get(t)(),this[pn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function gn(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 bn(t){return!!t&&!!t[ra]}function mn(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)===ia}(t)||Array.isArray(t)||!!t[oa]||!!(null===(e=t.constructor)||void 0===e?void 0:e[oa])||Cn(t)||Nn(t))}function vn(t,e,o){void 0===o&&(o=!1),0===xn(t)?(o?Object.keys:na)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function xn(t){var e=t[ra];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Cn(t)?2:Nn(t)?3:0}function On(t,e){return 2===xn(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function wn(t,e,o){var r=xn(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function Sn(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Cn(t){return Xn&&t instanceof Map}function Nn(t){return Qn&&t instanceof Set}function En(t){return t.o||t.t}function $n(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=aa(t);delete e[ra];for(var o=na(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 kn(t,e){return void 0===e&&(e=!1),In(t)||bn(t)||!mn(t)||(xn(t)>1&&(t.set=t.add=t.clear=t.delete=Rn),Object.freeze(t),e&&vn(t,(function(t,e){return kn(e,!0)}),!0)),t}function Rn(){gn(2)}function In(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Ln(t){var e=sa[t];return e||gn(18,t),e}function Un(){return Yn}function An(t,e){e&&(Ln("Patches"),t.u=[],t.s=[],t.v=e)}function Wn(t){Bn(t),t.p.forEach(Fn),t.p=null}function Bn(t){t===Yn&&(Yn=t.l)}function zn(t){return Yn={p:[],l:Yn,h:t,m:!0,_:0}}function Fn(t){var e=t[ra];0===e.i||1===e.i?e.j():e.g=!0}function _n(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||Ln("ES5").S(e,t,r),r?(o[ra].P&&(Wn(e),gn(4)),mn(t)&&(t=Pn(e,t),e.l||Dn(e,t)),e.u&&Ln("Patches").M(o[ra].t,t,e.u,e.s)):t=Pn(e,o,[]),Wn(e),e.u&&e.v(e.u,e.s),t!==ea?t:void 0}function Pn(t,e,o){if(In(e))return e;var r=e[ra];if(!r)return vn(e,(function(i,n){return jn(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return Dn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=$n(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),vn(n,(function(e,n){return jn(t,r,i,e,n,o,a)})),Dn(t,i,!1),o&&t.u&&Ln("Patches").N(r,o,t.u,t.s)}return r.o}function jn(t,e,o,r,i,n,a){if(bn(i)){var s=Pn(t,i,n&&e&&3!==e.i&&!On(e.R,r)?n.concat(r):void 0);if(wn(o,r,s),!bn(s))return;t.m=!1}else a&&o.add(i);if(mn(i)&&!In(i)){if(!t.h.D&&t._<1)return;Pn(t,i),e&&e.A.l||Dn(t,i)}}function Dn(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&kn(e,o)}function Mn(t,e){var o=t[ra];return(o?En(o):t)[e]}function Tn(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 Hn(t){t.P||(t.P=!0,t.l&&Hn(t.l))}function Kn(t){t.o||(t.o=$n(t.t))}function Zn(t,e,o){var r=Cn(e)?Ln("MapSet").F(e,o):Nn(e)?Ln("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:Un(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=la;o&&(i=[r],n=ca);var a=Proxy.revocable(i,n),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(e,o):Ln("ES5").J(e,o);return(o?o.A:Un()).p.push(r),r}function Gn(t){return bn(t)||gn(22,t),function t(e){if(!mn(e))return e;var o,r=e[ra],i=xn(e);if(r){if(!r.P&&(r.i<4||!Ln("ES5").K(r)))return r.t;r.I=!0,o=Vn(e,i),r.I=!1}else o=Vn(e,i);return vn(o,(function(e,i){r&&function(t,e){return 2===xn(t)?t.get(e):t[e]}(r.t,e)===i||wn(o,e,t(i))})),3===i?new Set(o):o}(t)}function Vn(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return $n(t)}cn=pn,fn=un,hn=dn,yn.reduxProperties=new Map,yn.reduxReactiveProperties=new Set,yn.reduxEventListeners=new Map;var qn,Yn,Jn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Xn="undefined"!=typeof Map,Qn="undefined"!=typeof Set,ta="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,ea=Jn?Symbol.for("immer-nothing"):((qn={})["immer-nothing"]=!0,qn),oa=Jn?Symbol.for("immer-draftable"):"__$immer_draftable",ra=Jn?Symbol.for("immer-state"):"__$immer_state",ia=""+Object.prototype.constructor,na="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,aa=Object.getOwnPropertyDescriptors||function(t){var e={};return na(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},sa={},la={get:function(t,e){if(e===ra)return t;var o=En(t);if(!On(o,e))return function(t,e,o){var r,i=Tn(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||!mn(r)?r:r===Mn(t.t,e)?(Kn(t),t.o[e]=Zn(t.A.h,r,t)):r},has:function(t,e){return e in En(t)},ownKeys:function(t){return Reflect.ownKeys(En(t))},set:function(t,e,o){var r=Tn(En(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=Mn(En(t),e),n=null==i?void 0:i[ra];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Sn(o,i)&&(void 0!==o||On(t.t,e)))return!0;Kn(t),Hn(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!==Mn(t.t,e)||e in t.t?(t.R[e]=!1,Kn(t),Hn(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=En(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(){gn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){gn(12)}},ca={};vn(la,(function(t,e){ca[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),ca.deleteProperty=function(t,e){return ca.set.call(this,t,e,void 0)},ca.set=function(t,e,o){return la.set.call(this,t[0],e,o,t[0])};var fa=function(){function t(t){var e=this;this.O=ta,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&&gn(6),void 0!==r&&"function"!=typeof r&&gn(7),mn(t)){var s=zn(e),l=Zn(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?Wn(s):Bn(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return An(s,r),_n(t,s)}),(function(t){throw Wn(s),t})):(An(s,r),_n(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===ea&&(a=void 0),e.D&&kn(a,!0),r){var f=[],h=[];Ln("Patches").M(t,a,f,h),r(f,h)}return a}gn(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){mn(t)||gn(8),bn(t)&&(t=Gn(t));var e=zn(this),o=Zn(this,t,void 0);return o[ra].C=!0,Bn(e),o},e.finishDraft=function(t,e){var o=(t&&t[ra]).A;return An(o,e),_n(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!ta&&gn(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=Ln("Patches").$;return bn(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),ha=new fa,da=ha.produce;function pa(t){return pa="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},pa(t)}function ua(t){var e=function(t,e){if("object"!==pa(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==pa(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===pa(e)?e:String(e)}function ya(t,e,o){return(e=ua(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function ga(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 ba(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?ga(Object(o),!0).forEach((function(e){ya(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ga(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function ma(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. "}ha.produceWithPatches.bind(ha),ha.setAutoFreeze.bind(ha),ha.setUseProxies.bind(ha),ha.applyPatches.bind(ha),ha.createDraft.bind(ha),ha.finishDraft.bind(ha);var va="function"==typeof Symbol&&Symbol.observable||"@@observable",xa=function(){return Math.random().toString(36).substring(7).split("").join(".")},Oa={INIT:"@@redux/INIT"+xa(),REPLACE:"@@redux/REPLACE"+xa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+xa()}};function wa(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(ma(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(ma(1));return o(wa)(t,e)}if("function"!=typeof t)throw new Error(ma(2));var i=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(ma(3));return n}function h(t){if("function"!=typeof t)throw new Error(ma(4));if(l)throw new Error(ma(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(ma(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=null}}}function d(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(ma(7));if(void 0===t.type)throw new Error(ma(8));if(l)throw new Error(ma(9));try{l=!0,n=i(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return d({type:Oa.INIT}),(r={dispatch:d,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ma(10));i=t,d({type:Oa.REPLACE})}})[va]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ma(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[va]=function(){return this},t},r}function Sa(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:Oa.INIT}))throw new Error(ma(12));if(void 0===o(void 0,{type:Oa.PROBE_UNKNOWN_ACTION()}))throw new Error(ma(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 l=a[s],c=o[l],f=t[l],h=c(f,e);if(void 0===h)throw e&&e.type,new Error(ma(14));i[l]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function Ca(){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 Na(){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(ma(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=Ca.apply(void 0,n)(o.dispatch),ba(ba({},o),{},{dispatch:r})}}}function Ea(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 $a=Ea();$a.withExtraArgument=Ea;var ka,Ra=$a,Ia=(ka=function(t,e){return ka=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])},ka(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}ka(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),La=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])}}},Ua=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},Aa=Object.defineProperty,Wa=Object.defineProperties,Ba=Object.getOwnPropertyDescriptors,za=Object.getOwnPropertySymbols,Fa=Object.prototype.hasOwnProperty,_a=Object.prototype.propertyIsEnumerable,Pa=function(t,e,o){return e in t?Aa(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},ja=function(t,e){for(var o in e||(e={}))Fa.call(e,o)&&Pa(t,o,e[o]);if(za)for(var r=0,i=za(e);r<i.length;r++){o=i[r];_a.call(e,o)&&Pa(t,o,e[o])}return t},Da=function(t,e){return Wa(t,Ba(e))},Ma="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Ca:Ca.apply(null,arguments)};var Ta=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 Ia(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,Ua([void 0],t[0].concat(this)))):new(e.bind.apply(e,Ua([void 0],t.concat(this))))},e}(Array),Ha=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 Ia(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,Ua([void 0],t[0].concat(this)))):new(e.bind.apply(e,Ua([void 0],t.concat(this))))},e}(Array);function Ka(t){return mn(t)?da(t,(function(){})):t}function Za(){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 Ta;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(Ra.withExtraArgument(o.extraArgument)):r.push(Ra));return r}(t)}}function Ga(t){var e,o=Za(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,l=r.devTools,c=void 0===l||l,f=r.preloadedState,h=void 0===f?void 0:f,d=r.enhancers,p=void 0===d?void 0:d;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=Sa(n)}var u=s;"function"==typeof u&&(u=u(o));var y=Na.apply(void 0,u),g=Ca;c&&(g=Ma(ja({trace:!1},"object"==typeof c&&c)));var b=new Ha(y),m=b;return Array.isArray(p)?m=Ua([y],p):"function"==typeof p&&(m=p(b)),wa(e,h,g.apply(void 0,m))}function Va(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 ja(ja({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 qa(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 Ya(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:Ka(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?qa(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,f=ja(ja({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?qa(e):[e,o,r],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ka(t())};else{var c=Ka(t);i=function(){return c}}function f(t,e){void 0===t&&(t=i());var o=Ua([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var r;if(bn(t))return void 0===(r=o(t,e))?t:r;if(mn(t))return da(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)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,r,n=i[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[c]=o,l[t]=r?Va(c,r):Va(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Ja=["name","message","stack","code"],Xa=function(t,e){this.payload=t,this.meta=e},Qa=function(t,e){this.payload=t,this.meta=e},ts=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Ja;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function es(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=Va(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:Da(ja({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=Va(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Da(ja({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Va(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||ts)(t||"Rejected"),meta:Da(ja({},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,l,c){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),d=new a;function p(t){f=t,d.abort()}var u=function(){return a=this,u=null,y=function(){var a,u,y,g,b,m;return La(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return d.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(h,t,null==(u=null==o?void 0:o.getPendingMeta)?void 0:u.call(o,{requestId:h,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:h,signal:d.signal,abort:p,rejectWithValue:function(t,e){return new Xa(t,e)},fulfillWithValue:function(t,e){return new Qa(t,e)}})).then((function(e){if(e instanceof Xa)throw e;return e instanceof Qa?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 Xa?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 x}))},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,u)).next())}));var a,u,y}();return Object.assign(u,{abort:p,requestId:h,arg:t,unwrap:function(){return u.then(es)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var os="listenerMiddleware";Va(os+"/add"),Va(os+"/removeAll"),Va(os+"/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[ra];return la.get(e,t)},set:function(e){var o=this[ra];la.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][ra];if(!i.P)switch(i.i){case 5:r(i)&&Hn(i);break;case 4:o(i)&&Hn(i)}}}function o(t){for(var e=t.t,o=t.k,r=na(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==ra){var a=e[n];if(void 0===a&&!On(e,n))return!0;var s=o[n],l=s&&s[ra];if(l?l.t!==a:!Sn(s,a))return!0}}var c=!!e[ra];return r.length!==na(e).length+(c?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){sa[t]||(sa[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=aa(o);delete n[ra];for(var a=na(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:Un(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,ra,{value:n,writable:!0}),i},S:function(t,o,i){i?bn(o)&&o[ra].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[ra];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)vn(n,(function(e){e!==ra&&(void 0!==i[e]||On(i,e)?a[e]||t(n[e]):(a[e]=!0,Hn(o)))})),vn(i,(function(t){void 0!==n[t]||On(n,t)||(a[t]=!1,Hn(o))}));else if(5===s){if(r(o)&&(Hn(o),a.length=!0),n.length<i.length)for(var l=n.length;l<i.length;l++)a[l]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),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 rs{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(ln(i))return i;if(null==r)return;const n=Ya({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Ga({reducer:(t,e)=>"CLEAR_FT_REDUX_STORE"===e.type?n.getInitialState():"string"==typeof e.type&&e.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...e.overwrites}:n.reducer(t,e)});return window.ftReduxStores[r.name]=new rs(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new sn,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_VALUE_SETTER__"+Object.keys(t).join("_"),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()}}var is=Object.freeze({__proto__:null,FtCommandQueue:sn,FtLitElementRedux:yn,FtReduxStore:rs,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))ln(e)&&e.clear()},isFtReduxStore:ln,redux:an,reduxEventListener:t=>(e,o)=>{const r=e.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(o,t)},reduxReactive:()=>(t,e)=>{var o;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(o=r.reduxReactiveProperties)||void 0===o||o.add(e)}});var ns=Object.freeze({__proto__:null,serializeRequest:function(t,e){var o,r,i,n;const a=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all"});if((null===(r=e.query)||void 0===r?void 0:r.length)>0&&a.append("query",e.query),e.scope&&"DEFAULT"!==e.scope&&a.append("scope",e.scope.toLowerCase()),e.virtualField&&a.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let t=e.periodFilter.period;const o=t?`_${t.from}_${t.to}`:"";a.append("period",e.periodFilter.periodType.toLowerCase()+o)}if((null===(i=e.sort)||void 0===i?void 0:i.length)>0&&"ft:lastEdition"===e.sort[0].key&&a.append("sort","last_update"),(null===(n=e.filters)||void 0===n?void 0:n.length)>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.toString()}`).href}});const as=Symbol("elementInternals");function ss(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[as].form}constructor(...t){super(t),this[as]=this.attachInternals(),this[as].role=e}setFormValue(t){this[as].setFormValue(t)}}}var ls,cs,fs,hs,ds=Object.freeze({__proto__:null,toFtFormComponent:ss});const ps=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(fs=null===(cs=null===(ls=window.safari)||void 0===ls?void 0:ls.pushNotification)||void 0===cs?void 0:cs.toString())&&void 0!==fs?fs:""),us="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(hs=window.ftGlobals)&&void 0!==hs?hs:{lit:ve,litDecorators:Le,litRepeat:He,litClassMap:Ze,litStyleMap:Ye,litUnsafeHTML:Qe,wcUtils:{...no,...ro,...so,...co,...xo,...Nr,...Rr,...Ui,...Sr,...Ti,...Hi,...go,...Ji,...en,...on,...nn,...is,...Fi,...ns,...ds,isSafari:ps,isTouchScreen:us}};const ys=wo.extend("--ft-typography-font-family","",Cr.titleFont),gs=wo.extend("--ft-typography-font-family","",Cr.contentFont),bs={fontFamily:gs,fontSize:wo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:wo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:wo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:wo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:wo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ms=wo.extend("--ft-typography-title-font-family","",ys),vs=wo.extend("--ft-typography-title-font-size","",bs.fontSize,"20px"),xs=wo.extend("--ft-typography-title-font-weight","",bs.fontWeight,"normal"),Os=wo.extend("--ft-typography-title-letter-spacing","",bs.letterSpacing,"0.15px"),ws=wo.extend("--ft-typography-title-line-height","",bs.lineHeight,"1.2"),Ss=wo.extend("--ft-typography-title-text-transform","",bs.textTransform,"inherit"),Cs=wo.extend("--ft-typography-title-dense-font-family","",ys),Ns=wo.extend("--ft-typography-title-dense-font-size","",bs.fontSize,"14px"),Es=wo.extend("--ft-typography-title-dense-font-weight","",bs.fontWeight,"normal"),$s=wo.extend("--ft-typography-title-dense-letter-spacing","",bs.letterSpacing,"0.105px"),ks=wo.extend("--ft-typography-title-dense-line-height","",bs.lineHeight,"1.7"),Rs=wo.extend("--ft-typography-title-dense-text-transform","",bs.textTransform,"inherit"),Is=wo.extend("--ft-typography-subtitle1-font-family","",gs),Ls=wo.extend("--ft-typography-subtitle1-font-size","",bs.fontSize,"16px"),Us=wo.extend("--ft-typography-subtitle1-font-weight","",bs.fontWeight,"600"),As=wo.extend("--ft-typography-subtitle1-letter-spacing","",bs.letterSpacing,"0.144px"),Ws=wo.extend("--ft-typography-subtitle1-line-height","",bs.lineHeight,"1.5"),Bs=wo.extend("--ft-typography-subtitle1-text-transform","",bs.textTransform,"inherit"),zs=wo.extend("--ft-typography-subtitle2-font-family","",gs),Fs=wo.extend("--ft-typography-subtitle2-font-size","",bs.fontSize,"14px"),_s=wo.extend("--ft-typography-subtitle2-font-weight","",bs.fontWeight,"normal"),Ps=wo.extend("--ft-typography-subtitle2-letter-spacing","",bs.letterSpacing,"0.098px"),js=wo.extend("--ft-typography-subtitle2-line-height","",bs.lineHeight,"1.7"),Ds=wo.extend("--ft-typography-subtitle2-text-transform","",bs.textTransform,"inherit"),Ms=wo.extend("--ft-typography-body1-font-family","",gs),Ts=wo.extend("--ft-typography-body1-font-size","",bs.fontSize,"16px"),Hs=wo.extend("--ft-typography-body1-font-weight","",bs.fontWeight,"normal"),Ks=wo.extend("--ft-typography-body1-letter-spacing","",bs.letterSpacing,"0.496px"),Zs=wo.extend("--ft-typography-body1-line-height","",bs.lineHeight,"1.5"),Gs=wo.extend("--ft-typography-body1-text-transform","",bs.textTransform,"inherit"),Vs={fontFamily:wo.extend("--ft-typography-body2-font-family","",gs),fontSize:wo.extend("--ft-typography-body2-font-size","",bs.fontSize,"14px"),fontWeight:wo.extend("--ft-typography-body2-font-weight","",bs.fontWeight,"normal"),letterSpacing:wo.extend("--ft-typography-body2-letter-spacing","",bs.letterSpacing,"0.252px"),lineHeight:wo.extend("--ft-typography-body2-line-height","",bs.lineHeight,"1.4"),textTransform:wo.extend("--ft-typography-body2-text-transform","",bs.textTransform,"inherit")},qs=wo.extend("--ft-typography-caption-font-family","",gs),Ys=wo.extend("--ft-typography-caption-font-size","",bs.fontSize,"12px"),Js=wo.extend("--ft-typography-caption-font-weight","",bs.fontWeight,"normal"),Xs=wo.extend("--ft-typography-caption-letter-spacing","",bs.letterSpacing,"0.396px"),Qs=wo.extend("--ft-typography-caption-line-height","",bs.lineHeight,"1.33"),tl=wo.extend("--ft-typography-caption-text-transform","",bs.textTransform,"inherit"),el=wo.extend("--ft-typography-breadcrumb-font-family","",gs),ol=wo.extend("--ft-typography-breadcrumb-font-size","",bs.fontSize,"10px"),rl=wo.extend("--ft-typography-breadcrumb-font-weight","",bs.fontWeight,"normal"),il=wo.extend("--ft-typography-breadcrumb-letter-spacing","",bs.letterSpacing,"0.33px"),nl=wo.extend("--ft-typography-breadcrumb-line-height","",bs.lineHeight,"1.6"),al=wo.extend("--ft-typography-breadcrumb-text-transform","",bs.textTransform,"inherit"),sl=wo.extend("--ft-typography-overline-font-family","",gs),ll=wo.extend("--ft-typography-overline-font-size","",bs.fontSize,"10px"),cl=wo.extend("--ft-typography-overline-font-weight","",bs.fontWeight,"normal"),fl=wo.extend("--ft-typography-overline-letter-spacing","",bs.letterSpacing,"1.5px"),hl=wo.extend("--ft-typography-overline-line-height","",bs.lineHeight,"1.6"),dl=wo.extend("--ft-typography-overline-text-transform","",bs.textTransform,"uppercase"),pl={fontFamily:wo.extend("--ft-typography-button-font-family","",gs),fontSize:wo.extend("--ft-typography-button-font-size","",bs.fontSize,"14px"),fontWeight:wo.extend("--ft-typography-button-font-weight","",bs.fontWeight,"600"),letterSpacing:wo.extend("--ft-typography-button-letter-spacing","",bs.letterSpacing,"1.246px"),lineHeight:wo.extend("--ft-typography-button-line-height","",bs.lineHeight,"1.15"),textTransform:wo.extend("--ft-typography-button-text-transform","",bs.textTransform,"uppercase")},ul=dt`
176
176
  .ft-typography--title {
177
- font-family: ${bs};
178
- font-size: ${ms};
179
- font-weight: ${vs};
180
- letter-spacing: ${xs};
181
- line-height: ${Os};
182
- text-transform: ${ws};
183
- }
184
- `,ul=dt`
185
- .ft-typography--title-dense {
186
- font-family: ${Ss};
187
- font-size: ${Cs};
188
- font-weight: ${Ns};
189
- letter-spacing: ${Es};
190
- line-height: ${$s};
191
- text-transform: ${ks};
177
+ font-family: ${ms};
178
+ font-size: ${vs};
179
+ font-weight: ${xs};
180
+ letter-spacing: ${Os};
181
+ line-height: ${ws};
182
+ text-transform: ${Ss};
192
183
  }
193
184
  `,yl=dt`
194
- .ft-typography--subtitle1 {
195
- font-family: ${Rs};
196
- font-size: ${Is};
197
- font-weight: ${Ls};
198
- letter-spacing: ${Us};
199
- line-height: ${As};
200
- text-transform: ${Ws};
185
+ .ft-typography--title-dense {
186
+ font-family: ${Cs};
187
+ font-size: ${Ns};
188
+ font-weight: ${Es};
189
+ letter-spacing: ${$s};
190
+ line-height: ${ks};
191
+ text-transform: ${Rs};
201
192
  }
202
193
  `,gl=dt`
203
- .ft-typography--subtitle2 {
204
- font-family: ${Bs};
205
- font-size: ${zs};
206
- font-weight: ${Fs};
207
- letter-spacing: ${_s};
208
- line-height: ${Ps};
209
- text-transform: ${js};
194
+ .ft-typography--subtitle1 {
195
+ font-family: ${Is};
196
+ font-size: ${Ls};
197
+ font-weight: ${Us};
198
+ letter-spacing: ${As};
199
+ line-height: ${Ws};
200
+ text-transform: ${Bs};
210
201
  }
211
-
212
202
  `,bl=dt`
213
- .ft-typography--body1 {
214
- font-family: ${Ds};
215
- font-size: ${Ms};
216
- font-weight: ${Ts};
217
- letter-spacing: ${Hs};
218
- line-height: ${Ks};
219
- text-transform: ${Zs};
203
+ .ft-typography--subtitle2 {
204
+ font-family: ${zs};
205
+ font-size: ${Fs};
206
+ font-weight: ${_s};
207
+ letter-spacing: ${Ps};
208
+ line-height: ${js};
209
+ text-transform: ${Ds};
220
210
  }
211
+
221
212
  `,ml=dt`
222
- .ft-typography--body2 {
223
- font-family: ${Gs.fontFamily};
224
- font-size: ${Gs.fontSize};
225
- font-weight: ${Gs.fontWeight};
226
- letter-spacing: ${Gs.letterSpacing};
227
- line-height: ${Gs.lineHeight};
228
- text-transform: ${Gs.textTransform};
213
+ .ft-typography--body1 {
214
+ font-family: ${Ms};
215
+ font-size: ${Ts};
216
+ font-weight: ${Hs};
217
+ letter-spacing: ${Ks};
218
+ line-height: ${Zs};
219
+ text-transform: ${Gs};
229
220
  }
230
221
  `,vl=dt`
231
- .ft-typography--caption {
232
- font-family: ${Vs};
233
- font-size: ${qs};
234
- font-weight: ${Ys};
235
- letter-spacing: ${Js};
236
- line-height: ${Xs};
237
- text-transform: ${Qs};
222
+ .ft-typography--body2 {
223
+ font-family: ${Vs.fontFamily};
224
+ font-size: ${Vs.fontSize};
225
+ font-weight: ${Vs.fontWeight};
226
+ letter-spacing: ${Vs.letterSpacing};
227
+ line-height: ${Vs.lineHeight};
228
+ text-transform: ${Vs.textTransform};
238
229
  }
239
230
  `,xl=dt`
240
- .ft-typography--breadcrumb {
241
- font-family: ${tl};
242
- font-size: ${el};
243
- font-weight: ${ol};
244
- letter-spacing: ${rl};
245
- line-height: ${il};
246
- text-transform: ${nl};
231
+ .ft-typography--caption {
232
+ font-family: ${qs};
233
+ font-size: ${Ys};
234
+ font-weight: ${Js};
235
+ letter-spacing: ${Xs};
236
+ line-height: ${Qs};
237
+ text-transform: ${tl};
247
238
  }
248
239
  `,Ol=dt`
249
- .ft-typography--overline {
250
- font-family: ${al};
251
- font-size: ${sl};
252
- font-weight: ${ll};
253
- letter-spacing: ${cl};
254
- line-height: ${fl};
255
- text-transform: ${hl};
240
+ .ft-typography--breadcrumb {
241
+ font-family: ${el};
242
+ font-size: ${ol};
243
+ font-weight: ${rl};
244
+ letter-spacing: ${il};
245
+ line-height: ${nl};
246
+ text-transform: ${al};
256
247
  }
257
248
  `,wl=dt`
258
- .ft-typography--button {
259
- font-family: ${dl.fontFamily};
260
- font-size: ${dl.fontSize};
261
- font-weight: ${dl.fontWeight};
262
- letter-spacing: ${dl.letterSpacing};
263
- line-height: ${dl.lineHeight};
264
- text-transform: ${dl.textTransform};
249
+ .ft-typography--overline {
250
+ font-family: ${sl};
251
+ font-size: ${ll};
252
+ font-weight: ${cl};
253
+ letter-spacing: ${fl};
254
+ line-height: ${hl};
255
+ text-transform: ${dl};
265
256
  }
266
257
  `,Sl=dt`
258
+ .ft-typography--button {
259
+ font-family: ${pl.fontFamily};
260
+ font-size: ${pl.fontSize};
261
+ font-weight: ${pl.fontWeight};
262
+ letter-spacing: ${pl.letterSpacing};
263
+ line-height: ${pl.lineHeight};
264
+ text-transform: ${pl.textTransform};
265
+ }
266
+ `,Cl=dt`
267
267
  .ft-typography {
268
268
  vertical-align: inherit;
269
269
  }
270
- `,Cl=[Object.keys(Jo).map((t=>function(t){const e=Jo[t];return dt`
270
+ `,Nl=[Object.keys(Jo).map((t=>function(t){const e=Jo[t];return dt`
271
271
  .ft-typography--${ht(t)} {
272
272
  font-family: ${e.fontFamily};
273
273
  font-size: ${e.fontSize};
@@ -276,14 +276,14 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
276
276
  line-height: ${e.lineHeight};
277
277
  text-transform: ${e.textCase};
278
278
  }
279
- `}(t)))],Nl=Symbol.for(""),El=t=>{if(t?.r===Nl)return t?._$litStatic$},$l=t=>({_$litStatic$:t,r:Nl}),kl=new Map,Rl=(t=>(e,...o)=>{const r=o.length;let i,n;const a=[],s=[];let l,c=0,f=!1;for(;c<r;){for(l=e[c];c<r&&void 0!==(n=o[c],i=El(n));)l+=i+e[++c],f=!0;c!==r&&s.push(n),a.push(l),c++}if(c===r&&a.push(e[r]),f){const t=a.join("$$lit$$");void 0===(e=kl.get(t))&&(a.raw=a,kl.set(t,e=a)),o=s}return t(e,...o)})(M);var Il;!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"}(Il||(Il={}));var Ll=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 Ul extends Mi{constructor(){super(...arguments),this.variant=Il.body1}render(){return this.element?Rl`
280
- <${$l(this.element)}
279
+ `}(t)))],El=Symbol.for(""),$l=t=>{if(t?.r===El)return t?._$litStatic$},kl=t=>({_$litStatic$:t,r:El}),Rl=new Map,Il=(t=>(e,...o)=>{const r=o.length;let i,n;const a=[],s=[];let l,c=0,f=!1;for(;c<r;){for(l=e[c];c<r&&void 0!==(n=o[c],i=$l(n));)l+=i+e[++c],f=!0;c!==r&&s.push(n),a.push(l),c++}if(c===r&&a.push(e[r]),f){const t=a.join("$$lit$$");void 0===(e=Rl.get(t))&&(a.raw=a,Rl.set(t,e=a)),o=s}return t(e,...o)})(M);var Ll;!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"}(Ll||(Ll={}));var Ul=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 Al extends Mi{constructor(){super(...arguments),this.variant=Ll.body1}render(){return this.element?Il`
280
+ <${kl(this.element)}
281
281
  class="ft-typography ft-typography--${this.variant}">
282
282
  <slot></slot>
283
- </${$l(this.element)}>
284
- `:Rl`
283
+ </${kl(this.element)}>
284
+ `:Il`
285
285
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
286
- `}}Ul.styles=[pl,ul,yl,gl,bl,ml,vl,xl,Ol,wl,Sl,...Cl],Ll([we()],Ul.prototype,"element",void 0),Ll([we()],Ul.prototype,"variant",void 0),bo("ft-typography")(Ul);const Al=wo.extend("--ft-ripple-color","",Cr.colorContent),Wl={color:Al,backgroundColor:wo.extend("--ft-ripple-background-color","",Al),opacityContentOnSurfacePressed:wo.external(Cr.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:wo.external(Cr.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:wo.external(Cr.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:wo.external(Cr.opacityContentOnSurfaceSelected,"Design system"),borderRadius:wo.create("--ft-ripple-border-radius","","SIZE","0px")},Bl=wo.extend("--ft-ripple-color","",Cr.colorPrimary),zl=Bl,Fl=wo.extend("--ft-ripple-background-color","",Bl),_l=wo.extend("--ft-ripple-color","",Cr.colorSecondary),Pl=_l,jl=wo.extend("--ft-ripple-background-color","",_l),Dl=dt`
286
+ `}}Al.styles=[ul,yl,gl,bl,ml,vl,xl,Ol,wl,Sl,Cl,...Nl],Ul([we()],Al.prototype,"element",void 0),Ul([we()],Al.prototype,"variant",void 0),bo("ft-typography")(Al);const Wl=wo.extend("--ft-ripple-color","",Cr.colorContent),Bl={color:Wl,backgroundColor:wo.extend("--ft-ripple-background-color","",Wl),opacityContentOnSurfacePressed:wo.external(Cr.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:wo.external(Cr.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:wo.external(Cr.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:wo.external(Cr.opacityContentOnSurfaceSelected,"Design system"),borderRadius:wo.create("--ft-ripple-border-radius","","SIZE","0px")},zl=wo.extend("--ft-ripple-color","",Cr.colorPrimary),Fl=zl,_l=wo.extend("--ft-ripple-background-color","",zl),Pl=wo.extend("--ft-ripple-color","",Cr.colorSecondary),jl=Pl,Dl=wo.extend("--ft-ripple-background-color","",Pl),Ml=dt`
287
287
  :host {
288
288
  display: contents;
289
289
  }
@@ -296,7 +296,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
296
296
 
297
297
  .ft-ripple:not(.ft-ripple--unbounded) {
298
298
  overflow: hidden;
299
- border-radius: ${Wl.borderRadius};
299
+ border-radius: ${Bl.borderRadius};
300
300
  }
301
301
 
302
302
  .ft-ripple .ft-ripple--background,
@@ -330,27 +330,27 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
330
330
  }
331
331
 
332
332
  .ft-ripple .ft-ripple--background {
333
- background-color: ${Wl.backgroundColor};
333
+ background-color: ${Bl.backgroundColor};
334
334
  }
335
335
 
336
336
  .ft-ripple .ft-ripple--effect {
337
- background-color: ${Wl.color};
337
+ background-color: ${Bl.color};
338
338
  }
339
339
 
340
340
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
341
- background-color: ${jl};
341
+ background-color: ${Dl};
342
342
  }
343
343
 
344
344
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
345
- background-color: ${Pl};
345
+ background-color: ${jl};
346
346
  }
347
347
 
348
348
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
349
- background-color: ${Fl};
349
+ background-color: ${_l};
350
350
  }
351
351
 
352
352
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
353
- background-color: ${zl};
353
+ background-color: ${Fl};
354
354
  }
355
355
 
356
356
  .ft-ripple .ft-ripple--background {
@@ -380,22 +380,22 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
380
380
  }
381
381
 
382
382
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
383
- opacity: ${Wl.opacityContentOnSurfaceHover};
383
+ opacity: ${Bl.opacityContentOnSurfaceHover};
384
384
  }
385
385
 
386
386
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
387
- opacity: ${Wl.opacityContentOnSurfaceSelected};
387
+ opacity: ${Bl.opacityContentOnSurfaceSelected};
388
388
  }
389
389
 
390
390
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
391
- opacity: ${Wl.opacityContentOnSurfaceFocused};
391
+ opacity: ${Bl.opacityContentOnSurfaceFocused};
392
392
  }
393
393
 
394
394
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
395
- opacity: ${Wl.opacityContentOnSurfacePressed};
395
+ opacity: ${Bl.opacityContentOnSurfacePressed};
396
396
  transform: translate(-50%, -50%) scale(1);
397
397
  }
398
- `,Ml={color:wo.extend("--ft-loader-color","",Cr.colorPrimary),size:wo.create("--ft-loader-size","","SIZE","80px")},Tl=dt`
398
+ `,Tl={color:wo.extend("--ft-loader-color","",Cr.colorPrimary),size:wo.create("--ft-loader-size","","SIZE","80px")},Hl=dt`
399
399
  :host {
400
400
  line-height: 0;
401
401
  }
@@ -404,8 +404,8 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
404
404
  display: inline-block;
405
405
  position: relative;
406
406
 
407
- width: ${Ml.size};
408
- height: ${Ml.size};
407
+ width: ${Tl.size};
408
+ height: ${Tl.size};
409
409
  }
410
410
 
411
411
  .ft-loader div {
@@ -414,7 +414,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
414
414
  width: 25%;
415
415
  height: 25%;
416
416
  border-radius: 50%;
417
- background: ${Ml.color};
417
+ background: ${Tl.color};
418
418
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
419
419
  }
420
420
 
@@ -461,10 +461,10 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
461
461
  transform: translate(0, 0);
462
462
  }
463
463
  100% {
464
- transform: translate(calc(0.35 * ${Ml.size}), 0);
464
+ transform: translate(calc(0.35 * ${Tl.size}), 0);
465
465
  }
466
466
  }
467
- `,Hl={size:wo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:wo.extend("--ft-icon-fluid-topics-font-family","",wo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:wo.extend("--ft-icon-file-format-font-family","",wo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:wo.extend("--ft-icon-material-font-family","",wo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:wo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Kl=dt`
467
+ `,Kl={size:wo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:wo.extend("--ft-icon-fluid-topics-font-family","",wo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:wo.extend("--ft-icon-file-format-font-family","",wo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:wo.extend("--ft-icon-material-font-family","",wo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:wo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Zl=dt`
468
468
  :host, i.ft-icon {
469
469
  display: inline-flex;
470
470
  align-items: center;
@@ -473,14 +473,14 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
473
473
  }
474
474
 
475
475
  :host {
476
- width: ${Hl.size};
477
- height: ${Hl.size};
476
+ width: ${Kl.size};
477
+ height: ${Kl.size};
478
478
  }
479
479
 
480
480
  i.ft-icon {
481
481
  width: 100%;
482
482
  height: 100%;
483
- font-size: ${Hl.size};
483
+ font-size: ${Kl.size};
484
484
  line-height: 1;
485
485
  font-weight: normal;
486
486
  text-transform: none;
@@ -491,28 +491,28 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
491
491
  text-rendering: auto;
492
492
  -webkit-font-smoothing: antialiased;
493
493
  -moz-osx-font-smoothing: grayscale;
494
- vertical-align: ${Hl.verticalAlign};
494
+ vertical-align: ${Kl.verticalAlign};
495
495
  }
496
496
 
497
497
  i.ft-icon.ft-icon--fluid-topics {
498
- font-family: ${Hl.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
498
+ font-family: ${Kl.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
499
499
 
500
500
  /* Ugly fix because font is broken */
501
- font-size: calc(0.75 * ${Hl.size});
502
- line-height: ${Hl.size};
501
+ font-size: calc(0.75 * ${Kl.size});
502
+ line-height: ${Kl.size};
503
503
  position: relative;
504
504
  top: -4%;
505
505
  justify-content: center;
506
506
  }
507
507
 
508
508
  .ft-icon--file-format {
509
- font-family: ${Hl.fileFormatFontFamily}, ft-mime, sans-serif;
509
+ font-family: ${Kl.fileFormatFontFamily}, ft-mime, sans-serif;
510
510
  }
511
511
 
512
512
  .ft-icon--material {
513
- font-family: ${Hl.materialFontFamily}, "Material Icons", sans-serif;
513
+ font-family: ${Kl.materialFontFamily}, "Material Icons", sans-serif;
514
514
  }
515
- `,Zl=wo.extend("--ft-button-color","",Cr.colorPrimary),Gl={backgroundColor:wo.extend("--ft-button-background-color","",Cr.colorSurface),borderRadius:wo.extend("--ft-button-border-radius","",Cr.borderRadiusL),color:Zl,fontSize:wo.extend("--ft-button-font-size","",dl.fontSize),iconSize:wo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:wo.extend("--ft-button-ripple-color","",Zl),verticalPadding:wo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:wo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:wo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:wo.external(Cr.colorOpacityDisabled,"Design system")},Vl=wo.extend("--ft-button-primary-color","",wo.extend("--ft-button-color","",Cr.colorOnPrimary)),ql={backgroundColor:wo.extend("--ft-button-primary-background-color","",wo.extend("--ft-button-background-color","",Cr.colorPrimary)),color:Vl,rippleColor:wo.extend("--ft-button-primary-ripple-color","",Vl)},Yl=wo.extend("--ft-button-dense-border-radius","",wo.extend("--ft-button-border-radius","",Cr.borderRadiusM)),Jl=wo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Xl=wo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Ql=wo.create("--ft-button-dense-icon-padding","","SIZE","4px"),tc=[dt`
515
+ `,Gl=wo.extend("--ft-button-color","",Cr.colorPrimary),Vl={backgroundColor:wo.extend("--ft-button-background-color","",Cr.colorSurface),borderRadius:wo.extend("--ft-button-border-radius","",Cr.borderRadiusL),color:Gl,fontSize:wo.extend("--ft-button-font-size","",pl.fontSize),iconSize:wo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:wo.extend("--ft-button-ripple-color","",Gl),verticalPadding:wo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:wo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:wo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:wo.external(Cr.colorOpacityDisabled,"Design system")},ql=wo.extend("--ft-button-primary-color","",wo.extend("--ft-button-color","",Cr.colorOnPrimary)),Yl={backgroundColor:wo.extend("--ft-button-primary-background-color","",wo.extend("--ft-button-background-color","",Cr.colorPrimary)),color:ql,rippleColor:wo.extend("--ft-button-primary-ripple-color","",ql)},Jl=wo.extend("--ft-button-dense-border-radius","",wo.extend("--ft-button-border-radius","",Cr.borderRadiusM)),Xl=wo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Ql=wo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),tc=wo.create("--ft-button-dense-icon-padding","","SIZE","4px"),ec=[dt`
516
516
  :host {
517
517
  display: inline-block;
518
518
  max-width: 100%;
@@ -523,7 +523,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
523
523
  box-shadow: 0px 0px 0px transparent;
524
524
  border: 0px solid transparent;
525
525
  text-shadow: 0px 0px 0px transparent;
526
- font-size: ${Gl.fontSize};
526
+ font-size: ${Vl.fontSize};
527
527
  }
528
528
 
529
529
  button:hover {
@@ -552,31 +552,31 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
552
552
  border: none;
553
553
  pointer-events: auto;
554
554
 
555
- --ft-button-internal-line-height: max(calc(${Gl.fontSize} + 2px), ${Gl.iconSize});
556
- --ft-button-internal-color: ${Gl.color};
557
- ${So(Hl.size,Gl.iconSize)};
558
- ${So(Wl.color,Gl.rippleColor)};
555
+ --ft-button-internal-line-height: max(calc(${Vl.fontSize} + 2px), ${Vl.iconSize});
556
+ --ft-button-internal-color: ${Vl.color};
557
+ ${So(Kl.size,Vl.iconSize)};
558
+ ${So(Bl.color,Vl.rippleColor)};
559
559
 
560
- border-radius: ${Gl.borderRadius};
561
- padding: ${Gl.verticalPadding} ${Gl.horizontalPadding};
562
- background-color: ${Gl.backgroundColor};
560
+ border-radius: ${Vl.borderRadius};
561
+ padding: ${Vl.verticalPadding} ${Vl.horizontalPadding};
562
+ background-color: ${Vl.backgroundColor};
563
563
  color: var(--ft-button-internal-color);
564
564
  -webkit-mask-image: radial-gradient(white, black);
565
565
  }
566
566
 
567
567
  .ft-button.ft-button--outlined {
568
568
  border: 1px solid var(--ft-button-internal-color);
569
- padding: calc(${Gl.verticalPadding} - 1px) calc(${Gl.horizontalPadding} - 1px);
569
+ padding: calc(${Vl.verticalPadding} - 1px) calc(${Vl.horizontalPadding} - 1px);
570
570
  }
571
571
 
572
572
  .ft-button.ft-button--dense {
573
- padding: ${Jl} ${Xl};
574
- border-radius: ${Yl};
575
- gap: ${Ql};
573
+ padding: ${Xl} ${Ql};
574
+ border-radius: ${Jl};
575
+ gap: ${tc};
576
576
  }
577
577
 
578
578
  .ft-button.ft-button--dense.ft-button--outlined {
579
- padding: calc(${Jl} - 1px) calc(${Xl} - 1px);
579
+ padding: calc(${Xl} - 1px) calc(${Ql} - 1px);
580
580
  }
581
581
 
582
582
  .ft-button:not([disabled]):hover {
@@ -584,22 +584,22 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
584
584
  }
585
585
 
586
586
  .ft-button--round {
587
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Gl.verticalPadding});
587
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Vl.verticalPadding});
588
588
  }
589
589
 
590
590
  .ft-button--round.ft-button--dense {
591
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Jl});
591
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Xl});
592
592
  }
593
593
 
594
594
  .ft-button[disabled] {
595
595
  filter: grayscale(1);
596
- opacity: ${Gl.opacityDisabled};
596
+ opacity: ${Vl.opacityDisabled};
597
597
  }
598
598
 
599
599
  .ft-button.ft-button--primary {
600
- background-color: ${ql.backgroundColor};
601
- --ft-button-internal-color: ${ql.color};
602
- ${So(Wl.color,ql.rippleColor)};
600
+ background-color: ${Yl.backgroundColor};
601
+ --ft-button-internal-color: ${Yl.color};
602
+ ${So(Bl.color,Yl.rippleColor)};
603
603
  }
604
604
 
605
605
  .ft-button:focus {
@@ -612,13 +612,13 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
612
612
  white-space: nowrap;
613
613
  text-overflow: ellipsis;
614
614
  display: block;
615
- margin: 0 ${Gl.iconPadding};
616
- ${So(dl.fontSize,"1em")};
617
- ${So(dl.lineHeight,"var(--ft-button-internal-line-height)")};
615
+ margin: 0 ${Vl.iconPadding};
616
+ ${So(pl.fontSize,"1em")};
617
+ ${So(pl.lineHeight,"var(--ft-button-internal-line-height)")};
618
618
  }
619
619
 
620
620
  .ft-button--dense .ft-button--label {
621
- margin: 0 ${Ql};
621
+ margin: 0 ${tc};
622
622
  }
623
623
 
624
624
  .ft-button--label[hidden] {
@@ -631,13 +631,13 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
631
631
  }
632
632
 
633
633
  .ft-button--label[hidden] + ft-icon {
634
- margin: 0 calc(${Gl.horizontalPadding} * -1);
635
- padding: 0 ${Gl.verticalPadding};
634
+ margin: 0 calc(${Vl.horizontalPadding} * -1);
635
+ padding: 0 ${Vl.verticalPadding};
636
636
  }
637
637
 
638
638
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
639
- margin: 0 calc(${Xl} * -1);
640
- padding: 0 ${Jl};
639
+ margin: 0 calc(${Ql} * -1);
640
+ padding: 0 ${Xl};
641
641
  }
642
642
 
643
643
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -646,10 +646,10 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
646
646
  }
647
647
 
648
648
  ft-loader {
649
- ${So(Ml.size,Gl.iconSize)};
650
- ${So(Ml.color,"var(--ft-button-internal-color)")};
649
+ ${So(Tl.size,Vl.iconSize)};
650
+ ${So(Tl.color,"var(--ft-button-internal-color)")};
651
651
  }
652
- `,Ji];var ec=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 oc extends Mi{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 lo(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 lo(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 Jt`
652
+ `,Xi];var oc=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 rc extends Mi{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 lo(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 lo(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 Jt`
653
653
  <style>
654
654
  .ft-ripple .ft-ripple--effect {
655
655
  left: ${this.originX}px;
@@ -660,7 +660,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
660
660
  <div class="ft-ripple--background"></div>
661
661
  <div class="ft-ripple--effect"></div>
662
662
  </div>
663
- `}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)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let 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()}}oc.elementDefinitions={},oc.styles=Dl,ec([we({type:Boolean})],oc.prototype,"primary",void 0),ec([we({type:Boolean})],oc.prototype,"secondary",void 0),ec([we({type:Boolean})],oc.prototype,"unbounded",void 0),ec([we({type:Boolean})],oc.prototype,"activated",void 0),ec([we({type:Boolean})],oc.prototype,"selected",void 0),ec([we({type:Boolean})],oc.prototype,"disabled",void 0),ec([Se()],oc.prototype,"hovered",void 0),ec([Se()],oc.prototype,"focused",void 0),ec([Se()],oc.prototype,"pressed",void 0),ec([Se()],oc.prototype,"rippling",void 0),ec([Se()],oc.prototype,"originX",void 0),ec([Se()],oc.prototype,"originY",void 0),ec([Ee(".ft-ripple")],oc.prototype,"ripple",void 0),ec([Ee(".ft-ripple--effect")],oc.prototype,"rippleEffect",void 0),bo("ft-ripple")(oc);const rc=wo.create("--ft-tooltip-distance","","SIZE","4px"),ic=wo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),nc=wo.create("--ft-tooltip-background-color","","COLOR","#666666"),ac=wo.create("--ft-tooltip-z-index","","NUMBER","100"),sc=wo.external(Cr.borderRadiusS,"Design system"),lc=wo.create("--ft-tooltip-max-width","","SIZE","150px"),cc=dt`
663
+ `}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)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let 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()}}rc.elementDefinitions={},rc.styles=Ml,oc([we({type:Boolean})],rc.prototype,"primary",void 0),oc([we({type:Boolean})],rc.prototype,"secondary",void 0),oc([we({type:Boolean})],rc.prototype,"unbounded",void 0),oc([we({type:Boolean})],rc.prototype,"activated",void 0),oc([we({type:Boolean})],rc.prototype,"selected",void 0),oc([we({type:Boolean})],rc.prototype,"disabled",void 0),oc([Se()],rc.prototype,"hovered",void 0),oc([Se()],rc.prototype,"focused",void 0),oc([Se()],rc.prototype,"pressed",void 0),oc([Se()],rc.prototype,"rippling",void 0),oc([Se()],rc.prototype,"originX",void 0),oc([Se()],rc.prototype,"originY",void 0),oc([Ee(".ft-ripple")],rc.prototype,"ripple",void 0),oc([Ee(".ft-ripple--effect")],rc.prototype,"rippleEffect",void 0),bo("ft-ripple")(rc);const ic=wo.create("--ft-tooltip-distance","","SIZE","4px"),nc=wo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),ac=wo.create("--ft-tooltip-background-color","","COLOR","#666666"),sc=wo.create("--ft-tooltip-z-index","","NUMBER","100"),lc=wo.external(Cr.borderRadiusS,"Design system"),cc=wo.create("--ft-tooltip-max-width","","SIZE","150px"),fc=dt`
664
664
  .ft-tooltip--container {
665
665
  display: block;
666
666
  }
@@ -675,21 +675,21 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
675
675
  box-sizing: border-box;
676
676
  overflow: hidden;
677
677
  width: max-content;
678
- max-width: ${lc};
678
+ max-width: ${cc};
679
679
  text-align: center;
680
- padding: ${rc};
681
- z-index: ${ac};
680
+ padding: ${ic};
681
+ z-index: ${sc};
682
682
  }
683
683
 
684
684
  .ft-tooltip--content {
685
685
  padding: 4px 8px;
686
- border-radius: ${sc};
687
- background-color: ${nc};
688
- color: ${ic};
686
+ border-radius: ${lc};
687
+ background-color: ${ac};
688
+ color: ${nc};
689
689
  position: relative;
690
690
  word-break: break-word;
691
691
  }
692
- `;var fc,hc,dc,pc=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 uc extends Mi{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 lo,this.revealDebouncer=new lo}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Jt`
692
+ `;var hc,dc,pc,uc=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 yc extends Mi{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 lo,this.revealDebouncer=new lo}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Jt`
693
693
  <div part="container"
694
694
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
695
695
  @mouseenter=${this.onHover}
@@ -707,19 +707,19 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
707
707
  </div>
708
708
  </div>
709
709
  </div>
710
- `}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()}async show(t){this.visible=!0,null!=t&&await 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(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Li(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}uc.elementDefinitions={"ft-typography":Ul},uc.styles=cc,pc([we()],uc.prototype,"text",void 0),pc([we({type:Boolean})],uc.prototype,"manual",void 0),pc([we({type:Boolean})],uc.prototype,"inline",void 0),pc([we({type:Number})],uc.prototype,"delay",void 0),pc([we()],uc.prototype,"position",void 0),pc([Ie()],uc.prototype,"slotNodes",void 0),pc([Ee(".ft-tooltip--container")],uc.prototype,"container",void 0),pc([Ee(".ft-tooltip")],uc.prototype,"tooltip",void 0),pc([Ee(".ft-tooltip--content")],uc.prototype,"tooltipContent",void 0),pc([Se()],uc.prototype,"visible",void 0),pc([Ce({passive:!0})],uc.prototype,"onTouch",null),pc([Ce({passive:!0})],uc.prototype,"onHover",null),pc([Ce({passive:!0})],uc.prototype,"onOut",null),pc([Ce({passive:!0})],uc.prototype,"onClick",null),bo("ft-tooltip")(uc),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.CHART_BAR_NORMALIZED="&#xe97b;",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="&#xe909;",t.OCTAGON_XMARK="&#xe97d;",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.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;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CONSUMER="&#xe97c;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;"}(fc||(fc={})),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;"}(hc||(hc={})),new Map([...["abw"].map((t=>[t,hc.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,hc.AUDIO])),...["avi"].map((t=>[t,hc.AVI])),...["chm","xhs"].map((t=>[t,hc.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,hc.CODE])),...["csv"].map((t=>[t,hc.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,hc.DITA])),...["epub"].map((t=>[t,hc.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,hc.EXCEL])),...["flac"].map((t=>[t,hc.FLAC])),...["gif"].map((t=>[t,hc.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,hc.GZIP])),...["html","htm","xhtml"].map((t=>[t,hc.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,hc.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,hc.JPEG])),...["json"].map((t=>[t,hc.JSON])),...["m4a","m4p"].map((t=>[t,hc.M4A])),...["mov","qt"].map((t=>[t,hc.MOV])),...["mp3"].map((t=>[t,hc.MP3])),...["mp4","m4v"].map((t=>[t,hc.MP4])),...["ogg","oga"].map((t=>[t,hc.OGG])),...["pdf","ps"].map((t=>[t,hc.PDF])),...["png"].map((t=>[t,hc.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,hc.POWERPOINT])),...["rar"].map((t=>[t,hc.RAR])),...["stp"].map((t=>[t,hc.STP])),...["txt","rtf","md","mdown"].map((t=>[t,hc.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,hc.VIDEO])),...["wav"].map((t=>[t,hc.WAV])),...["wma"].map((t=>[t,hc.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,hc.WORD])),...["xml","xsl","rdf"].map((t=>[t,hc.XML])),...["yaml","yml","x-yaml"].map((t=>[t,hc.YAML])),...["zip"].map((t=>[t,hc.ZIP]))]),hc.ABW,hc.AUDIO,hc.AVI,hc.CHM,hc.CODE,hc.CSV,hc.DITA,hc.EPUB,hc.EXCEL,hc.FLAC,hc.GIF,hc.GZIP,hc.HTML,hc.IMAGE,hc.JPEG,hc.JSON,hc.M4A,hc.MOV,hc.MP3,hc.MP4,hc.OGG,hc.PDF,hc.PNG,hc.POWERPOINT,hc.RAR,hc.STP,hc.TEXT,hc.UNKNOWN,hc.VIDEO,hc.WAV,hc.WMA,hc.WORD,hc.XML,hc.YAML,hc.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(dc||(dc={}));var yc=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 gc extends Mi{constructor(){super(...arguments),this.resolvedIcon=te}render(){const t=this.variant&&Object.values(dc).includes(this.variant)?this.variant:dc.fluid_topics,e=t!==dc.material||!!this.value;return Jt`
710
+ `}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()}async show(t){this.visible=!0,null!=t&&await 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(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Li(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}yc.elementDefinitions={"ft-typography":Al},yc.styles=fc,uc([we()],yc.prototype,"text",void 0),uc([we({type:Boolean})],yc.prototype,"manual",void 0),uc([we({type:Boolean})],yc.prototype,"inline",void 0),uc([we({type:Number})],yc.prototype,"delay",void 0),uc([we()],yc.prototype,"position",void 0),uc([Ie()],yc.prototype,"slotNodes",void 0),uc([Ee(".ft-tooltip--container")],yc.prototype,"container",void 0),uc([Ee(".ft-tooltip")],yc.prototype,"tooltip",void 0),uc([Ee(".ft-tooltip--content")],yc.prototype,"tooltipContent",void 0),uc([Se()],yc.prototype,"visible",void 0),uc([Ce({passive:!0})],yc.prototype,"onTouch",null),uc([Ce({passive:!0})],yc.prototype,"onHover",null),uc([Ce({passive:!0})],yc.prototype,"onOut",null),uc([Ce({passive:!0})],yc.prototype,"onClick",null),bo("ft-tooltip")(yc),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.CHART_BAR_NORMALIZED="&#xe97b;",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="&#xe909;",t.OCTAGON_XMARK="&#xe97d;",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.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;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CONSUMER="&#xe97c;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;"}(hc||(hc={})),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;"}(dc||(dc={})),new Map([...["abw"].map((t=>[t,dc.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,dc.AUDIO])),...["avi"].map((t=>[t,dc.AVI])),...["chm","xhs"].map((t=>[t,dc.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,dc.CODE])),...["csv"].map((t=>[t,dc.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,dc.DITA])),...["epub"].map((t=>[t,dc.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,dc.EXCEL])),...["flac"].map((t=>[t,dc.FLAC])),...["gif"].map((t=>[t,dc.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,dc.GZIP])),...["html","htm","xhtml"].map((t=>[t,dc.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,dc.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,dc.JPEG])),...["json"].map((t=>[t,dc.JSON])),...["m4a","m4p"].map((t=>[t,dc.M4A])),...["mov","qt"].map((t=>[t,dc.MOV])),...["mp3"].map((t=>[t,dc.MP3])),...["mp4","m4v"].map((t=>[t,dc.MP4])),...["ogg","oga"].map((t=>[t,dc.OGG])),...["pdf","ps"].map((t=>[t,dc.PDF])),...["png"].map((t=>[t,dc.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,dc.POWERPOINT])),...["rar"].map((t=>[t,dc.RAR])),...["stp"].map((t=>[t,dc.STP])),...["txt","rtf","md","mdown"].map((t=>[t,dc.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,dc.VIDEO])),...["wav"].map((t=>[t,dc.WAV])),...["wma"].map((t=>[t,dc.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,dc.WORD])),...["xml","xsl","rdf"].map((t=>[t,dc.XML])),...["yaml","yml","x-yaml"].map((t=>[t,dc.YAML])),...["zip"].map((t=>[t,dc.ZIP]))]),dc.ABW,dc.AUDIO,dc.AVI,dc.CHM,dc.CODE,dc.CSV,dc.DITA,dc.EPUB,dc.EXCEL,dc.FLAC,dc.GIF,dc.GZIP,dc.HTML,dc.IMAGE,dc.JPEG,dc.JSON,dc.M4A,dc.MOV,dc.MP3,dc.MP4,dc.OGG,dc.PDF,dc.PNG,dc.POWERPOINT,dc.RAR,dc.STP,dc.TEXT,dc.UNKNOWN,dc.VIDEO,dc.WAV,dc.WMA,dc.WORD,dc.XML,dc.YAML,dc.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(pc||(pc={}));var gc=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 bc extends Mi{constructor(){super(...arguments),this.resolvedIcon=te}render(){const t=this.variant&&Object.values(pc).includes(this.variant)?this.variant:pc.fluid_topics,e=t!==pc.material||!!this.value;return Jt`
711
711
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
712
712
  ${Xe(this.resolvedIcon)}
713
713
  <slot ?hidden=${e}></slot>
714
714
  </i>
715
- `}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 dc.file_format:this.resolvedIcon=null!==(t=hc[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case dc.material:this.resolvedIcon=this.value||te;break;default:this.resolvedIcon=null!==(e=fc[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}gc.elementDefinitions={},gc.styles=Kl,yc([we()],gc.prototype,"variant",void 0),yc([we()],gc.prototype,"value",void 0),yc([Se()],gc.prototype,"resolvedIcon",void 0),yc([Ee("slot")],gc.prototype,"slottedContent",void 0),bo("ft-icon")(gc);class bc extends Mi{render(){return Jt`
715
+ `}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 pc.file_format:this.resolvedIcon=null!==(t=dc[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case pc.material:this.resolvedIcon=this.value||te;break;default:this.resolvedIcon=null!==(e=hc[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}bc.elementDefinitions={},bc.styles=Zl,gc([we()],bc.prototype,"variant",void 0),gc([we()],bc.prototype,"value",void 0),gc([Se()],bc.prototype,"resolvedIcon",void 0),gc([Ee("slot")],bc.prototype,"slottedContent",void 0),bo("ft-icon")(bc);class mc extends Mi{render(){return Jt`
716
716
  <div class="ft-loader">
717
717
  <div></div>
718
718
  <div></div>
719
719
  <div></div>
720
720
  <div></div>
721
721
  </div>
722
- `}}bc.styles=Tl,bo("ft-loader")(bc);var mc=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 vc extends(as(Mi,"button")){constructor(){super(),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.addEventListener("click",(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(Jt`
722
+ `}}mc.styles=Hl,bo("ft-loader")(mc);var vc=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 xc extends(ss(Mi,"button")){constructor(){super(),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.addEventListener("click",(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(Jt`
723
723
  <button part="button"
724
724
  class="${Ke(this.buttonClasses)}"
725
725
  aria-label="${this.getLabel()}"
@@ -728,7 +728,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
728
728
  <ft-typography part="label"
729
729
  variant=${this.typographyVariant}
730
730
  element="span"
731
- class="ft-button--label ${ds?"ft-safari-ellipsis-fix":""}"
731
+ class="ft-button--label ${ps?"ft-safari-ellipsis-fix":""}"
732
732
  ?hidden=${!this.hasTextContent()}>
733
733
  <slot @slotchange=${this.onSlotchange}></slot>
734
734
  </ft-typography>
@@ -742,7 +742,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
742
742
  </ft-tooltip>
743
743
  `:t}resolveIcon(){return this.loading?Jt`
744
744
  <ft-loader part="loader icon"></ft-loader> `:this.icon?Jt`
745
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:te}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}}vc.elementDefinitions={"ft-ripple":oc,"ft-tooltip":uc,"ft-typography":Ul,"ft-icon":gc,"ft-loader":bc},mc([we({type:String,reflect:!0})],vc.prototype,"role",void 0),mc([we()],vc.prototype,"type",void 0),mc([we({type:Boolean})],vc.prototype,"disabled",void 0),mc([we()],vc.prototype,"label",void 0),mc([we()],vc.prototype,"icon",void 0),mc([we()],vc.prototype,"iconVariant",void 0),mc([we({type:Boolean})],vc.prototype,"trailingIcon",void 0),mc([we({type:Boolean})],vc.prototype,"loading",void 0),mc([we()],vc.prototype,"tooltipPosition",void 0),mc([we({type:Boolean})],vc.prototype,"hideTooltip",void 0),mc([we({type:Boolean})],vc.prototype,"forceTooltip",void 0),mc([Ee(".ft-button")],vc.prototype,"button",void 0),mc([Ee(".ft-button--label slot")],vc.prototype,"slottedContent",void 0);var xc=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 Oc extends vc{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"}}Oc.styles=[Qi,tc],xc([we({type:Boolean})],Oc.prototype,"primary",void 0),xc([we({type:Boolean})],Oc.prototype,"outlined",void 0),xc([we({type:Boolean})],Oc.prototype,"dense",void 0),xc([we({type:Boolean})],Oc.prototype,"round",void 0);const wc=[dt`
745
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:te}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}}xc.elementDefinitions={"ft-ripple":rc,"ft-tooltip":yc,"ft-typography":Al,"ft-icon":bc,"ft-loader":mc},vc([we({type:String,reflect:!0})],xc.prototype,"role",void 0),vc([we()],xc.prototype,"type",void 0),vc([we({type:Boolean})],xc.prototype,"disabled",void 0),vc([we()],xc.prototype,"label",void 0),vc([we()],xc.prototype,"icon",void 0),vc([we()],xc.prototype,"iconVariant",void 0),vc([we({type:Boolean})],xc.prototype,"trailingIcon",void 0),vc([we({type:Boolean})],xc.prototype,"loading",void 0),vc([we()],xc.prototype,"tooltipPosition",void 0),vc([we({type:Boolean})],xc.prototype,"hideTooltip",void 0),vc([we({type:Boolean})],xc.prototype,"forceTooltip",void 0),vc([Ee(".ft-button")],xc.prototype,"button",void 0),vc([Ee(".ft-button--label slot")],xc.prototype,"slottedContent",void 0);var Oc=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 wc extends xc{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"}}wc.styles=[tn,ec],Oc([we({type:Boolean})],wc.prototype,"primary",void 0),Oc([we({type:Boolean})],wc.prototype,"outlined",void 0),Oc([we({type:Boolean})],wc.prototype,"dense",void 0),Oc([we({type:Boolean})],wc.prototype,"round",void 0);const Sc=[dt`
746
746
  :host {
747
747
  display: inline-block;
748
748
  max-width: 100%;
@@ -821,13 +821,13 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
821
821
  /** Primary styles **/
822
822
 
823
823
  .ft-button--primary {
824
- ${So(Ml.color,Qo.primaryIconColor)};
824
+ ${So(Tl.color,Qo.primaryIconColor)};
825
825
 
826
- ${So(Wl.color,Qo.primaryStateLayerColor)};
827
- ${So(Wl.opacityContentOnSurfaceHover,Qo.primaryHoverStateLayerOpacity)};
828
- ${So(Wl.opacityContentOnSurfaceFocused,Qo.primaryFocusStateLayerOpacity)};
829
- ${So(Wl.opacityContentOnSurfaceSelected,Qo.primaryActiveStateLayerOpacity)};
830
- ${So(Wl.opacityContentOnSurfacePressed,Qo.primaryActiveStateLayerOpacity)};
826
+ ${So(Bl.color,Qo.primaryStateLayerColor)};
827
+ ${So(Bl.opacityContentOnSurfaceHover,Qo.primaryHoverStateLayerOpacity)};
828
+ ${So(Bl.opacityContentOnSurfaceFocused,Qo.primaryFocusStateLayerOpacity)};
829
+ ${So(Bl.opacityContentOnSurfaceSelected,Qo.primaryActiveStateLayerOpacity)};
830
+ ${So(Bl.opacityContentOnSurfacePressed,Qo.primaryActiveStateLayerOpacity)};
831
831
 
832
832
  background-color: ${Qo.primaryBackgroundColor};
833
833
  color: ${Qo.primaryColor};
@@ -845,13 +845,13 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
845
845
  /** Secondary styles **/
846
846
 
847
847
  .ft-button--secondary {
848
- ${So(Ml.color,Qo.secondaryIconColor)};
848
+ ${So(Tl.color,Qo.secondaryIconColor)};
849
849
 
850
- ${So(Wl.color,Qo.secondaryStateLayerColor)};
851
- ${So(Wl.opacityContentOnSurfaceHover,Qo.secondaryHoverStateLayerOpacity)};
852
- ${So(Wl.opacityContentOnSurfaceFocused,Qo.secondaryFocusStateLayerOpacity)};
853
- ${So(Wl.opacityContentOnSurfaceSelected,Qo.secondaryActiveStateLayerOpacity)};
854
- ${So(Wl.opacityContentOnSurfacePressed,Qo.secondaryActiveStateLayerOpacity)};
850
+ ${So(Bl.color,Qo.secondaryStateLayerColor)};
851
+ ${So(Bl.opacityContentOnSurfaceHover,Qo.secondaryHoverStateLayerOpacity)};
852
+ ${So(Bl.opacityContentOnSurfaceFocused,Qo.secondaryFocusStateLayerOpacity)};
853
+ ${So(Bl.opacityContentOnSurfaceSelected,Qo.secondaryActiveStateLayerOpacity)};
854
+ ${So(Bl.opacityContentOnSurfacePressed,Qo.secondaryActiveStateLayerOpacity)};
855
855
 
856
856
  background-color: ${Qo.secondaryBackgroundColor};
857
857
  color: ${Qo.secondaryColor};
@@ -870,13 +870,13 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
870
870
  /** Tertiary styles **/
871
871
 
872
872
  .ft-button--tertiary {
873
- ${So(Ml.color,Qo.tertiaryIconColor)};
873
+ ${So(Tl.color,Qo.tertiaryIconColor)};
874
874
 
875
- ${So(Wl.color,Qo.tertiaryStateLayerColor)};
876
- ${So(Wl.opacityContentOnSurfaceHover,Qo.tertiaryHoverStateLayerOpacity)};
877
- ${So(Wl.opacityContentOnSurfaceFocused,Qo.tertiaryFocusStateLayerOpacity)};
878
- ${So(Wl.opacityContentOnSurfaceSelected,Qo.tertiaryActiveStateLayerOpacity)};
879
- ${So(Wl.opacityContentOnSurfacePressed,Qo.tertiaryActiveStateLayerOpacity)};
875
+ ${So(Bl.color,Qo.tertiaryStateLayerColor)};
876
+ ${So(Bl.opacityContentOnSurfaceHover,Qo.tertiaryHoverStateLayerOpacity)};
877
+ ${So(Bl.opacityContentOnSurfaceFocused,Qo.tertiaryFocusStateLayerOpacity)};
878
+ ${So(Bl.opacityContentOnSurfaceSelected,Qo.tertiaryActiveStateLayerOpacity)};
879
+ ${So(Bl.opacityContentOnSurfacePressed,Qo.tertiaryActiveStateLayerOpacity)};
880
880
 
881
881
  background-color: ${Qo.tertiaryBackgroundColor};
882
882
  color: ${Qo.tertiaryColor};
@@ -894,13 +894,13 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
894
894
  /** Neutral styles **/
895
895
 
896
896
  .ft-button--neutral {
897
- ${So(Ml.color,Qo.neutralIconColor)};
897
+ ${So(Tl.color,Qo.neutralIconColor)};
898
898
 
899
- ${So(Wl.backgroundColor,Qo.neutralStateLayerColor)};
900
- ${So(Wl.opacityContentOnSurfaceHover,Qo.neutralHoverStateLayerOpacity)};
901
- ${So(Wl.opacityContentOnSurfaceFocused,Qo.neutralFocusStateLayerOpacity)};
902
- ${So(Wl.opacityContentOnSurfaceSelected,Qo.neutralActiveStateLayerOpacity)};
903
- ${So(Wl.opacityContentOnSurfacePressed,Qo.neutralActiveStateLayerOpacity)};
899
+ ${So(Bl.backgroundColor,Qo.neutralStateLayerColor)};
900
+ ${So(Bl.opacityContentOnSurfaceHover,Qo.neutralHoverStateLayerOpacity)};
901
+ ${So(Bl.opacityContentOnSurfaceFocused,Qo.neutralFocusStateLayerOpacity)};
902
+ ${So(Bl.opacityContentOnSurfaceSelected,Qo.neutralActiveStateLayerOpacity)};
903
+ ${So(Bl.opacityContentOnSurfacePressed,Qo.neutralActiveStateLayerOpacity)};
904
904
 
905
905
  background-color: ${Qo.neutralBackgroundColor};
906
906
  color: ${Qo.neutralColor};
@@ -918,8 +918,8 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
918
918
  /** Large styles **/
919
919
 
920
920
  .ft-button--large {
921
- ${So(Hl.size,Qo.largeIconSize)};
922
- ${So(Ml.size,Qo.largeIconSize)};
921
+ ${So(Kl.size,Qo.largeIconSize)};
922
+ ${So(Tl.size,Qo.largeIconSize)};
923
923
 
924
924
  height: ${Qo.largeHeight};
925
925
  padding: 0 ${Qo.largeHorizontalPadding};
@@ -941,8 +941,8 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
941
941
  /** Small styles **/
942
942
 
943
943
  .ft-button--small {
944
- ${So(Hl.size,Qo.smallIconSize)};
945
- ${So(Ml.size,Qo.smallIconSize)};
944
+ ${So(Kl.size,Qo.smallIconSize)};
945
+ ${So(Tl.size,Qo.smallIconSize)};
946
946
 
947
947
  height: ${Qo.smallHeight};
948
948
  padding: 0 ${Qo.smallHorizontalPadding};
@@ -960,15 +960,15 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
960
960
  width: ${Qo.smallIconOnlyWidth};
961
961
  padding: unset;
962
962
  }
963
- `,Ji];var Sc=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 Cc extends vc{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?Il.caption1medium:Il.body2medium}}Cc.styles=[Qi,wc],Sc([we({type:Boolean})],Cc.prototype,"primary",void 0),Sc([we({type:Boolean})],Cc.prototype,"secondary",void 0),Sc([we({type:Boolean})],Cc.prototype,"tertiary",void 0),Sc([we({type:Boolean})],Cc.prototype,"neutral",void 0),Sc([we({type:Boolean})],Cc.prototype,"small",void 0),bo("ft-button")(Oc),bo("ftds-button")(Cc);const Nc=wo.extend("--ft-checkbox-text-color","",Cr.colorOnSurfaceHigh),Ec=wo.extend("--ft-checkbox-font-size","",gs.fontSize),$c=wo.external(Cr.colorPrimary,"Design system"),kc=wo.external(Cr.colorOnPrimary,"Design system"),Rc=wo.extend("--ft-checkbox-border-color","",Cr.colorOnSurfaceMedium),Ic=wo.external(Cr.colorOnSurfaceDisabled,"Design system"),Lc=dt`
963
+ `,Xi];var Cc=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 Nc extends xc{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?Ll.caption1medium:Ll.body2medium}}Nc.styles=[tn,Sc],Cc([we({type:Boolean})],Nc.prototype,"primary",void 0),Cc([we({type:Boolean})],Nc.prototype,"secondary",void 0),Cc([we({type:Boolean})],Nc.prototype,"tertiary",void 0),Cc([we({type:Boolean})],Nc.prototype,"neutral",void 0),Cc([we({type:Boolean})],Nc.prototype,"small",void 0),bo("ft-button")(wc),bo("ftds-button")(Nc);const Ec=wo.extend("--ft-checkbox-text-color","",Cr.colorOnSurfaceHigh),$c=wo.extend("--ft-checkbox-font-size","",bs.fontSize),kc=wo.external(Cr.colorPrimary,"Design system"),Rc=wo.external(Cr.colorOnPrimary,"Design system"),Ic=wo.extend("--ft-checkbox-border-color","",Cr.colorOnSurfaceMedium),Lc=wo.external(Cr.colorOnSurfaceDisabled,"Design system"),Uc=dt`
964
964
  * {
965
965
  box-sizing: border-box;
966
966
  }
967
967
 
968
968
  .ft-checkbox {
969
969
  box-sizing: border-box;
970
- color: ${Nc};
971
- font-size: ${Ec};
970
+ color: ${Ec};
971
+ font-size: ${$c};
972
972
 
973
973
  display: inline-flex;
974
974
  align-items: center;
@@ -976,7 +976,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
976
976
  }
977
977
 
978
978
  .ft-checkbox--disabled {
979
- color: ${Ic};
979
+ color: ${Lc};
980
980
  }
981
981
 
982
982
  input {
@@ -1000,26 +1000,26 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1000
1000
 
1001
1001
  .ft-checkbox--box {
1002
1002
  display: flex;
1003
- border: 2px solid ${Rc};
1003
+ border: 2px solid ${Ic};
1004
1004
  border-radius: 2px;
1005
1005
 
1006
1006
  width: 18px;
1007
1007
  height: 18px;
1008
1008
 
1009
- color: ${kc};
1009
+ color: ${Rc};
1010
1010
  }
1011
1011
 
1012
1012
 
1013
1013
  .ft-checkbox--checked .ft-checkbox--box,
1014
1014
  .ft-checkbox--indeterminate .ft-checkbox--box {
1015
- border-color: ${$c};
1016
- background-color: ${$c};
1015
+ border-color: ${kc};
1016
+ background-color: ${kc};
1017
1017
  }
1018
1018
 
1019
1019
  .ft-checkbox--disabled .ft-checkbox--box {
1020
- border-color: ${Ic};
1020
+ border-color: ${Lc};
1021
1021
  background-color: transparent;
1022
- color: ${Ic};
1022
+ color: ${Lc};
1023
1023
  }
1024
1024
 
1025
1025
  .ft-checkbox--checkmark {
@@ -1038,7 +1038,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1038
1038
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1039
1039
  opacity: 1;
1040
1040
  }
1041
- `;var Uc=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 Ac extends Mi{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Jt`
1041
+ `;var Ac=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 Wc extends Mi{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Jt`
1042
1042
  <label class="${Ke(t)}" for="checkbox-input">
1043
1043
  <div class="ft-checkbox--box-container">
1044
1044
  <ft-ripple
@@ -1065,14 +1065,14 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1065
1065
  <slot></slot>
1066
1066
  </ft-typography>
1067
1067
  </label>
1068
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}Ac.elementDefinitions={"ft-ripple":oc,"ft-typography":Ul},Ac.styles=Lc,Uc([we()],Ac.prototype,"name",void 0),Uc([we({type:Boolean,reflect:!0})],Ac.prototype,"checked",void 0),Uc([we({type:Boolean})],Ac.prototype,"indeterminate",void 0),Uc([we({type:Boolean})],Ac.prototype,"disabled",void 0),Uc([Ee(".ft-checkbox")],Ac.prototype,"container",void 0),Uc([Ee("ft-ripple")],Ac.prototype,"ripple",void 0),bo("ft-checkbox")(Ac);const Wc=wo.extend("--ft-radio-text-color","",Cr.colorOnSurfaceHigh),Bc=wo.external(Cr.colorPrimary,"Design system"),zc=(wo.external(Cr.colorOnPrimary,"Design system"),wo.extend("--ft-radio-border-color","",Cr.colorOnSurfaceMedium)),Fc=wo.external(Cr.colorOnSurfaceDisabled,"Design system"),_c=dt`
1068
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}Wc.elementDefinitions={"ft-ripple":rc,"ft-typography":Al},Wc.styles=Uc,Ac([we()],Wc.prototype,"name",void 0),Ac([we({type:Boolean,reflect:!0})],Wc.prototype,"checked",void 0),Ac([we({type:Boolean})],Wc.prototype,"indeterminate",void 0),Ac([we({type:Boolean})],Wc.prototype,"disabled",void 0),Ac([Ee(".ft-checkbox")],Wc.prototype,"container",void 0),Ac([Ee("ft-ripple")],Wc.prototype,"ripple",void 0),bo("ft-checkbox")(Wc);const Bc=wo.extend("--ft-radio-text-color","",Cr.colorOnSurfaceHigh),zc=wo.external(Cr.colorPrimary,"Design system"),Fc=(wo.external(Cr.colorOnPrimary,"Design system"),wo.extend("--ft-radio-border-color","",Cr.colorOnSurfaceMedium)),_c=wo.external(Cr.colorOnSurfaceDisabled,"Design system"),Pc=dt`
1069
1069
  * {
1070
1070
  box-sizing: border-box;
1071
1071
  }
1072
1072
 
1073
1073
  .ft-radio {
1074
1074
  box-sizing: border-box;
1075
- color: ${Wc};
1075
+ color: ${Bc};
1076
1076
 
1077
1077
  display: inline-flex;
1078
1078
  align-items: center;
@@ -1080,7 +1080,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1080
1080
  }
1081
1081
 
1082
1082
  .ft-radio--disabled {
1083
- color: ${Fc};
1083
+ color: ${_c};
1084
1084
  }
1085
1085
 
1086
1086
  input {
@@ -1103,7 +1103,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1103
1103
  }
1104
1104
 
1105
1105
  .ft-radio--box {
1106
- border: 2px solid ${zc};
1106
+ border: 2px solid ${Fc};
1107
1107
  border-radius: 50%;
1108
1108
 
1109
1109
  display: flex;
@@ -1116,7 +1116,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1116
1116
 
1117
1117
  .ft-radio--box:after {
1118
1118
  content: " ";
1119
- background-color: ${Bc};
1119
+ background-color: ${zc};
1120
1120
 
1121
1121
  border-radius: 50%;
1122
1122
 
@@ -1128,7 +1128,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1128
1128
  }
1129
1129
 
1130
1130
  .ft-radio--checked .ft-radio--box {
1131
- border-color: ${Bc};
1131
+ border-color: ${zc};
1132
1132
  }
1133
1133
 
1134
1134
 
@@ -1137,14 +1137,14 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1137
1137
  }
1138
1138
 
1139
1139
  .ft-radio--disabled .ft-radio--box {
1140
- border-color: ${Fc};
1140
+ border-color: ${_c};
1141
1141
  background-color: transparent;
1142
1142
  }
1143
1143
 
1144
1144
  .ft-radio--disabled .ft-radio--box:after {
1145
- background-color: ${Fc};
1145
+ background-color: ${_c};
1146
1146
  }
1147
- `;var Pc=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 jc extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Dc extends Mi{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1,this.tabIndex=-1,this.role="radio"}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return Jt`
1147
+ `;var jc=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 Dc extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Mc extends Mi{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1,this.tabIndex=-1,this.role="radio"}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return Jt`
1148
1148
  <div class="${Ke(t)}">
1149
1149
  <div class="ft-radio--box-container">
1150
1150
  <ft-ripple
@@ -1169,16 +1169,16 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1169
1169
  </ft-typography>
1170
1170
  </label>
1171
1171
  </div>
1172
- `}update(t){super.update(t),t.has("checked")&&!t.has("aria-checked")&&(this.checked?(this.setAttribute("aria-checked","true"),this.tabIndex=0):(this.setAttribute("aria-checked","false"),this.tabIndex=-1))}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new jc(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new jc(this.value,this.checked))}}Dc.elementDefinitions={"ft-ripple":oc,"ft-typography":Ul},Dc.styles=_c,Pc([we()],Dc.prototype,"value",void 0),Pc([we()],Dc.prototype,"name",void 0),Pc([we({type:Boolean,reflect:!0})],Dc.prototype,"checked",void 0),Pc([we({type:Boolean})],Dc.prototype,"disabled",void 0),Pc([we({reflect:!0})],Dc.prototype,"tabIndex",void 0),Pc([we({reflect:!0,attribute:"role"})],Dc.prototype,"role",void 0),Pc([Ee(".ft-radio")],Dc.prototype,"container",void 0),Pc([Ee("ft-ripple")],Dc.prototype,"ripple",void 0),Pc([Ee("input")],Dc.prototype,"input",void 0);const Mc=dt`
1172
+ `}update(t){super.update(t),t.has("checked")&&!t.has("aria-checked")&&(this.checked?(this.setAttribute("aria-checked","true"),this.tabIndex=0):(this.setAttribute("aria-checked","false"),this.tabIndex=-1))}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Dc(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Dc(this.value,this.checked))}}Mc.elementDefinitions={"ft-ripple":rc,"ft-typography":Al},Mc.styles=Pc,jc([we()],Mc.prototype,"value",void 0),jc([we()],Mc.prototype,"name",void 0),jc([we({type:Boolean,reflect:!0})],Mc.prototype,"checked",void 0),jc([we({type:Boolean})],Mc.prototype,"disabled",void 0),jc([we({reflect:!0})],Mc.prototype,"tabIndex",void 0),jc([we({reflect:!0,attribute:"role"})],Mc.prototype,"role",void 0),jc([Ee(".ft-radio")],Mc.prototype,"container",void 0),jc([Ee("ft-ripple")],Mc.prototype,"ripple",void 0),jc([Ee("input")],Mc.prototype,"input",void 0);const Tc=dt`
1173
1173
  :host {
1174
1174
  display: contents;
1175
1175
  }
1176
- `;var Tc=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 Hc extends Mi{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy=""}render(){return Jt`
1176
+ `;var Hc=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 Kc extends Mi{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy=""}render(){return Jt`
1177
1177
  <slot @slotchange=${this.onSlotChange}
1178
1178
  @change=${this.onChange}
1179
1179
  @keydown=${this.onKeyDown}
1180
1180
  ></slot>
1181
- `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.radioButtons[0].setAttribute("tabindex","0")}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){let e=!1;switch(t.key){case"ArrowUp":case"ArrowLeft":{e=!0;let o=this.findFtRadio(t),r=this.radioButtons.indexOf(o)-1;this.radioButtons[r<0?this.radioButtons.length-1:r].select(),this.radioButtons[r<0?this.radioButtons.length-1:r].focus();break}case"ArrowDown":case"ArrowRight":{e=!0;let o=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[o>this.radioButtons.length-1?0:o].select(),this.radioButtons[o>this.radioButtons.length-1?0:o].focus();break}case"Enter":{let e=this.radioButtons.indexOf(this.findFtRadio(t));this.radioButtons[e].select()}}e&&(t.stopPropagation(),t.preventDefault())}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Hc.elementDefinitions={},Hc.styles=Mc,Tc([we()],Hc.prototype,"name",void 0),Tc([we({reflect:!0,attribute:"role"})],Hc.prototype,"role",void 0),Tc([we({reflect:!0,attribute:"aria-labelledby"})],Hc.prototype,"ariaLabelledBy",void 0),Tc([Re()],Hc.prototype,"radioButtons",void 0),bo("ft-radio")(Dc),bo("ft-radio-group")(Hc);const Kc={borderRadiusM:wo.external(Cr.borderRadiusM,"Design system"),colorOutline:wo.external(Cr.colorOutline,"Design system"),colorOnSurface:wo.external(Cr.colorOnSurface,"Design system"),colorOnSurfaceMedium:wo.external(Cr.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:wo.external(Cr.colorOnSurfaceDisabled,"Design system"),colorPrimary:wo.external(Cr.colorPrimary,"Design system"),colorOnPrimary:wo.external(Cr.colorOnPrimary,"Design system"),fontFamily:wo.external(Gs.fontFamily,"Body2 typography"),fontSize:wo.external(Gs.fontSize,"Body2 typography"),fontWeight:wo.external(Gs.fontWeight,"Body2 typography"),letterSpacing:wo.external(Gs.letterSpacing,"Body2 typography"),lineHeight:wo.external(Gs.lineHeight,"Body2 typography"),textTransform:wo.external(Gs.textTransform,"Body2 typography")},Zc=dt`
1181
+ `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.radioButtons[0].setAttribute("tabindex","0")}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){let e=!1;switch(t.key){case"ArrowUp":case"ArrowLeft":{e=!0;let o=this.findFtRadio(t),r=this.radioButtons.indexOf(o)-1;this.radioButtons[r<0?this.radioButtons.length-1:r].select(),this.radioButtons[r<0?this.radioButtons.length-1:r].focus();break}case"ArrowDown":case"ArrowRight":{e=!0;let o=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[o>this.radioButtons.length-1?0:o].select(),this.radioButtons[o>this.radioButtons.length-1?0:o].focus();break}case"Enter":{let e=this.radioButtons.indexOf(this.findFtRadio(t));this.radioButtons[e].select()}}e&&(t.stopPropagation(),t.preventDefault())}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Kc.elementDefinitions={},Kc.styles=Tc,Hc([we()],Kc.prototype,"name",void 0),Hc([we({reflect:!0,attribute:"role"})],Kc.prototype,"role",void 0),Hc([we({reflect:!0,attribute:"aria-labelledby"})],Kc.prototype,"ariaLabelledBy",void 0),Hc([Re()],Kc.prototype,"radioButtons",void 0),bo("ft-radio")(Mc),bo("ft-radio-group")(Kc);const Zc={borderRadiusM:wo.external(Cr.borderRadiusM,"Design system"),colorOutline:wo.external(Cr.colorOutline,"Design system"),colorOnSurface:wo.external(Cr.colorOnSurface,"Design system"),colorOnSurfaceMedium:wo.external(Cr.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:wo.external(Cr.colorOnSurfaceDisabled,"Design system"),colorPrimary:wo.external(Cr.colorPrimary,"Design system"),colorOnPrimary:wo.external(Cr.colorOnPrimary,"Design system"),fontFamily:wo.external(Vs.fontFamily,"Body2 typography"),fontSize:wo.external(Vs.fontSize,"Body2 typography"),fontWeight:wo.external(Vs.fontWeight,"Body2 typography"),letterSpacing:wo.external(Vs.letterSpacing,"Body2 typography"),lineHeight:wo.external(Vs.lineHeight,"Body2 typography"),textTransform:wo.external(Vs.textTransform,"Body2 typography")},Gc=dt`
1182
1182
  .ft-filter-level--container {
1183
1183
  display: flex;
1184
1184
  flex-direction: column;
@@ -1192,14 +1192,14 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1192
1192
  flex-shrink: 0;
1193
1193
  text-decoration: none;
1194
1194
  position: relative;
1195
- border-radius: ${Kc.borderRadiusM};
1195
+ border-radius: ${Zc.borderRadiusM};
1196
1196
  overflow: hidden;
1197
1197
  display: flex;
1198
1198
  align-items: center;
1199
1199
  padding: 4px 4px;
1200
1200
  gap: 4px;
1201
1201
  cursor: pointer;
1202
- color: ${Kc.colorOnSurface};
1202
+ color: ${Zc.colorOnSurface};
1203
1203
  }
1204
1204
 
1205
1205
  .ft-filter-level--go-back:focus {
@@ -1228,7 +1228,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1228
1228
  }
1229
1229
 
1230
1230
  ft-button {
1231
- ${So(Gl.color,Kc.colorOnSurface)};
1231
+ ${So(Vl.color,Zc.colorOnSurface)};
1232
1232
  }
1233
1233
 
1234
1234
  ft-radio, ft-checkbox {
@@ -1242,9 +1242,9 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1242
1242
 
1243
1243
  .ft-filter-level--no-values {
1244
1244
  margin: 10px 0;
1245
- color: ${Kc.colorOnSurfaceMedium};
1245
+ color: ${Zc.colorOnSurfaceMedium};
1246
1246
  }
1247
- `;var Gc=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 Vc extends Mi{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return Jt`
1247
+ `;var Vc=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 qc extends Mi{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return Jt`
1248
1248
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1249
1249
  ${null==this.parent?null:Jt`
1250
1250
  <div tabindex="0"
@@ -1309,7 +1309,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1309
1309
  @change=${t=>t.stopPropagation()}>
1310
1310
  ${t.renderOption?t.renderOption:t.label}${this.displayCount?` (${t.count})`:""}
1311
1311
  </ft-radio>
1312
- `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}Vc.elementDefinitions={"ft-button":Oc,"ft-ripple":oc,"ft-typography":Ul,"ft-checkbox":Ac,"ft-icon":gc,"ft-radio":Dc},Vc.styles=Zc,Gc([we({type:String})],Vc.prototype,"filterId",void 0),Gc([we({type:Object})],Vc.prototype,"parent",void 0),Gc([we({type:Array})],Vc.prototype,"options",void 0),Gc([we({type:Boolean})],Vc.prototype,"multivalued",void 0),Gc([we({type:Boolean})],Vc.prototype,"disabled",void 0),Gc([we({type:Boolean})],Vc.prototype,"hideSelectedOptions",void 0),Gc([we({type:Boolean})],Vc.prototype,"displayCount",void 0),Gc([we({type:Boolean})],Vc.prototype,"preventNavigation",void 0),Gc([we({type:String})],Vc.prototype,"filter",void 0),Gc([we({type:String})],Vc.prototype,"moreValuesButtonLabel",void 0),Gc([we({type:String})],Vc.prototype,"noValuesLabel",void 0),Gc([we({type:Number})],Vc.prototype,"displayedValuesLimit",void 0),Gc([Ee(".ft-filter-level--container")],Vc.prototype,"container",void 0),Gc([Se()],Vc.prototype,"displayedPages",void 0);const qc={buttonsColor:wo.extend("--ft-snap-scroll-buttons-color","",Cr.colorPrimary),buttonsZIndex:wo.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:wo.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:wo.external(Cr.colorSurface,"Design system")},Yc=dt`
1312
+ `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}qc.elementDefinitions={"ft-button":wc,"ft-ripple":rc,"ft-typography":Al,"ft-checkbox":Wc,"ft-icon":bc,"ft-radio":Mc},qc.styles=Gc,Vc([we({type:String})],qc.prototype,"filterId",void 0),Vc([we({type:Object})],qc.prototype,"parent",void 0),Vc([we({type:Array})],qc.prototype,"options",void 0),Vc([we({type:Boolean})],qc.prototype,"multivalued",void 0),Vc([we({type:Boolean})],qc.prototype,"disabled",void 0),Vc([we({type:Boolean})],qc.prototype,"hideSelectedOptions",void 0),Vc([we({type:Boolean})],qc.prototype,"displayCount",void 0),Vc([we({type:Boolean})],qc.prototype,"preventNavigation",void 0),Vc([we({type:String})],qc.prototype,"filter",void 0),Vc([we({type:String})],qc.prototype,"moreValuesButtonLabel",void 0),Vc([we({type:String})],qc.prototype,"noValuesLabel",void 0),Vc([we({type:Number})],qc.prototype,"displayedValuesLimit",void 0),Vc([Ee(".ft-filter-level--container")],qc.prototype,"container",void 0),Vc([Se()],qc.prototype,"displayedPages",void 0);const Yc={buttonsColor:wo.extend("--ft-snap-scroll-buttons-color","",Cr.colorPrimary),buttonsZIndex:wo.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:wo.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:wo.external(Cr.colorSurface,"Design system")},Jc=dt`
1313
1313
  .ft-snap-scroll {
1314
1314
  box-sizing: border-box;
1315
1315
  position: relative;
@@ -1344,7 +1344,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1344
1344
  flex-wrap: nowrap;
1345
1345
  align-items: flex-start;
1346
1346
  justify-content: flex-start;
1347
- gap: ${qc.gap};
1347
+ gap: ${Yc.gap};
1348
1348
  }
1349
1349
 
1350
1350
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1387,11 +1387,11 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1387
1387
  .ft-snap-scroll--next {
1388
1388
  position: absolute;
1389
1389
  display: flex;
1390
- z-index: ${qc.buttonsZIndex};
1390
+ z-index: ${Yc.buttonsZIndex};
1391
1391
  opacity: 1;
1392
1392
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1393
- ${So(Gl.backgroundColor,"transparent")};
1394
- ${So(Gl.color,qc.buttonsColor)};
1393
+ ${So(Vl.backgroundColor,"transparent")};
1394
+ ${So(Vl.color,Yc.buttonsColor)};
1395
1395
  }
1396
1396
 
1397
1397
  .ft-snap-scroll--previous[hidden],
@@ -1404,37 +1404,37 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1404
1404
  top: 0;
1405
1405
  left: -1px;
1406
1406
  bottom: 0;
1407
- background: linear-gradient(to right, ${qc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1407
+ background: linear-gradient(to right, ${Yc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1408
1408
  }
1409
1409
 
1410
1410
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1411
1411
  top: -1px;
1412
1412
  left: 0;
1413
1413
  right: 0;
1414
- background: linear-gradient(to bottom, ${qc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1414
+ background: linear-gradient(to bottom, ${Yc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1415
1415
  }
1416
1416
 
1417
1417
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1418
1418
  top: 0;
1419
1419
  right: -1px;
1420
1420
  bottom: 0;
1421
- background: linear-gradient(to left, ${qc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1421
+ background: linear-gradient(to left, ${Yc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1422
1422
  }
1423
1423
 
1424
1424
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1425
1425
  left: 0;
1426
1426
  right: 0;
1427
1427
  bottom: -1px;
1428
- background: linear-gradient(to top, ${qc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1428
+ background: linear-gradient(to top, ${Yc.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1429
1429
  }
1430
1430
 
1431
1431
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1432
1432
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1433
1433
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1434
1434
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1435
- background-color: ${qc.colorSurface};
1435
+ background-color: ${Yc.colorSurface};
1436
1436
  }
1437
- `;var Jc=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 Xc extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class Qc extends Mi{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new lo(200),this.updateScrollDebouncer=new lo(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=Ke({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":ds}),e=this.controls&&this.withScroll;return Jt`
1437
+ `;var Xc=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 Qc extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class tf extends Mi{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new lo(200),this.updateScrollDebouncer=new lo(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=Ke({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":ps}),e=this.controls&&this.withScroll;return Jt`
1438
1438
  <div part="container" class="${t}">
1439
1439
  <ft-button
1440
1440
  class="ft-snap-scroll--previous"
@@ -1458,7 +1458,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1458
1458
  @click=${this.next}
1459
1459
  ></ft-button>
1460
1460
  </div>
1461
- `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Xc(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}Qc.elementDefinitions={"ft-button":Oc},Qc.styles=Yc,Jc([we({type:Boolean})],Qc.prototype,"horizontal",void 0),Jc([we({type:Boolean})],Qc.prototype,"hideScrollbar",void 0),Jc([we({type:Boolean})],Qc.prototype,"controls",void 0),Jc([we({type:Boolean})],Qc.prototype,"limitSize",void 0),Jc([Se()],Qc.prototype,"elements",void 0),Jc([Se()],Qc.prototype,"currentElement",void 0),Jc([Se()],Qc.prototype,"withScroll",void 0),Jc([Se()],Qc.prototype,"startReached",void 0),Jc([Se()],Qc.prototype,"endReached",void 0),Jc([Ee(".ft-snap-scroll--content")],Qc.prototype,"contentSlot",void 0),bo("ft-snap-scroll")(Qc);const tf=wo.external(Cr.colorOutline,"Design system"),ef=wo.external(Cr.colorOnSurface,"Design system"),of=wo.external(Cr.colorOnSurfaceMedium,"Design system"),rf=wo.external(Cr.colorPrimary,"Design system"),nf=wo.external(Cr.colorSurface,"Design system"),af=wo.external(Cr.transitionDuration,"Design system"),sf=wo.external(Cr.transitionTimingFunction,"Design system"),lf=wo.extend("--ft-filter-label-color","",Cr.colorOnSurface),cf=wo.extend("--ft-filter-label-font-size","",gs.fontSize,"16px"),ff=[vl,dt`
1461
+ `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Qc(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}tf.elementDefinitions={"ft-button":wc},tf.styles=Jc,Xc([we({type:Boolean})],tf.prototype,"horizontal",void 0),Xc([we({type:Boolean})],tf.prototype,"hideScrollbar",void 0),Xc([we({type:Boolean})],tf.prototype,"controls",void 0),Xc([we({type:Boolean})],tf.prototype,"limitSize",void 0),Xc([Se()],tf.prototype,"elements",void 0),Xc([Se()],tf.prototype,"currentElement",void 0),Xc([Se()],tf.prototype,"withScroll",void 0),Xc([Se()],tf.prototype,"startReached",void 0),Xc([Se()],tf.prototype,"endReached",void 0),Xc([Ee(".ft-snap-scroll--content")],tf.prototype,"contentSlot",void 0),bo("ft-snap-scroll")(tf);const ef=wo.external(Cr.colorOutline,"Design system"),of=wo.external(Cr.colorOnSurface,"Design system"),rf=wo.external(Cr.colorOnSurfaceMedium,"Design system"),nf=wo.external(Cr.colorPrimary,"Design system"),af=wo.external(Cr.colorSurface,"Design system"),sf=wo.external(Cr.transitionDuration,"Design system"),lf=wo.external(Cr.transitionTimingFunction,"Design system"),cf=wo.extend("--ft-filter-label-color","",Cr.colorOnSurface),ff=wo.extend("--ft-filter-label-font-size","",bs.fontSize,"16px"),hf=[xl,dt`
1462
1462
  :host {
1463
1463
  display: flex;
1464
1464
  max-height: 100%;
@@ -1485,7 +1485,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1485
1485
  .ft-filter--header ft-button {
1486
1486
  flex-shrink: 0;
1487
1487
  margin-left: auto;
1488
- ${So(Gl.iconSize,"18px")};
1488
+ ${So(Vl.iconSize,"18px")};
1489
1489
  }
1490
1490
  .filter-label {
1491
1491
  display: contents;
@@ -1496,10 +1496,10 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1496
1496
  flex-shrink: 1;
1497
1497
  flex-grow: 1;
1498
1498
  word-break: break-word;
1499
- color: ${lf};
1500
- font-size: ${cf};
1501
- ${So(gs.lineHeight,"22px")};
1502
- ${So(gs.fontWeight,"bold")};
1499
+ color: ${cf};
1500
+ font-size: ${ff};
1501
+ ${So(bs.lineHeight,"22px")};
1502
+ ${So(bs.fontWeight,"bold")};
1503
1503
  }
1504
1504
 
1505
1505
  .ft-filter--filter {
@@ -1510,8 +1510,8 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1510
1510
  padding: 0 10px;
1511
1511
  overflow: hidden;
1512
1512
  height: 32px;
1513
- transition: height ${af} ${sf},
1514
- margin ${af} ${sf};
1513
+ transition: height ${sf} ${lf},
1514
+ margin ${sf} ${lf};
1515
1515
  transition-delay: 500ms;
1516
1516
  }
1517
1517
 
@@ -1524,15 +1524,15 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1524
1524
  display: block;
1525
1525
  width: 100%;
1526
1526
  border-radius: 4px;
1527
- border: 1px solid ${tf};
1527
+ border: 1px solid ${ef};
1528
1528
  padding: 4px;
1529
- background-color: ${nf};
1530
- color: ${ef};
1531
- outline-color: ${rf};
1529
+ background-color: ${af};
1530
+ color: ${of};
1531
+ outline-color: ${nf};
1532
1532
  }
1533
1533
 
1534
1534
  input::placeholder {
1535
- color: ${of};
1535
+ color: ${rf};
1536
1536
  }
1537
1537
 
1538
1538
  input:placeholder-shown {
@@ -1548,7 +1548,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1548
1548
  }
1549
1549
 
1550
1550
  .ft-filter--separator {
1551
- border-top: 1px solid ${tf};
1551
+ border-top: 1px solid ${ef};
1552
1552
  margin: 4px 10px;
1553
1553
  }
1554
1554
 
@@ -1573,7 +1573,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1573
1573
  slot:not([name]) {
1574
1574
  display: none;
1575
1575
  }
1576
- `];var hf=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 df extends CustomEvent{constructor(t){super("change",{detail:t})}}class pf extends Mi{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new lo(300),this.changeDebouncer=new lo(10),this.lastDispatchedValues=[]}get flatOptions(){return po(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get childrenFilteredFlatOptions(){return po(this.options,(t=>{var e;return t.selected?[]:null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.childrenFilteredFlatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),e=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=this.filterPlaceHolder.replace("{0}",this.label);return Jt`
1576
+ `];var df=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 pf extends CustomEvent{constructor(t){super("change",{detail:t})}}class uf extends Mi{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new lo(300),this.changeDebouncer=new lo(10),this.lastDispatchedValues=[]}get flatOptions(){return po(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get childrenFilteredFlatOptions(){return po(this.options,(t=>{var e;return t.selected?[]:null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.childrenFilteredFlatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),e=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=this.filterPlaceHolder.replace("{0}",this.label);return Jt`
1577
1577
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1578
1578
  part="container">
1579
1579
  ${this.label||t?Jt`
@@ -1650,9 +1650,9 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1650
1650
  .exportpartsPrefixes=${["values","available-values"]}
1651
1651
  noValuesLabel="${this.noValuesLabel}"
1652
1652
  ></ft-filter-level>
1653
- `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const r=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(r)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(r):this.options.forEach(r),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;yo(this.lastDispatchedValues,t)||(this.dispatchEvent(new df(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}pf.elementDefinitions={"ft-button":Oc,"ft-filter-level":Vc,"ft-snap-scroll":Qc,"ft-typography":Ul},pf.styles=ff,hf([we({type:String})],pf.prototype,"id",void 0),hf([we({type:String})],pf.prototype,"label",void 0),hf([we({type:String})],pf.prototype,"filterPlaceHolder",void 0),hf([we({type:String})],pf.prototype,"clearButtonLabel",void 0),hf([we({type:String})],pf.prototype,"moreValuesButtonLabel",void 0),hf([we({type:String})],pf.prototype,"noValuesLabel",void 0),hf([mo([])],pf.prototype,"options",void 0),hf([we({type:Boolean})],pf.prototype,"multivalued",void 0),hf([we({type:Boolean})],pf.prototype,"disabled",void 0),hf([we({type:Boolean})],pf.prototype,"raiseSelectedOptions",void 0),hf([we({type:Boolean})],pf.prototype,"displayCount",void 0),hf([we({type:Number})],pf.prototype,"displayedValuesLimit",void 0),hf([we({type:Boolean})],pf.prototype,"hideClearButton",void 0),hf([Ee(".ft-filter--slot")],pf.prototype,"slotElement",void 0),hf([Ee(".ft-filter--container")],pf.prototype,"container",void 0),hf([Ee(".ft-filter--values")],pf.prototype,"valuesContainer",void 0),hf([Ee(".ft-filter--levels")],pf.prototype,"levelsContainer",void 0),hf([Se()],pf.prototype,"lastLevelHasHiddenvalues",void 0),hf([Ee(".ft-filter--filter input")],pf.prototype,"filterInput",void 0),hf([ke(".ft-filter--levels ft-filter-level")],pf.prototype,"levels",void 0),hf([Se()],pf.prototype,"withScroll",void 0),hf([Se()],pf.prototype,"filter",void 0),hf([Se()],pf.prototype,"slideIn",void 0),hf([Se()],pf.prototype,"slideOut",void 0);var uf=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 yf extends Mi{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Jt`
1653
+ `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const r=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(r)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(r):this.options.forEach(r),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;yo(this.lastDispatchedValues,t)||(this.dispatchEvent(new pf(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}uf.elementDefinitions={"ft-button":wc,"ft-filter-level":qc,"ft-snap-scroll":tf,"ft-typography":Al},uf.styles=hf,df([we({type:String})],uf.prototype,"id",void 0),df([we({type:String})],uf.prototype,"label",void 0),df([we({type:String})],uf.prototype,"filterPlaceHolder",void 0),df([we({type:String})],uf.prototype,"clearButtonLabel",void 0),df([we({type:String})],uf.prototype,"moreValuesButtonLabel",void 0),df([we({type:String})],uf.prototype,"noValuesLabel",void 0),df([mo([])],uf.prototype,"options",void 0),df([we({type:Boolean})],uf.prototype,"multivalued",void 0),df([we({type:Boolean})],uf.prototype,"disabled",void 0),df([we({type:Boolean})],uf.prototype,"raiseSelectedOptions",void 0),df([we({type:Boolean})],uf.prototype,"displayCount",void 0),df([we({type:Number})],uf.prototype,"displayedValuesLimit",void 0),df([we({type:Boolean})],uf.prototype,"hideClearButton",void 0),df([Ee(".ft-filter--slot")],uf.prototype,"slotElement",void 0),df([Ee(".ft-filter--container")],uf.prototype,"container",void 0),df([Ee(".ft-filter--values")],uf.prototype,"valuesContainer",void 0),df([Ee(".ft-filter--levels")],uf.prototype,"levelsContainer",void 0),df([Se()],uf.prototype,"lastLevelHasHiddenvalues",void 0),df([Ee(".ft-filter--filter input")],uf.prototype,"filterInput",void 0),df([ke(".ft-filter--levels ft-filter-level")],uf.prototype,"levels",void 0),df([Se()],uf.prototype,"withScroll",void 0),df([Se()],uf.prototype,"filter",void 0),df([Se()],uf.prototype,"slideIn",void 0),df([Se()],uf.prototype,"slideOut",void 0);var yf=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 gf extends Mi{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Jt`
1654
1654
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1655
- `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}yf.elementDefinitions={},uf([we({type:String})],yf.prototype,"label",void 0),uf([we({type:Object,converter:t=>t})],yf.prototype,"value",void 0),uf([we({type:Boolean,reflect:!0})],yf.prototype,"selected",void 0),uf([we({type:Object})],yf.prototype,"subOptions",void 0),uf([mo({})],yf.prototype,"renderOption",void 0),uf([Ee(".ft-filter-option--slot")],yf.prototype,"slotElement",void 0),bo("ft-filter")(pf),bo("ft-filter-option")(yf);const gf={headerColor:wo.extend("--ft-search-period-filter-header-color","",Cr.colorOnSurface)},bf=dt`
1655
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}gf.elementDefinitions={},yf([we({type:String})],gf.prototype,"label",void 0),yf([we({type:Object,converter:t=>t})],gf.prototype,"value",void 0),yf([we({type:Boolean,reflect:!0})],gf.prototype,"selected",void 0),yf([we({type:Object})],gf.prototype,"subOptions",void 0),yf([mo({})],gf.prototype,"renderOption",void 0),yf([Ee(".ft-filter-option--slot")],gf.prototype,"slotElement",void 0),bo("ft-filter")(uf),bo("ft-filter-option")(gf);const bf={headerColor:wo.extend("--ft-search-period-filter-header-color","",Cr.colorOnSurface)},mf=dt`
1656
1656
  [part="container"] {
1657
1657
  flex-grow: 1;
1658
1658
  display: flex;
@@ -1667,7 +1667,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1667
1667
  overflow: auto;
1668
1668
  display: flex;
1669
1669
  flex-direction: column;
1670
- ${So(gs.lineHeight,"22px")};
1670
+ ${So(bs.lineHeight,"22px")};
1671
1671
  }
1672
1672
 
1673
1673
  [part="header"] {
@@ -1677,7 +1677,7 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1677
1677
  flex-shrink: 0;
1678
1678
  padding: 0 10px;
1679
1679
  margin-bottom: 8px;
1680
- color: ${gf.headerColor};
1680
+ color: ${bf.headerColor};
1681
1681
  }
1682
1682
 
1683
1683
  [part="label"] {
@@ -1685,29 +1685,29 @@ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
1685
1685
  flex-shrink: 1;
1686
1686
  flex-grow: 1;
1687
1687
  word-break: break-word;
1688
- font-size: ${cf};
1689
- ${So(gs.fontWeight,"bold")};
1688
+ font-size: ${ff};
1689
+ ${So(bs.fontWeight,"bold")};
1690
1690
  }
1691
1691
 
1692
- `,mf=dt`
1693
1692
  `,vf=dt`
1694
- `,xf=os.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});class Of{static get(t){const{baseUrl:e,apiIntegrationIdentifier:o}=xf.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static await(t){return new Promise((e=>{let o=Of.get(t);if(o)e(o);else{const r=xf.subscribe((()=>{o=Of.get(t),o&&(r(),e(o))}))}}))}}class wf{constructor(t=!0,e){var o;this.overrideApi=e;let r=this.constructor;r.commonCache=null!==(o=r.commonCache)&&void 0!==o?o:new io,this.cache=t?r.commonCache:new io}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Of.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Of.await()}clearCache(){this.cache.clearAll()}}var Sf;const Cf=Symbol("clearAfterUnitTest");class Nf extends wf{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Sf]=()=>{this.defaultMessages={},this.cache=new io,this.listeners={}},this.currentUiLocale=xf.getState().uiLocale,xf.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=xf.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};yo(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 on(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=>fo(0).then((()=>t())).catch((()=>null)))))}}Sf=Cf,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Nf{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Nf{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const Ef=window.FluidTopicsI18nService,$f=window.FluidTopicsCustomI18nService;var kf=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 Rf extends Mi{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Of.get(),this.messageContexts=[],this.cache=new io,this.cleanSessionDebouncer=new lo}render(){return Jt`
1693
+ `,xf=dt`
1694
+ `,Of=rs.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});class wf{static get(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Of.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static await(t){return new Promise((e=>{let o=wf.get(t);if(o)e(o);else{const r=Of.subscribe((()=>{o=wf.get(t),o&&(r(),e(o))}))}}))}}class Sf{constructor(t=!0,e){var o;this.overrideApi=e;let r=this.constructor;r.commonCache=null!==(o=r.commonCache)&&void 0!==o?o:new io,this.cache=t?r.commonCache:new io}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:wf.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:wf.await()}clearCache(){this.cache.clearAll()}}var Cf;const Nf=Symbol("clearAfterUnitTest");class Ef extends Sf{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Cf]=()=>{this.defaultMessages={},this.cache=new io,this.listeners={}},this.currentUiLocale=Of.getState().uiLocale,Of.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Of.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};yo(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 rn(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=>fo(0).then((()=>t())).catch((()=>null)))))}}Cf=Nf,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Ef{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Ef{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const $f=window.FluidTopicsI18nService,kf=window.FluidTopicsCustomI18nService;var Rf=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 If extends Mi{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>wf.get(),this.messageContexts=[],this.cache=new io,this.cleanSessionDebouncer=new lo}render(){return Jt`
1695
1695
  <slot></slot>
1696
- `}update(t){super.update(t),t.has("baseUrl")&&(xf.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&xf.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&xf.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&xf.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&xf.actions.noCustom(this.noCustom),t.has("editorMode")&&xf.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&xf.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&xf.actions.session(this.session),t.has("availableUiLocales")&&xf.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Ef.addContext(t))),t.has("openExternalDocumentInNewTab")&&xf.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&xf.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&xf.actions.forcedOffline(this.forcedOffline),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Rf.elementDefinitions={},Rf.styles=vf,kf([we()],Rf.prototype,"baseUrl",void 0),kf([we()],Rf.prototype,"apiIntegrationIdentifier",void 0),kf([we()],Rf.prototype,"uiLocale",void 0),kf([mo(null)],Rf.prototype,"availableUiLocales",void 0),kf([mo(null)],Rf.prototype,"metadataConfiguration",void 0),kf([we({type:Boolean})],Rf.prototype,"editorMode",void 0),kf([we({type:Boolean})],Rf.prototype,"noCustom",void 0),kf([we({type:Boolean})],Rf.prototype,"openExternalDocumentInNewTab",void 0),kf([we({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Rf.prototype,"noCustomComponent",void 0),kf([we({type:Boolean})],Rf.prototype,"withManualResources",void 0),kf([we({type:Boolean})],Rf.prototype,"navigatorOnline",void 0),kf([we({type:Boolean})],Rf.prototype,"forcedOffline",void 0),kf([we({type:Object})],Rf.prototype,"apiProvider",void 0),kf([mo([])],Rf.prototype,"messageContexts",void 0),kf([mo(void 0)],Rf.prototype,"session",void 0);class If extends wf{async listMySearches(){let t=xf.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Lf extends wf{async listMyBookmarks(){let t=xf.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Uf=os.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=xf.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Lf,this.savedSearchesService=new If,xf.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=xf.getState();yo(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(){this.savedSearchesService.clearCache(),Uf.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Uf.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Uf.actions.savedSearches(t)}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;Uf.actions.bookmarks(e)}}},bo("ft-app-context")(Rf);var Af=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 Wf=Symbol("i18nAttributes"),Bf=Symbol("i18nProperties"),zf=Symbol("i18nUnsubs");function Ff(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?$f:Ef}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,o;null===(e=this[Wf])||void 0===e||e.forEach(((e,o)=>{var r;const i=this.getI18nAttributeValue(o);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(o,i,e)})),null===(o=this[Bf])||void 0===o||o.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,e,o){this[t]={...e,message:this.i18n({context:e.context,key:e.key,...o})}}update(t){var e,o;super.update(t),null===(e=this[Wf])||void 0===e||e.forEach(((e,o)=>{const r=this.getI18nAttributeValue(o);(null==r?void 0:r.context)&&r.key&&(t.has(o)||null!=e.argsProvider)&&(t.has(o)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(o,r,e))})),null===(o=this[Bf])||void 0===o||o.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,e,o,r;super.connectedCallback(),new Set([...null!==(e=null===(t=this[Bf])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(r=null===(o=this[Wf])||void 0===o?void 0:o.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[zf].has(t)||this[zf].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages("string"==typeof t?t:t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[zf].forEach((t=>t())),this[zf].clear()}}return e=zf,Af([we({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class _f extends(Ff(Mi)){}class Pf extends(Ff(un)){}var jf,Df,Mf,Tf,Hf,Kf,Zf,Gf,Vf,qf,Yf,Jf,Xf,Qf,th,eh,oh,rh,ih=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 nh extends Pf{constructor(){super(),this.editorMode=!1,this.addStore(xf)}render(){return this.key&&this.context?Jt`
1696
+ `}update(t){super.update(t),t.has("baseUrl")&&(Of.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Of.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Of.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Of.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Of.actions.noCustom(this.noCustom),t.has("editorMode")&&Of.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Of.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Of.actions.session(this.session),t.has("availableUiLocales")&&Of.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>$f.addContext(t))),t.has("openExternalDocumentInNewTab")&&Of.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&Of.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&Of.actions.forcedOffline(this.forcedOffline),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}If.elementDefinitions={},If.styles=xf,Rf([we()],If.prototype,"baseUrl",void 0),Rf([we()],If.prototype,"apiIntegrationIdentifier",void 0),Rf([we()],If.prototype,"uiLocale",void 0),Rf([mo(null)],If.prototype,"availableUiLocales",void 0),Rf([mo(null)],If.prototype,"metadataConfiguration",void 0),Rf([we({type:Boolean})],If.prototype,"editorMode",void 0),Rf([we({type:Boolean})],If.prototype,"noCustom",void 0),Rf([we({type:Boolean})],If.prototype,"openExternalDocumentInNewTab",void 0),Rf([we({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],If.prototype,"noCustomComponent",void 0),Rf([we({type:Boolean})],If.prototype,"withManualResources",void 0),Rf([we({type:Boolean})],If.prototype,"navigatorOnline",void 0),Rf([we({type:Boolean})],If.prototype,"forcedOffline",void 0),Rf([we({type:Object})],If.prototype,"apiProvider",void 0),Rf([mo([])],If.prototype,"messageContexts",void 0),Rf([mo(void 0)],If.prototype,"session",void 0);class Lf extends Sf{async listMySearches(){let t=Of.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Uf extends Sf{async listMyBookmarks(){let t=Of.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Af=rs.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Of.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Uf,this.savedSearchesService=new Lf,Of.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Of.getState();yo(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(){this.savedSearchesService.clearCache(),Af.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Af.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Af.actions.savedSearches(t)}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;Af.actions.bookmarks(e)}}};window.FluidTopicsAppInfoStoreService=new class{addCommand(t,e=!1){Of.commands.add(t,e)}consumeCommand(t){return Of.commands.consume(t)}};window.FluidTopicsHighlightHtmlService=new class{highlightHtml(t,e){Yi(t,e)}},bo("ft-app-context")(If);var Wf=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 Bf=Symbol("i18nAttributes"),zf=Symbol("i18nProperties"),Ff=Symbol("i18nUnsubs");function _f(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?kf:$f}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,o;null===(e=this[Bf])||void 0===e||e.forEach(((e,o)=>{var r;const i=this.getI18nAttributeValue(o);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(o,i,e)})),null===(o=this[zf])||void 0===o||o.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,e,o){this[t]={...e,message:this.i18n({context:e.context,key:e.key,...o})}}update(t){var e,o;super.update(t),null===(e=this[Bf])||void 0===e||e.forEach(((e,o)=>{const r=this.getI18nAttributeValue(o);(null==r?void 0:r.context)&&r.key&&(t.has(o)||null!=e.argsProvider)&&(t.has(o)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(o,r,e))})),null===(o=this[zf])||void 0===o||o.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,e,o,r;super.connectedCallback(),new Set([...null!==(e=null===(t=this[zf])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(r=null===(o=this[Bf])||void 0===o?void 0:o.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Ff].has(t)||this[Ff].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages("string"==typeof t?t:t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[Ff].forEach((t=>t())),this[Ff].clear()}}return e=Ff,Wf([we({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Pf extends(_f(Mi)){}class jf extends(_f(yn)){}var Df,Mf,Tf,Hf,Kf,Zf,Gf,Vf,qf,Yf,Jf,Xf,Qf,th,eh,oh,rh,ih,nh=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 ah extends jf{constructor(){super(),this.editorMode=!1,this.addStore(Of)}render(){return this.key&&this.context?Jt`
1697
1697
  <span class="ft-i18n">
1698
1698
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1699
1699
  </span>
1700
- `:this.editorMode?"Select a context and a label key.":te}update(t){var e;super.update(t),["context","key","defaultMessage"].some((e=>t.has(e)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}nh.elementDefinitions={},nh.styles=mf,ih([nn()],nh.prototype,"editorMode",void 0),ih([we()],nh.prototype,"context",void 0),ih([we()],nh.prototype,"key",void 0),ih([mo([])],nh.prototype,"args",void 0),ih([we()],nh.prototype,"defaultMessage",void 0);class ah{static build(t){return new ah(t)}static fromGwt(t){return new ah(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)=>Ef.resolveMessage(this.name,e,...t)})}}bo("ft-i18n")(nh),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 l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function d(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function p(){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=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),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(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=a(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,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 l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",r=o.toUpperCase(),u.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 g(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 b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},p.call(y.prototype),p.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function 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 c(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),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 b(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",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=l,t.Request=y,t.Response=b),e.Headers=l,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(jf||(jf={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Df||(Df={})),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"}(Mf||(Mf={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(Tf||(Tf={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Hf||(Hf={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Kf||(Kf={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Zf||(Zf={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Gf||(Gf={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Vf||(Vf={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(qf||(qf={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Yf||(Yf={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Jf||(Jf={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Xf||(Xf={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Qf||(Qf={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(th||(th={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(eh||(eh={})),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.GENERATIVE_AI_USER="GENERATIVE_AI_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"}(oh||(oh={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(rh||(rh={})),oh.PERSONAL_BOOK_SHARE_USER,oh.PERSONAL_BOOK_USER,oh.HTML_EXPORT_USER,oh.PERSONAL_BOOK_USER,oh.PDF_EXPORT_USER,oh.PERSONAL_BOOK_USER,oh.KHUB_ADMIN,oh.CONTENT_PUBLISHER,oh.ADMIN,oh.KHUB_ADMIN,oh.USERS_ADMIN,oh.PORTAL_ADMIN,oh.DEVELOPER,oh.BETA_USER,oh.DEBUG_USER;class sh extends Event{constructor(){super(sh.eventName)}}sh.eventName="search-context-clear-all-filters";var lh=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 ch extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const fh=Symbol("registerInterval");class hh 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[fh]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[fh]):this.dispatchEvent(new ch)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=fh,lh([Se()],o.prototype,"stateManager",void 0),o}(un)){}const dh=ah.build("designedSearchPeriodFilter"),ph={label:"Last update",anyTime:"Any time",LAST_WEEK:"Less than a week",LAST_MONTH:"Less than a month",LAST_QUARTER:"Less than a quarter",LAST_YEAR:"Less than a year",CUSTOM:"Custom period",customPeriod:"From {0} to {1}",period:"Period: {0}"};var uh=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 yh extends(Ff(hh)){constructor(){super(),this.addI18nContext(dh,ph)}render(){var t,e,o,r;return Jt`<div part="container">
1700
+ `:this.editorMode?"Select a context and a label key.":te}update(t){var e;super.update(t),["context","key","defaultMessage"].some((e=>t.has(e)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}ah.elementDefinitions={},ah.styles=vf,nh([an()],ah.prototype,"editorMode",void 0),nh([we()],ah.prototype,"context",void 0),nh([we()],ah.prototype,"key",void 0),nh([mo([])],ah.prototype,"args",void 0),nh([we()],ah.prototype,"defaultMessage",void 0);class sh{static build(t){return new sh(t)}static fromGwt(t){return new sh(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)=>$f.resolveMessage(this.name,e,...t)})}}bo("ft-i18n")(ah),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 l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function d(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function p(){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=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),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(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=a(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,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 l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",r=o.toUpperCase(),u.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 g(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 b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},p.call(y.prototype),p.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function 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 c(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),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 b(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",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=l,t.Request=y,t.Response=b),e.Headers=l,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Df||(Df={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Mf||(Mf={})),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"}(Tf||(Tf={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(Hf||(Hf={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Kf||(Kf={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Zf||(Zf={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Gf||(Gf={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Vf||(Vf={})),function(t){t.ASC="ASC",t.DESC="DESC"}(qf||(qf={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Yf||(Yf={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Jf||(Jf={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Xf||(Xf={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Qf||(Qf={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(th||(th={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(eh||(eh={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(oh||(oh={})),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.GENERATIVE_AI_USER="GENERATIVE_AI_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"}(rh||(rh={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(ih||(ih={})),rh.PERSONAL_BOOK_SHARE_USER,rh.PERSONAL_BOOK_USER,rh.HTML_EXPORT_USER,rh.PERSONAL_BOOK_USER,rh.PDF_EXPORT_USER,rh.PERSONAL_BOOK_USER,rh.KHUB_ADMIN,rh.CONTENT_PUBLISHER,rh.ADMIN,rh.KHUB_ADMIN,rh.USERS_ADMIN,rh.PORTAL_ADMIN,rh.DEVELOPER,rh.BETA_USER,rh.DEBUG_USER;class lh extends Event{constructor(){super(lh.eventName)}}lh.eventName="search-context-clear-all-filters";var ch=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 fh extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const hh=Symbol("registerInterval");class dh 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[hh]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[hh]):this.dispatchEvent(new fh)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=hh,ch([Se()],o.prototype,"stateManager",void 0),o}(yn)){}const ph=sh.build("designedSearchPeriodFilter"),uh={label:"Last update",anyTime:"Any time",LAST_WEEK:"Less than a week",LAST_MONTH:"Less than a month",LAST_QUARTER:"Less than a quarter",LAST_YEAR:"Less than a year",CUSTOM:"Custom period",customPeriod:"From {0} to {1}",period:"Period: {0}"};var yh=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 gh extends(_f(dh)){constructor(){super(),this.addI18nContext(ph,uh)}render(){var t,e,o,r;return Jt`<div part="container">
1701
1701
  <div part="header">
1702
1702
  <ft-typography variant="overline" part="label" id="label">
1703
- ${dh.messages.label()}
1703
+ ${ph.messages.label()}
1704
1704
  </ft-typography>
1705
1705
  </div>
1706
1706
  <ft-radio-group @change=${t=>this.setPeriodFilter(t)} aria-labelledby="label">
1707
- <ft-radio value="anyTime" ?checked=${void 0===this.periodFilter||void 0===this.periodFilter.periodType}>${dh.messages.anyTime()}</ft-radio>
1708
- ${this.lessThanAWeek?Jt`<ft-radio ?checked=${"LAST_WEEK"==(null===(t=this.periodFilter)||void 0===t?void 0:t.periodType)} value="LAST_WEEK">${dh.messages.LAST_WEEK()}</ft-radio>`:te}
1709
- ${this.lessThanAMonth?Jt`<ft-radio ?checked=${"LAST_MONTH"==(null===(e=this.periodFilter)||void 0===e?void 0:e.periodType)} value="LAST_MONTH">${dh.messages.LAST_MONTH()}</ft-radio>`:te}
1710
- ${this.lessThanAQuarter?Jt`<ft-radio ?checked=${"LAST_QUARTER"==(null===(o=this.periodFilter)||void 0===o?void 0:o.periodType)} value="LAST_QUARTER">${dh.messages.LAST_QUARTER()}</ft-radio>`:te}
1711
- ${this.lessThanAYear?Jt`<ft-radio ?checked=${"LAST_YEAR"==(null===(r=this.periodFilter)||void 0===r?void 0:r.periodType)} value="LAST_YEAR">${dh.messages.LAST_YEAR()}</ft-radio>`:te}
1707
+ <ft-radio value="anyTime" ?checked=${void 0===this.periodFilter||void 0===this.periodFilter.periodType}>${ph.messages.anyTime()}</ft-radio>
1708
+ ${this.lessThanAWeek?Jt`<ft-radio ?checked=${"LAST_WEEK"==(null===(t=this.periodFilter)||void 0===t?void 0:t.periodType)} value="LAST_WEEK">${ph.messages.LAST_WEEK()}</ft-radio>`:te}
1709
+ ${this.lessThanAMonth?Jt`<ft-radio ?checked=${"LAST_MONTH"==(null===(e=this.periodFilter)||void 0===e?void 0:e.periodType)} value="LAST_MONTH">${ph.messages.LAST_MONTH()}</ft-radio>`:te}
1710
+ ${this.lessThanAQuarter?Jt`<ft-radio ?checked=${"LAST_QUARTER"==(null===(o=this.periodFilter)||void 0===o?void 0:o.periodType)} value="LAST_QUARTER">${ph.messages.LAST_QUARTER()}</ft-radio>`:te}
1711
+ ${this.lessThanAYear?Jt`<ft-radio ?checked=${"LAST_YEAR"==(null===(r=this.periodFilter)||void 0===r?void 0:r.periodType)} value="LAST_YEAR">${ph.messages.LAST_YEAR()}</ft-radio>`:te}
1712
1712
  </ft-radio-group>
1713
- </div>`}setPeriodFilter(t){var e;const o=Gf[t.detail];null===(e=this.stateManager)||void 0===e||e.setPeriodFilter(void 0===o?void 0:{periodType:o})}}yh.elementDefinitions={"ft-radio-group":Hc,"ft-radio":Dc,"ft-typography":Ul},yh.styles=bf,uh([we({type:Boolean})],yh.prototype,"lessThanAWeek",void 0),uh([we({type:Boolean})],yh.prototype,"lessThanAMonth",void 0),uh([we({type:Boolean})],yh.prototype,"lessThanAQuarter",void 0),uh([we({type:Boolean})],yh.prototype,"lessThanAYear",void 0),uh([nn({store:"search",selector:t=>t.request.periodFilter})],yh.prototype,"periodFilter",void 0),bo("ft-search-period-filter")(yh),t.FtSearchPeriodFilter=yh,t.FtSearchPeriodFilterCssVariables=gf,t.periodFilterContext=dh,t.periodFilterDefaultMessages=ph,t.styles=bf}({});
1713
+ </div>`}setPeriodFilter(t){var e;const o=Vf[t.detail];null===(e=this.stateManager)||void 0===e||e.setPeriodFilter(void 0===o?void 0:{periodType:o})}}gh.elementDefinitions={"ft-radio-group":Kc,"ft-radio":Mc,"ft-typography":Al},gh.styles=mf,yh([we({type:Boolean})],gh.prototype,"lessThanAWeek",void 0),yh([we({type:Boolean})],gh.prototype,"lessThanAMonth",void 0),yh([we({type:Boolean})],gh.prototype,"lessThanAQuarter",void 0),yh([we({type:Boolean})],gh.prototype,"lessThanAYear",void 0),yh([an({store:"search",selector:t=>t.request.periodFilter})],gh.prototype,"periodFilter",void 0),bo("ft-search-period-filter")(gh),t.FtSearchPeriodFilter=gh,t.FtSearchPeriodFilterCssVariables=bf,t.periodFilterContext=ph,t.periodFilterDefaultMessages=uh,t.styles=mf}({});