@fluid-topics/ft-search-result-metadata 1.0.41 → 1.0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,n=window.customElements,o=new WeakMap,r=new WeakMap,s=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,o){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(o))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=o.prototype.attributeChangedCallback,l=new Set(o.observedAttributes||[]);f(o,l,a);const c={elementClass:o,connectedCallback:o.prototype.connectedCallback,disconnectedCallback:o.prototype.disconnectedCallback,adoptedCallback:o.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:o.formAssociated,formAssociatedCallback:o.prototype.formAssociatedCallback,formDisabledCallback:o.prototype.formDisabledCallback,formResetCallback:o.prototype.formResetCallback,formStateRestoreCallback:o.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(o,c);let u=i.call(n,t);u||(u=h(t),e.call(n,t,u)),this===window.customElements&&(s.set(o,c),c.standInClass=u);const p=this._awaitingUpgrade.get(t);if(p){this._awaitingUpgrade.delete(t);for(const t of p)r.delete(t),d(t,c,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(o),this._whenDefinedPromises.delete(t)),o}upgrade(){b.push(this),n.upgrade.apply(n,arguments),b.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let n=this._awaitingUpgrade.get(e);n||this._awaitingUpgrade.set(e,n=new Set),i?n.add(t):n.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=s.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),o.set(e,i),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,u=t=>{let e=t.getRootNode();if(!c(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const n=u(i)||window.customElements,o=n._getDefinition(e);return o?d(i,o):r.set(i,n),i}connectedCallback(){const t=o.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=o.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=o.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=o.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=o.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=o.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=o.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const n=t.prototype.setAttribute;n&&(t.prototype.setAttribute=function(t,o){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,o),i.call(this,r,t,o)}else n.call(this,r,o)});const o=t.prototype.removeAttribute;o&&(t.prototype.removeAttribute=function(t){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n),i.call(this,n,t,null)}else o.call(this,n)})},p=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):p(i)},d=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),o.set(t,e),l=t;try{new e.elementClass}catch(t){p(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=v.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const y=(t,e,i=void 0)=>{const n=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=n.apply(i||this,arguments);return void 0!==t&&a.set(t,this),b.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const g=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.pop()}})};if(g(Element,"innerHTML"),g(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const n=e.call(this,...i);return t.set(n,this),n},i.forEach((e=>{const i=window.ElementInternals.prototype,n=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==o.get(i).formAssociated)throw new DOMException(`Failed to execute ${n} on 'ElementInternals': The target element is not a form-associated custom element.`);n?.call(this,...e)}}));class n extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class r{constructor(t){const e=new Map;t.forEach(((t,i)=>{const n=t.getAttribute("name"),o=e.get(n)||[];this[+i]=t,o.push(t),e.set(n,o)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new n(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const i of t){const t=o.get(i);t&&!0!==t.formAssociated||e.push(i)}return new r(e)}})}}try{window.customElements.define("custom-element",null)}catch(Go){const t=window.customElements.define;window.customElements.define=(e,i,n)=>{if(null!==i)try{t.bind(window.customElements)(e,i,n)}catch(t){console.info(e,i,n,t)}}}class e extends Error{constructor(t,e,i){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=i}}class i extends Promise{constructor(t){super(((i,n)=>t((t=>{this.isCanceled?n(new e("Promise has been canceled",t)):i(t)}),(t=>{this.isCanceled?n(new e("Promise has been canceled",void 0,t)):n(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class n{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof i&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,n){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const o=(t=>new i(((e,i)=>t.then(e).catch(i))))(e());return this.content[t]=o,o.then((e=>(this.content[t]=e,null!=n&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),n)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const n=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,o=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void n(t)}o(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,n=window.customElements,o=new WeakMap,r=new WeakMap,s=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,o){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(o))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=o.prototype.attributeChangedCallback,l=new Set(o.observedAttributes||[]);f(o,l,a);const c={elementClass:o,connectedCallback:o.prototype.connectedCallback,disconnectedCallback:o.prototype.disconnectedCallback,adoptedCallback:o.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:o.formAssociated,formAssociatedCallback:o.prototype.formAssociatedCallback,formDisabledCallback:o.prototype.formDisabledCallback,formResetCallback:o.prototype.formResetCallback,formStateRestoreCallback:o.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(o,c);let u=i.call(n,t);u||(u=h(t),e.call(n,t,u)),this===window.customElements&&(s.set(o,c),c.standInClass=u);const p=this._awaitingUpgrade.get(t);if(p){this._awaitingUpgrade.delete(t);for(const t of p)r.delete(t),d(t,c,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(o),this._whenDefinedPromises.delete(t)),o}upgrade(){b.push(this),n.upgrade.apply(n,arguments),b.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let n=this._awaitingUpgrade.get(e);n||this._awaitingUpgrade.set(e,n=new Set),i?n.add(t):n.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=s.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),o.set(e,i),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,u=t=>{let e=t.getRootNode();if(!c(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const n=u(i)||window.customElements,o=n._getDefinition(e);return o?d(i,o):r.set(i,n),i}connectedCallback(){const t=o.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=o.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=o.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=o.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=o.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=o.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=o.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const n=t.prototype.setAttribute;n&&(t.prototype.setAttribute=function(t,o){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,o),i.call(this,r,t,o)}else n.call(this,r,o)});const o=t.prototype.removeAttribute;o&&(t.prototype.removeAttribute=function(t){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n),i.call(this,n,t,null)}else o.call(this,n)})},p=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):p(i)},d=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),o.set(t,e),l=t;try{new e.elementClass}catch(t){p(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=v.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const y=(t,e,i=void 0)=>{const n=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=n.apply(i||this,arguments);return void 0!==t&&a.set(t,this),b.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const g=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.pop()}})};if(g(Element,"innerHTML"),g(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const n=e.call(this,...i);return t.set(n,this),n},i.forEach((e=>{const i=window.ElementInternals.prototype,n=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==o.get(i).formAssociated)throw new DOMException(`Failed to execute ${n} on 'ElementInternals': The target element is not a form-associated custom element.`);n?.call(this,...e)}}));class n extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class r{constructor(t){const e=new Map;t.forEach(((t,i)=>{const n=t.getAttribute("name"),o=e.get(n)||[];this[+i]=t,o.push(t),e.set(n,o)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new n(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const i of t){const t=o.get(i);t&&!0!==t.formAssociated||e.push(i)}return new r(e)}})}}try{window.customElements.define("custom-element",null)}catch(Qo){const t=window.customElements.define;window.customElements.define=(e,i,n)=>{if(null!==i)try{t.bind(window.customElements)(e,i,n)}catch(t){console.info(e,i,n,t)}}}class e extends Error{constructor(t,e,i){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=i}}class i extends Promise{constructor(t){super(((i,n)=>t((t=>{this.isCanceled?n(new e("Promise has been canceled",t)):i(t)}),(t=>{this.isCanceled?n(new e("Promise has been canceled",void 0,t)):n(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class n{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof i&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,n){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const o=(t=>new i(((e,i)=>t.then(e).catch(i))))(e());return this.content[t]=o,o.then((e=>(this.content[t]=e,null!=n&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),n)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const n=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,o=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void n(t)}o(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -93,123 +93,123 @@ var dt,vt;let bt=class extends A{constructor(){super(...arguments),this.renderOp
93
93
  display: inline-block;
94
94
  width: 0;
95
95
  }
96
- `;class Rt{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var i,n;t=this.resolvePluralKey(t,e);let o=null!==(n=null!==(i=this.labels[t])&&void 0!==i?i:this.defaultLabels[t])&&void 0!==n?n:"";return e.forEach(((t,e)=>o=o.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,i)=>this.formatValue(t,i))))),o}resolvePluralKey(t,e){for(let i of e)if("number"==typeof i){const e=`${String(t)}[\\=${i}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const i=i=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(i):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(i):t.toLocaleString(i);try{return i(document.documentElement.lang)}catch(t){return i()}}}function Mt(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+t+(i.length?" "+i.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function At(t){return!!t&&!!t[ge]}function Ut(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var i=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return i===Object||"function"==typeof i&&Function.toString.call(i)===me}(t)||Array.isArray(t)||!!t[ye]||!!(null===(e=t.constructor)||void 0===e?void 0:e[ye])||Lt(t)||Bt(t))}function Pt(t,e,i){void 0===i&&(i=!1),0===zt(t)?(i?Object.keys:xe)(t).forEach((function(n){i&&"symbol"==typeof n||e(n,t[n],t)})):t.forEach((function(i,n){return e(n,i,t)}))}function zt(t){var e=t[ge];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Lt(t)?2:Bt(t)?3:0}function It(t,e){return 2===zt(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Ft(t,e,i){var n=zt(t);2===n?t.set(e,i):3===n?t.add(i):t[e]=i}function Tt(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Lt(t){return pe&&t instanceof Map}function Bt(t){return de&&t instanceof Set}function _t(t){return t.o||t.t}function Dt(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=we(t);delete e[ge];for(var i=xe(e),n=0;n<i.length;n++){var o=i[n],r=e[o];!1===r.writable&&(r.writable=!0,r.configurable=!0),(r.get||r.set)&&(e[o]={configurable:!0,writable:!0,enumerable:r.enumerable,value:t[o]})}return Object.create(Object.getPrototypeOf(t),e)}function Wt(t,e){return void 0===e&&(e=!1),Ht(t)||At(t)||!Ut(t)||(zt(t)>1&&(t.set=t.add=t.clear=t.delete=Kt),Object.freeze(t),e&&Pt(t,(function(t,e){return Wt(e,!0)}),!0)),t}function Kt(){Mt(2)}function Ht(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Zt(t){var e=$e[t];return e||Mt(18,t),e}function qt(){return he}function Vt(t,e){e&&(Zt("Patches"),t.u=[],t.s=[],t.v=e)}function Jt(t){Xt(t),t.p.forEach(Yt),t.p=null}function Xt(t){t===he&&(he=t.l)}function Gt(t){return he={p:[],l:he,h:t,m:!0,_:0}}function Yt(t){var e=t[ge];0===e.i||1===e.i?e.j():e.g=!0}function Qt(t,e){e._=e.p.length;var i=e.p[0],n=void 0!==t&&t!==i;return e.h.O||Zt("ES5").S(e,t,n),n?(i[ge].P&&(Jt(e),Mt(4)),Ut(t)&&(t=te(e,t),e.l||ie(e,t)),e.u&&Zt("Patches").M(i[ge].t,t,e.u,e.s)):t=te(e,i,[]),Jt(e),e.u&&e.v(e.u,e.s),t!==be?t:void 0}function te(t,e,i){if(Ht(e))return e;var n=e[ge];if(!n)return Pt(e,(function(o,r){return ee(t,n,e,o,r,i)}),!0),e;if(n.A!==t)return e;if(!n.P)return ie(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=4===n.i||5===n.i?n.o=Dt(n.k):n.o,r=o,s=!1;3===n.i&&(r=new Set(o),o.clear(),s=!0),Pt(r,(function(e,r){return ee(t,n,o,e,r,i,s)})),ie(t,o,!1),i&&t.u&&Zt("Patches").N(n,i,t.u,t.s)}return n.o}function ee(t,e,i,n,o,r,s){if(At(o)){var a=te(t,o,r&&e&&3!==e.i&&!It(e.R,n)?r.concat(n):void 0);if(Ft(i,n,a),!At(a))return;t.m=!1}else s&&i.add(o);if(Ut(o)&&!Ht(o)){if(!t.h.D&&t._<1)return;te(t,o),e&&e.A.l||ie(t,o)}}function ie(t,e,i){void 0===i&&(i=!1),!t.l&&t.h.D&&t.m&&Wt(e,i)}function ne(t,e){var i=t[ge];return(i?_t(i):t)[e]}function oe(t,e){if(e in t)for(var i=Object.getPrototypeOf(t);i;){var n=Object.getOwnPropertyDescriptor(i,e);if(n)return n;i=Object.getPrototypeOf(i)}}function re(t){t.P||(t.P=!0,t.l&&re(t.l))}function se(t){t.o||(t.o=Dt(t.t))}function ae(t,e,i){var n=Lt(e)?Zt("MapSet").F(e,i):Bt(e)?Zt("MapSet").T(e,i):t.O?function(t,e){var i=Array.isArray(t),n={i:i?1:0,A:e?e.A:qt(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},o=n,r=Oe;i&&(o=[n],r=Se);var s=Proxy.revocable(o,r),a=s.revoke,l=s.proxy;return n.k=l,n.j=a,l}(e,i):Zt("ES5").J(e,i);return(i?i.A:qt()).p.push(n),n}function le(t){return At(t)||Mt(22,t),function t(e){if(!Ut(e))return e;var i,n=e[ge],o=zt(e);if(n){if(!n.P&&(n.i<4||!Zt("ES5").K(n)))return n.t;n.I=!0,i=ce(e,o),n.I=!1}else i=ce(e,o);return Pt(i,(function(e,o){n&&function(t,e){return 2===zt(t)?t.get(e):t[e]}(n.t,e)===o||Ft(i,e,t(o))})),3===o?new Set(i):i}(t)}function ce(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Dt(t)}var ue,he,fe="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),pe="undefined"!=typeof Map,de="undefined"!=typeof Set,ve="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,be=fe?Symbol.for("immer-nothing"):((ue={})["immer-nothing"]=!0,ue),ye=fe?Symbol.for("immer-draftable"):"__$immer_draftable",ge=fe?Symbol.for("immer-state"):"__$immer_state",me=""+Object.prototype.constructor,xe="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,we=Object.getOwnPropertyDescriptors||function(t){var e={};return xe(t).forEach((function(i){e[i]=Object.getOwnPropertyDescriptor(t,i)})),e},$e={},Oe={get:function(t,e){if(e===ge)return t;var i=_t(t);if(!It(i,e))return function(t,e,i){var n,o=oe(e,i);return o?"value"in o?o.value:null===(n=o.get)||void 0===n?void 0:n.call(t.k):void 0}(t,i,e);var n=i[e];return t.I||!Ut(n)?n:n===ne(t.t,e)?(se(t),t.o[e]=ae(t.A.h,n,t)):n},has:function(t,e){return e in _t(t)},ownKeys:function(t){return Reflect.ownKeys(_t(t))},set:function(t,e,i){var n=oe(_t(t),e);if(null==n?void 0:n.set)return n.set.call(t.k,i),!0;if(!t.P){var o=ne(_t(t),e),r=null==o?void 0:o[ge];if(r&&r.t===i)return t.o[e]=i,t.R[e]=!1,!0;if(Tt(i,o)&&(void 0!==i||It(t.t,e)))return!0;se(t),re(t)}return t.o[e]===i&&(void 0!==i||e in t.o)||Number.isNaN(i)&&Number.isNaN(t.o[e])||(t.o[e]=i,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==ne(t.t,e)||e in t.t?(t.R[e]=!1,se(t),re(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var i=_t(t),n=Reflect.getOwnPropertyDescriptor(i,e);return n?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:n.enumerable,value:i[e]}:n},defineProperty:function(){Mt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Mt(12)}},Se={};Pt(Oe,(function(t,e){Se[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Se.deleteProperty=function(t,e){return Se.set.call(this,t,e,void 0)},Se.set=function(t,e,i){return Oe.set.call(this,t[0],e,i,t[0])};var ke=function(){function t(t){var e=this;this.O=ve,this.D=!0,this.produce=function(t,i,n){if("function"==typeof t&&"function"!=typeof i){var o=i;i=t;var r=e;return function(t){var e=this;void 0===t&&(t=o);for(var n=arguments.length,s=Array(n>1?n-1:0),a=1;a<n;a++)s[a-1]=arguments[a];return r.produce(t,(function(t){var n;return(n=i).call.apply(n,[e,t].concat(s))}))}}var s;if("function"!=typeof i&&Mt(6),void 0!==n&&"function"!=typeof n&&Mt(7),Ut(t)){var a=Gt(e),l=ae(e,t,void 0),c=!0;try{s=i(l),c=!1}finally{c?Jt(a):Xt(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return Vt(a,n),Qt(t,a)}),(function(t){throw Jt(a),t})):(Vt(a,n),Qt(s,a))}if(!t||"object"!=typeof t){if(void 0===(s=i(t))&&(s=t),s===be&&(s=void 0),e.D&&Wt(s,!0),n){var u=[],h=[];Zt("Patches").M(t,s,u,h),n(u,h)}return s}Mt(21,t)},this.produceWithPatches=function(t,i){if("function"==typeof t)return function(i){for(var n=arguments.length,o=Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return e.produceWithPatches(i,(function(e){return t.apply(void 0,[e].concat(o))}))};var n,o,r=e.produce(t,i,(function(t,e){n=t,o=e}));return"undefined"!=typeof Promise&&r instanceof Promise?r.then((function(t){return[t,n,o]})):[r,n,o]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){Ut(t)||Mt(8),At(t)&&(t=le(t));var e=Gt(this),i=ae(this,t,void 0);return i[ge].C=!0,Xt(e),i},e.finishDraft=function(t,e){var i=(t&&t[ge]).A;return Vt(i,e),Qt(void 0,i)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!ve&&Mt(20),this.O=t},e.applyPatches=function(t,e){var i;for(i=e.length-1;i>=0;i--){var n=e[i];if(0===n.path.length&&"replace"===n.op){t=n.value;break}}i>-1&&(e=e.slice(i+1));var o=Zt("Patches").$;return At(t)?o(t,e):this.produce(t,(function(t){return o(t,e)}))},t}(),je=new ke,Ee=je.produce;function Ce(t){return Ce="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},Ce(t)}function Ne(t){var e=function(t,e){if("object"!==Ce(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==Ce(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Ce(e)?e:String(e)}function Re(t,e,i){return(e=Ne(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Me(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function Ae(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Me(Object(i),!0).forEach((function(e){Re(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Me(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function Ue(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. "}je.produceWithPatches.bind(je),je.setAutoFreeze.bind(je),je.setUseProxies.bind(je),je.applyPatches.bind(je),je.createDraft.bind(je),je.finishDraft.bind(je);var Pe="function"==typeof Symbol&&Symbol.observable||"@@observable",ze=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ie={INIT:"@@redux/INIT"+ze(),REPLACE:"@@redux/REPLACE"+ze(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ze()}};function Fe(t,e,i){var n;if("function"==typeof e&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw new Error(Ue(0));if("function"==typeof e&&void 0===i&&(i=e,e=void 0),void 0!==i){if("function"!=typeof i)throw new Error(Ue(1));return i(Fe)(t,e)}if("function"!=typeof t)throw new Error(Ue(2));var o=t,r=e,s=[],a=s,l=!1;function c(){a===s&&(a=s.slice())}function u(){if(l)throw new Error(Ue(3));return r}function h(t){if("function"!=typeof t)throw new Error(Ue(4));if(l)throw new Error(Ue(5));var e=!0;return c(),a.push(t),function(){if(e){if(l)throw new Error(Ue(6));e=!1,c();var i=a.indexOf(t);a.splice(i,1),s=null}}}function f(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(Ue(7));if(void 0===t.type)throw new Error(Ue(8));if(l)throw new Error(Ue(9));try{l=!0,r=o(r,t)}finally{l=!1}for(var e=s=a,i=0;i<e.length;i++){(0,e[i])()}return t}return f({type:Ie.INIT}),(n={dispatch:f,subscribe:h,getState:u,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Ue(10));o=t,f({type:Ie.REPLACE})}})[Pe]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Ue(11));function i(){t.next&&t.next(u())}return i(),{unsubscribe:e(i)}}})[Pe]=function(){return this},t},n}function Te(t){for(var e=Object.keys(t),i={},n=0;n<e.length;n++){var o=e[n];"function"==typeof t[o]&&(i[o]=t[o])}var r,s=Object.keys(i);try{!function(t){Object.keys(t).forEach((function(e){var i=t[e];if(void 0===i(void 0,{type:Ie.INIT}))throw new Error(Ue(12));if(void 0===i(void 0,{type:Ie.PROBE_UNKNOWN_ACTION()}))throw new Error(Ue(13))}))}(i)}catch(t){r=t}return function(t,e){if(void 0===t&&(t={}),r)throw r;for(var n=!1,o={},a=0;a<s.length;a++){var l=s[a],c=i[l],u=t[l],h=c(u,e);if(void 0===h)throw e&&e.type,new Error(Ue(14));o[l]=h,n=n||h!==u}return(n=n||s.length!==Object.keys(t).length)?o:t}}function Le(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function Be(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return function(){var i=t.apply(void 0,arguments),n=function(){throw new Error(Ue(15))},o={getState:i.getState,dispatch:function(){return n.apply(void 0,arguments)}},r=e.map((function(t){return t(o)}));return n=Le.apply(void 0,r)(i.dispatch),Ae(Ae({},i),{},{dispatch:n})}}}function _e(t){return function(e){var i=e.dispatch,n=e.getState;return function(e){return function(o){return"function"==typeof o?o(i,n,t):e(o)}}}}var De=_e();De.withExtraArgument=_e;var We,Ke=De,He=(We=function(t,e){return We=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},We(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}We(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),Ze=function(t,e){var i,n,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,n&&(o=2&r[0]?n.return:r[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,r[1])).done)return o;switch(n=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,n=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=e.call(t,s)}catch(t){r=[6,t],n=0}finally{i=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},qe=function(t,e){for(var i=0,n=e.length,o=t.length;i<n;i++,o++)t[o]=e[i];return t},Ve=Object.defineProperty,Je=Object.defineProperties,Xe=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,ti=function(t,e,i){return e in t?Ve(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i},ei=function(t,e){for(var i in e||(e={}))Ye.call(e,i)&&ti(t,i,e[i]);if(Ge)for(var n=0,o=Ge(e);n<o.length;n++){i=o[n];Qe.call(e,i)&&ti(t,i,e[i])}return t},ii=function(t,e){return Je(t,Xe(e))},ni="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Le:Le.apply(null,arguments)};var oi=function(t){function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var o=t.apply(this,i)||this;return Object.setPrototypeOf(o,e.prototype),o}return He(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,qe([void 0],t[0].concat(this)))):new(e.bind.apply(e,qe([void 0],t.concat(this))))},e}(Array),ri=function(t){function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var o=t.apply(this,i)||this;return Object.setPrototypeOf(o,e.prototype),o}return He(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,qe([void 0],t[0].concat(this)))):new(e.bind.apply(e,qe([void 0],t.concat(this))))},e}(Array);function si(t){return Ut(t)?Ee(t,(function(){})):t}function ai(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,i=void 0===e||e;t.immutableCheck,t.serializableCheck;var n=new oi;i&&(!function(t){return"boolean"==typeof t}(i)?n.push(Ke.withExtraArgument(i.extraArgument)):n.push(Ke));return n}(t)}}function li(t){var e,i=ai(),n=t||{},o=n.reducer,r=void 0===o?void 0:o,s=n.middleware,a=void 0===s?i():s,l=n.devTools,c=void 0===l||l,u=n.preloadedState,h=void 0===u?void 0:u,f=n.enhancers,p=void 0===f?void 0:f;if("function"==typeof r)e=r;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var i=e;null!==Object.getPrototypeOf(i);)i=Object.getPrototypeOf(i);return e===i}(r))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=Te(r)}var d=a;"function"==typeof d&&(d=d(i));var v=Be.apply(void 0,d),b=Le;c&&(b=ni(ei({trace:!1},"object"==typeof c&&c)));var y=new ri(v),g=y;return Array.isArray(p)?g=qe([v],p):"function"==typeof p&&(g=p(y)),Fe(e,h,b.apply(void 0,g))}function ci(t,e){function i(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var o=e.apply(void 0,i);if(!o)throw new Error("prepareAction did not return an object");return ei(ei({type:t,payload:o.payload},"meta"in o&&{meta:o.meta}),"error"in o&&{error:o.error})}return{type:t,payload:i[0]}}return i.toString=function(){return""+t},i.type=t,i.match=function(e){return e.type===t},i}function ui(t){var e,i={},n=[],o={addCase:function(t,e){var n="string"==typeof t?t:t.type;if(n in i)throw new Error("addCase cannot be called with two reducers for the same action type");return i[n]=e,o},addMatcher:function(t,e){return n.push({matcher:t,reducer:e}),o},addDefaultCase:function(t){return e=t,o}};return t(o),[i,n,e]}function hi(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var i,n="function"==typeof t.initialState?t.initialState:si(t.initialState),o=t.reducers||{},r=Object.keys(o),s={},a={},l={};function c(){var e="function"==typeof t.extraReducers?ui(t.extraReducers):[t.extraReducers],i=e[0],o=void 0===i?{}:i,r=e[1],s=void 0===r?[]:r,l=e[2],c=void 0===l?void 0:l,u=ei(ei({},o),a);return function(t,e,i,n){void 0===i&&(i=[]);var o,r="function"==typeof e?ui(e):[e,i,n],s=r[0],a=r[1],l=r[2];if(function(t){return"function"==typeof t}(t))o=function(){return si(t())};else{var c=si(t);o=function(){return c}}function u(t,e){void 0===t&&(t=o());var i=qe([s[e.type]],a.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===i.filter((function(t){return!!t})).length&&(i=[l]),i.reduce((function(t,i){if(i){var n;if(At(t))return void 0===(n=i(t,e))?t:n;if(Ut(t))return Ee(t,(function(t){return i(t,e)}));if(void 0===(n=i(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}return t}),t)}return u.getInitialState=o,u}(n,(function(t){for(var e in u)t.addCase(e,u[e]);for(var i=0,n=s;i<n.length;i++){var o=n[i];t.addMatcher(o.matcher,o.reducer)}c&&t.addDefaultCase(c)}))}return r.forEach((function(t){var i,n,r=o[t],c=e+"/"+t;"reducer"in r?(i=r.reducer,n=r.prepare):i=r,s[t]=i,a[c]=i,l[t]=n?ci(c,n):ci(c)})),{name:e,reducer:function(t,e){return i||(i=c()),i(t,e)},actions:l,caseReducers:s,getInitialState:function(){return i||(i=c()),i.getInitialState()}}}var fi=["name","message","stack","code"],pi=function(t,e){this.payload=t,this.meta=e},di=function(t,e){this.payload=t,this.meta=e},vi=function(t){if("object"==typeof t&&null!==t){for(var e={},i=0,n=fi;i<n.length;i++){var o=n[i];"string"==typeof t[o]&&(e[o]=t[o])}return e}return{message:String(t)}};function bi(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,i){var n=ci(t+"/fulfilled",(function(t,e,i,n){return{payload:t,meta:ii(ei({},n||{}),{arg:i,requestId:e,requestStatus:"fulfilled"})}})),o=ci(t+"/pending",(function(t,e,i){return{payload:void 0,meta:ii(ei({},i||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),r=ci(t+"/rejected",(function(t,e,n,o,r){return{payload:o,error:(i&&i.serializeError||vi)(t||"Rejected"),meta:ii(ei({},r||{}),{arg:n,requestId:e,rejectedWithValue:!!o,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),s="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(a,l,c){var u,h=(null==i?void 0:i.idGenerator)?i.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",i=t;i--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),f=new s;function p(t){u=t,f.abort()}var d=function(){return s=this,d=null,v=function(){var s,d,v,b,y,g;return Ze(this,(function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),b=null==(s=null==i?void 0:i.condition)?void 0:s.call(i,t,{getState:l,extra:c}),null===(x=b)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,b];case 1:b=m.sent(),m.label=2;case 2:if(!1===b||f.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return y=new Promise((function(t,e){return f.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:u||"Aborted"})}))})),a(o(h,t,null==(d=null==i?void 0:i.getPendingMeta)?void 0:d.call(i,{requestId:h,arg:t},{getState:l,extra:c}))),[4,Promise.race([y,Promise.resolve(e(t,{dispatch:a,getState:l,extra:c,requestId:h,signal:f.signal,abort:p,rejectWithValue:function(t,e){return new pi(t,e)},fulfillWithValue:function(t,e){return new di(t,e)}})).then((function(e){if(e instanceof pi)throw e;return e instanceof di?n(e.payload,h,t,e.meta):n(e,h,t)}))])];case 3:return v=m.sent(),[3,5];case 4:return g=m.sent(),v=g instanceof pi?r(null,h,t,g.payload,g.meta):r(g,h,t),[3,5];case 5:return i&&!i.dispatchConditionRejection&&r.match(v)&&v.meta.condition||a(v),[2,v]}var x}))},new Promise((function(t,e){var i=function(t){try{o(v.next(t))}catch(t){e(t)}},n=function(t){try{o(v.throw(t))}catch(t){e(t)}},o=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(i,n)};o((v=v.apply(s,d)).next())}));var s,d,v}();return Object.assign(d,{abort:p,requestId:h,arg:t,unwrap:function(){return d.then(bi)}})}}),{pending:o,rejected:r,fulfilled:n,typePrefix:t})}t.withTypes=function(){return t}}();var yi,gi,mi="listenerMiddleware";ci(mi+"/add"),ci(mi+"/removeAll"),ci(mi+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var i=o[t];return i?i.enumerable=e:o[t]=i={configurable:!0,enumerable:e,get:function(){var e=this[ge];return Oe.get(e,t)},set:function(e){var i=this[ge];Oe.set(i,t,e)}},i}function e(t){for(var e=t.length-1;e>=0;e--){var o=t[e][ge];if(!o.P)switch(o.i){case 5:n(o)&&re(o);break;case 4:i(o)&&re(o)}}}function i(t){for(var e=t.t,i=t.k,n=xe(i),o=n.length-1;o>=0;o--){var r=n[o];if(r!==ge){var s=e[r];if(void 0===s&&!It(e,r))return!0;var a=i[r],l=a&&a[ge];if(l?l.t!==s:!Tt(a,s))return!0}}var c=!!e[ge];return n.length!==xe(e).length+(c?0:1)}function n(t){var e=t.k;if(e.length!==t.t.length)return!0;var i=Object.getOwnPropertyDescriptor(e,e.length-1);if(i&&!i.get)return!0;for(var n=0;n<e.length;n++)if(!e.hasOwnProperty(n))return!0;return!1}var o={};!function(t,e){$e[t]||($e[t]=e)}("ES5",{J:function(e,i){var n=Array.isArray(e),o=function(e,i){if(e){for(var n=Array(i.length),o=0;o<i.length;o++)Object.defineProperty(n,""+o,t(o,!0));return n}var r=we(i);delete r[ge];for(var s=xe(r),a=0;a<s.length;a++){var l=s[a];r[l]=t(l,e||!!r[l].enumerable)}return Object.create(Object.getPrototypeOf(i),r)}(n,e),r={i:n?5:4,A:i?i.A:qt(),P:!1,I:!1,R:{},l:i,t:e,k:o,o:null,g:!1,C:!1};return Object.defineProperty(o,ge,{value:r,writable:!0}),o},S:function(t,i,o){o?At(i)&&i[ge].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var i=e[ge];if(i){var o=i.t,r=i.k,s=i.R,a=i.i;if(4===a)Pt(r,(function(e){e!==ge&&(void 0!==o[e]||It(o,e)?s[e]||t(r[e]):(s[e]=!0,re(i)))})),Pt(o,(function(t){void 0!==r[t]||It(r,t)||(s[t]=!1,re(i))}));else if(5===a){if(n(i)&&(re(i),s.length=!0),r.length<o.length)for(var l=r.length;l<o.length;l++)s[l]=!1;else for(var c=o.length;c<r.length;c++)s[c]=!0;for(var u=Math.min(r.length,o.length),h=0;h<u;h++)r.hasOwnProperty(h)||(s[h]=!0),void 0===s[h]&&t(r[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?i(t):n(t)}})}();const xi=t=>{const e=null!=t?t:{};return(t,i)=>{var n;const o={hasChanged:(t,e)=>!f(t,e),attribute:!1,...e};s(o)(t,i);const r=t;r.reduxProperties=r.reduxProperties||new Map,r.reduxProperties.set(i,{selector:null!==(n=e.selector)&&void 0!==n?n:t=>t[i],store:e.store})}},wi=Symbol("internalStoresUnsubscribers"),$i=Symbol("internalStores");class Oi extends Et{constructor(){super(...arguments),this[yi]=new Map,this[gi]=new Map}updated(t){var e;super.updated(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[$i].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[$i].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[$i].get(t)}addStore(t,e){var i;e=null!==(i=null!=e?e:Si(t)?t.name:void 0)&&void 0!==i?i:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[$i].delete(e)}setupStore(t,e){this[$i].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[$i].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const i=this.constructor.getPropertyOptions(e);if(!(null==i?void 0:i.attribute)||!this.hasAttribute("string"==typeof(null==i?void 0:i.attribute)?i.attribute:e)){const i=this.getStore(t.store);i&&(this[e]=t.selector(i.getState(),this))}}))}subscribeToStore(t,e){this[wi].set(t,e.subscribe((()=>this.updateFromStores()))),this.onStoreAvailable(t)}unsubscribeFromStores(){Object.keys(this[wi]).forEach((t=>this.unsubscribeFromStore(t)))}unsubscribeFromStore(t){this[wi].has(t)&&this[wi].get(t)(),this[wi].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){this.unsubscribeFromStores(),super.disconnectedCallback()}}function Si(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}yi=wi,gi=$i;class ki{static get(t){window.ftReduxStores||(window.ftReduxStores={});const e="string"==typeof t?t:t.name,i="string"==typeof t?void 0:t,n=window.ftReduxStores[e];if(Si(n))return n;if(null==i)return;const o=hi(i),r=li({reducer:(t,e)=>"CLEAR_FT_REDUX_STORE"===e.type?o.getInitialState():o.reducer(t,e)});return window.ftReduxStores[i.name]=new ki(o,r)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,i)=>{const n=t[e];if(n)return(...t)=>{const e=n(...t);return this.reduxStore.dispatch(e),e}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}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 ji,Ei,Ci;const Ni=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ci=null===(Ei=null===(ji=window.safari)||void 0===ji?void 0:ji.pushNotification)||void 0===Ei?void 0:Ei.toString())&&void 0!==Ci?Ci:""),Ri=w`
97
- `,Mi=w`
98
- `,Ai=ki.get({name:"ft-app-info",reducers:{setBaseUrl:(t,e)=>{t.baseUrl=e.payload},setApiIntegrationIdentifier:(t,e)=>{t.apiIntegrationIdentifier=e.payload},setUiLocale:(t,e)=>{t.uiLocale=e.payload},setAvailableUiLocales:(t,e)=>{t.availableUiLocales=e.payload},setEditorMode:(t,e)=>{t.editorMode=e.payload},setNoCustom:(t,e)=>{t.noCustom=e.payload},setNoCustomComponent:(t,e)=>{t.noCustomComponent=e.payload},setSession:(t,e)=>{t.session=e.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class Ui{static build(t){const{baseUrl:e,apiIntegrationIdentifier:i}=Ai.getState(),n=null!=t?t:i;if(e&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,n,!0)}static get(t){var e;return null!=t?Ui.build(t):null!==(e=Ui.API)&&void 0!==e?e:Ui.API=Ui.build()}static await(t){return new Promise((e=>{let i=Ui.get(t);if(i)e(i);else{const n=Ai.subscribe((()=>{i=Ui.get(t),i&&(n(),e(i))}))}}))}}var Pi;const zi=Symbol("clearAfterUnitTest");class Ii{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new n,this.listeners={},this.currentUiLocale="",this[Pi]=()=>{this.defaultMessages={},this.cache=new n,this.listeners={}},this.currentUiLocale=Ai.getState().uiLocale,Ai.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Ai.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var i;if(t=t.toLowerCase(),Object.keys(e).length>0){const n={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};f(this.defaultMessages[t],n)||(this.defaultMessages[t]=n,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var n,o,r;t=t.toLowerCase(),this.fetchContext(t);const s=null!==(o=null===(n=this.cache.getNow(t))||void 0===n?void 0:n.messages)&&void 0!==o?o:{};return new Rt(null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},s).resolve(e,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var i;return t=t.toLowerCase(),this.listeners[t]=null!==(i=this.listeners[t])&&void 0!==i?i:new Set,this.listeners[t].add(e),()=>{var i;return null===(i=this.listeners[t])||void 0===i?void 0:i.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}Pi=zi,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Ii((async(t,e)=>(await Ui.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Ii((async(t,e)=>(await Ui.await()).getCustomMessageContext(t,e))));const Fi=window.FluidTopicsI18nService,Ti=window.FluidTopicsCustomI18nService;var Li=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Bi extends Et{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Ui.get(),this.cache=new n,this.cleanSessionDebouncer=new o}render(){return Q`
96
+ `;class Rt{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var i,n;t=this.resolvePluralKey(t,e);let o=null!==(n=null!==(i=this.labels[t])&&void 0!==i?i:this.defaultLabels[t])&&void 0!==n?n:"";return e.forEach(((t,e)=>o=o.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,i)=>this.formatValue(t,i))))),o}resolvePluralKey(t,e){for(let i of e)if("number"==typeof i){const e=`${String(t)}[\\=${i}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const i=i=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(i):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(i):t.toLocaleString(i);try{return i(document.documentElement.lang)}catch(t){return i()}}}function Mt(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+t+(i.length?" "+i.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function At(t){return!!t&&!!t[ge]}function Ut(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var i=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return i===Object||"function"==typeof i&&Function.toString.call(i)===me}(t)||Array.isArray(t)||!!t[ye]||!!(null===(e=t.constructor)||void 0===e?void 0:e[ye])||Lt(t)||Bt(t))}function Pt(t,e,i){void 0===i&&(i=!1),0===zt(t)?(i?Object.keys:xe)(t).forEach((function(n){i&&"symbol"==typeof n||e(n,t[n],t)})):t.forEach((function(i,n){return e(n,i,t)}))}function zt(t){var e=t[ge];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Lt(t)?2:Bt(t)?3:0}function It(t,e){return 2===zt(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Ft(t,e,i){var n=zt(t);2===n?t.set(e,i):3===n?t.add(i):t[e]=i}function Tt(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Lt(t){return pe&&t instanceof Map}function Bt(t){return de&&t instanceof Set}function _t(t){return t.o||t.t}function Dt(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=we(t);delete e[ge];for(var i=xe(e),n=0;n<i.length;n++){var o=i[n],r=e[o];!1===r.writable&&(r.writable=!0,r.configurable=!0),(r.get||r.set)&&(e[o]={configurable:!0,writable:!0,enumerable:r.enumerable,value:t[o]})}return Object.create(Object.getPrototypeOf(t),e)}function Wt(t,e){return void 0===e&&(e=!1),Ht(t)||At(t)||!Ut(t)||(zt(t)>1&&(t.set=t.add=t.clear=t.delete=Kt),Object.freeze(t),e&&Pt(t,(function(t,e){return Wt(e,!0)}),!0)),t}function Kt(){Mt(2)}function Ht(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Zt(t){var e=$e[t];return e||Mt(18,t),e}function qt(){return he}function Vt(t,e){e&&(Zt("Patches"),t.u=[],t.s=[],t.v=e)}function Jt(t){Xt(t),t.p.forEach(Yt),t.p=null}function Xt(t){t===he&&(he=t.l)}function Gt(t){return he={p:[],l:he,h:t,m:!0,_:0}}function Yt(t){var e=t[ge];0===e.i||1===e.i?e.j():e.g=!0}function Qt(t,e){e._=e.p.length;var i=e.p[0],n=void 0!==t&&t!==i;return e.h.O||Zt("ES5").S(e,t,n),n?(i[ge].P&&(Jt(e),Mt(4)),Ut(t)&&(t=te(e,t),e.l||ie(e,t)),e.u&&Zt("Patches").M(i[ge].t,t,e.u,e.s)):t=te(e,i,[]),Jt(e),e.u&&e.v(e.u,e.s),t!==be?t:void 0}function te(t,e,i){if(Ht(e))return e;var n=e[ge];if(!n)return Pt(e,(function(o,r){return ee(t,n,e,o,r,i)}),!0),e;if(n.A!==t)return e;if(!n.P)return ie(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=4===n.i||5===n.i?n.o=Dt(n.k):n.o,r=o,s=!1;3===n.i&&(r=new Set(o),o.clear(),s=!0),Pt(r,(function(e,r){return ee(t,n,o,e,r,i,s)})),ie(t,o,!1),i&&t.u&&Zt("Patches").N(n,i,t.u,t.s)}return n.o}function ee(t,e,i,n,o,r,s){if(At(o)){var a=te(t,o,r&&e&&3!==e.i&&!It(e.R,n)?r.concat(n):void 0);if(Ft(i,n,a),!At(a))return;t.m=!1}else s&&i.add(o);if(Ut(o)&&!Ht(o)){if(!t.h.D&&t._<1)return;te(t,o),e&&e.A.l||ie(t,o)}}function ie(t,e,i){void 0===i&&(i=!1),!t.l&&t.h.D&&t.m&&Wt(e,i)}function ne(t,e){var i=t[ge];return(i?_t(i):t)[e]}function oe(t,e){if(e in t)for(var i=Object.getPrototypeOf(t);i;){var n=Object.getOwnPropertyDescriptor(i,e);if(n)return n;i=Object.getPrototypeOf(i)}}function re(t){t.P||(t.P=!0,t.l&&re(t.l))}function se(t){t.o||(t.o=Dt(t.t))}function ae(t,e,i){var n=Lt(e)?Zt("MapSet").F(e,i):Bt(e)?Zt("MapSet").T(e,i):t.O?function(t,e){var i=Array.isArray(t),n={i:i?1:0,A:e?e.A:qt(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},o=n,r=Oe;i&&(o=[n],r=Se);var s=Proxy.revocable(o,r),a=s.revoke,l=s.proxy;return n.k=l,n.j=a,l}(e,i):Zt("ES5").J(e,i);return(i?i.A:qt()).p.push(n),n}function le(t){return At(t)||Mt(22,t),function t(e){if(!Ut(e))return e;var i,n=e[ge],o=zt(e);if(n){if(!n.P&&(n.i<4||!Zt("ES5").K(n)))return n.t;n.I=!0,i=ce(e,o),n.I=!1}else i=ce(e,o);return Pt(i,(function(e,o){n&&function(t,e){return 2===zt(t)?t.get(e):t[e]}(n.t,e)===o||Ft(i,e,t(o))})),3===o?new Set(i):i}(t)}function ce(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Dt(t)}var ue,he,fe="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),pe="undefined"!=typeof Map,de="undefined"!=typeof Set,ve="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,be=fe?Symbol.for("immer-nothing"):((ue={})["immer-nothing"]=!0,ue),ye=fe?Symbol.for("immer-draftable"):"__$immer_draftable",ge=fe?Symbol.for("immer-state"):"__$immer_state",me=""+Object.prototype.constructor,xe="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,we=Object.getOwnPropertyDescriptors||function(t){var e={};return xe(t).forEach((function(i){e[i]=Object.getOwnPropertyDescriptor(t,i)})),e},$e={},Oe={get:function(t,e){if(e===ge)return t;var i=_t(t);if(!It(i,e))return function(t,e,i){var n,o=oe(e,i);return o?"value"in o?o.value:null===(n=o.get)||void 0===n?void 0:n.call(t.k):void 0}(t,i,e);var n=i[e];return t.I||!Ut(n)?n:n===ne(t.t,e)?(se(t),t.o[e]=ae(t.A.h,n,t)):n},has:function(t,e){return e in _t(t)},ownKeys:function(t){return Reflect.ownKeys(_t(t))},set:function(t,e,i){var n=oe(_t(t),e);if(null==n?void 0:n.set)return n.set.call(t.k,i),!0;if(!t.P){var o=ne(_t(t),e),r=null==o?void 0:o[ge];if(r&&r.t===i)return t.o[e]=i,t.R[e]=!1,!0;if(Tt(i,o)&&(void 0!==i||It(t.t,e)))return!0;se(t),re(t)}return t.o[e]===i&&(void 0!==i||e in t.o)||Number.isNaN(i)&&Number.isNaN(t.o[e])||(t.o[e]=i,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==ne(t.t,e)||e in t.t?(t.R[e]=!1,se(t),re(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var i=_t(t),n=Reflect.getOwnPropertyDescriptor(i,e);return n?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:n.enumerable,value:i[e]}:n},defineProperty:function(){Mt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Mt(12)}},Se={};Pt(Oe,(function(t,e){Se[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Se.deleteProperty=function(t,e){return Se.set.call(this,t,e,void 0)},Se.set=function(t,e,i){return Oe.set.call(this,t[0],e,i,t[0])};var ke=function(){function t(t){var e=this;this.O=ve,this.D=!0,this.produce=function(t,i,n){if("function"==typeof t&&"function"!=typeof i){var o=i;i=t;var r=e;return function(t){var e=this;void 0===t&&(t=o);for(var n=arguments.length,s=Array(n>1?n-1:0),a=1;a<n;a++)s[a-1]=arguments[a];return r.produce(t,(function(t){var n;return(n=i).call.apply(n,[e,t].concat(s))}))}}var s;if("function"!=typeof i&&Mt(6),void 0!==n&&"function"!=typeof n&&Mt(7),Ut(t)){var a=Gt(e),l=ae(e,t,void 0),c=!0;try{s=i(l),c=!1}finally{c?Jt(a):Xt(a)}return"undefined"!=typeof Promise&&s instanceof Promise?s.then((function(t){return Vt(a,n),Qt(t,a)}),(function(t){throw Jt(a),t})):(Vt(a,n),Qt(s,a))}if(!t||"object"!=typeof t){if(void 0===(s=i(t))&&(s=t),s===be&&(s=void 0),e.D&&Wt(s,!0),n){var u=[],h=[];Zt("Patches").M(t,s,u,h),n(u,h)}return s}Mt(21,t)},this.produceWithPatches=function(t,i){if("function"==typeof t)return function(i){for(var n=arguments.length,o=Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return e.produceWithPatches(i,(function(e){return t.apply(void 0,[e].concat(o))}))};var n,o,r=e.produce(t,i,(function(t,e){n=t,o=e}));return"undefined"!=typeof Promise&&r instanceof Promise?r.then((function(t){return[t,n,o]})):[r,n,o]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){Ut(t)||Mt(8),At(t)&&(t=le(t));var e=Gt(this),i=ae(this,t,void 0);return i[ge].C=!0,Xt(e),i},e.finishDraft=function(t,e){var i=(t&&t[ge]).A;return Vt(i,e),Qt(void 0,i)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!ve&&Mt(20),this.O=t},e.applyPatches=function(t,e){var i;for(i=e.length-1;i>=0;i--){var n=e[i];if(0===n.path.length&&"replace"===n.op){t=n.value;break}}i>-1&&(e=e.slice(i+1));var o=Zt("Patches").$;return At(t)?o(t,e):this.produce(t,(function(t){return o(t,e)}))},t}(),je=new ke,Ee=je.produce;function Ce(t){return Ce="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},Ce(t)}function Ne(t){var e=function(t,e){if("object"!==Ce(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!==Ce(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Ce(e)?e:String(e)}function Re(t,e,i){return(e=Ne(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Me(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function Ae(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Me(Object(i),!0).forEach((function(e){Re(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Me(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function Ue(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. "}je.produceWithPatches.bind(je),je.setAutoFreeze.bind(je),je.setUseProxies.bind(je),je.applyPatches.bind(je),je.createDraft.bind(je),je.finishDraft.bind(je);var Pe="function"==typeof Symbol&&Symbol.observable||"@@observable",ze=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ie={INIT:"@@redux/INIT"+ze(),REPLACE:"@@redux/REPLACE"+ze(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ze()}};function Fe(t,e,i){var n;if("function"==typeof e&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw new Error(Ue(0));if("function"==typeof e&&void 0===i&&(i=e,e=void 0),void 0!==i){if("function"!=typeof i)throw new Error(Ue(1));return i(Fe)(t,e)}if("function"!=typeof t)throw new Error(Ue(2));var o=t,r=e,s=[],a=s,l=!1;function c(){a===s&&(a=s.slice())}function u(){if(l)throw new Error(Ue(3));return r}function h(t){if("function"!=typeof t)throw new Error(Ue(4));if(l)throw new Error(Ue(5));var e=!0;return c(),a.push(t),function(){if(e){if(l)throw new Error(Ue(6));e=!1,c();var i=a.indexOf(t);a.splice(i,1),s=null}}}function f(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(Ue(7));if(void 0===t.type)throw new Error(Ue(8));if(l)throw new Error(Ue(9));try{l=!0,r=o(r,t)}finally{l=!1}for(var e=s=a,i=0;i<e.length;i++){(0,e[i])()}return t}return f({type:Ie.INIT}),(n={dispatch:f,subscribe:h,getState:u,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Ue(10));o=t,f({type:Ie.REPLACE})}})[Pe]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Ue(11));function i(){t.next&&t.next(u())}return i(),{unsubscribe:e(i)}}})[Pe]=function(){return this},t},n}function Te(t){for(var e=Object.keys(t),i={},n=0;n<e.length;n++){var o=e[n];"function"==typeof t[o]&&(i[o]=t[o])}var r,s=Object.keys(i);try{!function(t){Object.keys(t).forEach((function(e){var i=t[e];if(void 0===i(void 0,{type:Ie.INIT}))throw new Error(Ue(12));if(void 0===i(void 0,{type:Ie.PROBE_UNKNOWN_ACTION()}))throw new Error(Ue(13))}))}(i)}catch(t){r=t}return function(t,e){if(void 0===t&&(t={}),r)throw r;for(var n=!1,o={},a=0;a<s.length;a++){var l=s[a],c=i[l],u=t[l],h=c(u,e);if(void 0===h)throw e&&e.type,new Error(Ue(14));o[l]=h,n=n||h!==u}return(n=n||s.length!==Object.keys(t).length)?o:t}}function Le(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function Be(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return function(){var i=t.apply(void 0,arguments),n=function(){throw new Error(Ue(15))},o={getState:i.getState,dispatch:function(){return n.apply(void 0,arguments)}},r=e.map((function(t){return t(o)}));return n=Le.apply(void 0,r)(i.dispatch),Ae(Ae({},i),{},{dispatch:n})}}}function _e(t){return function(e){var i=e.dispatch,n=e.getState;return function(e){return function(o){return"function"==typeof o?o(i,n,t):e(o)}}}}var De=_e();De.withExtraArgument=_e;var We,Ke=De,He=(We=function(t,e){return We=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},We(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}We(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),Ze=function(t,e){var i,n,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,n&&(o=2&r[0]?n.return:r[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,r[1])).done)return o;switch(n=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,n=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=e.call(t,s)}catch(t){r=[6,t],n=0}finally{i=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}},qe=function(t,e){for(var i=0,n=e.length,o=t.length;i<n;i++,o++)t[o]=e[i];return t},Ve=Object.defineProperty,Je=Object.defineProperties,Xe=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,ti=function(t,e,i){return e in t?Ve(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i},ei=function(t,e){for(var i in e||(e={}))Ye.call(e,i)&&ti(t,i,e[i]);if(Ge)for(var n=0,o=Ge(e);n<o.length;n++){i=o[n];Qe.call(e,i)&&ti(t,i,e[i])}return t},ii=function(t,e){return Je(t,Xe(e))},ni="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Le:Le.apply(null,arguments)};var oi=function(t){function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var o=t.apply(this,i)||this;return Object.setPrototypeOf(o,e.prototype),o}return He(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,qe([void 0],t[0].concat(this)))):new(e.bind.apply(e,qe([void 0],t.concat(this))))},e}(Array),ri=function(t){function e(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];var o=t.apply(this,i)||this;return Object.setPrototypeOf(o,e.prototype),o}return He(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,qe([void 0],t[0].concat(this)))):new(e.bind.apply(e,qe([void 0],t.concat(this))))},e}(Array);function si(t){return Ut(t)?Ee(t,(function(){})):t}function ai(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,i=void 0===e||e;t.immutableCheck,t.serializableCheck;var n=new oi;i&&(!function(t){return"boolean"==typeof t}(i)?n.push(Ke.withExtraArgument(i.extraArgument)):n.push(Ke));return n}(t)}}function li(t){var e,i=ai(),n=t||{},o=n.reducer,r=void 0===o?void 0:o,s=n.middleware,a=void 0===s?i():s,l=n.devTools,c=void 0===l||l,u=n.preloadedState,h=void 0===u?void 0:u,f=n.enhancers,p=void 0===f?void 0:f;if("function"==typeof r)e=r;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var i=e;null!==Object.getPrototypeOf(i);)i=Object.getPrototypeOf(i);return e===i}(r))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=Te(r)}var d=a;"function"==typeof d&&(d=d(i));var v=Be.apply(void 0,d),b=Le;c&&(b=ni(ei({trace:!1},"object"==typeof c&&c)));var y=new ri(v),g=y;return Array.isArray(p)?g=qe([v],p):"function"==typeof p&&(g=p(y)),Fe(e,h,b.apply(void 0,g))}function ci(t,e){function i(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var o=e.apply(void 0,i);if(!o)throw new Error("prepareAction did not return an object");return ei(ei({type:t,payload:o.payload},"meta"in o&&{meta:o.meta}),"error"in o&&{error:o.error})}return{type:t,payload:i[0]}}return i.toString=function(){return""+t},i.type=t,i.match=function(e){return e.type===t},i}function ui(t){var e,i={},n=[],o={addCase:function(t,e){var n="string"==typeof t?t:t.type;if(n in i)throw new Error("addCase cannot be called with two reducers for the same action type");return i[n]=e,o},addMatcher:function(t,e){return n.push({matcher:t,reducer:e}),o},addDefaultCase:function(t){return e=t,o}};return t(o),[i,n,e]}function hi(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var i,n="function"==typeof t.initialState?t.initialState:si(t.initialState),o=t.reducers||{},r=Object.keys(o),s={},a={},l={};function c(){var e="function"==typeof t.extraReducers?ui(t.extraReducers):[t.extraReducers],i=e[0],o=void 0===i?{}:i,r=e[1],s=void 0===r?[]:r,l=e[2],c=void 0===l?void 0:l,u=ei(ei({},o),a);return function(t,e,i,n){void 0===i&&(i=[]);var o,r="function"==typeof e?ui(e):[e,i,n],s=r[0],a=r[1],l=r[2];if(function(t){return"function"==typeof t}(t))o=function(){return si(t())};else{var c=si(t);o=function(){return c}}function u(t,e){void 0===t&&(t=o());var i=qe([s[e.type]],a.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===i.filter((function(t){return!!t})).length&&(i=[l]),i.reduce((function(t,i){if(i){var n;if(At(t))return void 0===(n=i(t,e))?t:n;if(Ut(t))return Ee(t,(function(t){return i(t,e)}));if(void 0===(n=i(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}return t}),t)}return u.getInitialState=o,u}(n,(function(t){for(var e in u)t.addCase(e,u[e]);for(var i=0,n=s;i<n.length;i++){var o=n[i];t.addMatcher(o.matcher,o.reducer)}c&&t.addDefaultCase(c)}))}return r.forEach((function(t){var i,n,r=o[t],c=e+"/"+t;"reducer"in r?(i=r.reducer,n=r.prepare):i=r,s[t]=i,a[c]=i,l[t]=n?ci(c,n):ci(c)})),{name:e,reducer:function(t,e){return i||(i=c()),i(t,e)},actions:l,caseReducers:s,getInitialState:function(){return i||(i=c()),i.getInitialState()}}}var fi=["name","message","stack","code"],pi=function(t,e){this.payload=t,this.meta=e},di=function(t,e){this.payload=t,this.meta=e},vi=function(t){if("object"==typeof t&&null!==t){for(var e={},i=0,n=fi;i<n.length;i++){var o=n[i];"string"==typeof t[o]&&(e[o]=t[o])}return e}return{message:String(t)}};function bi(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,i){var n=ci(t+"/fulfilled",(function(t,e,i,n){return{payload:t,meta:ii(ei({},n||{}),{arg:i,requestId:e,requestStatus:"fulfilled"})}})),o=ci(t+"/pending",(function(t,e,i){return{payload:void 0,meta:ii(ei({},i||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),r=ci(t+"/rejected",(function(t,e,n,o,r){return{payload:o,error:(i&&i.serializeError||vi)(t||"Rejected"),meta:ii(ei({},r||{}),{arg:n,requestId:e,rejectedWithValue:!!o,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),s="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(a,l,c){var u,h=(null==i?void 0:i.idGenerator)?i.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",i=t;i--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),f=new s;function p(t){u=t,f.abort()}var d=function(){return s=this,d=null,v=function(){var s,d,v,b,y,g;return Ze(this,(function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),b=null==(s=null==i?void 0:i.condition)?void 0:s.call(i,t,{getState:l,extra:c}),null===(x=b)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,b];case 1:b=m.sent(),m.label=2;case 2:if(!1===b||f.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return y=new Promise((function(t,e){return f.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:u||"Aborted"})}))})),a(o(h,t,null==(d=null==i?void 0:i.getPendingMeta)?void 0:d.call(i,{requestId:h,arg:t},{getState:l,extra:c}))),[4,Promise.race([y,Promise.resolve(e(t,{dispatch:a,getState:l,extra:c,requestId:h,signal:f.signal,abort:p,rejectWithValue:function(t,e){return new pi(t,e)},fulfillWithValue:function(t,e){return new di(t,e)}})).then((function(e){if(e instanceof pi)throw e;return e instanceof di?n(e.payload,h,t,e.meta):n(e,h,t)}))])];case 3:return v=m.sent(),[3,5];case 4:return g=m.sent(),v=g instanceof pi?r(null,h,t,g.payload,g.meta):r(g,h,t),[3,5];case 5:return i&&!i.dispatchConditionRejection&&r.match(v)&&v.meta.condition||a(v),[2,v]}var x}))},new Promise((function(t,e){var i=function(t){try{o(v.next(t))}catch(t){e(t)}},n=function(t){try{o(v.throw(t))}catch(t){e(t)}},o=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(i,n)};o((v=v.apply(s,d)).next())}));var s,d,v}();return Object.assign(d,{abort:p,requestId:h,arg:t,unwrap:function(){return d.then(bi)}})}}),{pending:o,rejected:r,fulfilled:n,typePrefix:t})}t.withTypes=function(){return t}}();var yi,gi,mi,xi="listenerMiddleware";ci(xi+"/add"),ci(xi+"/removeAll"),ci(xi+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var i=o[t];return i?i.enumerable=e:o[t]=i={configurable:!0,enumerable:e,get:function(){var e=this[ge];return Oe.get(e,t)},set:function(e){var i=this[ge];Oe.set(i,t,e)}},i}function e(t){for(var e=t.length-1;e>=0;e--){var o=t[e][ge];if(!o.P)switch(o.i){case 5:n(o)&&re(o);break;case 4:i(o)&&re(o)}}}function i(t){for(var e=t.t,i=t.k,n=xe(i),o=n.length-1;o>=0;o--){var r=n[o];if(r!==ge){var s=e[r];if(void 0===s&&!It(e,r))return!0;var a=i[r],l=a&&a[ge];if(l?l.t!==s:!Tt(a,s))return!0}}var c=!!e[ge];return n.length!==xe(e).length+(c?0:1)}function n(t){var e=t.k;if(e.length!==t.t.length)return!0;var i=Object.getOwnPropertyDescriptor(e,e.length-1);if(i&&!i.get)return!0;for(var n=0;n<e.length;n++)if(!e.hasOwnProperty(n))return!0;return!1}var o={};!function(t,e){$e[t]||($e[t]=e)}("ES5",{J:function(e,i){var n=Array.isArray(e),o=function(e,i){if(e){for(var n=Array(i.length),o=0;o<i.length;o++)Object.defineProperty(n,""+o,t(o,!0));return n}var r=we(i);delete r[ge];for(var s=xe(r),a=0;a<s.length;a++){var l=s[a];r[l]=t(l,e||!!r[l].enumerable)}return Object.create(Object.getPrototypeOf(i),r)}(n,e),r={i:n?5:4,A:i?i.A:qt(),P:!1,I:!1,R:{},l:i,t:e,k:o,o:null,g:!1,C:!1};return Object.defineProperty(o,ge,{value:r,writable:!0}),o},S:function(t,i,o){o?At(i)&&i[ge].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var i=e[ge];if(i){var o=i.t,r=i.k,s=i.R,a=i.i;if(4===a)Pt(r,(function(e){e!==ge&&(void 0!==o[e]||It(o,e)?s[e]||t(r[e]):(s[e]=!0,re(i)))})),Pt(o,(function(t){void 0!==r[t]||It(r,t)||(s[t]=!1,re(i))}));else if(5===a){if(n(i)&&(re(i),s.length=!0),r.length<o.length)for(var l=r.length;l<o.length;l++)s[l]=!1;else for(var c=o.length;c<r.length;c++)s[c]=!0;for(var u=Math.min(r.length,o.length),h=0;h<u;h++)r.hasOwnProperty(h)||(s[h]=!0),void 0===s[h]&&t(r[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?i(t):n(t)}})}();const wi=t=>{const e=null!=t?t:{};return(t,i)=>{var n;const o={hasChanged:(t,e)=>!f(t,e),attribute:!1,...e};s(o)(t,i);const r=t;r.reduxProperties=r.reduxProperties||new Map,r.reduxProperties.set(i,{selector:null!==(n=e.selector)&&void 0!==n?n:t=>t[i],store:e.store})}},$i=Symbol("internalReduxEventsUnsubscribers"),Oi=Symbol("internalStoresUnsubscribers"),Si=Symbol("internalStores");class ki extends Et{constructor(){super(...arguments),this[yi]=new Map,this[gi]=new Map,this[mi]=[]}updated(t){var e;super.updated(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[Si].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Si].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Si].get(t)}addStore(t,e){var i;e=null!==(i=null!=e?e:ji(t)?t.name:void 0)&&void 0!==i?i:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Si].delete(e)}setupStore(t,e){this[Si].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Si].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const i=this.constructor.getPropertyOptions(e);if(!(null==i?void 0:i.attribute)||!this.hasAttribute("string"==typeof(null==i?void 0:i.attribute)?i.attribute:e)){const i=this.getStore(t.store);i&&(this[e]=t.selector(i.getState(),this))}}))}subscribeToStore(t,e){var i;this[Oi].set(t,e.subscribe((()=>this.updateFromStores()))),ji(e)&&e.eventBus&&(null===(i=this.reduxEventListeners)||void 0===i||i.forEach(((t,i)=>{if("function"==typeof this[i]&&(!t.store||e.name===t.store)){const n=t=>this[i](t);e.eventBus.addEventListener(t.eventName,n),this[$i].push((()=>e.eventBus.removeEventListener(t.eventName,n)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){Object.keys(this[Oi]).forEach((t=>this.unsubscribeFromStore(t))),this[$i].forEach((t=>t())),this[$i]=[]}unsubscribeFromStore(t){this[Oi].has(t)&&this[Oi].get(t)(),this[Oi].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){this.unsubscribeFromStores(),super.disconnectedCallback()}}function ji(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}yi=Oi,gi=Si,mi=$i;class Ei{static get(t){window.ftReduxStores||(window.ftReduxStores={});const e="string"==typeof t?t:t.name,i="string"==typeof t?void 0:t,n=window.ftReduxStores[e];if(ji(n))return n;if(null==i)return;const o=hi(i),r=li({reducer:(t,e)=>"CLEAR_FT_REDUX_STORE"===e.type?o.getInitialState():o.reducer(t,e)});return window.ftReduxStores[i.name]=new Ei(o,r)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,i)=>{const n=t[e];if(n)return(...t)=>{const e=n(...t);return this.reduxStore.dispatch(e),e}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}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 Ci,Ni,Ri;const Mi=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ri=null===(Ni=null===(Ci=window.safari)||void 0===Ci?void 0:Ci.pushNotification)||void 0===Ni?void 0:Ni.toString())&&void 0!==Ri?Ri:""),Ai=w`
97
+ `,Ui=w`
98
+ `,Pi=Ei.get({name:"ft-app-info",reducers:{setBaseUrl:(t,e)=>{t.baseUrl=e.payload},setApiIntegrationIdentifier:(t,e)=>{t.apiIntegrationIdentifier=e.payload},setUiLocale:(t,e)=>{t.uiLocale=e.payload},setAvailableUiLocales:(t,e)=>{t.availableUiLocales=e.payload},setEditorMode:(t,e)=>{t.editorMode=e.payload},setNoCustom:(t,e)=>{t.noCustom=e.payload},setNoCustomComponent:(t,e)=>{t.noCustomComponent=e.payload},setSession:(t,e)=>{t.session=e.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class zi{static build(t){const{baseUrl:e,apiIntegrationIdentifier:i}=Pi.getState(),n=null!=t?t:i;if(e&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,n,!0)}static get(t){var e;return null!=t?zi.build(t):null!==(e=zi.API)&&void 0!==e?e:zi.API=zi.build()}static await(t){return new Promise((e=>{let i=zi.get(t);if(i)e(i);else{const n=Pi.subscribe((()=>{i=zi.get(t),i&&(n(),e(i))}))}}))}}var Ii;const Fi=Symbol("clearAfterUnitTest");class Ti{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new n,this.listeners={},this.currentUiLocale="",this[Ii]=()=>{this.defaultMessages={},this.cache=new n,this.listeners={}},this.currentUiLocale=Pi.getState().uiLocale,Pi.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Pi.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var i;if(t=t.toLowerCase(),Object.keys(e).length>0){const n={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};f(this.defaultMessages[t],n)||(this.defaultMessages[t]=n,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var n,o,r;t=t.toLowerCase(),this.fetchContext(t);const s=null!==(o=null===(n=this.cache.getNow(t))||void 0===n?void 0:n.messages)&&void 0!==o?o:{};return new Rt(null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},s).resolve(e,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var i;return t=t.toLowerCase(),this.listeners[t]=null!==(i=this.listeners[t])&&void 0!==i?i:new Set,this.listeners[t].add(e),()=>{var i;return null===(i=this.listeners[t])||void 0===i?void 0:i.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}Ii=Fi,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Ti((async(t,e)=>(await zi.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Ti((async(t,e)=>(await zi.await()).getCustomMessageContext(t,e))));const Li=window.FluidTopicsI18nService,Bi=window.FluidTopicsCustomI18nService;var _i=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Di extends Et{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>zi.get(),this.cache=new n,this.cleanSessionDebouncer=new o}render(){return Q`
99
99
  <slot></slot>
100
- `}updated(t){super.updated(t),t.has("baseUrl")&&Ai.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Ai.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Ai.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Ai.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Ai.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Ai.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Ai.actions.setSession(this.session),t.has("availableUiLocales")&&Ai.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Fi.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const e=await t.getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),e.idleTimeoutInMillis),e}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Bi.elementDefinitions={},Bi.styles=Mi,Li([s()],Bi.prototype,"baseUrl",void 0),Li([s()],Bi.prototype,"apiIntegrationIdentifier",void 0),Li([s()],Bi.prototype,"uiLocale",void 0),Li([d([])],Bi.prototype,"availableUiLocales",void 0),Li([s({type:Boolean})],Bi.prototype,"editorMode",void 0),Li([s({type:Boolean})],Bi.prototype,"noCustom",void 0),Li([s({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Bi.prototype,"noCustomComponent",void 0),Li([s({type:Boolean})],Bi.prototype,"withManualResources",void 0),Li([d([])],Bi.prototype,"messageContexts",void 0),Li([d(void 0)],Bi.prototype,"session",void 0),Li([s({type:Object})],Bi.prototype,"apiProvider",void 0),p("ft-app-context")(Bi);var _i=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Di extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Wi=Symbol("registerInterval");class Ki extends(function(t){var e;class i extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Wi]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Wi]):this.dispatchEvent(new Di)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Wi,_i([a()],i.prototype,"stateManager",void 0),i}(Oi)){}var Hi=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Zi extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const qi=Symbol("registerInterval");class Vi extends(function(t){var e;class i extends t{constructor(){super(...arguments),this[e]=0}connectedCallback(){super.connectedCallback(),this[qi]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[qi]):this.dispatchEvent(new Zi)}disconnectedCallback(){super.disconnectedCallback(),this.result=void 0}}return e=qi,Hi([s({attribute:!1})],i.prototype,"result",void 0),i}(Ki)){}const Ji=w`
101
- `;var Xi=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const Gi=Symbol("i18nProperties"),Yi=Symbol("i18nUnsubs");function Qi(t){var e;class i extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Ti:Fi}i18n(t,e,...i){var n;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...i);const o=null!==(n=t.args)&&void 0!==n?n:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...o)}onI18nUpdate(t){var e;null===(e=this[Gi])||void 0===e||e.forEach(((e,i)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[i]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updated(t){var e;super.updated(t),null===(e=this[Gi])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Gi]&&new Set([...this[Gi].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Yi].has(t)||this[Yi].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages(t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[Yi].forEach((t=>t())),this[Yi].clear()}}return e=Yi,Xi([s({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}class tn extends(Qi(Et)){}class en extends(Qi(Oi)){}var nn=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class on extends en{constructor(){super(),this.editorMode=!1,this.addStore(Ai)}render(){return this.key&&this.context?Q`
100
+ `}updated(t){super.updated(t),t.has("baseUrl")&&Pi.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Pi.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Pi.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Pi.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Pi.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Pi.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Pi.actions.setSession(this.session),t.has("availableUiLocales")&&Pi.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Li.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const e=await t.getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),e.idleTimeoutInMillis),e}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Di.elementDefinitions={},Di.styles=Ui,_i([s()],Di.prototype,"baseUrl",void 0),_i([s()],Di.prototype,"apiIntegrationIdentifier",void 0),_i([s()],Di.prototype,"uiLocale",void 0),_i([d([])],Di.prototype,"availableUiLocales",void 0),_i([s({type:Boolean})],Di.prototype,"editorMode",void 0),_i([s({type:Boolean})],Di.prototype,"noCustom",void 0),_i([s({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Di.prototype,"noCustomComponent",void 0),_i([s({type:Boolean})],Di.prototype,"withManualResources",void 0),_i([d([])],Di.prototype,"messageContexts",void 0),_i([d(void 0)],Di.prototype,"session",void 0),_i([s({type:Object})],Di.prototype,"apiProvider",void 0),p("ft-app-context")(Di);var Wi=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Ki extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Hi=Symbol("registerInterval");class Zi extends(function(t){var e;class i extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Hi]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Hi]):this.dispatchEvent(new Ki)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Hi,Wi([a()],i.prototype,"stateManager",void 0),i}(ki)){}var qi=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Vi extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const Ji=Symbol("registerInterval");class Xi extends(function(t){var e;class i extends t{constructor(){super(...arguments),this[e]=0}connectedCallback(){super.connectedCallback(),this[Ji]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[Ji]):this.dispatchEvent(new Vi)}disconnectedCallback(){super.disconnectedCallback(),this.result=void 0}}return e=Ji,qi([s({attribute:!1})],i.prototype,"result",void 0),i}(Zi)){}const Gi=w`
101
+ `;var Yi=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const Qi=Symbol("i18nProperties"),tn=Symbol("i18nUnsubs");function en(t){var e;class i extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Bi:Li}i18n(t,e,...i){var n;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...i);const o=null!==(n=t.args)&&void 0!==n?n:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...o)}onI18nUpdate(t){var e;null===(e=this[Qi])||void 0===e||e.forEach(((e,i)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[i]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updated(t){var e;super.updated(t),null===(e=this[Qi])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Qi]&&new Set([...this[Qi].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[tn].has(t)||this[tn].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages(t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[tn].forEach((t=>t())),this[tn].clear()}}return e=tn,Yi([s({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}class nn extends(en(Et)){}class on extends(en(ki)){}var rn=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class sn extends on{constructor(){super(),this.editorMode=!1,this.addStore(Pi)}render(){return this.key&&this.context?Q`
102
102
  <span class="ft-i18n">
103
103
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
104
104
  </span>
105
- `:this.editorMode?"Select a context and a label key.":et}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}on.elementDefinitions={},on.styles=Ji,nn([xi()],on.prototype,"editorMode",void 0),nn([s()],on.prototype,"context",void 0),nn([s()],on.prototype,"key",void 0),nn([d([])],on.prototype,"args",void 0),nn([s()],on.prototype,"defaultMessage",void 0);class rn{static build(t){return new rn(t)}static fromGwt(t){return new rn(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const i=e;return t=>({context:this.name,key:i,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>Fi.resolveMessage(this.name,e,...t)})}}p("ft-i18n")(on);const sn=rn.build("designedSearchResultMetadata"),an=Symbol.for(""),ln=t=>{if((null==t?void 0:t.r)===an)return null==t?void 0:t._$litStatic$},cn=t=>({_$litStatic$:t,r:an}),un=new Map,hn=(t=>(e,...i)=>{const n=i.length;let o,r;const s=[],a=[];let l,c=0,u=!1;for(;c<n;){for(l=e[c];c<n&&void 0!==(r=i[c],o=ln(r));)l+=o+e[++c],u=!0;c!==n&&a.push(r),s.push(l),c++}if(c===n&&s.push(e[n]),u){const t=s.join("$$lit$$");void 0===(e=un.get(t))&&(s.raw=s,un.set(t,e=s)),i=a}return t(e,...i)})(Q);
105
+ `:this.editorMode?"Select a context and a label key.":et}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}sn.elementDefinitions={},sn.styles=Gi,rn([wi()],sn.prototype,"editorMode",void 0),rn([s()],sn.prototype,"context",void 0),rn([s()],sn.prototype,"key",void 0),rn([d([])],sn.prototype,"args",void 0),rn([s()],sn.prototype,"defaultMessage",void 0);class an{static build(t){return new an(t)}static fromGwt(t){return new an(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const i=e;return t=>({context:this.name,key:i,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>Li.resolveMessage(this.name,e,...t)})}}p("ft-i18n")(sn);const ln=an.build("designedSearchResultMetadata"),cn=Symbol.for(""),un=t=>{if((null==t?void 0:t.r)===cn)return null==t?void 0:t._$litStatic$},hn=t=>({_$litStatic$:t,r:cn}),fn=new Map,pn=(t=>(e,...i)=>{const n=i.length;let o,r;const s=[],a=[];let l,c=0,u=!1;for(;c<n;){for(l=e[c];c<n&&void 0!==(r=i[c],o=un(r));)l+=o+e[++c],u=!0;c!==n&&a.push(r),s.push(l),c++}if(c===n&&s.push(e[n]),u){const t=s.join("$$lit$$");void 0===(e=fn.get(t))&&(s.raw=s,fn.set(t,e=s)),i=a}return t(e,...i)})(Q);
106
106
  /**
107
107
  * @license
108
108
  * Copyright 2020 Google LLC
109
109
  * SPDX-License-Identifier: BSD-3-Clause
110
- */var fn;!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"}(fn||(fn={}));const pn=gt.extend("--ft-typography-font-family",xt.titleFont),dn=gt.extend("--ft-typography-font-family",xt.contentFont),vn={fontFamily:dn,fontSize:gt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:gt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:gt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:gt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:gt.create("--ft-typography-text-transform","UNKNOWN","inherit")},bn=gt.extend("--ft-typography-title-font-family",pn),yn=gt.extend("--ft-typography-title-font-size",vn.fontSize,"20px"),gn=gt.extend("--ft-typography-title-font-weight",vn.fontWeight,"normal"),mn=gt.extend("--ft-typography-title-letter-spacing",vn.letterSpacing,"0.15px"),xn=gt.extend("--ft-typography-title-line-height",vn.lineHeight,"1.2"),wn=gt.extend("--ft-typography-title-text-transform",vn.textTransform,"inherit"),$n=gt.extend("--ft-typography-title-dense-font-family",pn),On=gt.extend("--ft-typography-title-dense-font-size",vn.fontSize,"14px"),Sn=gt.extend("--ft-typography-title-dense-font-weight",vn.fontWeight,"normal"),kn=gt.extend("--ft-typography-title-dense-letter-spacing",vn.letterSpacing,"0.105px"),jn=gt.extend("--ft-typography-title-dense-line-height",vn.lineHeight,"1.7"),En=gt.extend("--ft-typography-title-dense-text-transform",vn.textTransform,"inherit"),Cn=gt.extend("--ft-typography-subtitle1-font-family",dn),Nn=gt.extend("--ft-typography-subtitle1-font-size",vn.fontSize,"16px"),Rn=gt.extend("--ft-typography-subtitle1-font-weight",vn.fontWeight,"600"),Mn=gt.extend("--ft-typography-subtitle1-letter-spacing",vn.letterSpacing,"0.144px"),An=gt.extend("--ft-typography-subtitle1-line-height",vn.lineHeight,"1.5"),Un=gt.extend("--ft-typography-subtitle1-text-transform",vn.textTransform,"inherit"),Pn=gt.extend("--ft-typography-subtitle2-font-family",dn),zn=gt.extend("--ft-typography-subtitle2-font-size",vn.fontSize,"14px"),In=gt.extend("--ft-typography-subtitle2-font-weight",vn.fontWeight,"normal"),Fn=gt.extend("--ft-typography-subtitle2-letter-spacing",vn.letterSpacing,"0.098px"),Tn=gt.extend("--ft-typography-subtitle2-line-height",vn.lineHeight,"1.7"),Ln=gt.extend("--ft-typography-subtitle2-text-transform",vn.textTransform,"inherit"),Bn=gt.extend("--ft-typography-body1-font-family",dn),_n=gt.extend("--ft-typography-body1-font-size",vn.fontSize,"16px"),Dn=gt.extend("--ft-typography-body1-font-weight",vn.fontWeight,"normal"),Wn=gt.extend("--ft-typography-body1-letter-spacing",vn.letterSpacing,"0.496px"),Kn=gt.extend("--ft-typography-body1-line-height",vn.lineHeight,"1.5"),Hn=gt.extend("--ft-typography-body1-text-transform",vn.textTransform,"inherit"),Zn={fontFamily:gt.extend("--ft-typography-body2-font-family",dn),fontSize:gt.extend("--ft-typography-body2-font-size",vn.fontSize,"14px"),fontWeight:gt.extend("--ft-typography-body2-font-weight",vn.fontWeight,"normal"),letterSpacing:gt.extend("--ft-typography-body2-letter-spacing",vn.letterSpacing,"0.252px"),lineHeight:gt.extend("--ft-typography-body2-line-height",vn.lineHeight,"1.4"),textTransform:gt.extend("--ft-typography-body2-text-transform",vn.textTransform,"inherit")},qn=gt.extend("--ft-typography-caption-font-family",dn),Vn=gt.extend("--ft-typography-caption-font-size",vn.fontSize,"12px"),Jn=gt.extend("--ft-typography-caption-font-weight",vn.fontWeight,"normal"),Xn=gt.extend("--ft-typography-caption-letter-spacing",vn.letterSpacing,"0.396px"),Gn=gt.extend("--ft-typography-caption-line-height",vn.lineHeight,"1.33"),Yn=gt.extend("--ft-typography-caption-text-transform",vn.textTransform,"inherit"),Qn=gt.extend("--ft-typography-breadcrumb-font-family",dn),to=gt.extend("--ft-typography-breadcrumb-font-size",vn.fontSize,"10px"),eo=gt.extend("--ft-typography-breadcrumb-font-weight",vn.fontWeight,"normal"),io=gt.extend("--ft-typography-breadcrumb-letter-spacing",vn.letterSpacing,"0.33px"),no=gt.extend("--ft-typography-breadcrumb-line-height",vn.lineHeight,"1.6"),oo=gt.extend("--ft-typography-breadcrumb-text-transform",vn.textTransform,"inherit"),ro=gt.extend("--ft-typography-overline-font-family",dn),so=gt.extend("--ft-typography-overline-font-size",vn.fontSize,"10px"),ao=gt.extend("--ft-typography-overline-font-weight",vn.fontWeight,"normal"),lo=gt.extend("--ft-typography-overline-letter-spacing",vn.letterSpacing,"1.5px"),co=gt.extend("--ft-typography-overline-line-height",vn.lineHeight,"1.6"),uo=gt.extend("--ft-typography-overline-text-transform",vn.textTransform,"uppercase"),ho={fontFamily:gt.extend("--ft-typography-button-font-family",dn),fontSize:gt.extend("--ft-typography-button-font-size",vn.fontSize,"14px"),fontWeight:gt.extend("--ft-typography-button-font-weight",vn.fontWeight,"600"),letterSpacing:gt.extend("--ft-typography-button-letter-spacing",vn.letterSpacing,"1.246px"),lineHeight:gt.extend("--ft-typography-button-line-height",vn.lineHeight,"1.15"),textTransform:gt.extend("--ft-typography-button-text-transform",vn.textTransform,"uppercase")},fo=w`
110
+ */var dn;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(dn||(dn={}));const vn=gt.extend("--ft-typography-font-family",xt.titleFont),bn=gt.extend("--ft-typography-font-family",xt.contentFont),yn={fontFamily:bn,fontSize:gt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:gt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:gt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:gt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:gt.create("--ft-typography-text-transform","UNKNOWN","inherit")},gn=gt.extend("--ft-typography-title-font-family",vn),mn=gt.extend("--ft-typography-title-font-size",yn.fontSize,"20px"),xn=gt.extend("--ft-typography-title-font-weight",yn.fontWeight,"normal"),wn=gt.extend("--ft-typography-title-letter-spacing",yn.letterSpacing,"0.15px"),$n=gt.extend("--ft-typography-title-line-height",yn.lineHeight,"1.2"),On=gt.extend("--ft-typography-title-text-transform",yn.textTransform,"inherit"),Sn=gt.extend("--ft-typography-title-dense-font-family",vn),kn=gt.extend("--ft-typography-title-dense-font-size",yn.fontSize,"14px"),jn=gt.extend("--ft-typography-title-dense-font-weight",yn.fontWeight,"normal"),En=gt.extend("--ft-typography-title-dense-letter-spacing",yn.letterSpacing,"0.105px"),Cn=gt.extend("--ft-typography-title-dense-line-height",yn.lineHeight,"1.7"),Nn=gt.extend("--ft-typography-title-dense-text-transform",yn.textTransform,"inherit"),Rn=gt.extend("--ft-typography-subtitle1-font-family",bn),Mn=gt.extend("--ft-typography-subtitle1-font-size",yn.fontSize,"16px"),An=gt.extend("--ft-typography-subtitle1-font-weight",yn.fontWeight,"600"),Un=gt.extend("--ft-typography-subtitle1-letter-spacing",yn.letterSpacing,"0.144px"),Pn=gt.extend("--ft-typography-subtitle1-line-height",yn.lineHeight,"1.5"),zn=gt.extend("--ft-typography-subtitle1-text-transform",yn.textTransform,"inherit"),In=gt.extend("--ft-typography-subtitle2-font-family",bn),Fn=gt.extend("--ft-typography-subtitle2-font-size",yn.fontSize,"14px"),Tn=gt.extend("--ft-typography-subtitle2-font-weight",yn.fontWeight,"normal"),Ln=gt.extend("--ft-typography-subtitle2-letter-spacing",yn.letterSpacing,"0.098px"),Bn=gt.extend("--ft-typography-subtitle2-line-height",yn.lineHeight,"1.7"),_n=gt.extend("--ft-typography-subtitle2-text-transform",yn.textTransform,"inherit"),Dn=gt.extend("--ft-typography-body1-font-family",bn),Wn=gt.extend("--ft-typography-body1-font-size",yn.fontSize,"16px"),Kn=gt.extend("--ft-typography-body1-font-weight",yn.fontWeight,"normal"),Hn=gt.extend("--ft-typography-body1-letter-spacing",yn.letterSpacing,"0.496px"),Zn=gt.extend("--ft-typography-body1-line-height",yn.lineHeight,"1.5"),qn=gt.extend("--ft-typography-body1-text-transform",yn.textTransform,"inherit"),Vn={fontFamily:gt.extend("--ft-typography-body2-font-family",bn),fontSize:gt.extend("--ft-typography-body2-font-size",yn.fontSize,"14px"),fontWeight:gt.extend("--ft-typography-body2-font-weight",yn.fontWeight,"normal"),letterSpacing:gt.extend("--ft-typography-body2-letter-spacing",yn.letterSpacing,"0.252px"),lineHeight:gt.extend("--ft-typography-body2-line-height",yn.lineHeight,"1.4"),textTransform:gt.extend("--ft-typography-body2-text-transform",yn.textTransform,"inherit")},Jn=gt.extend("--ft-typography-caption-font-family",bn),Xn=gt.extend("--ft-typography-caption-font-size",yn.fontSize,"12px"),Gn=gt.extend("--ft-typography-caption-font-weight",yn.fontWeight,"normal"),Yn=gt.extend("--ft-typography-caption-letter-spacing",yn.letterSpacing,"0.396px"),Qn=gt.extend("--ft-typography-caption-line-height",yn.lineHeight,"1.33"),to=gt.extend("--ft-typography-caption-text-transform",yn.textTransform,"inherit"),eo=gt.extend("--ft-typography-breadcrumb-font-family",bn),io=gt.extend("--ft-typography-breadcrumb-font-size",yn.fontSize,"10px"),no=gt.extend("--ft-typography-breadcrumb-font-weight",yn.fontWeight,"normal"),oo=gt.extend("--ft-typography-breadcrumb-letter-spacing",yn.letterSpacing,"0.33px"),ro=gt.extend("--ft-typography-breadcrumb-line-height",yn.lineHeight,"1.6"),so=gt.extend("--ft-typography-breadcrumb-text-transform",yn.textTransform,"inherit"),ao=gt.extend("--ft-typography-overline-font-family",bn),lo=gt.extend("--ft-typography-overline-font-size",yn.fontSize,"10px"),co=gt.extend("--ft-typography-overline-font-weight",yn.fontWeight,"normal"),uo=gt.extend("--ft-typography-overline-letter-spacing",yn.letterSpacing,"1.5px"),ho=gt.extend("--ft-typography-overline-line-height",yn.lineHeight,"1.6"),fo=gt.extend("--ft-typography-overline-text-transform",yn.textTransform,"uppercase"),po={fontFamily:gt.extend("--ft-typography-button-font-family",bn),fontSize:gt.extend("--ft-typography-button-font-size",yn.fontSize,"14px"),fontWeight:gt.extend("--ft-typography-button-font-weight",yn.fontWeight,"600"),letterSpacing:gt.extend("--ft-typography-button-letter-spacing",yn.letterSpacing,"1.246px"),lineHeight:gt.extend("--ft-typography-button-line-height",yn.lineHeight,"1.15"),textTransform:gt.extend("--ft-typography-button-text-transform",yn.textTransform,"uppercase")},vo=w`
111
111
  .ft-typography--title {
112
- font-family: ${bn};
113
- font-size: ${yn};
114
- font-weight: ${gn};
115
- letter-spacing: ${mn};
116
- line-height: ${xn};
117
- text-transform: ${wn};
118
- }
119
- `,po=w`
120
- .ft-typography--title-dense {
121
- font-family: ${$n};
122
- font-size: ${On};
123
- font-weight: ${Sn};
124
- letter-spacing: ${kn};
125
- line-height: ${jn};
126
- text-transform: ${En};
127
- }
128
- `,vo=w`
129
- .ft-typography--subtitle1 {
130
- font-family: ${Cn};
131
- font-size: ${Nn};
132
- font-weight: ${Rn};
133
- letter-spacing: ${Mn};
134
- line-height: ${An};
135
- text-transform: ${Un};
112
+ font-family: ${gn};
113
+ font-size: ${mn};
114
+ font-weight: ${xn};
115
+ letter-spacing: ${wn};
116
+ line-height: ${$n};
117
+ text-transform: ${On};
136
118
  }
137
119
  `,bo=w`
138
- .ft-typography--subtitle2 {
139
- font-family: ${Pn};
140
- font-size: ${zn};
141
- font-weight: ${In};
142
- letter-spacing: ${Fn};
143
- line-height: ${Tn};
144
- text-transform: ${Ln};
120
+ .ft-typography--title-dense {
121
+ font-family: ${Sn};
122
+ font-size: ${kn};
123
+ font-weight: ${jn};
124
+ letter-spacing: ${En};
125
+ line-height: ${Cn};
126
+ text-transform: ${Nn};
145
127
  }
146
-
147
128
  `,yo=w`
148
- .ft-typography--body1 {
149
- font-family: ${Bn};
150
- font-size: ${_n};
151
- font-weight: ${Dn};
152
- letter-spacing: ${Wn};
153
- line-height: ${Kn};
154
- text-transform: ${Hn};
129
+ .ft-typography--subtitle1 {
130
+ font-family: ${Rn};
131
+ font-size: ${Mn};
132
+ font-weight: ${An};
133
+ letter-spacing: ${Un};
134
+ line-height: ${Pn};
135
+ text-transform: ${zn};
155
136
  }
156
137
  `,go=w`
157
- .ft-typography--body2 {
158
- font-family: ${Zn.fontFamily};
159
- font-size: ${Zn.fontSize};
160
- font-weight: ${Zn.fontWeight};
161
- letter-spacing: ${Zn.letterSpacing};
162
- line-height: ${Zn.lineHeight};
163
- text-transform: ${Zn.textTransform};
138
+ .ft-typography--subtitle2 {
139
+ font-family: ${In};
140
+ font-size: ${Fn};
141
+ font-weight: ${Tn};
142
+ letter-spacing: ${Ln};
143
+ line-height: ${Bn};
144
+ text-transform: ${_n};
164
145
  }
146
+
165
147
  `,mo=w`
166
- .ft-typography--caption {
167
- font-family: ${qn};
168
- font-size: ${Vn};
169
- font-weight: ${Jn};
170
- letter-spacing: ${Xn};
171
- line-height: ${Gn};
172
- text-transform: ${Yn};
148
+ .ft-typography--body1 {
149
+ font-family: ${Dn};
150
+ font-size: ${Wn};
151
+ font-weight: ${Kn};
152
+ letter-spacing: ${Hn};
153
+ line-height: ${Zn};
154
+ text-transform: ${qn};
173
155
  }
174
156
  `,xo=w`
175
- .ft-typography--breadcrumb {
176
- font-family: ${Qn};
177
- font-size: ${to};
178
- font-weight: ${eo};
179
- letter-spacing: ${io};
180
- line-height: ${no};
181
- text-transform: ${oo};
157
+ .ft-typography--body2 {
158
+ font-family: ${Vn.fontFamily};
159
+ font-size: ${Vn.fontSize};
160
+ font-weight: ${Vn.fontWeight};
161
+ letter-spacing: ${Vn.letterSpacing};
162
+ line-height: ${Vn.lineHeight};
163
+ text-transform: ${Vn.textTransform};
182
164
  }
183
165
  `,wo=w`
184
- .ft-typography--overline {
185
- font-family: ${ro};
186
- font-size: ${so};
187
- font-weight: ${ao};
188
- letter-spacing: ${lo};
189
- line-height: ${co};
190
- text-transform: ${uo};
166
+ .ft-typography--caption {
167
+ font-family: ${Jn};
168
+ font-size: ${Xn};
169
+ font-weight: ${Gn};
170
+ letter-spacing: ${Yn};
171
+ line-height: ${Qn};
172
+ text-transform: ${to};
191
173
  }
192
174
  `,$o=w`
193
- .ft-typography--button {
194
- font-family: ${ho.fontFamily};
195
- font-size: ${ho.fontSize};
196
- font-weight: ${ho.fontWeight};
197
- letter-spacing: ${ho.letterSpacing};
198
- line-height: ${ho.lineHeight};
199
- text-transform: ${ho.textTransform};
175
+ .ft-typography--breadcrumb {
176
+ font-family: ${eo};
177
+ font-size: ${io};
178
+ font-weight: ${no};
179
+ letter-spacing: ${oo};
180
+ line-height: ${ro};
181
+ text-transform: ${so};
200
182
  }
201
183
  `,Oo=w`
184
+ .ft-typography--overline {
185
+ font-family: ${ao};
186
+ font-size: ${lo};
187
+ font-weight: ${co};
188
+ letter-spacing: ${uo};
189
+ line-height: ${ho};
190
+ text-transform: ${fo};
191
+ }
192
+ `,So=w`
193
+ .ft-typography--button {
194
+ font-family: ${po.fontFamily};
195
+ font-size: ${po.fontSize};
196
+ font-weight: ${po.fontWeight};
197
+ letter-spacing: ${po.letterSpacing};
198
+ line-height: ${po.lineHeight};
199
+ text-transform: ${po.textTransform};
200
+ }
201
+ `,ko=w`
202
202
  .ft-typography {
203
203
  vertical-align: inherit;
204
204
  }
205
- `;var So=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class ko extends Et{constructor(){super(...arguments),this.variant=fn.body1}render(){return this.element?hn`
206
- <${cn(this.element)}
205
+ `;var jo=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Eo extends Et{constructor(){super(...arguments),this.variant=dn.body1}render(){return this.element?pn`
206
+ <${hn(this.element)}
207
207
  class="ft-typography ft-typography--${this.variant}">
208
208
  <slot></slot>
209
- </${cn(this.element)}>
210
- `:hn`
209
+ </${hn(this.element)}>
210
+ `:pn`
211
211
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
212
- `}}ko.styles=[fo,po,vo,bo,yo,go,mo,xo,wo,$o,Oo],So([s()],ko.prototype,"element",void 0),So([s()],ko.prototype,"variant",void 0),p("ft-typography")(ko);const jo=gt.create("--ft-tooltip-distance","SIZE","4px"),Eo=gt.create("--ft-tooltip-color","COLOR","#FFFFFF"),Co=gt.create("--ft-tooltip-background-color","COLOR","#666666"),No=gt.create("--ft-tooltip-z-index","NUMBER","1"),Ro=gt.external(xt.borderRadiusS,"Design system"),Mo=gt.create("--ft-tooltip-max-width","SIZE","150px"),Ao=w`
212
+ `}}Eo.styles=[vo,bo,yo,go,mo,xo,wo,$o,Oo,So,ko],jo([s()],Eo.prototype,"element",void 0),jo([s()],Eo.prototype,"variant",void 0),p("ft-typography")(Eo);const Co=gt.create("--ft-tooltip-distance","SIZE","4px"),No=gt.create("--ft-tooltip-color","COLOR","#FFFFFF"),Ro=gt.create("--ft-tooltip-background-color","COLOR","#666666"),Mo=gt.create("--ft-tooltip-z-index","NUMBER","1"),Ao=gt.external(xt.borderRadiusS,"Design system"),Uo=gt.create("--ft-tooltip-max-width","SIZE","150px"),Po=w`
213
213
  .ft-tooltip--container {
214
214
  display: block;
215
215
  position: relative;
@@ -225,23 +225,23 @@ var dt,vt;let bt=class extends A{constructor(){super(...arguments),this.renderOp
225
225
  box-sizing: border-box;
226
226
  overflow: hidden;
227
227
  width: max-content;
228
- max-width: ${Mo};
228
+ max-width: ${Uo};
229
229
  text-align: center;
230
- padding: ${jo};
231
- z-index: ${No};
230
+ padding: ${Co};
231
+ z-index: ${Mo};
232
232
  }
233
233
 
234
234
  .ft-tooltip--content {
235
235
  padding: 4px 8px;
236
- border-radius: ${Ro};
237
- background-color: ${Co};
238
- color: ${Eo};
236
+ border-radius: ${Ao};
237
+ background-color: ${Ro};
238
+ color: ${No};
239
239
  top: -500px;
240
240
  left: -500px;
241
241
  position: relative;
242
242
  word-break: break-word;
243
243
  }
244
- `;var Uo=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Po extends Et{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Q`
244
+ `;var zo=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Io extends Et{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Q`
245
245
  <div part="container"
246
246
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
247
247
  @mouseenter=${this.onHover}
@@ -259,24 +259,24 @@ var dt,vt;let bt=class extends A{constructor(){super(...arguments),this.renderOp
259
259
  </div>
260
260
  </div>
261
261
  </div>
262
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,n=(e.width-this.tooltip.clientWidth)/2;let o=0,r=0;switch(this.validPosition){case"top":r=-this.tooltip.clientHeight,o=n;break;case"bottom":r=e.height,o=n;break;case"left":r=i,o=-this.tooltip.clientWidth;break;case"right":r=i,o=e.width}e.left+o+this.tooltip.clientWidth>window.innerWidth&&(o=window.innerWidth-this.tooltip.clientWidth-e.left),e.left+o<0&&(o=4-e.left);const s=this.tooltip.style;s.left=o+"px",s.top=r+"px",s.maxWidth=`max(${e.width}px, ${Mo})`}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())}}Po.elementDefinitions={"ft-typography":ko},Po.styles=Ao,Uo([s()],Po.prototype,"text",void 0),Uo([s({type:Boolean})],Po.prototype,"manual",void 0),Uo([s({type:Boolean})],Po.prototype,"inline",void 0),Uo([s({type:Number})],Po.prototype,"delay",void 0),Uo([s()],Po.prototype,"position",void 0),Uo([
262
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,n=(e.width-this.tooltip.clientWidth)/2;let o=0,r=0;switch(this.validPosition){case"top":r=-this.tooltip.clientHeight,o=n;break;case"bottom":r=e.height,o=n;break;case"left":r=i,o=-this.tooltip.clientWidth;break;case"right":r=i,o=e.width}e.left+o+this.tooltip.clientWidth>window.innerWidth&&(o=window.innerWidth-this.tooltip.clientWidth-e.left),e.left+o<0&&(o=4-e.left);const s=this.tooltip.style;s.left=o+"px",s.top=r+"px",s.maxWidth=`max(${e.width}px, ${Uo})`}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())}}Io.elementDefinitions={"ft-typography":Eo},Io.styles=Po,zo([s()],Io.prototype,"text",void 0),zo([s({type:Boolean})],Io.prototype,"manual",void 0),zo([s({type:Boolean})],Io.prototype,"inline",void 0),zo([s({type:Number})],Io.prototype,"delay",void 0),zo([s()],Io.prototype,"position",void 0),zo([
263
263
  /**
264
264
  * @license
265
265
  * Copyright 2017 Google LLC
266
266
  * SPDX-License-Identifier: BSD-3-Clause
267
267
  */
268
- function(t,e,i){let n,o=t;return"object"==typeof t?(o=t.slot,n=t):n={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return l({descriptor:n=>({get(){var n;const o="slot"+(e?`[name=${e}]`:":not([name])"),r=null===(n=this.renderRoot)||void 0===n?void 0:n.querySelector(o),s=null!=r?h(r,t):[];return i?s.filter((t=>t.matches(i))):s},enumerable:!0,configurable:!0})})}({slot:o,flatten:e,selector:i}):l({descriptor:t=>({get(){var t,e;const i="slot"+(o?`[name=${o}]`:":not([name])"),r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==r?void 0:r.assignedNodes(n))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],Po.prototype,"slotNodes",void 0),Uo([c(".ft-tooltip--container")],Po.prototype,"container",void 0),Uo([c("slot")],Po.prototype,"target",void 0),Uo([c(".ft-tooltip")],Po.prototype,"tooltip",void 0),Uo([c(".ft-tooltip--content")],Po.prototype,"tooltipContent",void 0),Uo([a()],Po.prototype,"visible",void 0),p("ft-tooltip")(Po);
268
+ function(t,e,i){let n,o=t;return"object"==typeof t?(o=t.slot,n=t):n={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return l({descriptor:n=>({get(){var n;const o="slot"+(e?`[name=${e}]`:":not([name])"),r=null===(n=this.renderRoot)||void 0===n?void 0:n.querySelector(o),s=null!=r?h(r,t):[];return i?s.filter((t=>t.matches(i))):s},enumerable:!0,configurable:!0})})}({slot:o,flatten:e,selector:i}):l({descriptor:t=>({get(){var t,e;const i="slot"+(o?`[name=${o}]`:":not([name])"),r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==r?void 0:r.assignedNodes(n))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],Io.prototype,"slotNodes",void 0),zo([c(".ft-tooltip--container")],Io.prototype,"container",void 0),zo([c("slot")],Io.prototype,"target",void 0),zo([c(".ft-tooltip")],Io.prototype,"tooltip",void 0),zo([c(".ft-tooltip--content")],Io.prototype,"tooltipContent",void 0),zo([a()],Io.prototype,"visible",void 0),p("ft-tooltip")(Io);
269
269
  /**
270
270
  * @license
271
271
  * Copyright 2017 Google LLC
272
272
  * SPDX-License-Identifier: BSD-3-Clause
273
273
  */
274
- const zo=1,Io=2,Fo=t=>(...e)=>({_$litDirective$:t,values:e});class To{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
274
+ const Fo=1,To=2,Lo=t=>(...e)=>({_$litDirective$:t,values:e});class Bo{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
275
275
  /**
276
276
  * @license
277
277
  * Copyright 2018 Google LLC
278
278
  * SPDX-License-Identifier: BSD-3-Clause
279
- */const Lo=Fo(class extends To{constructor(t){var e;if(super(t),t.type!==zo||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,n;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.nt)||void 0===i?void 0:i.has(t))&&this.it.add(t);return this.render(e)}const o=t.element.classList;this.it.forEach((t=>{t in e||(o.remove(t),this.it.delete(t))}));for(const t in e){const i=!!e[t];i===this.it.has(t)||(null===(n=this.nt)||void 0===n?void 0:n.has(t))||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return tt}}),Bo=gt.extend("--ft-ripple-color",xt.colorContent),_o={color:Bo,backgroundColor:gt.extend("--ft-ripple-background-color",Bo),opacityContentOnSurfacePressed:gt.external(xt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:gt.external(xt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:gt.external(xt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:gt.external(xt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:gt.create("--ft-ripple-border-radius","SIZE","0px")},Do=gt.extend("--ft-ripple-color",xt.colorPrimary),Wo=Do,Ko=gt.extend("--ft-ripple-background-color",Do),Ho=gt.extend("--ft-ripple-color",xt.colorSecondary),Zo=Ho,qo=gt.extend("--ft-ripple-background-color",Ho),Vo=w`
279
+ */const _o=Lo(class extends Bo{constructor(t){var e;if(super(t),t.type!==Fo||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,n;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.nt)||void 0===i?void 0:i.has(t))&&this.it.add(t);return this.render(e)}const o=t.element.classList;this.it.forEach((t=>{t in e||(o.remove(t),this.it.delete(t))}));for(const t in e){const i=!!e[t];i===this.it.has(t)||(null===(n=this.nt)||void 0===n?void 0:n.has(t))||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return tt}}),Do=gt.extend("--ft-ripple-color",xt.colorContent),Wo={color:Do,backgroundColor:gt.extend("--ft-ripple-background-color",Do),opacityContentOnSurfacePressed:gt.external(xt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:gt.external(xt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:gt.external(xt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:gt.external(xt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:gt.create("--ft-ripple-border-radius","SIZE","0px")},Ko=gt.extend("--ft-ripple-color",xt.colorPrimary),Ho=Ko,Zo=gt.extend("--ft-ripple-background-color",Ko),qo=gt.extend("--ft-ripple-color",xt.colorSecondary),Vo=qo,Jo=gt.extend("--ft-ripple-background-color",qo),Xo=w`
280
280
  :host {
281
281
  display: contents;
282
282
  }
@@ -289,7 +289,7 @@ const zo=1,Io=2,Fo=t=>(...e)=>({_$litDirective$:t,values:e});class To{constructo
289
289
 
290
290
  .ft-ripple:not(.ft-ripple--unbounded) {
291
291
  overflow: hidden;
292
- border-radius: ${_o.borderRadius};
292
+ border-radius: ${Wo.borderRadius};
293
293
  }
294
294
 
295
295
  .ft-ripple .ft-ripple--background,
@@ -299,27 +299,27 @@ const zo=1,Io=2,Fo=t=>(...e)=>({_$litDirective$:t,values:e});class To{constructo
299
299
  }
300
300
 
301
301
  .ft-ripple .ft-ripple--background {
302
- background-color: ${_o.backgroundColor};
302
+ background-color: ${Wo.backgroundColor};
303
303
  }
304
304
 
305
305
  .ft-ripple .ft-ripple--effect {
306
- background-color: ${_o.color};
306
+ background-color: ${Wo.color};
307
307
  }
308
308
 
309
309
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
310
- background-color: ${qo};
310
+ background-color: ${Jo};
311
311
  }
312
312
 
313
313
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
314
- background-color: ${Zo};
314
+ background-color: ${Vo};
315
315
  }
316
316
 
317
317
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
318
- background-color: ${Ko};
318
+ background-color: ${Zo};
319
319
  }
320
320
 
321
321
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
322
- background-color: ${Wo};
322
+ background-color: ${Ho};
323
323
  }
324
324
 
325
325
  .ft-ripple .ft-ripple--background {
@@ -351,22 +351,22 @@ const zo=1,Io=2,Fo=t=>(...e)=>({_$litDirective$:t,values:e});class To{constructo
351
351
  }
352
352
 
353
353
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
354
- opacity: ${_o.opacityContentOnSurfaceHover};
354
+ opacity: ${Wo.opacityContentOnSurfaceHover};
355
355
  }
356
356
 
357
357
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
358
- opacity: ${_o.opacityContentOnSurfaceSelected};
358
+ opacity: ${Wo.opacityContentOnSurfaceSelected};
359
359
  }
360
360
 
361
361
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
362
- opacity: ${_o.opacityContentOnSurfaceFocused};
362
+ opacity: ${Wo.opacityContentOnSurfaceFocused};
363
363
  }
364
364
 
365
365
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
366
- opacity: ${_o.opacityContentOnSurfacePressed};
366
+ opacity: ${Wo.opacityContentOnSurfacePressed};
367
367
  transform: translate(-50%, -50%) scale(1);
368
368
  }
369
- `;var Jo=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Xo extends Et{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.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var e,i;let{x:n,y:o}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=n?n-r.x:r.width/2),this.originY=Math.round(null!=o?o-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Q`
369
+ `;var Go=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Yo extends Et{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.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var e,i;let{x:n,y:o}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=n?n-r.x:r.width/2),this.originY=Math.round(null!=o?o-r.y:r.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Q`
370
370
  <style>
371
371
  .ft-ripple .ft-ripple--effect,
372
372
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -379,17 +379,17 @@ const zo=1,Io=2,Fo=t=>(...e)=>({_$litDirective$:t,values:e});class To{constructo
379
379
  top: ${this.originY}px;
380
380
  }
381
381
  </style>
382
- <div class="${Lo(t)}">
382
+ <div class="${_o(t)}">
383
383
  <div class="ft-ripple--background"></div>
384
384
  <div class="ft-ripple--effect"></div>
385
385
  </div>
386
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i),this.setRippleSize()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),n=e("touchend","touchcancel"),o=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",n),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",o),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",n),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",o),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,i=t;let n,o;return null!=e.x?({x:n,y:o}=e):null!=i.touches&&(n=i.touches[0].clientX,o=i.touches[0].clientY),{x:n,y:o}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Xo.elementDefinitions={},Xo.styles=Vo,Jo([s({type:Boolean})],Xo.prototype,"primary",void 0),Jo([s({type:Boolean})],Xo.prototype,"secondary",void 0),Jo([s({type:Boolean})],Xo.prototype,"unbounded",void 0),Jo([s({type:Boolean})],Xo.prototype,"activated",void 0),Jo([s({type:Boolean})],Xo.prototype,"selected",void 0),Jo([s({type:Boolean})],Xo.prototype,"disabled",void 0),Jo([a()],Xo.prototype,"hovered",void 0),Jo([a()],Xo.prototype,"focused",void 0),Jo([a()],Xo.prototype,"pressed",void 0),Jo([a()],Xo.prototype,"rippling",void 0),Jo([a()],Xo.prototype,"rippleSize",void 0),Jo([a()],Xo.prototype,"originX",void 0),Jo([a()],Xo.prototype,"originY",void 0),Jo([c(".ft-ripple")],Xo.prototype,"ripple",void 0),Jo([c(".ft-ripple--effect")],Xo.prototype,"rippleEffect",void 0),p("ft-ripple")(Xo);
386
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i),this.setRippleSize()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),n=e("touchend","touchcancel"),o=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",n),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",o),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",n),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",o),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,i=t;let n,o;return null!=e.x?({x:n,y:o}=e):null!=i.touches&&(n=i.touches[0].clientX,o=i.touches[0].clientY),{x:n,y:o}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Yo.elementDefinitions={},Yo.styles=Xo,Go([s({type:Boolean})],Yo.prototype,"primary",void 0),Go([s({type:Boolean})],Yo.prototype,"secondary",void 0),Go([s({type:Boolean})],Yo.prototype,"unbounded",void 0),Go([s({type:Boolean})],Yo.prototype,"activated",void 0),Go([s({type:Boolean})],Yo.prototype,"selected",void 0),Go([s({type:Boolean})],Yo.prototype,"disabled",void 0),Go([a()],Yo.prototype,"hovered",void 0),Go([a()],Yo.prototype,"focused",void 0),Go([a()],Yo.prototype,"pressed",void 0),Go([a()],Yo.prototype,"rippling",void 0),Go([a()],Yo.prototype,"rippleSize",void 0),Go([a()],Yo.prototype,"originX",void 0),Go([a()],Yo.prototype,"originY",void 0),Go([c(".ft-ripple")],Yo.prototype,"ripple",void 0),Go([c(".ft-ripple--effect")],Yo.prototype,"rippleEffect",void 0),p("ft-ripple")(Yo);
387
387
  /**
388
388
  * @license
389
389
  * Copyright 2017 Google LLC
390
390
  * SPDX-License-Identifier: BSD-3-Clause
391
391
  */
392
- class Go extends To{constructor(t){if(super(t),this.et=et,t.type!==Io)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===et||null==t)return this.ft=void 0,this.et=t;if(t===tt)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Go.directiveName="unsafeHTML",Go.resultType=1;const Yo=Fo(Go);var Qo,tr;!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.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Qo||(Qo={})),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;"}(tr||(tr={})),new Map([...["abw"].map((t=>[t,tr.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,tr.AUDIO])),...["avi"].map((t=>[t,tr.AVI])),...["chm","xhs"].map((t=>[t,tr.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,tr.CODE])),...["csv"].map((t=>[t,tr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,tr.DITA])),...["epub"].map((t=>[t,tr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,tr.EXCEL])),...["flac"].map((t=>[t,tr.FLAC])),...["gif"].map((t=>[t,tr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,tr.GZIP])),...["html","htm","xhtml"].map((t=>[t,tr.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,tr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,tr.JPEG])),...["json"].map((t=>[t,tr.JSON])),...["m4a","m4p"].map((t=>[t,tr.M4A])),...["mov","qt"].map((t=>[t,tr.MOV])),...["mp3"].map((t=>[t,tr.MP3])),...["mp4","m4v"].map((t=>[t,tr.MP4])),...["ogg","oga"].map((t=>[t,tr.OGG])),...["pdf","ps"].map((t=>[t,tr.PDF])),...["png"].map((t=>[t,tr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,tr.POWERPOINT])),...["rar"].map((t=>[t,tr.RAR])),...["stp"].map((t=>[t,tr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,tr.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,tr.VIDEO])),...["wav"].map((t=>[t,tr.WAV])),...["wma"].map((t=>[t,tr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,tr.WORD])),...["xml","xsl","rdf"].map((t=>[t,tr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,tr.YAML])),...["zip"].map((t=>[t,tr.ZIP]))]);const er={size:gt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:gt.extend("--ft-icon-fluid-topics-font-family",gt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:gt.extend("--ft-icon-file-format-font-family",gt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:gt.extend("--ft-icon-material-font-family",gt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:gt.create("--ft-icon-vertical-align","UNKNOWN","unset")},ir=w`
392
+ class Qo extends Bo{constructor(t){if(super(t),this.et=et,t.type!==To)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===et||null==t)return this.ft=void 0,this.et=t;if(t===tt)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Qo.directiveName="unsafeHTML",Qo.resultType=1;const tr=Lo(Qo);var er,ir;!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.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(er||(er={})),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;"}(ir||(ir={})),new Map([...["abw"].map((t=>[t,ir.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,ir.AUDIO])),...["avi"].map((t=>[t,ir.AVI])),...["chm","xhs"].map((t=>[t,ir.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,ir.CODE])),...["csv"].map((t=>[t,ir.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ir.DITA])),...["epub"].map((t=>[t,ir.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ir.EXCEL])),...["flac"].map((t=>[t,ir.FLAC])),...["gif"].map((t=>[t,ir.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ir.GZIP])),...["html","htm","xhtml"].map((t=>[t,ir.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,ir.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ir.JPEG])),...["json"].map((t=>[t,ir.JSON])),...["m4a","m4p"].map((t=>[t,ir.M4A])),...["mov","qt"].map((t=>[t,ir.MOV])),...["mp3"].map((t=>[t,ir.MP3])),...["mp4","m4v"].map((t=>[t,ir.MP4])),...["ogg","oga"].map((t=>[t,ir.OGG])),...["pdf","ps"].map((t=>[t,ir.PDF])),...["png"].map((t=>[t,ir.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ir.POWERPOINT])),...["rar"].map((t=>[t,ir.RAR])),...["stp"].map((t=>[t,ir.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ir.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,ir.VIDEO])),...["wav"].map((t=>[t,ir.WAV])),...["wma"].map((t=>[t,ir.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ir.WORD])),...["xml","xsl","rdf"].map((t=>[t,ir.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ir.YAML])),...["zip"].map((t=>[t,ir.ZIP]))]);const nr={size:gt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:gt.extend("--ft-icon-fluid-topics-font-family",gt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:gt.extend("--ft-icon-file-format-font-family",gt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:gt.extend("--ft-icon-material-font-family",gt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:gt.create("--ft-icon-vertical-align","UNKNOWN","unset")},or=w`
393
393
  :host, i.ft-icon {
394
394
  display: inline-flex;
395
395
  align-items: center;
@@ -398,14 +398,14 @@ class Go extends To{constructor(t){if(super(t),this.et=et,t.type!==Io)throw Erro
398
398
  }
399
399
 
400
400
  :host {
401
- width: ${er.size};
402
- height: ${er.size};
401
+ width: ${nr.size};
402
+ height: ${nr.size};
403
403
  }
404
404
 
405
405
  i.ft-icon {
406
406
  width: 100%;
407
407
  height: 100%;
408
- font-size: ${er.size};
408
+ font-size: ${nr.size};
409
409
  line-height: 1;
410
410
  font-weight: normal;
411
411
  text-transform: none;
@@ -416,33 +416,33 @@ class Go extends To{constructor(t){if(super(t),this.et=et,t.type!==Io)throw Erro
416
416
  text-rendering: auto;
417
417
  -webkit-font-smoothing: antialiased;
418
418
  -moz-osx-font-smoothing: grayscale;
419
- vertical-align: ${er.verticalAlign};
419
+ vertical-align: ${nr.verticalAlign};
420
420
  }
421
421
 
422
422
  i.ft-icon.ft-icon--fluid-topics {
423
- font-family: ${er.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
423
+ font-family: ${nr.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
424
424
 
425
425
  /* Ugly fix because font is broken */
426
- font-size: calc(0.75 * ${er.size});
427
- line-height: ${er.size};
426
+ font-size: calc(0.75 * ${nr.size});
427
+ line-height: ${nr.size};
428
428
  position: relative;
429
429
  top: -4%;
430
430
  justify-content: center;
431
431
  }
432
432
 
433
433
  .ft-icon--file-format {
434
- font-family: ${er.fileFormatFontFamily}, ft-mime, sans-serif;
434
+ font-family: ${nr.fileFormatFontFamily}, ft-mime, sans-serif;
435
435
  }
436
436
 
437
437
  .ft-icon--material {
438
- font-family: ${er.materialFontFamily}, "Material Icons", sans-serif;
438
+ font-family: ${nr.materialFontFamily}, "Material Icons", sans-serif;
439
439
  }
440
- `;var nr;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(nr||(nr={}));var or=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class rr extends Et{constructor(){super(...arguments),this.resolvedIcon=et}render(){const t=this.variant&&Object.values(nr).includes(this.variant)?this.variant:nr.fluid_topics,e=t!==nr.material||!!this.value;return Q`
440
+ `;var rr;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(rr||(rr={}));var sr=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class ar extends Et{constructor(){super(...arguments),this.resolvedIcon=et}render(){const t=this.variant&&Object.values(rr).includes(this.variant)?this.variant:rr.fluid_topics,e=t!==rr.material||!!this.value;return Q`
441
441
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
442
- ${Yo(this.resolvedIcon)}
442
+ ${tr(this.resolvedIcon)}
443
443
  <slot ?hidden=${e}></slot>
444
444
  </i>
445
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case nr.file_format:this.resolvedIcon=null!==(t=tr[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case nr.material:this.resolvedIcon=this.value||et;break;default:this.resolvedIcon=null!==(e=Qo[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}rr.elementDefinitions={},rr.styles=ir,or([s()],rr.prototype,"variant",void 0),or([s()],rr.prototype,"value",void 0),or([a()],rr.prototype,"resolvedIcon",void 0),or([c("slot")],rr.prototype,"slottedContent",void 0),p("ft-icon")(rr);const sr={color:gt.extend("--ft-loader-color",xt.colorPrimary),size:gt.create("--ft-loader-size","SIZE","80px")},ar=w`
445
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case rr.file_format:this.resolvedIcon=null!==(t=ir[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case rr.material:this.resolvedIcon=this.value||et;break;default:this.resolvedIcon=null!==(e=er[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ar.elementDefinitions={},ar.styles=or,sr([s()],ar.prototype,"variant",void 0),sr([s()],ar.prototype,"value",void 0),sr([a()],ar.prototype,"resolvedIcon",void 0),sr([c("slot")],ar.prototype,"slottedContent",void 0),p("ft-icon")(ar);const lr={color:gt.extend("--ft-loader-color",xt.colorPrimary),size:gt.create("--ft-loader-size","SIZE","80px")},cr=w`
446
446
  :host {
447
447
  line-height: 0;
448
448
  }
@@ -451,8 +451,8 @@ class Go extends To{constructor(t){if(super(t),this.et=et,t.type!==Io)throw Erro
451
451
  display: inline-block;
452
452
  position: relative;
453
453
 
454
- width: ${sr.size};
455
- height: ${sr.size};
454
+ width: ${lr.size};
455
+ height: ${lr.size};
456
456
  }
457
457
 
458
458
  .ft-loader div {
@@ -461,7 +461,7 @@ class Go extends To{constructor(t){if(super(t),this.et=et,t.type!==Io)throw Erro
461
461
  width: 25%;
462
462
  height: 25%;
463
463
  border-radius: 50%;
464
- background: ${sr.color};
464
+ background: ${lr.color};
465
465
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
466
466
  }
467
467
 
@@ -508,17 +508,17 @@ class Go extends To{constructor(t){if(super(t),this.et=et,t.type!==Io)throw Erro
508
508
  transform: translate(0, 0);
509
509
  }
510
510
  100% {
511
- transform: translate(calc(0.35 * ${sr.size}), 0);
511
+ transform: translate(calc(0.35 * ${lr.size}), 0);
512
512
  }
513
513
  }
514
- `;class lr extends Et{render(){return Q`
514
+ `;class ur extends Et{render(){return Q`
515
515
  <div class="ft-loader">
516
516
  <div></div>
517
517
  <div></div>
518
518
  <div></div>
519
519
  <div></div>
520
520
  </div>
521
- `}}lr.styles=ar,p("ft-loader")(lr);const cr=gt.extend("--ft-button-color",xt.colorPrimary),ur={backgroundColor:gt.extend("--ft-button-background-color",xt.colorSurface),borderRadius:gt.extend("--ft-button-border-radius",xt.borderRadiusL),color:cr,fontSize:gt.extend("--ft-button-font-size",ho.fontSize),iconSize:gt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:gt.extend("--ft-button-ripple-color",cr),verticalPadding:gt.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:gt.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:gt.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:gt.external(xt.colorOpacityDisabled,"Design system")},hr=gt.extend("--ft-button-primary-color",gt.extend("--ft-button-color",xt.colorOnPrimary)),fr={backgroundColor:gt.extend("--ft-button-primary-background-color",gt.extend("--ft-button-background-color",xt.colorPrimary)),color:hr,rippleColor:gt.extend("--ft-button-primary-ripple-color",hr)},pr=gt.extend("--ft-button-dense-border-radius",gt.extend("--ft-button-border-radius",xt.borderRadiusM)),dr=gt.create("--ft-button-dense-vertical-padding","SIZE","2px"),vr=gt.create("--ft-button-dense-horizontal-padding","SIZE","4px"),br=gt.create("--ft-button-dense-icon-padding","SIZE","4px"),yr=[w`
521
+ `}}ur.styles=cr,p("ft-loader")(ur);const hr=gt.extend("--ft-button-color",xt.colorPrimary),fr={backgroundColor:gt.extend("--ft-button-background-color",xt.colorSurface),borderRadius:gt.extend("--ft-button-border-radius",xt.borderRadiusL),color:hr,fontSize:gt.extend("--ft-button-font-size",po.fontSize),iconSize:gt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:gt.extend("--ft-button-ripple-color",hr),verticalPadding:gt.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:gt.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:gt.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:gt.external(xt.colorOpacityDisabled,"Design system")},pr=gt.extend("--ft-button-primary-color",gt.extend("--ft-button-color",xt.colorOnPrimary)),dr={backgroundColor:gt.extend("--ft-button-primary-background-color",gt.extend("--ft-button-background-color",xt.colorPrimary)),color:pr,rippleColor:gt.extend("--ft-button-primary-ripple-color",pr)},vr=gt.extend("--ft-button-dense-border-radius",gt.extend("--ft-button-border-radius",xt.borderRadiusM)),br=gt.create("--ft-button-dense-vertical-padding","SIZE","2px"),yr=gt.create("--ft-button-dense-horizontal-padding","SIZE","4px"),gr=gt.create("--ft-button-dense-icon-padding","SIZE","4px"),mr=[w`
522
522
  :host {
523
523
  display: inline-block;
524
524
  max-width: 100%;
@@ -529,7 +529,7 @@ class Go extends To{constructor(t){if(super(t),this.et=et,t.type!==Io)throw Erro
529
529
  box-shadow: 0px 0px 0px transparent;
530
530
  border: 0px solid transparent;
531
531
  text-shadow: 0px 0px 0px transparent;
532
- font-size: ${ur.fontSize};
532
+ font-size: ${fr.fontSize};
533
533
  }
534
534
 
535
535
  button:hover {
@@ -558,31 +558,31 @@ class Go extends To{constructor(t){if(super(t),this.et=et,t.type!==Io)throw Erro
558
558
  border: none;
559
559
  pointer-events: auto;
560
560
 
561
- --ft-button-internal-line-height: max(calc(${ur.fontSize} + 2px), ${ur.iconSize});
562
- --ft-button-internal-color: ${ur.color};
563
- ${mt(er.size,ur.iconSize)};
564
- ${mt(_o.color,ur.rippleColor)};
561
+ --ft-button-internal-line-height: max(calc(${fr.fontSize} + 2px), ${fr.iconSize});
562
+ --ft-button-internal-color: ${fr.color};
563
+ ${mt(nr.size,fr.iconSize)};
564
+ ${mt(Wo.color,fr.rippleColor)};
565
565
 
566
- border-radius: ${ur.borderRadius};
567
- padding: ${ur.verticalPadding} ${ur.horizontalPadding};
568
- background-color: ${ur.backgroundColor};
566
+ border-radius: ${fr.borderRadius};
567
+ padding: ${fr.verticalPadding} ${fr.horizontalPadding};
568
+ background-color: ${fr.backgroundColor};
569
569
  color: var(--ft-button-internal-color);
570
570
  -webkit-mask-image: radial-gradient(white, black);
571
571
  }
572
572
 
573
573
  .ft-button.ft-button--outlined {
574
574
  border: 1px solid var(--ft-button-internal-color);
575
- padding: calc(${ur.verticalPadding} - 1px) calc(${ur.horizontalPadding} - 1px);
575
+ padding: calc(${fr.verticalPadding} - 1px) calc(${fr.horizontalPadding} - 1px);
576
576
  }
577
577
 
578
578
  .ft-button.ft-button--dense {
579
- padding: ${dr} ${vr};
580
- border-radius: ${pr};
581
- gap: ${br};
579
+ padding: ${br} ${yr};
580
+ border-radius: ${vr};
581
+ gap: ${gr};
582
582
  }
583
583
 
584
584
  .ft-button.ft-button--dense.ft-button--outlined {
585
- padding: calc(${dr} - 1px) calc(${vr} - 1px);
585
+ padding: calc(${br} - 1px) calc(${yr} - 1px);
586
586
  }
587
587
 
588
588
  .ft-button:not([disabled]):hover {
@@ -590,22 +590,22 @@ class Go extends To{constructor(t){if(super(t),this.et=et,t.type!==Io)throw Erro
590
590
  }
591
591
 
592
592
  .ft-button--round {
593
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ur.verticalPadding});
593
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${fr.verticalPadding});
594
594
  }
595
595
 
596
596
  .ft-button--round.ft-button--dense {
597
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${dr});
597
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${br});
598
598
  }
599
599
 
600
600
  .ft-button[disabled] {
601
601
  filter: grayscale(1);
602
- opacity: ${ur.opacityDisabled};
602
+ opacity: ${fr.opacityDisabled};
603
603
  }
604
604
 
605
605
  .ft-button.ft-button--primary {
606
- background-color: ${fr.backgroundColor};
607
- --ft-button-internal-color: ${fr.color};
608
- ${mt(_o.color,fr.rippleColor)};
606
+ background-color: ${dr.backgroundColor};
607
+ --ft-button-internal-color: ${dr.color};
608
+ ${mt(Wo.color,dr.rippleColor)};
609
609
  }
610
610
 
611
611
  .ft-button:focus {
@@ -618,13 +618,13 @@ class Go extends To{constructor(t){if(super(t),this.et=et,t.type!==Io)throw Erro
618
618
  white-space: nowrap;
619
619
  text-overflow: ellipsis;
620
620
  display: block;
621
- margin: 0 ${ur.iconPadding};
622
- ${mt(ho.fontSize,"1em")};
623
- ${mt(ho.lineHeight,"var(--ft-button-internal-line-height)")};
621
+ margin: 0 ${fr.iconPadding};
622
+ ${mt(po.fontSize,"1em")};
623
+ ${mt(po.lineHeight,"var(--ft-button-internal-line-height)")};
624
624
  }
625
625
 
626
626
  .ft-button--dense .ft-button--label {
627
- margin: 0 ${br};
627
+ margin: 0 ${gr};
628
628
  }
629
629
 
630
630
  .ft-button--label[hidden] {
@@ -637,13 +637,13 @@ class Go extends To{constructor(t){if(super(t),this.et=et,t.type!==Io)throw Erro
637
637
  }
638
638
 
639
639
  .ft-button--label[hidden] + ft-icon {
640
- margin: 0 calc(${ur.horizontalPadding} * -1);
641
- padding: 0 ${ur.verticalPadding};
640
+ margin: 0 calc(${fr.horizontalPadding} * -1);
641
+ padding: 0 ${fr.verticalPadding};
642
642
  }
643
643
 
644
644
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
645
- margin: 0 calc(${vr} * -1);
646
- padding: 0 ${dr};
645
+ margin: 0 calc(${yr} * -1);
646
+ padding: 0 ${br};
647
647
  }
648
648
 
649
649
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -652,19 +652,19 @@ class Go extends To{constructor(t){if(super(t),this.et=et,t.type!==Io)throw Erro
652
652
  }
653
653
 
654
654
  ft-loader {
655
- ${mt(sr.size,ur.iconSize)};
656
- ${mt(sr.color,"var(--ft-button-internal-color)")};
655
+ ${mt(lr.size,fr.iconSize)};
656
+ ${mt(lr.color,"var(--ft-button-internal-color)")};
657
657
  }
658
- `,Ct];var gr=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class mr extends Et{constructor(){super(...arguments),this.role="button",this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0};return this.addTooltipIfNeeded(Q`
658
+ `,Ct];var xr=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class wr extends Et{constructor(){super(...arguments),this.role="button",this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0};return this.addTooltipIfNeeded(Q`
659
659
  <button part="button"
660
- class="${Lo(t)}"
660
+ class="${_o(t)}"
661
661
  aria-label="${this.getLabel()}"
662
662
  ?disabled=${this.isDisabled()}>
663
663
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
664
664
  <ft-typography part="label"
665
665
  variant="button"
666
666
  element="span"
667
- class="ft-button--label ${Ni?"ft-safari-ellipsis-fix":""}"
667
+ class="ft-button--label ${Mi?"ft-safari-ellipsis-fix":""}"
668
668
  ?hidden=${!this.hasTextContent()}>
669
669
  <slot @slotchange=${this.onSlotchange}></slot>
670
670
  </ft-typography>
@@ -678,7 +678,7 @@ class Go extends To{constructor(t){if(super(t),this.et=et,t.type!==Io)throw Erro
678
678
  </ft-tooltip>
679
679
  `:t}resolveIcon(){return this.loading?Q`
680
680
  <ft-loader part="loader icon"></ft-loader> `:this.icon?Q`
681
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:et}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}mr.elementDefinitions={"ft-ripple":Xo,"ft-tooltip":Po,"ft-typography":ko,"ft-icon":rr,"ft-loader":lr},mr.styles=[Nt,yr],gr([s({type:String,reflect:!0})],mr.prototype,"role",void 0),gr([s({type:Boolean})],mr.prototype,"primary",void 0),gr([s({type:Boolean})],mr.prototype,"outlined",void 0),gr([s({type:Boolean})],mr.prototype,"disabled",void 0),gr([s({type:Boolean})],mr.prototype,"dense",void 0),gr([s({type:Boolean})],mr.prototype,"round",void 0),gr([s()],mr.prototype,"label",void 0),gr([s()],mr.prototype,"icon",void 0),gr([s()],mr.prototype,"iconVariant",void 0),gr([s({type:Boolean})],mr.prototype,"trailingIcon",void 0),gr([s({type:Boolean})],mr.prototype,"loading",void 0),gr([s()],mr.prototype,"tooltipPosition",void 0),gr([s({type:Boolean})],mr.prototype,"hideTooltip",void 0),gr([s({type:Boolean})],mr.prototype,"forceTooltip",void 0),gr([c(".ft-button")],mr.prototype,"button",void 0),gr([c(".ft-button--label slot")],mr.prototype,"slottedContent",void 0),p("ft-button")(mr);const xr=gt.extend("--ft-chip-color",xt.colorOnSurface),wr={backgroundColor:gt.extend("--ft-chip-background-color",xt.colorSurface),color:xr,fontSize:gt.extend("--ft-chip-font-size",Zn.fontSize),iconSize:gt.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:gt.extend("--ft-chip-ripple-color",xr),horizontalPadding:gt.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:gt.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:gt.external(xt.colorOutline,"Design system"),opacityDisabled:gt.external(xt.colorOpacityDisabled,"Design system")},$r=gt.extend("--ft-chip-highlighted-color",gt.extend("--ft-chip-color",xt.colorOnPrimary)),Or={backgroundColor:gt.extend("--ft-chip-highlighted-background-color",gt.extend("--ft-chip-background-color",xt.colorPrimary)),color:$r,rippleColor:gt.extend("--ft-chip-highlighted-ripple-color",$r)},Sr=gt.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),kr=gt.create("--ft-chip-dense-vertical-padding","SIZE","4px"),jr=[Ct,w`
681
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:et}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}wr.elementDefinitions={"ft-ripple":Yo,"ft-tooltip":Io,"ft-typography":Eo,"ft-icon":ar,"ft-loader":ur},wr.styles=[Nt,mr],xr([s({type:String,reflect:!0})],wr.prototype,"role",void 0),xr([s({type:Boolean})],wr.prototype,"primary",void 0),xr([s({type:Boolean})],wr.prototype,"outlined",void 0),xr([s({type:Boolean})],wr.prototype,"disabled",void 0),xr([s({type:Boolean})],wr.prototype,"dense",void 0),xr([s({type:Boolean})],wr.prototype,"round",void 0),xr([s()],wr.prototype,"label",void 0),xr([s()],wr.prototype,"icon",void 0),xr([s()],wr.prototype,"iconVariant",void 0),xr([s({type:Boolean})],wr.prototype,"trailingIcon",void 0),xr([s({type:Boolean})],wr.prototype,"loading",void 0),xr([s()],wr.prototype,"tooltipPosition",void 0),xr([s({type:Boolean})],wr.prototype,"hideTooltip",void 0),xr([s({type:Boolean})],wr.prototype,"forceTooltip",void 0),xr([c(".ft-button")],wr.prototype,"button",void 0),xr([c(".ft-button--label slot")],wr.prototype,"slottedContent",void 0),p("ft-button")(wr);const $r=gt.extend("--ft-chip-color",xt.colorOnSurface),Or={backgroundColor:gt.extend("--ft-chip-background-color",xt.colorSurface),color:$r,fontSize:gt.extend("--ft-chip-font-size",Vn.fontSize),iconSize:gt.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:gt.extend("--ft-chip-ripple-color",$r),horizontalPadding:gt.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:gt.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:gt.external(xt.colorOutline,"Design system"),opacityDisabled:gt.external(xt.colorOpacityDisabled,"Design system")},Sr=gt.extend("--ft-chip-highlighted-color",gt.extend("--ft-chip-color",xt.colorOnPrimary)),kr={backgroundColor:gt.extend("--ft-chip-highlighted-background-color",gt.extend("--ft-chip-background-color",xt.colorPrimary)),color:Sr,rippleColor:gt.extend("--ft-chip-highlighted-ripple-color",Sr)},jr=gt.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),Er=gt.create("--ft-chip-dense-vertical-padding","SIZE","4px"),Cr=[Ct,w`
682
682
  :host {
683
683
  display: inline-block;
684
684
  max-width: 100%;
@@ -694,20 +694,20 @@ class Go extends To{constructor(t){if(super(t),this.et=et,t.type!==Io)throw Erro
694
694
  box-sizing: border-box;
695
695
  pointer-events: auto;
696
696
 
697
- --ft-chip-internal-font-size: ${wr.fontSize};
697
+ --ft-chip-internal-font-size: ${Or.fontSize};
698
698
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
699
- ${mt(er.size,wr.iconSize)};
700
- --ft-chip-internal-vertical-padding: ${wr.verticalPadding};
701
- --ft-chip-internal-horizontal-padding: ${wr.horizontalPadding};
699
+ ${mt(nr.size,Or.iconSize)};
700
+ --ft-chip-internal-vertical-padding: ${Or.verticalPadding};
701
+ --ft-chip-internal-horizontal-padding: ${Or.horizontalPadding};
702
702
  --ft-chip-internal-icon-padding: 3px;
703
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${wr.iconSize});
703
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Or.iconSize});
704
704
 
705
- border: 1px solid ${wr.colorOutline};
706
- color: ${wr.color};
707
- ${mt(_o.color,wr.rippleColor)};
705
+ border: 1px solid ${Or.colorOutline};
706
+ color: ${Or.color};
707
+ ${mt(Wo.color,Or.rippleColor)};
708
708
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
709
709
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
710
- background-color: ${wr.backgroundColor};
710
+ background-color: ${Or.backgroundColor};
711
711
  line-height: var(--ft-chip-internal-content-height);
712
712
  }
713
713
 
@@ -717,8 +717,8 @@ class Go extends To{constructor(t){if(super(t),this.et=et,t.type!==Io)throw Erro
717
717
 
718
718
  .ft-chip--dense {
719
719
  --ft-chip-internal-icon-padding: 3px;
720
- --ft-chip-internal-vertical-padding: ${kr};
721
- --ft-chip-internal-horizontal-padding: ${Sr};
720
+ --ft-chip-internal-vertical-padding: ${Er};
721
+ --ft-chip-internal-horizontal-padding: ${jr};
722
722
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
723
723
  }
724
724
 
@@ -730,15 +730,15 @@ class Go extends To{constructor(t){if(super(t),this.et=et,t.type!==Io)throw Erro
730
730
  cursor: default;
731
731
  pointer-events: none;
732
732
  filter: grayscale(1);
733
- opacity: ${wr.opacityDisabled};
733
+ opacity: ${Or.opacityDisabled};
734
734
  }
735
735
 
736
736
  .ft-chip--highlighted {
737
737
  border: none;
738
738
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
739
- background-color: ${Or.backgroundColor};
740
- ${mt(_o.color,Or.rippleColor)};
741
- color: ${Or.color};
739
+ background-color: ${kr.backgroundColor};
740
+ ${mt(Wo.color,kr.rippleColor)};
741
+ color: ${kr.color};
742
742
  }
743
743
 
744
744
  .ft-chip--clickable {
@@ -768,9 +768,9 @@ class Go extends To{constructor(t){if(super(t),this.et=et,t.type!==Io)throw Erro
768
768
  }
769
769
 
770
770
  .ft-chip--icon-button {
771
- ${mt(ur.iconSize,wr.iconSize)};
772
- ${mt(ur.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
773
- ${mt(ur.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
771
+ ${mt(fr.iconSize,Or.iconSize)};
772
+ ${mt(fr.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
773
+ ${mt(fr.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
774
774
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
775
775
  }
776
776
 
@@ -778,8 +778,8 @@ class Go extends To{constructor(t){if(super(t),this.et=et,t.type!==Io)throw Erro
778
778
  vertical-align: bottom;
779
779
  display: block;
780
780
  margin: 0 var(--ft-chip-internal-horizontal-padding);
781
- ${mt(Zn.fontSize,"var(--ft-chip-internal-font-size)")};
782
- ${mt(Zn.lineHeight,"var(--ft-chip-internal-content-height)")};
781
+ ${mt(Vn.fontSize,"var(--ft-chip-internal-font-size)")};
782
+ ${mt(Vn.lineHeight,"var(--ft-chip-internal-content-height)")};
783
783
  }
784
784
 
785
785
  .ft-chip--safari-fix .ft-chip--label {
@@ -815,8 +815,8 @@ class Go extends To{constructor(t){if(super(t),this.et=et,t.type!==Io)throw Erro
815
815
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
816
816
  order: -1;
817
817
  }
818
- `];var Er=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Cr extends CustomEvent{constructor(){super("icon-click")}}class Nr extends Et{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Ni};return Q`
819
- <div class="${Lo(t)}"
818
+ `];var Nr=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Rr extends CustomEvent{constructor(){super("icon-click")}}class Mr extends Et{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Mi};return Q`
819
+ <div class="${_o(t)}"
820
820
  aria-label="${this.getLabel()}"
821
821
  tabindex="${this.interactionsOnChip?0:-1}"
822
822
  @keyup=${this.onKeyUp}>
@@ -838,14 +838,14 @@ class Go extends To{constructor(t){if(super(t),this.et=et,t.type!==Io)throw Erro
838
838
  <div class="ft-chip--icon-container ft-no-text-select">
839
839
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
840
840
  </div>
841
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Cr))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Cr))}getLabel(){return this.label||this.textContent}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Nr.elementDefinitions={"ft-ripple":Xo,"ft-typography":ko,"ft-icon":rr,"ft-button":mr},Nr.styles=jr,Er([s({type:Boolean})],Nr.prototype,"highlighted",void 0),Er([s({type:Boolean})],Nr.prototype,"removable",void 0),Er([s({type:Boolean})],Nr.prototype,"disabled",void 0),Er([s({type:Boolean})],Nr.prototype,"clickable",void 0),Er([s({type:Boolean})],Nr.prototype,"iconClickable",void 0),Er([s({type:Boolean})],Nr.prototype,"dense",void 0),Er([s({type:Boolean})],Nr.prototype,"multiLine",void 0),Er([s()],Nr.prototype,"label",void 0),Er([s()],Nr.prototype,"iconLabel",void 0),Er([s()],Nr.prototype,"icon",void 0),Er([s()],Nr.prototype,"iconVariant",void 0),Er([s({type:Boolean})],Nr.prototype,"trailingIcon",void 0),Er([c("ft-typography slot")],Nr.prototype,"slottedContent",void 0),p("ft-chip")(Nr);var Rr=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Mr extends(Qi(Vi)){constructor(){super(),this.useChip=!1,this.editorMode=!1,this.addStore(Ai),this.addI18nContext(sn)}render(){return this.useChip?Q`
841
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Rr))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Rr))}getLabel(){return this.label||this.textContent}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Mr.elementDefinitions={"ft-ripple":Yo,"ft-typography":Eo,"ft-icon":ar,"ft-button":wr},Mr.styles=Cr,Nr([s({type:Boolean})],Mr.prototype,"highlighted",void 0),Nr([s({type:Boolean})],Mr.prototype,"removable",void 0),Nr([s({type:Boolean})],Mr.prototype,"disabled",void 0),Nr([s({type:Boolean})],Mr.prototype,"clickable",void 0),Nr([s({type:Boolean})],Mr.prototype,"iconClickable",void 0),Nr([s({type:Boolean})],Mr.prototype,"dense",void 0),Nr([s({type:Boolean})],Mr.prototype,"multiLine",void 0),Nr([s()],Mr.prototype,"label",void 0),Nr([s()],Mr.prototype,"iconLabel",void 0),Nr([s()],Mr.prototype,"icon",void 0),Nr([s()],Mr.prototype,"iconVariant",void 0),Nr([s({type:Boolean})],Mr.prototype,"trailingIcon",void 0),Nr([c("ft-typography slot")],Mr.prototype,"slottedContent",void 0),p("ft-chip")(Mr);var Ar=function(t,e,i,n){for(var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n,a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};class Ur extends(en(Xi)){constructor(){super(),this.useChip=!1,this.editorMode=!1,this.addStore(Pi),this.addI18nContext(ln)}render(){return this.useChip?Q`
842
842
  <ft-tooltip text="${this.tooltipText}">
843
843
  <ft-chip>${this.renderContent()}</ft-chip>
844
844
  </ft-tooltip>
845
- `:Q`${this.renderContent()}`}renderContent(){return this.metadata?Q`${this.getEllipsis(this.valueText)}`:this.editorMode?this.key?Q`${sn.messages.noValuePresent(this.key)}`:Q`${sn.messages.noKeySelected()}`:Q`
845
+ `:Q`${this.renderContent()}`}renderContent(){return this.metadata?Q`${this.getEllipsis(this.valueText)}`:this.editorMode?this.key?Q`${ln.messages.noValuePresent(this.key)}`:Q`${ln.messages.noKeySelected()}`:Q`
846
846
  <style>
847
847
  :host {
848
848
  display: none !important;
849
849
  }
850
850
  </style>
851
- `}getEllipsis(t){let e=this.maxLength?t.substring(0,this.maxLength):t;return e+(e.length<t.length?"…":"")}update(t){var e;super.update(t),(t.has("result")||t.has("key"))&&this.result&&(this.metadata=null===(e=this.resultData)||void 0===e?void 0:e.metadata.find((t=>t.key==this.key)))}get resultData(){var t,e,i,n,o;return null!==(n=null!==(e=null===(t=this.result)||void 0===t?void 0:t.map)&&void 0!==e?e:null===(i=this.result)||void 0===i?void 0:i.topic)&&void 0!==n?n:null===(o=this.result)||void 0===o?void 0:o.document}get valueText(){var t,e;return null!==(e=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==e?e:""}get tooltipText(){var t,e;return this.metadata?`${null!==(e=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==e?e:this.metadata.key}: ${this.valueText}`:""}}Mr.elementDefinitions={"ft-tooltip":Po,"ft-chip":Nr},Mr.styles=Ri,Rr([s()],Mr.prototype,"key",void 0),Rr([s({type:Boolean})],Mr.prototype,"useChip",void 0),Rr([s({type:Number,attribute:"max-length"})],Mr.prototype,"maxLength",void 0),Rr([xi({store:Ai.name})],Mr.prototype,"editorMode",void 0),Rr([a()],Mr.prototype,"metadata",void 0),p("ft-search-result-metadata")(Mr),t.FtSearchResultMetadata=Mr,t.FtSearchResultMetadataCssVariables={},t.styles=Ri}({});
851
+ `}getEllipsis(t){let e=this.maxLength?t.substring(0,this.maxLength):t;return e+(e.length<t.length?"…":"")}update(t){var e;super.update(t),(t.has("result")||t.has("key"))&&this.result&&(this.metadata=null===(e=this.resultData)||void 0===e?void 0:e.metadata.find((t=>t.key==this.key)))}get resultData(){var t,e,i,n,o;return null!==(n=null!==(e=null===(t=this.result)||void 0===t?void 0:t.map)&&void 0!==e?e:null===(i=this.result)||void 0===i?void 0:i.topic)&&void 0!==n?n:null===(o=this.result)||void 0===o?void 0:o.document}get valueText(){var t,e;return null!==(e=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==e?e:""}get tooltipText(){var t,e;return this.metadata?`${null!==(e=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==e?e:this.metadata.key}: ${this.valueText}`:""}}Ur.elementDefinitions={"ft-tooltip":Io,"ft-chip":Mr},Ur.styles=Ai,Ar([s()],Ur.prototype,"key",void 0),Ar([s({type:Boolean})],Ur.prototype,"useChip",void 0),Ar([s({type:Number,attribute:"max-length"})],Ur.prototype,"maxLength",void 0),Ar([wi({store:Pi.name})],Ur.prototype,"editorMode",void 0),Ar([a()],Ur.prototype,"metadata",void 0),p("ft-search-result-metadata")(Ur),t.FtSearchResultMetadata=Ur,t.FtSearchResultMetadataCssVariables={},t.styles=Ai}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-search-result-metadata",
3
- "version": "1.0.41",
3
+ "version": "1.0.43",
4
4
  "description": "Search result metadata for integrated search component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,14 +19,14 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-chip": "1.0.41",
23
- "@fluid-topics/ft-search-result-context": "1.0.41",
24
- "@fluid-topics/ft-tooltip": "1.0.41",
25
- "@fluid-topics/ft-wc-utils": "1.0.41",
22
+ "@fluid-topics/ft-chip": "1.0.43",
23
+ "@fluid-topics/ft-search-result-context": "1.0.43",
24
+ "@fluid-topics/ft-tooltip": "1.0.43",
25
+ "@fluid-topics/ft-wc-utils": "1.0.43",
26
26
  "lit": "2.7.2"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@fluid-topics/public-api": "1.0.39"
30
30
  },
31
- "gitHead": "d8307d2c190493089c0dbbeca187042fc51a7fc2"
31
+ "gitHead": "a67b8727b254b72302e36166d89f998545bacf8f"
32
32
  }