@fluid-topics/ft-search-results 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,n=new WeakMap,i=new WeakMap,a=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){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(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=n.prototype.attributeChangedCallback,c=new Set(n.observedAttributes||[]);u(n,c,s);const l={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(n,l);let f=o.call(r,t);f||(f=h(t),e.call(r,t,f)),this===window.customElements&&(a.set(n,l),l.standInClass=f);const p=this._awaitingUpgrade.get(t);if(p){this._awaitingUpgrade.delete(t);for(const t of p)i.delete(t),d(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=c;if(e)return c=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,o),e},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!l(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),l(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=f(o)||window.customElements,n=r._getDefinition(e);return n?d(o,n):i.set(o,r),o}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},u=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,n){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i,n),o.call(this,i,t,n)}else r.call(this,i,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r),o.call(this,r,t,null)}else n.call(this,r)});const i=t.prototype.toggleAttribute;i&&(t.prototype.toggleAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r);const e=this.getAttribute(n);o.call(this,n,t,e)}else i.call(this,n,r)})},p=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):p(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),c=t;try{new e.elementClass}catch(t){p(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===n.get(o).formAssociated)return r?.call(this,...e);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class i{constructor(t){const e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),n=e.get(r)||[];this[+o]=t,n.push(t),e.set(r,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=n.get(o);t&&!0!==t.formAssociated||e.push(o)}return new i(e)}})}}try{window.customElements.define("custom-element",null)}catch(ya){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,t)}}}class e extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class o extends Promise{constructor(t){super(((o,r)=>t((t=>{this.isCanceled?r(new e("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?r(new e("Promise has been canceled",void 0,t)):r(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class r{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof o&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,r){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const n=(t=>new o(((e,o)=>t.then(e).catch(o))))(e());return this.content[t]=n,n.then((e=>(this.content[t]=e,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class n{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void r(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,n=new WeakMap,i=new WeakMap,a=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){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(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=n.prototype.attributeChangedCallback,c=new Set(n.observedAttributes||[]);u(n,c,s);const l={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(n,l);let f=o.call(r,t);f||(f=h(t),e.call(r,t,f)),this===window.customElements&&(a.set(n,l),l.standInClass=f);const p=this._awaitingUpgrade.get(t);if(p){this._awaitingUpgrade.delete(t);for(const t of p)i.delete(t),d(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=c;if(e)return c=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,o),e},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!l(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),l(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=f(o)||window.customElements,n=r._getDefinition(e);return n?d(o,n):i.set(o,r),o}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},u=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,n){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i,n),o.call(this,i,t,n)}else r.call(this,i,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r),o.call(this,r,t,null)}else n.call(this,r)});const i=t.prototype.toggleAttribute;i&&(t.prototype.toggleAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r);const e=this.getAttribute(n);o.call(this,n,t,e)}else i.call(this,n,r)})},p=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):p(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),c=t;try{new e.elementClass}catch(t){p(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===n.get(o).formAssociated)return r?.call(this,...e);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class i{constructor(t){const e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),n=e.get(r)||[];this[+o]=t,n.push(t),e.set(r,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=n.get(o);t&&!0!==t.formAssociated||e.push(o)}return new i(e)}})}}try{window.customElements.define("custom-element",null)}catch(ga){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,t)}}}class e extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class o extends Promise{constructor(t){super(((o,r)=>t((t=>{this.isCanceled?r(new e("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?r(new e("Promise has been canceled",void 0,t)):r(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class r{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof o&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,r){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const n=(t=>new o(((e,o)=>t.then(e).catch(o))))(e());return this.content[t]=n,n.then((e=>(this.content[t]=e,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class n{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void r(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
@@ -38,7 +38,7 @@ const E={attribute:!0,type:String,converter:S,reflect:!1,hasChanged:N},R=(t=E,e,
38
38
  * @license
39
39
  * Copyright 2017 Google LLC
40
40
  * SPDX-License-Identifier: BSD-3-Clause
41
- */const k=globalThis,$=k.trustedTypes,K=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,P="$lit$",j=`lit$${(Math.random()+"").slice(9)}$`,M="?"+j,F=`<${M}>`,D=document,T=()=>D.createComment(""),Z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,B=t=>_(t)||"function"==typeof t?.[Symbol.iterator],z="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G=/-->/g,q=/>/g,V=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,X=/"/g,J=/^(?:script|style|textarea|title)$/i,Q=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),tt=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),ot=new WeakMap,rt=D.createTreeWalker(D,129);function nt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(e):e}const it=(t,e)=>{const o=t.length-1,r=[];let n,i=2===e?"<svg>":"",a=H;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,f=0;for(;f<o.length&&(a.lastIndex=f,c=a.exec(o),null!==c);)f=a.lastIndex,a===H?"!--"===c[1]?a=G:void 0!==c[1]?a=q:void 0!==c[2]?(J.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=V):void 0!==c[3]&&(a=V):a===V?">"===c[0]?(a=n??H,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?V:'"'===c[3]?X:Y):a===X||a===Y?a=V:a===G||a===q?a=H:(a=V,n=void 0);const h=a===V&&t[e+1].startsWith("/>")?" ":"";i+=a===H?o+F:l>=0?(r.push(s),o.slice(0,l)+P+o.slice(l)+j+h):o+j+(-2===l?e:h)}return[nt(t,i+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};let at=class t{constructor({strings:e,_$litType$:o},r){let n;this.parts=[];let i=0,a=0;const s=e.length-1,c=this.parts,[l,f]=it(e,o);if(this.el=t.createElement(l,r),rt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=rt.nextNode())&&c.length<s;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(P)){const e=f[a++],o=n.getAttribute(t).split(j),r=/([.?@])?(.*)/.exec(e);c.push({type:1,index:i,name:r[2],strings:o,ctor:"."===r[1]?ht:"?"===r[1]?ut:"@"===r[1]?pt:ft}),n.removeAttribute(t)}else t.startsWith(j)&&(c.push({type:6,index:i}),n.removeAttribute(t));if(J.test(n.tagName)){const t=n.textContent.split(j),e=t.length-1;if(e>0){n.textContent=$?$.emptyScript:"";for(let o=0;o<e;o++)n.append(t[o],T()),rt.nextNode(),c.push({type:2,index:++i});n.append(t[e],T())}}}else if(8===n.nodeType)if(n.data===M)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(j,t+1));)c.push({type:7,index:i}),t+=j.length-1}i++}}static createElement(t,e){const o=D.createElement("template");return o.innerHTML=t,o}};function st(t,e,o=t,r){if(e===tt)return e;let n=void 0!==r?o._$Co?.[r]:o._$Cl;const i=Z(e)?void 0:e._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=n:o._$Cl=n),void 0!==n&&(e=st(t,n._$AS(t,e.values),n,r)),e}let ct=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??D).importNode(e,!0);rt.currentNode=r;let n=rt.nextNode(),i=0,a=0,s=o[0];for(;void 0!==s;){if(i===s.index){let e;2===s.type?e=new lt(n,n.nextSibling,this,t):1===s.type?e=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(e=new dt(n,this,t)),this._$AV.push(e),s=o[++a]}i!==s?.index&&(n=rt.nextNode(),i++)}return rt.currentNode=D,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},lt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=et,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=st(this,t,e),Z(t)?t===et||null==t||""===t?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==tt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):B(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==et&&Z(this._$AH)?this._$AA.nextSibling.data=t:this.$(D.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=at.createElement(nt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new ct(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ot.get(t.strings);return void 0===e&&ot.set(t.strings,e=new at(t)),e}T(e){_(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,n=0;for(const i of e)n===o.length?o.push(r=new t(this.k(T()),this.k(T()),this,this.options)):r=o[n],r._$AI(i),n++;n<o.length&&(this._$AR(r&&r._$AB.nextSibling,n),o.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ft=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,n){this.type=1,this._$AH=et,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=n,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=et}_$AI(t,e=this,o,r){const n=this.strings;let i=!1;if(void 0===n)t=st(this,t,e,0),i=!Z(t)||t!==this._$AH&&t!==tt,i&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=st(this,r[o+a],e,a),s===tt&&(s=this._$AH[a]),i||=!Z(s)||s!==this._$AH[a],s===et?t=et:t!==et&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!r&&this.O(t)}O(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ht=class extends ft{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===et?void 0:t}},ut=class extends ft{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}},pt=class extends ft{constructor(t,e,o,r,n){super(t,e,o,r,n),this.type=5}_$AI(t,e=this){if((t=st(this,t,e,0)??et)===tt)return;const o=this._$AH,r=t===et&&o!==et||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==et&&(o===et||r);r&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},dt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){st(this,t)}};const yt={j:P,P:j,A:M,C:1,M:it,L:ct,R:B,V:st,D:lt,I:ft,H:ut,N:pt,U:ht,B:dt},gt=k.litHtmlPolyfillSupport;gt?.(at,lt),(k.litHtmlVersions??=[]).push("3.1.0");
41
+ */const k=globalThis,$=k.trustedTypes,K=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,P="$lit$",j=`lit$${(Math.random()+"").slice(9)}$`,F="?"+j,M=`<${F}>`,D=document,T=()=>D.createComment(""),Z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,B=t=>_(t)||"function"==typeof t?.[Symbol.iterator],z="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G=/-->/g,q=/>/g,V=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,X=/"/g,J=/^(?:script|style|textarea|title)$/i,Q=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),tt=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),ot=new WeakMap,rt=D.createTreeWalker(D,129);function nt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(e):e}const it=(t,e)=>{const o=t.length-1,r=[];let n,i=2===e?"<svg>":"",a=H;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,f=0;for(;f<o.length&&(a.lastIndex=f,c=a.exec(o),null!==c);)f=a.lastIndex,a===H?"!--"===c[1]?a=G:void 0!==c[1]?a=q:void 0!==c[2]?(J.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=V):void 0!==c[3]&&(a=V):a===V?">"===c[0]?(a=n??H,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?V:'"'===c[3]?X:Y):a===X||a===Y?a=V:a===G||a===q?a=H:(a=V,n=void 0);const h=a===V&&t[e+1].startsWith("/>")?" ":"";i+=a===H?o+M:l>=0?(r.push(s),o.slice(0,l)+P+o.slice(l)+j+h):o+j+(-2===l?e:h)}return[nt(t,i+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};let at=class t{constructor({strings:e,_$litType$:o},r){let n;this.parts=[];let i=0,a=0;const s=e.length-1,c=this.parts,[l,f]=it(e,o);if(this.el=t.createElement(l,r),rt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=rt.nextNode())&&c.length<s;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(P)){const e=f[a++],o=n.getAttribute(t).split(j),r=/([.?@])?(.*)/.exec(e);c.push({type:1,index:i,name:r[2],strings:o,ctor:"."===r[1]?ht:"?"===r[1]?ut:"@"===r[1]?pt:ft}),n.removeAttribute(t)}else t.startsWith(j)&&(c.push({type:6,index:i}),n.removeAttribute(t));if(J.test(n.tagName)){const t=n.textContent.split(j),e=t.length-1;if(e>0){n.textContent=$?$.emptyScript:"";for(let o=0;o<e;o++)n.append(t[o],T()),rt.nextNode(),c.push({type:2,index:++i});n.append(t[e],T())}}}else if(8===n.nodeType)if(n.data===F)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(j,t+1));)c.push({type:7,index:i}),t+=j.length-1}i++}}static createElement(t,e){const o=D.createElement("template");return o.innerHTML=t,o}};function st(t,e,o=t,r){if(e===tt)return e;let n=void 0!==r?o._$Co?.[r]:o._$Cl;const i=Z(e)?void 0:e._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=n:o._$Cl=n),void 0!==n&&(e=st(t,n._$AS(t,e.values),n,r)),e}let ct=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??D).importNode(e,!0);rt.currentNode=r;let n=rt.nextNode(),i=0,a=0,s=o[0];for(;void 0!==s;){if(i===s.index){let e;2===s.type?e=new lt(n,n.nextSibling,this,t):1===s.type?e=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(e=new dt(n,this,t)),this._$AV.push(e),s=o[++a]}i!==s?.index&&(n=rt.nextNode(),i++)}return rt.currentNode=D,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},lt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=et,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=st(this,t,e),Z(t)?t===et||null==t||""===t?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==tt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):B(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==et&&Z(this._$AH)?this._$AA.nextSibling.data=t:this.$(D.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=at.createElement(nt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new ct(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ot.get(t.strings);return void 0===e&&ot.set(t.strings,e=new at(t)),e}T(e){_(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,n=0;for(const i of e)n===o.length?o.push(r=new t(this.k(T()),this.k(T()),this,this.options)):r=o[n],r._$AI(i),n++;n<o.length&&(this._$AR(r&&r._$AB.nextSibling,n),o.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ft=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,n){this.type=1,this._$AH=et,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=n,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=et}_$AI(t,e=this,o,r){const n=this.strings;let i=!1;if(void 0===n)t=st(this,t,e,0),i=!Z(t)||t!==this._$AH&&t!==tt,i&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=st(this,r[o+a],e,a),s===tt&&(s=this._$AH[a]),i||=!Z(s)||s!==this._$AH[a],s===et?t=et:t!==et&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!r&&this.O(t)}O(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ht=class extends ft{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===et?void 0:t}},ut=class extends ft{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}},pt=class extends ft{constructor(t,e,o,r,n){super(t,e,o,r,n),this.type=5}_$AI(t,e=this){if((t=st(this,t,e,0)??et)===tt)return;const o=this._$AH,r=t===et&&o!==et||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==et&&(o===et||r);r&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},dt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){st(this,t)}};const yt={j:P,P:j,A:F,C:1,M:it,L:ct,R:B,V:st,D:lt,I:ft,H:ut,N:pt,U:ht,B:dt},gt=k.litHtmlPolyfillSupport;gt?.(at,lt),(k.litHtmlVersions??=[]).push("3.1.0");
42
42
  /**
43
43
  * @license
44
44
  * Copyright 2019 Google LLC
@@ -49,7 +49,7 @@ const bt=globalThis,mt=bt.ShadowRoot&&(void 0===bt.ShadyCSS||bt.ShadyCSS.nativeS
49
49
  * @license
50
50
  * Copyright 2017 Google LLC
51
51
  * SPDX-License-Identifier: BSD-3-Clause
52
- */,{is:Ct,defineProperty:Et,getOwnPropertyDescriptor:Rt,getOwnPropertyNames:Ut,getOwnPropertySymbols:It,getPrototypeOf:Lt}=Object,At=globalThis,Wt=At.trustedTypes,kt=Wt?Wt.emptyScript:"",$t=At.reactiveElementPolyfillSupport,Kt=(t,e)=>t,Pt={toAttribute(t,e){switch(e){case Boolean:t=t?kt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},jt=(t,e)=>!Ct(t,e),Mt={attribute:!0,type:String,converter:Pt,reflect:!1,hasChanged:jt};Symbol.metadata??=Symbol("metadata"),At.litPropertyMetadata??=new WeakMap;let Ft=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Mt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&Et(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:n}=Rt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const i=r?.call(this);n.call(this,e),this.requestUpdate(t,i,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Mt}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=Lt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("properties"))){const t=this.properties,e=[...Ut(t),...It(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(xt(t))}else void 0!==t&&e.push(xt(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(mt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=bt.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const n=(void 0!==o.converter?.toAttribute?o.converter:Pt).toAttribute(e,o.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Pt;this._$Em=r,this[r]=n.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,n){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??jt)(r?n:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};Ft.elementStyles=[],Ft.shadowRootOptions={mode:"open"},Ft[Kt("elementProperties")]=new Map,Ft[Kt("finalized")]=new Map,$t?.({ReactiveElement:Ft}),(At.reactiveElementVersions??=[]).push("2.0.2");
52
+ */,{is:Ct,defineProperty:Et,getOwnPropertyDescriptor:Rt,getOwnPropertyNames:Ut,getOwnPropertySymbols:It,getPrototypeOf:Lt}=Object,At=globalThis,Wt=At.trustedTypes,kt=Wt?Wt.emptyScript:"",$t=At.reactiveElementPolyfillSupport,Kt=(t,e)=>t,Pt={toAttribute(t,e){switch(e){case Boolean:t=t?kt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},jt=(t,e)=>!Ct(t,e),Ft={attribute:!0,type:String,converter:Pt,reflect:!1,hasChanged:jt};Symbol.metadata??=Symbol("metadata"),At.litPropertyMetadata??=new WeakMap;let Mt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Ft){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&Et(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:n}=Rt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const i=r?.call(this);n.call(this,e),this.requestUpdate(t,i,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ft}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=Lt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("properties"))){const t=this.properties,e=[...Ut(t),...It(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(xt(t))}else void 0!==t&&e.push(xt(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(mt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=bt.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const n=(void 0!==o.converter?.toAttribute?o.converter:Pt).toAttribute(e,o.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Pt;this._$Em=r,this[r]=n.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,n){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??jt)(r?n:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};Mt.elementStyles=[],Mt.shadowRootOptions={mode:"open"},Mt[Kt("elementProperties")]=new Map,Mt[Kt("finalized")]=new Map,$t?.({ReactiveElement:Mt}),(At.reactiveElementVersions??=[]).push("2.0.2");
53
53
  /**
54
54
  * @license
55
55
  * Copyright 2017 Google LLC
@@ -61,12 +61,16 @@ const Dt=globalThis,Tt=Dt.trustedTypes,Zt=Tt?Tt.createPolicy("lit-html",{createH
61
61
  * Copyright 2017 Google LLC
62
62
  * SPDX-License-Identifier: BSD-3-Clause
63
63
  */
64
- let Oe=class extends Ft{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const r=o?.renderBefore??e;let n=r._$litPart$;if(void 0===n){const t=o?.renderBefore??null;r._$litPart$=n=new pe(e.insertBefore(qt(),t),t,void 0,o??{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ae}};Oe._$litElement$=!0,Oe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Oe});const we=globalThis.litElementPolyfillSupport;we?.({LitElement:Oe}),(globalThis.litElementVersions??=[]).push("4.0.2");const Se=t=>"string"==typeof t?St(t):t;class Ne{static create(t,e,o,r){const n=t=>Se(null!=t?t:r),i=Nt`var(${Se(t)}, ${n(r)})`;return i.name=t,i.description=e,i.category=o,i.defaultValue=r,i.defaultCssValue=n,i.get=e=>Nt`var(${Se(t)}, ${n(e)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>r,i}static extend(t,e,o,r){const n=t=>o.get(null!=t?t:r),i=Nt`var(${Se(t)}, ${n(r)})`;return i.name=t,i.description=e,i.category=o.category,i.fallbackVariable=o,i.defaultValue=r,i.defaultCssValue=n,i.get=e=>Nt`var(${Se(t)}, ${n(e)})`,i.breadcrumb=()=>[o.name,...o.breadcrumb()],i.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),i}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Se(null!=e?e:t.lastResortDefaultValue()),r=Nt`var(${Se(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>Nt`var(${Se(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const xe={colorWhite:Ne.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ne.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ne.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ne.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ne.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ne.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ne.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ne.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ne.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ne.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ne.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ne.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ne.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ne.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ne.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ne.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ne.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ne.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ne.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ne.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ne.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ne.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ne.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ne.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ne.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ne.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ne.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ne.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ne.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ne.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ne.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ne.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ne.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ne.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ne.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ne.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ne.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ne.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ne.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ne.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ne.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ne.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ne.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ne.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ne.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ne.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ne.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ne.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ne.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ne.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ne.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ne.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ne.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ne.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ne.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ne.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ne.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ne.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ne.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ne.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ne.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ne.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ne.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ne.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ne.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ne.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ne.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ne.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ne.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ne.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ne.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ne.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ne.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ne.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ne.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ne.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ne.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ne.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ne.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ne.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ne.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ne.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ne.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ne.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ne.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ne.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ne.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ne.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ne.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ne.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ne.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ne.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ne.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ne.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ne.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ne.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ne.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ne.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ne.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ne.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ne.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ne.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ne.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ne.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ne.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ne.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ne.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ne.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ne.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ne.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ne.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ne.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ne.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ne.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ne.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ne.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ne.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ne.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ne.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ne.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ne.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ne.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ne.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ne.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ne.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ne.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ne.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ne.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ne.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ne.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ne.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ne.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ne.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ne.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ne.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ne.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ne.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ne.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ne.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ne.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ne.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ne.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ne.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ne.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ne.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ne.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ne.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ne.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ne.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ne.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ne.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ne.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ne.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ne.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ne.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ne.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ne.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ne.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ne.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ne.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ne.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ne.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ne.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ne.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ne.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ne.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ne.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ne.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ne.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ne.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ne.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ne.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ne.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ne.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ne.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ne.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ne.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ne.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ne.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ne.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ne.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ne.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ne.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ne.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ne.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ne.create("--ft-opacity-80","","NUMBER","0.8")},Ce={display:{fontFamily:Ne.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ne.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ne.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ne.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Ne.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ne.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ne.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Ne.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ne.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ne.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Ne.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ne.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ne.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ne.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ne.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ne.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ne.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ne.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ne.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ne.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ne.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ne.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ne.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ne.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ne.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ne.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ne.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ne.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ne.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ne.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ne.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ne.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ne.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ne.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ne.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ne.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ne.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ne.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ee={backgroundActionPrimary:Ne.extend("--ft-background-action-primary","Used as backgorund of primary action components.",xe.colorBrand0),backgroundErrorPrimary:Ne.extend("--ft-background-error-primary","Used as background of error components.",xe.colorRed0),backgroundErrorSubtle:Ne.extend("--ft-background-error-subtle","Used as background of subtle error components.",xe.colorRed10),backgroundInfoPrimary:Ne.extend("--ft-background-info-primary","Used as background of information components.",xe.colorCyan200),backgroundInfoSubtle:Ne.extend("--ft-background-info-subtle","Used as background of subtle information components.",xe.colorCyan10),backgroundWarningPrimary:Ne.extend("--ft-background-warning-primary","Used as background of warning components.",xe.colorOrange300),backgroundWarningSubtle:Ne.extend("--ft-background-warning-subtle","Used as background of subtle information components.",xe.colorOrange10),backgroundSuccessPrimary:Ne.extend("--ft-background-success-primary","Used as background of success components.",xe.colorGreen200),backgroundSuccessSubtle:Ne.extend("--ft-background-success-subtle","Used as background of subtle success components.",xe.colorGreen10),backgroundGlobalSurface:Ne.extend("--ft-background-global-surface","Used as app background.",xe.colorWhite),backgroundGlobalOnSurface:Ne.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",xe.colorGray10),backgroundGlobalOnSurfaceDark:Ne.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",xe.colorGray30),contentActionPrimary:Ne.extend("--ft-content-action-primary","Used on label of primary action on light surface.",xe.colorBrand0),contentWarningPrimary:Ne.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",xe.colorOrange300),contentWarningIconOnly:Ne.extend("--ft-content-warning-icon-only","Used on warning status icons alone",xe.colorOrange0),contentErrorPrimary:Ne.extend("--ft-content-error-primary","Used on label of error messages on light surface.",xe.colorRed0),contentErrorIconOnly:Ne.extend("--ft-content-error-icon-only","Used on error status icons alone",xe.colorRed0),contentInfoPrimary:Ne.extend("--ft-content-info-primary","Used on label of information messages on light surface.",xe.colorCyan200),contentInfoIconOnly:Ne.extend("--ft-content-info-icon-only","Used on info status icons alone",xe.colorCyan0),contentSuccessIconOnly:Ne.extend("--ft-content-success-icon-only","Used on success status icons alone",xe.colorGreen0),contentSuccessPrimary:Ne.extend("--ft-content-success-primary","Used on label of success messages on light surface.",xe.colorGreen200),contentGlobalPrimary:Ne.extend("--ft-content-global-primary","Used for main content on the page.",xe.colorGray500),contentGlobalSecondary:Ne.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",xe.colorGray200),contentGlobalSubtle:Ne.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",xe.colorGray0),contentGlobalOnColor:Ne.extend("--ft-content-global-on-color","Used for content on a dominant color.",xe.colorWhite),borderActionPrimary:Ne.extend("--ft-border-action-primary","Used as border for primary action components.",xe.colorBrand0),borderActionFocusRing:Ne.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",xe.colorCyan0),borderWarningPrimary:Ne.extend("--ft-border-warning-primary","Used as border for warning components.",xe.colorOrange30),borderSuccessPrimary:Ne.extend("--ft-border-success-primary","Used as border for success components.",xe.colorGreen30),borderErrorPrimary:Ne.extend("--ft-border-error-primary","Used as border for error components.",xe.colorRed30),borderInfoPrimary:Ne.extend("--ft-border-info-primary","Used as border for information components.",xe.colorCyan30),borderGlobalSubtle:Ne.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",xe.colorGray30),borderGlobalPrimary:Ne.extend("--ft-border-global-primary","Used as border for element like input.",xe.colorGray50),borderInputPrimary:Ne.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",xe.colorGray80)};Ne.create("--ft-button-large-height","","SIZE","40px"),Ne.extend("--ft-button-large-horizontal-padding","",xe.spacing4),Ne.extend("--ft-button-large-gap","",xe.spacing2),Ne.extend("--ft-button-large-border-radius","",xe.borderRadiusS),Ne.extend("--ft-button-large-icon-size","",xe.iconSize3),Ne.create("--ft-button-large-border-width","","SIZE","1px"),Ne.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Ne.create("--ft-button-large-icon-only-width","","SIZE","40px"),Ne.create("--ft-button-small-height","","SIZE","30px"),Ne.extend("--ft-button-small-horizontal-padding","",xe.spacing3),Ne.extend("--ft-button-small-gap","",xe.spacing2),Ne.extend("--ft-button-small-border-radius","",xe.borderRadiusS),Ne.extend("--ft-button-small-icon-size","",xe.iconSize2),Ne.create("--ft-button-small-border-width","","SIZE","1px"),Ne.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Ne.create("--ft-button-small-icon-only-width","","SIZE","30px"),Ne.extend("--ft-button-primary-background-color","",Ee.backgroundActionPrimary),Ne.extend("--ft-button-primary-color","",Ee.contentGlobalOnColor),Ne.extend("--ft-button-primary-icon-color","",Ee.contentGlobalOnColor),Ne.extend("--ft-button-primary-state-layer-color","",Ee.contentGlobalOnColor),Ne.extend("--ft-button-primary-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-button-primary-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-button-primary-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-button-primary-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-button-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Ne.extend("--ft-button-tertiary-color","",Ee.contentActionPrimary),Ne.extend("--ft-button-tertiary-icon-color","",Ee.contentActionPrimary),Ne.extend("--ft-button-tertiary-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-button-tertiary-state-layer-opacity-hover","",xe.opacity8),Ne.extend("--ft-button-tertiary-state-layer-opacity-focus","",xe.opacity8),Ne.extend("--ft-button-tertiary-state-layer-opacity-active","",xe.opacity16),Ne.extend("--ft-button-tertiary-component-opacity-disabled","",xe.opacity40),Ne.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Ne.extend("--ft-button-secondary-color","",Ee.contentActionPrimary),Ne.extend("--ft-button-secondary-icon-color","",Ee.contentActionPrimary),Ne.extend("--ft-button-secondary-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-button-secondary-state-layer-opacity-hover","",xe.opacity8),Ne.extend("--ft-button-secondary-state-layer-opacity-focus","",xe.opacity8),Ne.extend("--ft-button-secondary-state-layer-opacity-active","",xe.opacity16),Ne.extend("--ft-button-secondary-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-button-secondary-border-color","",Ee.borderActionPrimary),Ne.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Ne.extend("--ft-button-neutral-icon-color","",Ee.contentGlobalSecondary),Ne.extend("--ft-button-neutral-color","",Ee.contentGlobalSecondary),Ne.extend("--ft-button-neutral-state-layer-color","",Ee.contentGlobalSecondary),Ne.extend("--ft-button-neutral-state-layer-opacity-hover","",xe.opacity8),Ne.extend("--ft-button-neutral-state-layer-opacity-focus","",xe.opacity8),Ne.extend("--ft-button-neutral-state-layer-opacity-active","",xe.opacity16),Ne.extend("--ft-button-neutral-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-tabs-top-left-border-radius","",xe.borderRadiusS),Ne.extend("--ft-tabs-top-right-border-radius","",xe.borderRadiusS),Ne.extend("--ft-tabs-label-horizontal-padding","",xe.spacing4),Ne.extend("--ft-tabs-label-vertical-padding","",xe.spacing3),Ne.extend("--ft-tabs-label-gap","",xe.spacing1),Ne.extend("--ft-switch-group-horizontal-padding","",xe.spacing1),Ne.extend("--ft-switch-group-vertical-padding","",xe.spacing1),Ne.extend("--ft-switch-group-gap","",xe.spacing1),Ne.extend("--ft-switch-group-background-color","",Ee.backgroundGlobalSurface),Ne.extend("--ft-switch-group-border-color","",Ee.borderGlobalSubtle),Ne.create("--ft-switch-group-border-radius","","SIZE","6px"),Ne.extend("--ft-switch-label-horizontal-padding","",xe.spacing2),Ne.extend("--ft-switch-label-vertical-padding","",xe.spacing1),Ne.extend("--ft-switch-icon-horizontal-padding","",xe.spacing1),Ne.extend("--ft-switch-icon-vertical-padding","",xe.spacing1),Ne.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-switch-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.extend("--ft-switch-option-border-radius","",xe.borderRadiusS),Ne.extend("--ft-switch-off-state-layer-opacity-hover","",xe.opacity8),Ne.extend("--ft-switch-off-state-layer-opacity-focus","",xe.opacity8),Ne.extend("--ft-switch-off-state-layer-opacity-active","",xe.opacity16),Ne.extend("--ft-switch-off-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-switch-off-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-switch-off-state-layer-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-chart-1-light","for area color charts",xe.colorBrand40),Ne.extend("--ft-chart-1-base","for line charts",xe.colorBrand0),Ne.extend("--ft-chart-2-light","for area color charts",xe.colorYellow60),Ne.extend("--ft-chart-2-base","for line charts",xe.colorYellow100),Ne.extend("--ft-chart-3-light","",xe.colorUltramarine40),Ne.extend("--ft-chart-3-base","",xe.colorUltramarine70),Ne.extend("--ft-chart-4-light","",xe.colorCyan50),Ne.extend("--ft-chart-4-base","",xe.colorCyan100),Ne.extend("--ft-chart-5-light","",xe.colorRed40),Ne.extend("--ft-chart-5-base","",xe.colorRed60),Ne.extend("--ft-chart-6-light","",xe.colorGreen40),Ne.extend("--ft-chart-6-base","",xe.colorGreen70),Ne.extend("--ft-chart-7-light","",xe.colorOrange70),Ne.extend("--ft-chart-7-base","",xe.colorOrange100),Ne.extend("--ft-chart-8-light","",xe.colorAvocado70),Ne.extend("--ft-chart-8-base","",xe.colorAvocado200),Ne.extend("--ft-chart-9-light","",xe.colorBrown50),Ne.extend("--ft-chart-9-base","",xe.colorBrown200),Ne.extend("--ft-chart-10-light","",xe.colorGray50),Ne.extend("--ft-chart-10-base","",xe.colorGray80),Ne.extend("--ft-chart-monochrome-10","",xe.colorBrand10),Ne.extend("--ft-chart-monochrome-20","",xe.colorBrand20),Ne.extend("--ft-chart-monochrome-30","",xe.colorBrand40),Ne.extend("--ft-chart-monochrome-40","",xe.colorBrand60),Ne.extend("--ft-chart-monochrome-50","",xe.colorBrand0),Ne.extend("--ft-chart-monochrome-60","",xe.colorBrand200),Ne.extend("--ft-chip-large-horizontal-padding","",xe.spacing4),Ne.extend("--ft-chip-large-vertical-padding","",xe.spacing2),Ne.extend("--ft-chip-large-gap","",xe.spacing1),Ne.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-chip-large-border-radius","",xe.borderRadiusPill),Ne.create("--ft-chip-large-border-width","","SIZE","1px"),Ne.extend("--ft-chip-large-icon-size","",xe.iconSize3),Ne.extend("--ft-chip-medium-horizontal-padding","",xe.spacing3),Ne.extend("--ft-chip-medium-vertical-padding","",xe.spacing1),Ne.extend("--ft-chip-medium-gap","",xe.spacing1),Ne.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-chip-medium-border-radius","",xe.borderRadiusPill),Ne.create("--ft-chip-medium-border-width","","SIZE","1px"),Ne.extend("--ft-chip-medium-icon-size","",xe.iconSize2),Ne.extend("--ft-chip-small-horizontal-padding","",xe.spacing2),Ne.extend("--ft-chip-small-vertical-padding","",xe.spacing05),Ne.extend("--ft-chip-small-gap","",xe.spacing1),Ne.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-chip-small-border-radius","",xe.borderRadiusPill),Ne.create("--ft-chip-small-border-width","","SIZE","1px"),Ne.extend("--ft-chip-small-icon-size","",xe.iconSize1),Ne.extend("--ft-chip-neutral-background-color","",Ee.backgroundGlobalOnSurface),Ne.extend("--ft-chip-neutral-color","",Ee.contentGlobalPrimary),Ne.extend("--ft-chip-neutral-border-color","",Ee.borderGlobalSubtle),Ne.extend("--ft-chip-info-background-color","",Ee.backgroundInfoSubtle),Ne.extend("--ft-chip-info-color","",Ee.contentInfoPrimary),Ne.extend("--ft-chip-info-border-color","",Ee.borderInfoPrimary),Ne.extend("--ft-chip-success-background-color","",Ee.backgroundSuccessSubtle),Ne.extend("--ft-chip-success-color","",Ee.contentSuccessPrimary),Ne.extend("--ft-chip-success-border-color","",Ee.borderSuccessPrimary),Ne.extend("--ft-chip-warning-background-color","",Ee.backgroundWarningSubtle),Ne.extend("--ft-chip-warning-color","",Ee.contentWarningPrimary),Ne.extend("--ft-chip-warning-border-color","",Ee.borderWarningPrimary),Ne.extend("--ft-chip-error-background-color","",Ee.backgroundErrorSubtle),Ne.extend("--ft-chip-error-color","",Ee.contentErrorPrimary),Ne.extend("--ft-chip-error-border-color","",Ee.borderErrorPrimary),Ne.create("--ft-notice-border-width","","SIZE","1px"),Ne.extend("--ft-notice-horizontal-padding","",xe.spacing2),Ne.extend("--ft-notice-vertical-padding","",xe.spacing1),Ne.extend("--ft-notice-border-radius","",xe.borderRadiusS),Ne.extend("--ft-notice-gap","",xe.spacing2),Ne.extend("--ft-notice-icon-size","",xe.iconSize3),Ne.extend("--ft-notice-info-background-color","",Ee.backgroundInfoSubtle),Ne.extend("--ft-notice-info-border-color","",Ee.borderInfoPrimary),Ne.extend("--ft-notice-info-color","",Ee.contentInfoPrimary),Ne.extend("--ft-notice-warning-background-color","",Ee.backgroundWarningSubtle),Ne.extend("--ft-notice-warning-border-color","",Ee.borderWarningPrimary),Ne.extend("--ft-notice-warning-color","",Ee.contentWarningPrimary),Ne.extend("--ft-checkbox-label-color","",Ee.contentGlobalPrimary),Ne.extend("--ft-checkbox-checked-background-color","",Ee.contentActionPrimary),Ne.extend("--ft-checkbox-checked-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-checkbox-checked-color","",Ee.contentGlobalOnColor),Ne.extend("--ft-checkbox-checked-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-checkbox-checked-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-checkbox-checked-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-checkbox-checked-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-checkbox-unchecked-border-color","",xe.colorGray80),Ne.extend("--ft-checkbox-unchecked-state-layer-color","",xe.colorGray80),Ne.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-checkbox-unchecked-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-checkbox-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ne.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-checkbox-gap","",xe.spacing3),Ne.extend("--ft-toggle-off-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-toggle-off-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-toggle-off-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-toggle-off-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-toggle-off-background-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-toggle-off-icon-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-toggle-off-state-layer-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-toggle-on-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-toggle-on-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-toggle-on-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-toggle-on-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-toggle-on-background-color","",Ee.contentActionPrimary),Ne.extend("--ft-toggle-on-icon-color","",Ee.contentActionPrimary),Ne.extend("--ft-toggle-on-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-toggle-label-color","",Ee.contentGlobalPrimary),Ne.extend("--ft-toggle-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.extend("--ft-toggle-gap","",xe.spacing3),Ne.extend("--ft-radio-label-color","",Ee.contentGlobalPrimary),Ne.extend("--ft-radio-selected-color","",Ee.contentActionPrimary),Ne.extend("--ft-radio-selected-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-radio-selected-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-radio-selected-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-radio-selected-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-radio-selected-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-radio-unselected-state-layer-color","",xe.colorGray80),Ne.extend("--ft-radio-unselected-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-radio-unselected-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-radio-unselected-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-radio-unselected-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-radio-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ne.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-radio-gap","",xe.spacing3),Ne.extend("--ft-notification-icon-size","",xe.iconSize4),Ne.extend("--ft-notification-horizontal-padding","",xe.spacing4),Ne.extend("--ft-notification-vertical-padding","",xe.spacing4),Ne.extend("--ft-notification-info-background-color","",Ee.backgroundInfoSubtle),Ne.extend("--ft-notification-info-color","",Ee.contentInfoPrimary),Ne.extend("--ft-notification-info-border-color","",Ee.borderInfoPrimary),Ne.extend("--ft-notification-success-background-color","",Ee.backgroundSuccessSubtle),Ne.extend("--ft-notification-success-color","",Ee.contentSuccessPrimary),Ne.extend("--ft-notification-success-border-color","",Ee.borderSuccessPrimary),Ne.extend("--ft-notification-warning-background-color","",Ee.backgroundWarningSubtle),Ne.extend("--ft-notification-warning-color","",Ee.contentWarningPrimary),Ne.extend("--ft-notification-warning-border-color","",Ee.borderWarningPrimary),Ne.extend("--ft-notification-error-background-color","",Ee.backgroundErrorSubtle),Ne.extend("--ft-notification-error-color","",Ee.contentErrorPrimary),Ne.extend("--ft-notification-error-border-color","",Ee.borderErrorPrimary),Ne.extend("--ft-notification-border-radius","",xe.borderRadiusPill),Ne.create("--ft-notification-border-width","","SIZE","1px"),Ne.extend("--ft-notification-gap-leading","",xe.spacing2),Ne.extend("--ft-notification-gap-trailing","",xe.spacing8);const Re={colorPrimary:Ne.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ne.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ne.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ne.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ne.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ne.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ne.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ne.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ne.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ne.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ne.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ne.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ne.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ne.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ne.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ne.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ne.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ne.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ne.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ne.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ne.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ne.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ne.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ne.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ne.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ne.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ne.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ne.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ne.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ne.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ne.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ne.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ne.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ne.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ne.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ne.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ne.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ne.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ne.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ne.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ne.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ne.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ne.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ne.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ne.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Ne.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:Ne.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:Ne.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:Ne.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:Ne.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:Ne.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:Ne.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:Ne.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:Ne.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:Ne.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ne.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ne.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ne.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ne.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ne.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ne.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ne.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ue=window,Ie=Ue.ShadowRoot&&(void 0===Ue.ShadyCSS||Ue.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
64
+ let Oe=class extends Mt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const r=o?.renderBefore??e;let n=r._$litPart$;if(void 0===n){const t=o?.renderBefore??null;r._$litPart$=n=new pe(e.insertBefore(qt(),t),t,void 0,o??{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ae}};Oe._$litElement$=!0,Oe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Oe});const we=globalThis.litElementPolyfillSupport;we?.({LitElement:Oe}),(globalThis.litElementVersions??=[]).push("4.0.2");const Se=t=>"string"==typeof t?St(t):t;class Ne{static create(t,e,o,r){const n=t=>Se(null!=t?t:r),i=Nt`var(${Se(t)}, ${n(r)})`;return i.name=t,i.description=e,i.category=o,i.defaultValue=r,i.defaultCssValue=n,i.get=e=>Nt`var(${Se(t)}, ${n(e)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>r,i}static extend(t,e,o,r){const n=t=>o.get(null!=t?t:r),i=Nt`var(${Se(t)}, ${n(r)})`;return i.name=t,i.description=e,i.category=o.category,i.fallbackVariable=o,i.defaultValue=r,i.defaultCssValue=n,i.get=e=>Nt`var(${Se(t)}, ${n(e)})`,i.breadcrumb=()=>[o.name,...o.breadcrumb()],i.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),i}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Se(null!=e?e:t.lastResortDefaultValue()),r=Nt`var(${Se(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>Nt`var(${Se(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const xe={colorWhite:Ne.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ne.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ne.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ne.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ne.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ne.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ne.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ne.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ne.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ne.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ne.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ne.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ne.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ne.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ne.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ne.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ne.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ne.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ne.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ne.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ne.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ne.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ne.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ne.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ne.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ne.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ne.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ne.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ne.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ne.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ne.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ne.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ne.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ne.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ne.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ne.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ne.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ne.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ne.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ne.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ne.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ne.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ne.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ne.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ne.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ne.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ne.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ne.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ne.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ne.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ne.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ne.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ne.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ne.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ne.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ne.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ne.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ne.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ne.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ne.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ne.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ne.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ne.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ne.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ne.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ne.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ne.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ne.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ne.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ne.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ne.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ne.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ne.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ne.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ne.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ne.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ne.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ne.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ne.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ne.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ne.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ne.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ne.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ne.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ne.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ne.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ne.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ne.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ne.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ne.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ne.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ne.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ne.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ne.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ne.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ne.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ne.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ne.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ne.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ne.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ne.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ne.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ne.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ne.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ne.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ne.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ne.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ne.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ne.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ne.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ne.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ne.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ne.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ne.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ne.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ne.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ne.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ne.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ne.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ne.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ne.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ne.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ne.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ne.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ne.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ne.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ne.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ne.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ne.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ne.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ne.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ne.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ne.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ne.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ne.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ne.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ne.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ne.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ne.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ne.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ne.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ne.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ne.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ne.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ne.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ne.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ne.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ne.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ne.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ne.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ne.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ne.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ne.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ne.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ne.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ne.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ne.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ne.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ne.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ne.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ne.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ne.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ne.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ne.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ne.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ne.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ne.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ne.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ne.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ne.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ne.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ne.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ne.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ne.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ne.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ne.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ne.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ne.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ne.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ne.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ne.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ne.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ne.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ne.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ne.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ne.create("--ft-opacity-80","","NUMBER","0.8")},Ce={display:{fontFamily:Ne.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ne.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ne.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ne.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Ne.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ne.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ne.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Ne.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ne.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ne.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Ne.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ne.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ne.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ne.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ne.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ne.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ne.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ne.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ne.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ne.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ne.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ne.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ne.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ne.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ne.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ne.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ne.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ne.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ne.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ne.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ne.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ne.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ne.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ne.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ne.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ne.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ne.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ne.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ee={backgroundActionPrimary:Ne.extend("--ft-background-action-primary","Used as backgorund of primary action components.",xe.colorBrand0),backgroundErrorPrimary:Ne.extend("--ft-background-error-primary","Used as background of error components.",xe.colorRed0),backgroundErrorSubtle:Ne.extend("--ft-background-error-subtle","Used as background of subtle error components.",xe.colorRed10),backgroundInfoPrimary:Ne.extend("--ft-background-info-primary","Used as background of information components.",xe.colorCyan200),backgroundInfoSubtle:Ne.extend("--ft-background-info-subtle","Used as background of subtle information components.",xe.colorCyan10),backgroundWarningPrimary:Ne.extend("--ft-background-warning-primary","Used as background of warning components.",xe.colorOrange300),backgroundWarningSubtle:Ne.extend("--ft-background-warning-subtle","Used as background of subtle information components.",xe.colorOrange10),backgroundSuccessPrimary:Ne.extend("--ft-background-success-primary","Used as background of success components.",xe.colorGreen200),backgroundSuccessSubtle:Ne.extend("--ft-background-success-subtle","Used as background of subtle success components.",xe.colorGreen10),backgroundGlobalSurface:Ne.extend("--ft-background-global-surface","Used as app background.",xe.colorWhite),backgroundGlobalOnSurface:Ne.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",xe.colorGray10),backgroundGlobalOnSurfaceDark:Ne.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",xe.colorGray30),contentActionPrimary:Ne.extend("--ft-content-action-primary","Used on label of primary action on light surface.",xe.colorBrand0),contentWarningPrimary:Ne.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",xe.colorOrange300),contentWarningIconOnly:Ne.extend("--ft-content-warning-icon-only","Used on warning status icons alone",xe.colorOrange0),contentErrorPrimary:Ne.extend("--ft-content-error-primary","Used on label of error messages on light surface.",xe.colorRed0),contentErrorIconOnly:Ne.extend("--ft-content-error-icon-only","Used on error status icons alone",xe.colorRed0),contentInfoPrimary:Ne.extend("--ft-content-info-primary","Used on label of information messages on light surface.",xe.colorCyan200),contentInfoIconOnly:Ne.extend("--ft-content-info-icon-only","Used on info status icons alone",xe.colorCyan0),contentSuccessIconOnly:Ne.extend("--ft-content-success-icon-only","Used on success status icons alone",xe.colorGreen0),contentSuccessPrimary:Ne.extend("--ft-content-success-primary","Used on label of success messages on light surface.",xe.colorGreen200),contentGlobalPrimary:Ne.extend("--ft-content-global-primary","Used for main content on the page.",xe.colorGray500),contentGlobalSecondary:Ne.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",xe.colorGray200),contentGlobalSubtle:Ne.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",xe.colorGray0),contentGlobalOnColor:Ne.extend("--ft-content-global-on-color","Used for content on a dominant color.",xe.colorWhite),borderActionPrimary:Ne.extend("--ft-border-action-primary","Used as border for primary action components.",xe.colorBrand0),borderActionFocusRing:Ne.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",xe.colorCyan0),borderWarningPrimary:Ne.extend("--ft-border-warning-primary","Used as border for warning components.",xe.colorOrange30),borderSuccessPrimary:Ne.extend("--ft-border-success-primary","Used as border for success components.",xe.colorGreen30),borderErrorPrimary:Ne.extend("--ft-border-error-primary","Used as border for error components.",xe.colorRed30),borderInfoPrimary:Ne.extend("--ft-border-info-primary","Used as border for information components.",xe.colorCyan30),borderGlobalSubtle:Ne.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",xe.colorGray30),borderGlobalPrimary:Ne.extend("--ft-border-global-primary","Used as border for element like input.",xe.colorGray50),borderInputPrimary:Ne.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",xe.colorGray80)};Ne.create("--ft-button-large-height","","SIZE","40px"),Ne.extend("--ft-button-large-horizontal-padding","",xe.spacing4),Ne.extend("--ft-button-large-gap","",xe.spacing2),Ne.extend("--ft-button-large-border-radius","",xe.borderRadiusS),Ne.extend("--ft-button-large-icon-size","",xe.iconSize3),Ne.create("--ft-button-large-border-width","","SIZE","1px"),Ne.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Ne.create("--ft-button-large-icon-only-width","","SIZE","40px"),Ne.create("--ft-button-small-height","","SIZE","30px"),Ne.extend("--ft-button-small-horizontal-padding","",xe.spacing3),Ne.extend("--ft-button-small-gap","",xe.spacing2),Ne.extend("--ft-button-small-border-radius","",xe.borderRadiusS),Ne.extend("--ft-button-small-icon-size","",xe.iconSize2),Ne.create("--ft-button-small-border-width","","SIZE","1px"),Ne.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Ne.create("--ft-button-small-icon-only-width","","SIZE","30px"),Ne.extend("--ft-button-primary-background-color","",Ee.backgroundActionPrimary),Ne.extend("--ft-button-primary-color","",Ee.contentGlobalOnColor),Ne.extend("--ft-button-primary-icon-color","",Ee.contentGlobalOnColor),Ne.extend("--ft-button-primary-state-layer-color","",Ee.contentGlobalOnColor),Ne.extend("--ft-button-primary-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-button-primary-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-button-primary-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-button-primary-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-button-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Ne.extend("--ft-button-tertiary-color","",Ee.contentActionPrimary),Ne.extend("--ft-button-tertiary-icon-color","",Ee.contentActionPrimary),Ne.extend("--ft-button-tertiary-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-button-tertiary-state-layer-opacity-hover","",xe.opacity8),Ne.extend("--ft-button-tertiary-state-layer-opacity-focus","",xe.opacity8),Ne.extend("--ft-button-tertiary-state-layer-opacity-active","",xe.opacity16),Ne.extend("--ft-button-tertiary-component-opacity-disabled","",xe.opacity40),Ne.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Ne.extend("--ft-button-secondary-color","",Ee.contentActionPrimary),Ne.extend("--ft-button-secondary-icon-color","",Ee.contentActionPrimary),Ne.extend("--ft-button-secondary-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-button-secondary-state-layer-opacity-hover","",xe.opacity8),Ne.extend("--ft-button-secondary-state-layer-opacity-focus","",xe.opacity8),Ne.extend("--ft-button-secondary-state-layer-opacity-active","",xe.opacity16),Ne.extend("--ft-button-secondary-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-button-secondary-border-color","",Ee.borderActionPrimary),Ne.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Ne.extend("--ft-button-neutral-icon-color","",Ee.contentGlobalSecondary),Ne.extend("--ft-button-neutral-color","",Ee.contentGlobalSecondary),Ne.extend("--ft-button-neutral-state-layer-color","",Ee.contentGlobalSecondary),Ne.extend("--ft-button-neutral-state-layer-opacity-hover","",xe.opacity8),Ne.extend("--ft-button-neutral-state-layer-opacity-focus","",xe.opacity8),Ne.extend("--ft-button-neutral-state-layer-opacity-active","",xe.opacity16),Ne.extend("--ft-button-neutral-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-tabs-top-left-border-radius","",xe.borderRadiusS),Ne.extend("--ft-tabs-top-right-border-radius","",xe.borderRadiusS),Ne.extend("--ft-tabs-label-horizontal-padding","",xe.spacing4),Ne.extend("--ft-tabs-label-vertical-padding","",xe.spacing3),Ne.extend("--ft-tabs-label-gap","",xe.spacing1),Ne.extend("--ft-switch-group-horizontal-padding","",xe.spacing1),Ne.extend("--ft-switch-group-vertical-padding","",xe.spacing1),Ne.extend("--ft-switch-group-gap","",xe.spacing1),Ne.extend("--ft-switch-group-background-color","",Ee.backgroundGlobalSurface),Ne.extend("--ft-switch-group-border-color","",Ee.borderGlobalSubtle),Ne.create("--ft-switch-group-border-radius","","SIZE","6px"),Ne.extend("--ft-switch-label-horizontal-padding","",xe.spacing2),Ne.extend("--ft-switch-label-vertical-padding","",xe.spacing1),Ne.extend("--ft-switch-icon-horizontal-padding","",xe.spacing1),Ne.extend("--ft-switch-icon-vertical-padding","",xe.spacing1),Ne.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-switch-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.extend("--ft-switch-option-border-radius","",xe.borderRadiusS),Ne.extend("--ft-switch-off-state-layer-opacity-hover","",xe.opacity8),Ne.extend("--ft-switch-off-state-layer-opacity-focus","",xe.opacity8),Ne.extend("--ft-switch-off-state-layer-opacity-active","",xe.opacity16),Ne.extend("--ft-switch-off-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-switch-off-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-switch-off-state-layer-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-chart-1-light","for area color charts",xe.colorBrand40),Ne.extend("--ft-chart-1-base","for line charts",xe.colorBrand0),Ne.extend("--ft-chart-2-light","for area color charts",xe.colorYellow60),Ne.extend("--ft-chart-2-base","for line charts",xe.colorYellow100),Ne.extend("--ft-chart-3-light","",xe.colorUltramarine40),Ne.extend("--ft-chart-3-base","",xe.colorUltramarine70),Ne.extend("--ft-chart-4-light","",xe.colorCyan50),Ne.extend("--ft-chart-4-base","",xe.colorCyan100),Ne.extend("--ft-chart-5-light","",xe.colorRed40),Ne.extend("--ft-chart-5-base","",xe.colorRed60),Ne.extend("--ft-chart-6-light","",xe.colorGreen40),Ne.extend("--ft-chart-6-base","",xe.colorGreen70),Ne.extend("--ft-chart-7-light","",xe.colorOrange70),Ne.extend("--ft-chart-7-base","",xe.colorOrange100),Ne.extend("--ft-chart-8-light","",xe.colorAvocado70),Ne.extend("--ft-chart-8-base","",xe.colorAvocado200),Ne.extend("--ft-chart-9-light","",xe.colorBrown50),Ne.extend("--ft-chart-9-base","",xe.colorBrown200),Ne.extend("--ft-chart-10-light","",xe.colorGray50),Ne.extend("--ft-chart-10-base","",xe.colorGray80),Ne.extend("--ft-chart-monochrome-10","",xe.colorBrand10),Ne.extend("--ft-chart-monochrome-20","",xe.colorBrand20),Ne.extend("--ft-chart-monochrome-30","",xe.colorBrand40),Ne.extend("--ft-chart-monochrome-40","",xe.colorBrand60),Ne.extend("--ft-chart-monochrome-50","",xe.colorBrand0),Ne.extend("--ft-chart-monochrome-60","",xe.colorBrand200),Ne.extend("--ft-chip-large-horizontal-padding","",xe.spacing4),Ne.extend("--ft-chip-large-vertical-padding","",xe.spacing2),Ne.extend("--ft-chip-large-gap","",xe.spacing1),Ne.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-chip-large-border-radius","",xe.borderRadiusPill),Ne.create("--ft-chip-large-border-width","","SIZE","1px"),Ne.extend("--ft-chip-large-icon-size","",xe.iconSize3),Ne.extend("--ft-chip-medium-horizontal-padding","",xe.spacing3),Ne.extend("--ft-chip-medium-vertical-padding","",xe.spacing1),Ne.extend("--ft-chip-medium-gap","",xe.spacing1),Ne.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-chip-medium-border-radius","",xe.borderRadiusPill),Ne.create("--ft-chip-medium-border-width","","SIZE","1px"),Ne.extend("--ft-chip-medium-icon-size","",xe.iconSize2),Ne.extend("--ft-chip-small-horizontal-padding","",xe.spacing2),Ne.extend("--ft-chip-small-vertical-padding","",xe.spacing05),Ne.extend("--ft-chip-small-gap","",xe.spacing1),Ne.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-chip-small-border-radius","",xe.borderRadiusPill),Ne.create("--ft-chip-small-border-width","","SIZE","1px"),Ne.extend("--ft-chip-small-icon-size","",xe.iconSize1),Ne.extend("--ft-chip-neutral-background-color","",Ee.backgroundGlobalOnSurface),Ne.extend("--ft-chip-neutral-color","",Ee.contentGlobalPrimary),Ne.extend("--ft-chip-neutral-border-color","",Ee.borderGlobalSubtle),Ne.extend("--ft-chip-info-background-color","",Ee.backgroundInfoSubtle),Ne.extend("--ft-chip-info-color","",Ee.contentInfoPrimary),Ne.extend("--ft-chip-info-border-color","",Ee.borderInfoPrimary),Ne.extend("--ft-chip-success-background-color","",Ee.backgroundSuccessSubtle),Ne.extend("--ft-chip-success-color","",Ee.contentSuccessPrimary),Ne.extend("--ft-chip-success-border-color","",Ee.borderSuccessPrimary),Ne.extend("--ft-chip-warning-background-color","",Ee.backgroundWarningSubtle),Ne.extend("--ft-chip-warning-color","",Ee.contentWarningPrimary),Ne.extend("--ft-chip-warning-border-color","",Ee.borderWarningPrimary),Ne.extend("--ft-chip-error-background-color","",Ee.backgroundErrorSubtle),Ne.extend("--ft-chip-error-color","",Ee.contentErrorPrimary),Ne.extend("--ft-chip-error-border-color","",Ee.borderErrorPrimary),Ne.create("--ft-notice-border-width","","SIZE","1px"),Ne.extend("--ft-notice-horizontal-padding","",xe.spacing2),Ne.extend("--ft-notice-vertical-padding","",xe.spacing1),Ne.extend("--ft-notice-border-radius","",xe.borderRadiusS),Ne.extend("--ft-notice-gap","",xe.spacing2),Ne.extend("--ft-notice-icon-size","",xe.iconSize3),Ne.extend("--ft-notice-info-background-color","",Ee.backgroundInfoSubtle),Ne.extend("--ft-notice-info-border-color","",Ee.borderInfoPrimary),Ne.extend("--ft-notice-info-color","",Ee.contentInfoPrimary),Ne.extend("--ft-notice-warning-background-color","",Ee.backgroundWarningSubtle),Ne.extend("--ft-notice-warning-border-color","",Ee.borderWarningPrimary),Ne.extend("--ft-notice-warning-color","",Ee.contentWarningPrimary),Ne.extend("--ft-checkbox-label-color","",Ee.contentGlobalPrimary),Ne.extend("--ft-checkbox-checked-background-color","",Ee.contentActionPrimary),Ne.extend("--ft-checkbox-checked-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-checkbox-checked-color","",Ee.contentGlobalOnColor),Ne.extend("--ft-checkbox-checked-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-checkbox-checked-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-checkbox-checked-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-checkbox-checked-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-checkbox-unchecked-border-color","",xe.colorGray80),Ne.extend("--ft-checkbox-unchecked-state-layer-color","",xe.colorGray80),Ne.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-checkbox-unchecked-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-checkbox-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ne.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-checkbox-gap","",xe.spacing3),Ne.extend("--ft-toggle-off-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-toggle-off-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-toggle-off-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-toggle-off-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-toggle-off-background-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-toggle-off-icon-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-toggle-off-state-layer-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-toggle-on-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-toggle-on-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-toggle-on-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-toggle-on-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-toggle-on-background-color","",Ee.contentActionPrimary),Ne.extend("--ft-toggle-on-icon-color","",Ee.contentActionPrimary),Ne.extend("--ft-toggle-on-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-toggle-label-color","",Ee.contentGlobalPrimary),Ne.extend("--ft-toggle-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.extend("--ft-toggle-gap","",xe.spacing3),Ne.extend("--ft-radio-label-color","",Ee.contentGlobalPrimary),Ne.extend("--ft-radio-selected-color","",Ee.contentActionPrimary),Ne.extend("--ft-radio-selected-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-radio-selected-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-radio-selected-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-radio-selected-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-radio-selected-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-radio-unselected-state-layer-color","",xe.colorGray80),Ne.extend("--ft-radio-unselected-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-radio-unselected-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-radio-unselected-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-radio-unselected-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-radio-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ne.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-radio-gap","",xe.spacing3),Ne.extend("--ft-notification-icon-size","",xe.iconSize4),Ne.extend("--ft-notification-horizontal-padding","",xe.spacing4),Ne.extend("--ft-notification-vertical-padding","",xe.spacing4),Ne.extend("--ft-notification-info-background-color","",Ee.backgroundInfoSubtle),Ne.extend("--ft-notification-info-color","",Ee.contentInfoPrimary),Ne.extend("--ft-notification-info-border-color","",Ee.borderInfoPrimary),Ne.extend("--ft-notification-success-background-color","",Ee.backgroundSuccessSubtle),Ne.extend("--ft-notification-success-color","",Ee.contentSuccessPrimary),Ne.extend("--ft-notification-success-border-color","",Ee.borderSuccessPrimary),Ne.extend("--ft-notification-warning-background-color","",Ee.backgroundWarningSubtle),Ne.extend("--ft-notification-warning-color","",Ee.contentWarningPrimary),Ne.extend("--ft-notification-warning-border-color","",Ee.borderWarningPrimary),Ne.extend("--ft-notification-error-background-color","",Ee.backgroundErrorSubtle),Ne.extend("--ft-notification-error-color","",Ee.contentErrorPrimary),Ne.extend("--ft-notification-error-border-color","",Ee.borderErrorPrimary),Ne.extend("--ft-notification-border-radius","",xe.borderRadiusPill),Ne.create("--ft-notification-border-width","","SIZE","1px"),Ne.extend("--ft-notification-gap-leading","",xe.spacing2),Ne.extend("--ft-notification-gap-trailing","",xe.spacing8);const Re={colorPrimary:Ne.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ne.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ne.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ne.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ne.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ne.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ne.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ne.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ne.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ne.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ne.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ne.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ne.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ne.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ne.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ne.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ne.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ne.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ne.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ne.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ne.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ne.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ne.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ne.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ne.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ne.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ne.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ne.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ne.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ne.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ne.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ne.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ne.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ne.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ne.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ne.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ne.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ne.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ne.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ne.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ne.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ne.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ne.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ne.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ne.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Ne.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:Ne.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:Ne.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:Ne.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:Ne.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:Ne.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:Ne.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:Ne.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:Ne.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:Ne.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ne.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ne.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ne.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ne.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ne.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ne.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ne.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ue=window,Ie=Ue.ShadowRoot&&(void 0===Ue.ShadyCSS||Ue.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
65
65
  /**
66
66
  * @license
67
67
  * Copyright 2019 Google LLC
68
68
  * SPDX-License-Identifier: BSD-3-Clause
69
- */class Le extends Oe{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ie?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Ue.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Ae,We=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};const ke=Symbol("constructorPrototype"),$e=Symbol("constructorName"),Ke=Symbol("exportpartsDebouncer");class Pe extends Le{constructor(){super(),this[Ae]=new n(5),this[$e]=this.constructor.name,this[ke]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[$e]&&Object.setPrototypeOf(this,this[ke])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ke].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,n,i,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(n=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==n?n:[],o=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ae=Ke,We([U()],Pe.prototype,"exportpartsPrefix",void 0),We([W([])],Pe.prototype,"exportpartsPrefixes",void 0),We([U()],Pe.prototype,"customStylesheet",void 0),Nt`
69
+ */class Le extends Oe{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ie?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Ue.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Ae,We=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};const ke=Symbol("constructorPrototype"),$e=Symbol("constructorName"),Ke=Symbol("exportpartsDebouncer");class Pe extends Le{constructor(){super(),this[Ae]=new n(5),this[$e]=this.constructor.name,this[ke]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[$e]&&Object.setPrototypeOf(this,this[ke])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ke].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,n,i,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(n=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==n?n:[],o=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ae=Ke,We([U()],Pe.prototype,"exportpartsPrefix",void 0),We([W([])],Pe.prototype,"exportpartsPrefixes",void 0),We([U()],Pe.prototype,"customStylesheet",void 0);const je=Ne.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Nt`
70
+ .highlight-html-match {
71
+ background: ${je};
72
+ }
73
+ `,Nt`
70
74
  .ft-no-text-select {
71
75
  -webkit-touch-callout: none;
72
76
  -webkit-user-select: none;
@@ -98,18 +102,18 @@ let Oe=class extends Ft{constructor(){super(...arguments),this.renderOptions={ho
98
102
  display: inline-block;
99
103
  width: 0;
100
104
  }
101
- `;class je{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let n=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>n=n.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),n}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}function Me(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Fe,De,Te;const Ze=Symbol("internalReduxEventsUnsubscribers"),_e=Symbol("internalStoresUnsubscribers"),Be=Symbol("internalStores");class ze extends Pe{constructor(){super(...arguments),this[Fe]=new Map,this[De]=new Map,this[Te]=[]}update(t){var e;super.update(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[Be].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Be].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Be].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Me(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Be].delete(e)}setupStore(t,e){this[Be].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Be].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[_e].has(t.store):this[_e].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[_e].set(t,e.subscribe((()=>this.updateFromStores()))),Me(e)&&e.eventBus&&(null===(o=this.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[Ze].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[_e].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Ze].forEach((t=>t())),this[Ze]=[]}unsubscribeFromStore(t){this[_e].has(t)&&this[_e].get(t)(),this[_e].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function He(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ge(t){return!!t&&!!t[$o]}function qe(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Ko}(t)||Array.isArray(t)||!!t[ko]||!!(null===(e=t.constructor)||void 0===e?void 0:e[ko])||to(t)||eo(t))}function Ve(t,e,o){void 0===o&&(o=!1),0===Ye(t)?(o?Object.keys:Po)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function Ye(t){var e=t[$o];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:to(t)?2:eo(t)?3:0}function Xe(t,e){return 2===Ye(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Je(t,e,o){var r=Ye(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function Qe(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function to(t){return Io&&t instanceof Map}function eo(t){return Lo&&t instanceof Set}function oo(t){return t.o||t.t}function ro(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=jo(t);delete e[$o];for(var o=Po(e),r=0;r<o.length;r++){var n=o[r],i=e[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function no(t,e){return void 0===e&&(e=!1),ao(t)||Ge(t)||!qe(t)||(Ye(t)>1&&(t.set=t.add=t.clear=t.delete=io),Object.freeze(t),e&&Ve(t,(function(t,e){return no(e,!0)}),!0)),t}function io(){He(2)}function ao(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function so(t){var e=Mo[t];return e||He(18,t),e}function co(){return Ro}function lo(t,e){e&&(so("Patches"),t.u=[],t.s=[],t.v=e)}function fo(t){ho(t),t.p.forEach(po),t.p=null}function ho(t){t===Ro&&(Ro=t.l)}function uo(t){return Ro={p:[],l:Ro,h:t,m:!0,_:0}}function po(t){var e=t[$o];0===e.i||1===e.i?e.j():e.g=!0}function yo(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||so("ES5").S(e,t,r),r?(o[$o].P&&(fo(e),He(4)),qe(t)&&(t=go(e,t),e.l||mo(e,t)),e.u&&so("Patches").M(o[$o].t,t,e.u,e.s)):t=go(e,o,[]),fo(e),e.u&&e.v(e.u,e.s),t!==Wo?t:void 0}function go(t,e,o){if(ao(e))return e;var r=e[$o];if(!r)return Ve(e,(function(n,i){return bo(t,r,e,n,i,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return mo(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=ro(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),Ve(i,(function(e,i){return bo(t,r,n,e,i,o,a)})),mo(t,n,!1),o&&t.u&&so("Patches").N(r,o,t.u,t.s)}return r.o}function bo(t,e,o,r,n,i,a){if(Ge(n)){var s=go(t,n,i&&e&&3!==e.i&&!Xe(e.R,r)?i.concat(r):void 0);if(Je(o,r,s),!Ge(s))return;t.m=!1}else a&&o.add(n);if(qe(n)&&!ao(n)){if(!t.h.D&&t._<1)return;go(t,n),e&&e.A.l||mo(t,n)}}function mo(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&no(e,o)}function vo(t,e){var o=t[$o];return(o?oo(o):t)[e]}function Oo(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function wo(t){t.P||(t.P=!0,t.l&&wo(t.l))}function So(t){t.o||(t.o=ro(t.t))}function No(t,e,o){var r=to(e)?so("MapSet").F(e,o):eo(e)?so("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:co(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},n=r,i=Fo;o&&(n=[r],i=Do);var a=Proxy.revocable(n,i),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):so("ES5").J(e,o);return(o?o.A:co()).p.push(r),r}function xo(t){return Ge(t)||He(22,t),function t(e){if(!qe(e))return e;var o,r=e[$o],n=Ye(e);if(r){if(!r.P&&(r.i<4||!so("ES5").K(r)))return r.t;r.I=!0,o=Co(e,n),r.I=!1}else o=Co(e,n);return Ve(o,(function(e,n){r&&function(t,e){return 2===Ye(t)?t.get(e):t[e]}(r.t,e)===n||Je(o,e,t(n))})),3===n?new Set(o):o}(t)}function Co(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ro(t)}Fe=_e,De=Be,Te=Ze;var Eo,Ro,Uo="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Io="undefined"!=typeof Map,Lo="undefined"!=typeof Set,Ao="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Wo=Uo?Symbol.for("immer-nothing"):((Eo={})["immer-nothing"]=!0,Eo),ko=Uo?Symbol.for("immer-draftable"):"__$immer_draftable",$o=Uo?Symbol.for("immer-state"):"__$immer_state",Ko=""+Object.prototype.constructor,Po="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,jo=Object.getOwnPropertyDescriptors||function(t){var e={};return Po(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Mo={},Fo={get:function(t,e){if(e===$o)return t;var o=oo(t);if(!Xe(o,e))return function(t,e,o){var r,n=Oo(e,o);return n?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!qe(r)?r:r===vo(t.t,e)?(So(t),t.o[e]=No(t.A.h,r,t)):r},has:function(t,e){return e in oo(t)},ownKeys:function(t){return Reflect.ownKeys(oo(t))},set:function(t,e,o){var r=Oo(oo(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var n=vo(oo(t),e),i=null==n?void 0:n[$o];if(i&&i.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Qe(o,n)&&(void 0!==o||Xe(t.t,e)))return!0;So(t),wo(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==vo(t.t,e)||e in t.t?(t.R[e]=!1,So(t),wo(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=oo(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){He(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){He(12)}},Do={};Ve(Fo,(function(t,e){Do[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Do.deleteProperty=function(t,e){return Do.set.call(this,t,e,void 0)},Do.set=function(t,e,o){return Fo.set.call(this,t[0],e,o,t[0])};var To=function(){function t(t){var e=this;this.O=Ao,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var n=o;o=t;var i=e;return function(t){var e=this;void 0===t&&(t=n);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return i.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&He(6),void 0!==r&&"function"!=typeof r&&He(7),qe(t)){var s=uo(e),c=No(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?fo(s):ho(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return lo(s,r),yo(t,s)}),(function(t){throw fo(s),t})):(lo(s,r),yo(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Wo&&(a=void 0),e.D&&no(a,!0),r){var f=[],h=[];so("Patches").M(t,a,f,h),r(f,h)}return a}He(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(n))}))};var r,n,i=e.produce(t,o,(function(t,e){r=t,n=e}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,r,n]})):[i,r,n]},"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){qe(t)||He(8),Ge(t)&&(t=xo(t));var e=uo(this),o=No(this,t,void 0);return o[$o].C=!0,ho(e),o},e.finishDraft=function(t,e){var o=(t&&t[$o]).A;return lo(o,e),yo(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Ao&&He(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var n=so("Patches").$;return Ge(t)?n(t,e):this.produce(t,(function(t){return n(t,e)}))},t}(),Zo=new To,_o=Zo.produce;function Bo(t){return Bo="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},Bo(t)}function zo(t){var e=function(t,e){if("object"!==Bo(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Bo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Bo(e)?e:String(e)}function Ho(t,e,o){return(e=zo(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Go(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function qo(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Go(Object(o),!0).forEach((function(e){Ho(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Go(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function Vo(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Zo.produceWithPatches.bind(Zo),Zo.setAutoFreeze.bind(Zo),Zo.setUseProxies.bind(Zo),Zo.applyPatches.bind(Zo),Zo.createDraft.bind(Zo),Zo.finishDraft.bind(Zo);var Yo="function"==typeof Symbol&&Symbol.observable||"@@observable",Xo=function(){return Math.random().toString(36).substring(7).split("").join(".")},Jo={INIT:"@@redux/INIT"+Xo(),REPLACE:"@@redux/REPLACE"+Xo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Xo()}};function Qo(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(Vo(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(Vo(1));return o(Qo)(t,e)}if("function"!=typeof t)throw new Error(Vo(2));var n=t,i=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Vo(3));return i}function h(t){if("function"!=typeof t)throw new Error(Vo(4));if(c)throw new Error(Vo(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(Vo(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function u(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(Vo(7));if(void 0===t.type)throw new Error(Vo(8));if(c)throw new Error(Vo(9));try{c=!0,i=n(i,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return u({type:Jo.INIT}),(r={dispatch:u,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Vo(10));n=t,u({type:Jo.REPLACE})}})[Yo]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Vo(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[Yo]=function(){return this},t},r}function tr(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var n=e[r];"function"==typeof t[n]&&(o[n]=t[n])}var i,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:Jo.INIT}))throw new Error(Vo(12));if(void 0===o(void 0,{type:Jo.PROBE_UNKNOWN_ACTION()}))throw new Error(Vo(13))}))}(o)}catch(t){i=t}return function(t,e){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],h=l(f,e);if(void 0===h)throw e&&e.type,new Error(Vo(14));n[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function er(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function or(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(Vo(15))},n={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=e.map((function(t){return t(n)}));return r=er.apply(void 0,i)(o.dispatch),qo(qo({},o),{},{dispatch:r})}}}function rr(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(n){return"function"==typeof n?n(o,r,t):e(n)}}}}var nr=rr();nr.withExtraArgument=rr;var ir,ar=nr,sr=(ir=function(t,e){return ir=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},ir(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}ir(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),cr=function(t,e){var o,r,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(n=2&i[0]?r.return:i[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],r=0}finally{o=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},lr=function(t,e){for(var o=0,r=e.length,n=t.length;o<r;o++,n++)t[n]=e[o];return t},fr=Object.defineProperty,hr=Object.defineProperties,ur=Object.getOwnPropertyDescriptors,pr=Object.getOwnPropertySymbols,dr=Object.prototype.hasOwnProperty,yr=Object.prototype.propertyIsEnumerable,gr=function(t,e,o){return e in t?fr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},br=function(t,e){for(var o in e||(e={}))dr.call(e,o)&&gr(t,o,e[o]);if(pr)for(var r=0,n=pr(e);r<n.length;r++){o=n[r];yr.call(e,o)&&gr(t,o,e[o])}return t},mr=function(t,e){return hr(t,ur(e))},vr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?er:er.apply(null,arguments)};var Or=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var n=t.apply(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return sr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,lr([void 0],t[0].concat(this)))):new(e.bind.apply(e,lr([void 0],t.concat(this))))},e}(Array),wr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var n=t.apply(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return sr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,lr([void 0],t[0].concat(this)))):new(e.bind.apply(e,lr([void 0],t.concat(this))))},e}(Array);function Sr(t){return qe(t)?_o(t,(function(){})):t}function Nr(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new Or;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(ar.withExtraArgument(o.extraArgument)):r.push(ar));return r}(t)}}function xr(t){var e,o=Nr(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,h=void 0===f?void 0:f,u=r.enhancers,p=void 0===u?void 0:u;if("function"==typeof i)e=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(i))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=tr(i)}var d=s;"function"==typeof d&&(d=d(o));var y=or.apply(void 0,d),g=er;l&&(g=vr(br({trace:!1},"object"==typeof l&&l)));var b=new wr(y),m=b;return Array.isArray(p)?m=lr([y],p):"function"==typeof p&&(m=p(b)),Qo(e,h,g.apply(void 0,m))}function Cr(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var n=e.apply(void 0,o);if(!n)throw new Error("prepareAction did not return an object");return br(br({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Er(t){var e,o={},r=[],n={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,n},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),n},addDefaultCase:function(t){return e=t,n}};return t(n),[o,r,e]}function Rr(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:Sr(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Er(t.extraReducers):[t.extraReducers],o=e[0],n=void 0===o?{}:o,i=e[1],a=void 0===i?[]:i,c=e[2],l=void 0===c?void 0:c,f=br(br({},n),s);return function(t,e,o,r){void 0===o&&(o=[]);var n,i="function"==typeof e?Er(e):[e,o,r],a=i[0],s=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Sr(t())};else{var l=Sr(t);n=function(){return l}}function f(t,e){void 0===t&&(t=n());var o=lr([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[c]),o.reduce((function(t,o){if(o){var r;if(Ge(t))return void 0===(r=o(t,e))?t:r;if(qe(t))return _o(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=n,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var n=r[o];t.addMatcher(n.matcher,n.reducer)}l&&t.addDefaultCase(l)}))}return i.forEach((function(t){var o,r,i=n[t],l=e+"/"+t;"reducer"in i?(o=i.reducer,r=i.prepare):o=i,a[t]=o,s[l]=o,c[t]=r?Cr(l,r):Cr(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var Ur=["name","message","stack","code"],Ir=function(t,e){this.payload=t,this.meta=e},Lr=function(t,e){this.payload=t,this.meta=e},Ar=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Ur;o<r.length;o++){var n=r[o];"string"==typeof t[n]&&(e[n]=t[n])}return e}return{message:String(t)}};function Wr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=Cr(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:mr(br({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),n=Cr(t+"/pending",(function(t,e,o){return{payload:void 0,meta:mr(br({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),i=Cr(t+"/rejected",(function(t,e,r,n,i){return{payload:n,error:(o&&o.serializeError||Ar)(t||"Rejected"),meta:mr(br({},i||{}),{arg:r,requestId:e,rejectedWithValue:!!n,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),u=new a;function p(t){f=t,u.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return cr(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:c,extra:l}),null===(O=g)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return u.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(n(h,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:u.signal,abort:p,rejectWithValue:function(t,e){return new Ir(t,e)},fulfillWithValue:function(t,e){return new Lr(t,e)}})).then((function(e){if(e instanceof Ir)throw e;return e instanceof Lr?r(e.payload,h,t,e.meta):r(e,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ir?i(null,h,t,m.payload,m.meta):i(m,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&i.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,e){var o=function(t){try{n(y.next(t))}catch(t){e(t)}},r=function(t){try{n(y.throw(t))}catch(t){e(t)}},n=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};n((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:p,requestId:h,arg:t,unwrap:function(){return d.then(Wr)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var kr="listenerMiddleware";Cr(kr+"/add"),Cr(kr+"/removeAll"),Cr(kr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=n[t];return o?o.enumerable=e:n[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[$o];return Fo.get(e,t)},set:function(e){var o=this[$o];Fo.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var n=t[e][$o];if(!n.P)switch(n.i){case 5:r(n)&&wo(n);break;case 4:o(n)&&wo(n)}}}function o(t){for(var e=t.t,o=t.k,r=Po(o),n=r.length-1;n>=0;n--){var i=r[n];if(i!==$o){var a=e[i];if(void 0===a&&!Xe(e,i))return!0;var s=o[i],c=s&&s[$o];if(c?c.t!==a:!Qe(s,a))return!0}}var l=!!e[$o];return r.length!==Po(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var n={};!function(t,e){Mo[t]||(Mo[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),n=function(e,o){if(e){for(var r=Array(o.length),n=0;n<o.length;n++)Object.defineProperty(r,""+n,t(n,!0));return r}var i=jo(o);delete i[$o];for(var a=Po(i),s=0;s<a.length;s++){var c=a[s];i[c]=t(c,e||!!i[c].enumerable)}return Object.create(Object.getPrototypeOf(o),i)}(r,e),i={i:r?5:4,A:o?o.A:co(),P:!1,I:!1,R:{},l:o,t:e,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,$o,{value:i,writable:!0}),n},S:function(t,o,n){n?Ge(o)&&o[$o].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[$o];if(o){var n=o.t,i=o.k,a=o.R,s=o.i;if(4===s)Ve(i,(function(e){e!==$o&&(void 0!==n[e]||Xe(n,e)?a[e]||t(i[e]):(a[e]=!0,wo(o)))})),Ve(n,(function(t){void 0!==i[t]||Xe(i,t)||(a[t]=!1,wo(o))}));else if(5===s){if(r(o)&&(wo(o),a.length=!0),i.length<n.length)for(var c=i.length;c<n.length;c++)a[c]=!1;else for(var l=n.length;l<i.length;l++)a[l]=!0;for(var f=Math.min(i.length,n.length),h=0;h<f;h++)i.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(i[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class $r{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,n=window.ftReduxStores[o];if(Me(n))return n;if(null==r)return;const i=Rr({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=xr({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return i.reducer(t,e)}}});return window.ftReduxStores[r.name]=new $r(i,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,n=t[r];return n?(...t)=>{const e=n(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const Kr=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const n={hasChanged:(t,e)=>!L(t,e),attribute:!1,...e};U(n)(t,o);const i=t;i.reduxProperties=i.reduxProperties||new Map,i.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}};var Pr,jr;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(jr=null===(Pr=window.safari)||void 0===Pr?void 0:Pr.pushNotification)||void 0===jr||jr.toString());
105
+ `;class Fe{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let n=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>n=n.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),n}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}function Me(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var De,Te,Ze;const _e=Symbol("internalReduxEventsUnsubscribers"),Be=Symbol("internalStoresUnsubscribers"),ze=Symbol("internalStores");class He extends Pe{constructor(){super(...arguments),this[De]=new Map,this[Te]=new Map,this[Ze]=[]}update(t){var e;super.update(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[ze].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ze].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[ze].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Me(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[ze].delete(e)}setupStore(t,e){this[ze].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ze].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[Be].has(t.store):this[Be].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Be].set(t,e.subscribe((()=>this.updateFromStores()))),Me(e)&&e.eventBus&&(null===(o=this.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[_e].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Be].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[_e].forEach((t=>t())),this[_e]=[]}unsubscribeFromStore(t){this[Be].has(t)&&this[Be].get(t)(),this[Be].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Ge(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function qe(t){return!!t&&!!t[Ko]}function Ve(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Po}(t)||Array.isArray(t)||!!t[$o]||!!(null===(e=t.constructor)||void 0===e?void 0:e[$o])||eo(t)||oo(t))}function Ye(t,e,o){void 0===o&&(o=!1),0===Xe(t)?(o?Object.keys:jo)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function Xe(t){var e=t[Ko];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:eo(t)?2:oo(t)?3:0}function Je(t,e){return 2===Xe(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Qe(t,e,o){var r=Xe(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function to(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function eo(t){return Lo&&t instanceof Map}function oo(t){return Ao&&t instanceof Set}function ro(t){return t.o||t.t}function no(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Fo(t);delete e[Ko];for(var o=jo(e),r=0;r<o.length;r++){var n=o[r],i=e[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function io(t,e){return void 0===e&&(e=!1),so(t)||qe(t)||!Ve(t)||(Xe(t)>1&&(t.set=t.add=t.clear=t.delete=ao),Object.freeze(t),e&&Ye(t,(function(t,e){return io(e,!0)}),!0)),t}function ao(){Ge(2)}function so(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function co(t){var e=Mo[t];return e||Ge(18,t),e}function lo(){return Uo}function fo(t,e){e&&(co("Patches"),t.u=[],t.s=[],t.v=e)}function ho(t){uo(t),t.p.forEach(yo),t.p=null}function uo(t){t===Uo&&(Uo=t.l)}function po(t){return Uo={p:[],l:Uo,h:t,m:!0,_:0}}function yo(t){var e=t[Ko];0===e.i||1===e.i?e.j():e.g=!0}function go(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||co("ES5").S(e,t,r),r?(o[Ko].P&&(ho(e),Ge(4)),Ve(t)&&(t=bo(e,t),e.l||vo(e,t)),e.u&&co("Patches").M(o[Ko].t,t,e.u,e.s)):t=bo(e,o,[]),ho(e),e.u&&e.v(e.u,e.s),t!==ko?t:void 0}function bo(t,e,o){if(so(e))return e;var r=e[Ko];if(!r)return Ye(e,(function(n,i){return mo(t,r,e,n,i,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return vo(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=no(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),Ye(i,(function(e,i){return mo(t,r,n,e,i,o,a)})),vo(t,n,!1),o&&t.u&&co("Patches").N(r,o,t.u,t.s)}return r.o}function mo(t,e,o,r,n,i,a){if(qe(n)){var s=bo(t,n,i&&e&&3!==e.i&&!Je(e.R,r)?i.concat(r):void 0);if(Qe(o,r,s),!qe(s))return;t.m=!1}else a&&o.add(n);if(Ve(n)&&!so(n)){if(!t.h.D&&t._<1)return;bo(t,n),e&&e.A.l||vo(t,n)}}function vo(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&io(e,o)}function Oo(t,e){var o=t[Ko];return(o?ro(o):t)[e]}function wo(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function So(t){t.P||(t.P=!0,t.l&&So(t.l))}function No(t){t.o||(t.o=no(t.t))}function xo(t,e,o){var r=eo(e)?co("MapSet").F(e,o):oo(e)?co("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:lo(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},n=r,i=Do;o&&(n=[r],i=To);var a=Proxy.revocable(n,i),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):co("ES5").J(e,o);return(o?o.A:lo()).p.push(r),r}function Co(t){return qe(t)||Ge(22,t),function t(e){if(!Ve(e))return e;var o,r=e[Ko],n=Xe(e);if(r){if(!r.P&&(r.i<4||!co("ES5").K(r)))return r.t;r.I=!0,o=Eo(e,n),r.I=!1}else o=Eo(e,n);return Ye(o,(function(e,n){r&&function(t,e){return 2===Xe(t)?t.get(e):t[e]}(r.t,e)===n||Qe(o,e,t(n))})),3===n?new Set(o):o}(t)}function Eo(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return no(t)}De=Be,Te=ze,Ze=_e;var Ro,Uo,Io="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Lo="undefined"!=typeof Map,Ao="undefined"!=typeof Set,Wo="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,ko=Io?Symbol.for("immer-nothing"):((Ro={})["immer-nothing"]=!0,Ro),$o=Io?Symbol.for("immer-draftable"):"__$immer_draftable",Ko=Io?Symbol.for("immer-state"):"__$immer_state",Po=""+Object.prototype.constructor,jo="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Fo=Object.getOwnPropertyDescriptors||function(t){var e={};return jo(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Mo={},Do={get:function(t,e){if(e===Ko)return t;var o=ro(t);if(!Je(o,e))return function(t,e,o){var r,n=wo(e,o);return n?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!Ve(r)?r:r===Oo(t.t,e)?(No(t),t.o[e]=xo(t.A.h,r,t)):r},has:function(t,e){return e in ro(t)},ownKeys:function(t){return Reflect.ownKeys(ro(t))},set:function(t,e,o){var r=wo(ro(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var n=Oo(ro(t),e),i=null==n?void 0:n[Ko];if(i&&i.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(to(o,n)&&(void 0!==o||Je(t.t,e)))return!0;No(t),So(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Oo(t.t,e)||e in t.t?(t.R[e]=!1,No(t),So(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=ro(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){Ge(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ge(12)}},To={};Ye(Do,(function(t,e){To[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),To.deleteProperty=function(t,e){return To.set.call(this,t,e,void 0)},To.set=function(t,e,o){return Do.set.call(this,t[0],e,o,t[0])};var Zo=function(){function t(t){var e=this;this.O=Wo,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var n=o;o=t;var i=e;return function(t){var e=this;void 0===t&&(t=n);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return i.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Ge(6),void 0!==r&&"function"!=typeof r&&Ge(7),Ve(t)){var s=po(e),c=xo(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?ho(s):uo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return fo(s,r),go(t,s)}),(function(t){throw ho(s),t})):(fo(s,r),go(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===ko&&(a=void 0),e.D&&io(a,!0),r){var f=[],h=[];co("Patches").M(t,a,f,h),r(f,h)}return a}Ge(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(n))}))};var r,n,i=e.produce(t,o,(function(t,e){r=t,n=e}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,r,n]})):[i,r,n]},"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){Ve(t)||Ge(8),qe(t)&&(t=Co(t));var e=po(this),o=xo(this,t,void 0);return o[Ko].C=!0,uo(e),o},e.finishDraft=function(t,e){var o=(t&&t[Ko]).A;return fo(o,e),go(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Wo&&Ge(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var n=co("Patches").$;return qe(t)?n(t,e):this.produce(t,(function(t){return n(t,e)}))},t}(),_o=new Zo,Bo=_o.produce;function zo(t){return zo="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},zo(t)}function Ho(t){var e=function(t,e){if("object"!==zo(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==zo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===zo(e)?e:String(e)}function Go(t,e,o){return(e=Ho(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function qo(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function Vo(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?qo(Object(o),!0).forEach((function(e){Go(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):qo(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function Yo(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}_o.produceWithPatches.bind(_o),_o.setAutoFreeze.bind(_o),_o.setUseProxies.bind(_o),_o.applyPatches.bind(_o),_o.createDraft.bind(_o),_o.finishDraft.bind(_o);var Xo="function"==typeof Symbol&&Symbol.observable||"@@observable",Jo=function(){return Math.random().toString(36).substring(7).split("").join(".")},Qo={INIT:"@@redux/INIT"+Jo(),REPLACE:"@@redux/REPLACE"+Jo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Jo()}};function tr(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(Yo(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(Yo(1));return o(tr)(t,e)}if("function"!=typeof t)throw new Error(Yo(2));var n=t,i=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Yo(3));return i}function h(t){if("function"!=typeof t)throw new Error(Yo(4));if(c)throw new Error(Yo(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(Yo(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function u(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(Yo(7));if(void 0===t.type)throw new Error(Yo(8));if(c)throw new Error(Yo(9));try{c=!0,i=n(i,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return u({type:Qo.INIT}),(r={dispatch:u,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Yo(10));n=t,u({type:Qo.REPLACE})}})[Xo]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Yo(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[Xo]=function(){return this},t},r}function er(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var n=e[r];"function"==typeof t[n]&&(o[n]=t[n])}var i,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:Qo.INIT}))throw new Error(Yo(12));if(void 0===o(void 0,{type:Qo.PROBE_UNKNOWN_ACTION()}))throw new Error(Yo(13))}))}(o)}catch(t){i=t}return function(t,e){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],h=l(f,e);if(void 0===h)throw e&&e.type,new Error(Yo(14));n[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function or(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function rr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(Yo(15))},n={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=e.map((function(t){return t(n)}));return r=or.apply(void 0,i)(o.dispatch),Vo(Vo({},o),{},{dispatch:r})}}}function nr(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(n){return"function"==typeof n?n(o,r,t):e(n)}}}}var ir=nr();ir.withExtraArgument=nr;var ar,sr=ir,cr=(ar=function(t,e){return ar=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},ar(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}ar(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),lr=function(t,e){var o,r,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(n=2&i[0]?r.return:i[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],r=0}finally{o=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},fr=function(t,e){for(var o=0,r=e.length,n=t.length;o<r;o++,n++)t[n]=e[o];return t},hr=Object.defineProperty,ur=Object.defineProperties,pr=Object.getOwnPropertyDescriptors,dr=Object.getOwnPropertySymbols,yr=Object.prototype.hasOwnProperty,gr=Object.prototype.propertyIsEnumerable,br=function(t,e,o){return e in t?hr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},mr=function(t,e){for(var o in e||(e={}))yr.call(e,o)&&br(t,o,e[o]);if(dr)for(var r=0,n=dr(e);r<n.length;r++){o=n[r];gr.call(e,o)&&br(t,o,e[o])}return t},vr=function(t,e){return ur(t,pr(e))},Or="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?or:or.apply(null,arguments)};var wr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var n=t.apply(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return cr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,fr([void 0],t[0].concat(this)))):new(e.bind.apply(e,fr([void 0],t.concat(this))))},e}(Array),Sr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var n=t.apply(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return cr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,fr([void 0],t[0].concat(this)))):new(e.bind.apply(e,fr([void 0],t.concat(this))))},e}(Array);function Nr(t){return Ve(t)?Bo(t,(function(){})):t}function xr(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new wr;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(sr.withExtraArgument(o.extraArgument)):r.push(sr));return r}(t)}}function Cr(t){var e,o=xr(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,h=void 0===f?void 0:f,u=r.enhancers,p=void 0===u?void 0:u;if("function"==typeof i)e=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(i))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=er(i)}var d=s;"function"==typeof d&&(d=d(o));var y=rr.apply(void 0,d),g=or;l&&(g=Or(mr({trace:!1},"object"==typeof l&&l)));var b=new Sr(y),m=b;return Array.isArray(p)?m=fr([y],p):"function"==typeof p&&(m=p(b)),tr(e,h,g.apply(void 0,m))}function Er(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var n=e.apply(void 0,o);if(!n)throw new Error("prepareAction did not return an object");return mr(mr({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Rr(t){var e,o={},r=[],n={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,n},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),n},addDefaultCase:function(t){return e=t,n}};return t(n),[o,r,e]}function Ur(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:Nr(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Rr(t.extraReducers):[t.extraReducers],o=e[0],n=void 0===o?{}:o,i=e[1],a=void 0===i?[]:i,c=e[2],l=void 0===c?void 0:c,f=mr(mr({},n),s);return function(t,e,o,r){void 0===o&&(o=[]);var n,i="function"==typeof e?Rr(e):[e,o,r],a=i[0],s=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Nr(t())};else{var l=Nr(t);n=function(){return l}}function f(t,e){void 0===t&&(t=n());var o=fr([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[c]),o.reduce((function(t,o){if(o){var r;if(qe(t))return void 0===(r=o(t,e))?t:r;if(Ve(t))return Bo(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=n,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var n=r[o];t.addMatcher(n.matcher,n.reducer)}l&&t.addDefaultCase(l)}))}return i.forEach((function(t){var o,r,i=n[t],l=e+"/"+t;"reducer"in i?(o=i.reducer,r=i.prepare):o=i,a[t]=o,s[l]=o,c[t]=r?Er(l,r):Er(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var Ir=["name","message","stack","code"],Lr=function(t,e){this.payload=t,this.meta=e},Ar=function(t,e){this.payload=t,this.meta=e},Wr=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Ir;o<r.length;o++){var n=r[o];"string"==typeof t[n]&&(e[n]=t[n])}return e}return{message:String(t)}};function kr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=Er(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:vr(mr({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),n=Er(t+"/pending",(function(t,e,o){return{payload:void 0,meta:vr(mr({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),i=Er(t+"/rejected",(function(t,e,r,n,i){return{payload:n,error:(o&&o.serializeError||Wr)(t||"Rejected"),meta:vr(mr({},i||{}),{arg:r,requestId:e,rejectedWithValue:!!n,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),u=new a;function p(t){f=t,u.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return lr(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:c,extra:l}),null===(O=g)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return u.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(n(h,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:u.signal,abort:p,rejectWithValue:function(t,e){return new Lr(t,e)},fulfillWithValue:function(t,e){return new Ar(t,e)}})).then((function(e){if(e instanceof Lr)throw e;return e instanceof Ar?r(e.payload,h,t,e.meta):r(e,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Lr?i(null,h,t,m.payload,m.meta):i(m,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&i.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,e){var o=function(t){try{n(y.next(t))}catch(t){e(t)}},r=function(t){try{n(y.throw(t))}catch(t){e(t)}},n=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};n((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:p,requestId:h,arg:t,unwrap:function(){return d.then(kr)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var $r="listenerMiddleware";Er($r+"/add"),Er($r+"/removeAll"),Er($r+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=n[t];return o?o.enumerable=e:n[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Ko];return Do.get(e,t)},set:function(e){var o=this[Ko];Do.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var n=t[e][Ko];if(!n.P)switch(n.i){case 5:r(n)&&So(n);break;case 4:o(n)&&So(n)}}}function o(t){for(var e=t.t,o=t.k,r=jo(o),n=r.length-1;n>=0;n--){var i=r[n];if(i!==Ko){var a=e[i];if(void 0===a&&!Je(e,i))return!0;var s=o[i],c=s&&s[Ko];if(c?c.t!==a:!to(s,a))return!0}}var l=!!e[Ko];return r.length!==jo(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var n={};!function(t,e){Mo[t]||(Mo[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),n=function(e,o){if(e){for(var r=Array(o.length),n=0;n<o.length;n++)Object.defineProperty(r,""+n,t(n,!0));return r}var i=Fo(o);delete i[Ko];for(var a=jo(i),s=0;s<a.length;s++){var c=a[s];i[c]=t(c,e||!!i[c].enumerable)}return Object.create(Object.getPrototypeOf(o),i)}(r,e),i={i:r?5:4,A:o?o.A:lo(),P:!1,I:!1,R:{},l:o,t:e,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,Ko,{value:i,writable:!0}),n},S:function(t,o,n){n?qe(o)&&o[Ko].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Ko];if(o){var n=o.t,i=o.k,a=o.R,s=o.i;if(4===s)Ye(i,(function(e){e!==Ko&&(void 0!==n[e]||Je(n,e)?a[e]||t(i[e]):(a[e]=!0,So(o)))})),Ye(n,(function(t){void 0!==i[t]||Je(i,t)||(a[t]=!1,So(o))}));else if(5===s){if(r(o)&&(So(o),a.length=!0),i.length<n.length)for(var c=i.length;c<n.length;c++)a[c]=!1;else for(var l=n.length;l<i.length;l++)a[l]=!0;for(var f=Math.min(i.length,n.length),h=0;h<f;h++)i.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(i[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Kr{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,n=window.ftReduxStores[o];if(Me(n))return n;if(null==r)return;const i=Ur({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Cr({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return i.reducer(t,e)}}});return window.ftReduxStores[r.name]=new Kr(i,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,n=t[r];return n?(...t)=>{const e=n(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const Pr=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const n={hasChanged:(t,e)=>!L(t,e),attribute:!1,...e};U(n)(t,o);const i=t;i.reduxProperties=i.reduxProperties||new Map,i.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}};var jr,Fr;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Fr=null===(jr=window.safari)||void 0===jr?void 0:jr.pushNotification)||void 0===Fr||Fr.toString());
102
106
  /**
103
107
  * @license
104
108
  * Copyright 2017 Google LLC
105
109
  * SPDX-License-Identifier: BSD-3-Clause
106
110
  */
107
- const Mr=2,Fr=t=>(...e)=>({_$litDirective$:t,values:e});let Dr=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
111
+ const Mr=2,Dr=t=>(...e)=>({_$litDirective$:t,values:e});let Tr=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
108
112
  /**
109
113
  * @license
110
114
  * Copyright 2020 Google LLC
111
115
  * SPDX-License-Identifier: BSD-3-Clause
112
- */const{D:Tr}=yt,Zr=()=>document.createComment(""),_r=(t,e,o)=>{const r=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(Zr(),n),i=r.insertBefore(Zr(),n);o=new Tr(e,i,t,t.options)}else{const e=o._$AB.nextSibling,i=o._$AM,a=i!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==i._$AU&&o._$AP(e)}if(e!==n||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;r.insertBefore(t,n),t=e}}}return o},Br=(t,e,o=t)=>(t._$AI(e,o),t),zr={},Hr=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},Gr=(t,e,o)=>{const r=new Map;for(let n=e;n<=o;n++)r.set(t[n],n);return r},qr=Fr(class extends Dr{constructor(t){if(super(t),t.type!==Mr)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let r;void 0===o?o=e:void 0!==e&&(r=e);const n=[],i=[];let a=0;for(const e of t)n[a]=r?r(e,a):a,i[a]=o(e,a),a++;return{values:i,keys:n}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,r]){const n=(t=>t._$AH)(t),{values:i,keys:a}=this.ht(e,o,r);if(!Array.isArray(n))return this.dt=a,i;const s=this.dt??=[],c=[];let l,f,h=0,u=n.length-1,p=0,d=i.length-1;for(;h<=u&&p<=d;)if(null===n[h])h++;else if(null===n[u])u--;else if(s[h]===a[p])c[p]=Br(n[h],i[p]),h++,p++;else if(s[u]===a[d])c[d]=Br(n[u],i[d]),u--,d--;else if(s[h]===a[d])c[d]=Br(n[h],i[d]),_r(t,c[d+1],n[h]),h++,d--;else if(s[u]===a[p])c[p]=Br(n[u],i[p]),_r(t,n[h],n[u]),u--,p++;else if(void 0===l&&(l=Gr(a,p,d),f=Gr(s,h,u)),l.has(s[h]))if(l.has(s[u])){const e=f.get(a[p]),o=void 0!==e?n[e]:null;if(null===o){const e=_r(t,n[h]);Br(e,i[p]),c[p]=e}else c[p]=Br(o,i[p]),_r(t,n[h],o),n[e]=null;p++}else Hr(n[u]),u--;else Hr(n[h]),h++;for(;p<=d;){const e=_r(t,c[d+1]);Br(e,i[p]),c[p++]=e}for(;h<=u;){const t=n[h++];null!==t&&Hr(t)}return this.dt=a,((t,e=zr)=>{t._$AH=e})(t,c),tt}}),Vr=Nt`
116
+ */const{D:Zr}=yt,_r=()=>document.createComment(""),Br=(t,e,o)=>{const r=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(_r(),n),i=r.insertBefore(_r(),n);o=new Zr(e,i,t,t.options)}else{const e=o._$AB.nextSibling,i=o._$AM,a=i!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==i._$AU&&o._$AP(e)}if(e!==n||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;r.insertBefore(t,n),t=e}}}return o},zr=(t,e,o=t)=>(t._$AI(e,o),t),Hr={},Gr=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},qr=(t,e,o)=>{const r=new Map;for(let n=e;n<=o;n++)r.set(t[n],n);return r},Vr=Dr(class extends Tr{constructor(t){if(super(t),t.type!==Mr)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let r;void 0===o?o=e:void 0!==e&&(r=e);const n=[],i=[];let a=0;for(const e of t)n[a]=r?r(e,a):a,i[a]=o(e,a),a++;return{values:i,keys:n}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,r]){const n=(t=>t._$AH)(t),{values:i,keys:a}=this.ht(e,o,r);if(!Array.isArray(n))return this.dt=a,i;const s=this.dt??=[],c=[];let l,f,h=0,u=n.length-1,p=0,d=i.length-1;for(;h<=u&&p<=d;)if(null===n[h])h++;else if(null===n[u])u--;else if(s[h]===a[p])c[p]=zr(n[h],i[p]),h++,p++;else if(s[u]===a[d])c[d]=zr(n[u],i[d]),u--,d--;else if(s[h]===a[d])c[d]=zr(n[h],i[d]),Br(t,c[d+1],n[h]),h++,d--;else if(s[u]===a[p])c[p]=zr(n[u],i[p]),Br(t,n[h],n[u]),u--,p++;else if(void 0===l&&(l=qr(a,p,d),f=qr(s,h,u)),l.has(s[h]))if(l.has(s[u])){const e=f.get(a[p]),o=void 0!==e?n[e]:null;if(null===o){const e=Br(t,n[h]);zr(e,i[p]),c[p]=e}else c[p]=zr(o,i[p]),Br(t,n[h],o),n[e]=null;p++}else Gr(n[u]),u--;else Gr(n[h]),h++;for(;p<=d;){const e=Br(t,c[d+1]);zr(e,i[p]),c[p++]=e}for(;h<=u;){const t=n[h++];null!==t&&Gr(t)}return this.dt=a,((t,e=Hr)=>{t._$AH=e})(t,c),tt}}),Yr=Nt`
113
117
  [part="no-results-message"] {
114
118
  text-align: center;
115
119
  padding: 12px;
@@ -119,19 +123,19 @@ const Mr=2,Fr=t=>(...e)=>({_$litDirective$:t,values:e});let Dr=class{constructor
119
123
  * @license
120
124
  * Copyright 2017 Google LLC
121
125
  * SPDX-License-Identifier: BSD-3-Clause
122
- */var Yr,Xr,Jr,Qr,tn,en,on,rn,nn,an,sn,cn,ln,fn;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function i(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function u(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function p(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=u(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=u(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),r=0;r<e.length;r++)o[r]=String.fromCharCode(e[r]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,e){t=i(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},c.prototype.delete=function(t){delete this.map[i(t)]},c.prototype.get=function(t){return t=i(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(i(t))},c.prototype.set=function(t,e){this.map[i(t)]=a(e)},c.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},c.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,r,n=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new c(e.headers)),this.method=(o=e.method||this.method||"GET",r=o.toUpperCase(),d.indexOf(r)>-1?r:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),r=o.shift().replace(/\+/g," "),n=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(n))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new c(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},p.call(y.prototype),p.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,r){return new Promise((function(n,i){var a=new y(t,r);if(a.signal&&a.signal.aborted)return i(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),r=o.shift().trim();if(r){var n=o.join(":").trim();e.append(r,n)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;n(new b(r,o))},s.onerror=function(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=b),e.Headers=c,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Yr||(Yr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Xr||(Xr={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(Jr||(Jr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Qr||(Qr={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(tn||(tn={})),function(t){t.ASC="ASC",t.DESC="DESC"}(en||(en={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(on||(on={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(rn||(rn={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(nn||(nn={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(an||(an={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(sn||(sn={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(cn||(cn={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(ln||(ln={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(fn||(fn={})),fn.PERSONAL_BOOK_SHARE_USER,fn.PERSONAL_BOOK_USER,fn.HTML_EXPORT_USER,fn.PERSONAL_BOOK_USER,fn.PDF_EXPORT_USER,fn.PERSONAL_BOOK_USER,fn.KHUB_ADMIN,fn.CONTENT_PUBLISHER,fn.ADMIN,fn.KHUB_ADMIN,fn.USERS_ADMIN,fn.PORTAL_ADMIN,fn.DEVELOPER,fn.BETA_USER,fn.DEBUG_USER;const hn=Nt`
123
- `,un=$r.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 pn{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=un.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static get(t){var e;return null!=t?pn.build(t):null!==(e=pn.API)&&void 0!==e?e:pn.API=pn.build()}static await(t){return new Promise((e=>{let o=pn.get(t);if(o)e(o);else{const r=un.subscribe((()=>{o=pn.get(t),o&&(r(),e(o))}))}}))}}var dn;const yn=Symbol("clearAfterUnitTest");class gn{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[dn]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=un.getState().uiLocale,un.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=un.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};L(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var r,n,i;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new je(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}dn=yn,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new gn((async(t,e)=>(await pn.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new gn((async(t,e)=>(await pn.await()).getCustomMessageContext(t,e))));const bn=window.FluidTopicsI18nService,mn=window.FluidTopicsCustomI18nService;var vn=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class On extends Pe{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=()=>pn.get(),this.cache=new r,this.cleanSessionDebouncer=new n}render(){return ie`
126
+ */var Xr,Jr,Qr,tn,en,on,rn,nn,an,sn,cn,ln,fn,hn;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function i(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function u(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function p(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=u(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=u(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),r=0;r<e.length;r++)o[r]=String.fromCharCode(e[r]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,e){t=i(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},c.prototype.delete=function(t){delete this.map[i(t)]},c.prototype.get=function(t){return t=i(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(i(t))},c.prototype.set=function(t,e){this.map[i(t)]=a(e)},c.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},c.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,r,n=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new c(e.headers)),this.method=(o=e.method||this.method||"GET",r=o.toUpperCase(),d.indexOf(r)>-1?r:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),r=o.shift().replace(/\+/g," "),n=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(n))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new c(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},p.call(y.prototype),p.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,r){return new Promise((function(n,i){var a=new y(t,r);if(a.signal&&a.signal.aborted)return i(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),r=o.shift().trim();if(r){var n=o.join(":").trim();e.append(r,n)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;n(new b(r,o))},s.onerror=function(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=b),e.Headers=c,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Xr||(Xr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Jr||(Jr={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(Qr||(Qr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(tn||(tn={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(en||(en={})),function(t){t.ASC="ASC",t.DESC="DESC"}(on||(on={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(rn||(rn={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(nn||(nn={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(an||(an={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(sn||(sn={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(cn||(cn={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(ln||(ln={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(fn||(fn={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(hn||(hn={})),hn.PERSONAL_BOOK_SHARE_USER,hn.PERSONAL_BOOK_USER,hn.HTML_EXPORT_USER,hn.PERSONAL_BOOK_USER,hn.PDF_EXPORT_USER,hn.PERSONAL_BOOK_USER,hn.KHUB_ADMIN,hn.CONTENT_PUBLISHER,hn.ADMIN,hn.KHUB_ADMIN,hn.USERS_ADMIN,hn.PORTAL_ADMIN,hn.DEVELOPER,hn.BETA_USER,hn.DEBUG_USER;const un=Nt`
127
+ `,pn=Kr.get({name:"ft-app-info",reducers:{setBaseUrl:(t,e)=>{t.baseUrl=e.payload},setApiIntegrationIdentifier:(t,e)=>{t.apiIntegrationIdentifier=e.payload},setUiLocale:(t,e)=>{t.uiLocale=e.payload},setAvailableUiLocales:(t,e)=>{t.availableUiLocales=e.payload},setEditorMode:(t,e)=>{t.editorMode=e.payload},setNoCustom:(t,e)=>{t.noCustom=e.payload},setNoCustomComponent:(t,e)=>{t.noCustomComponent=e.payload},setSession:(t,e)=>{t.session=e.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class dn{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=pn.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static get(t){var e;return null!=t?dn.build(t):null!==(e=dn.API)&&void 0!==e?e:dn.API=dn.build()}static await(t){return new Promise((e=>{let o=dn.get(t);if(o)e(o);else{const r=pn.subscribe((()=>{o=dn.get(t),o&&(r(),e(o))}))}}))}}var yn;const gn=Symbol("clearAfterUnitTest");class bn{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[yn]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=pn.getState().uiLocale,pn.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=pn.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};L(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var r,n,i;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new Fe(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}yn=gn,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new bn((async(t,e)=>(await dn.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new bn((async(t,e)=>(await dn.await()).getCustomMessageContext(t,e))));const mn=window.FluidTopicsI18nService,vn=window.FluidTopicsCustomI18nService;var On=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class wn extends Pe{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=()=>dn.get(),this.cache=new r,this.cleanSessionDebouncer=new n}render(){return ie`
124
128
  <slot></slot>
125
- `}update(t){super.update(t),t.has("baseUrl")&&un.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&un.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&un.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&un.actions.setNoCustom(this.noCustom),t.has("editorMode")&&un.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&un.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&un.actions.setSession(this.session),t.has("availableUiLocales")&&un.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>bn.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()))))}}On.elementDefinitions={},On.styles=hn,vn([U()],On.prototype,"baseUrl",void 0),vn([U()],On.prototype,"apiIntegrationIdentifier",void 0),vn([U()],On.prototype,"uiLocale",void 0),vn([W([])],On.prototype,"availableUiLocales",void 0),vn([U({type:Boolean})],On.prototype,"editorMode",void 0),vn([U({type:Boolean})],On.prototype,"noCustom",void 0),vn([U({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],On.prototype,"noCustomComponent",void 0),vn([U({type:Boolean})],On.prototype,"withManualResources",void 0),vn([W([])],On.prototype,"messageContexts",void 0),vn([W(void 0)],On.prototype,"session",void 0),vn([U({type:Object})],On.prototype,"apiProvider",void 0);class wn{async listMySearches(){var t;return(null===(t=un.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await pn.await()).listMySearches(un.getState().session.profile.userId):[]}}const Sn=new r;class Nn{async listMyBookmarks(){return Sn.get("bookmarks",(async()=>(await pn.await()).listMyBookmarks(un.getState().session.profile.userId)))}clearCache(){Sn.clear("bookmarks")}}const xn=$r.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=un.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Nn,un.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=un.getState();L(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){xn.actions.savedSearches(void 0)}clearMyBookmarks(){xn.actions.bookmarks(void 0)}async reloadMySearches(){const t=new wn,e=await t.listMySearches();xn.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;xn.actions.bookmarks(e)}}},A("ft-app-context")(On);class Cn extends Event{constructor(){super(Cn.eventName)}}Cn.eventName="search-context-clear-all-filters";var En=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class Rn extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Un=Symbol("registerInterval");class In extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Un]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Un]):this.dispatchEvent(new Rn)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Un,En([I()],o.prototype,"stateManager",void 0),o}(ze)){}const Ln=Nt`
129
+ `}update(t){super.update(t),t.has("baseUrl")&&pn.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&pn.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&pn.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&pn.actions.setNoCustom(this.noCustom),t.has("editorMode")&&pn.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&pn.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&pn.actions.setSession(this.session),t.has("availableUiLocales")&&pn.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>mn.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()))))}}wn.elementDefinitions={},wn.styles=un,On([U()],wn.prototype,"baseUrl",void 0),On([U()],wn.prototype,"apiIntegrationIdentifier",void 0),On([U()],wn.prototype,"uiLocale",void 0),On([W([])],wn.prototype,"availableUiLocales",void 0),On([U({type:Boolean})],wn.prototype,"editorMode",void 0),On([U({type:Boolean})],wn.prototype,"noCustom",void 0),On([U({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],wn.prototype,"noCustomComponent",void 0),On([U({type:Boolean})],wn.prototype,"withManualResources",void 0),On([W([])],wn.prototype,"messageContexts",void 0),On([W(void 0)],wn.prototype,"session",void 0),On([U({type:Object})],wn.prototype,"apiProvider",void 0);class Sn{async listMySearches(){var t;return(null===(t=pn.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await dn.await()).listMySearches(pn.getState().session.profile.userId):[]}}const Nn=new r;class xn{async listMyBookmarks(){return Nn.get("bookmarks",(async()=>(await dn.await()).listMyBookmarks(pn.getState().session.profile.userId)))}clearCache(){Nn.clear("bookmarks")}}const Cn=Kr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=pn.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new xn,pn.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=pn.getState();L(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){Cn.actions.savedSearches(void 0)}clearMyBookmarks(){Cn.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Sn,e=await t.listMySearches();Cn.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Cn.actions.bookmarks(e)}}},A("ft-app-context")(wn);class En extends Event{constructor(){super(En.eventName)}}En.eventName="search-context-clear-all-filters";var Rn=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class Un extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const In=Symbol("registerInterval");class Ln extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[In]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[In]):this.dispatchEvent(new Un)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=In,Rn([I()],o.prototype,"stateManager",void 0),o}(He)){}const An=Nt`
126
130
  a {
127
131
  color: inherit;
128
132
  text-decoration: inherit;
129
133
  }
130
- `;var An=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class Wn extends CustomEvent{constructor(t,e){super("ft-search-result-click",{detail:{result:t,rank:e},bubbles:!0,composed:!0})}}class kn extends Pe{constructor(){super(...arguments),this.index=0,this.registeredComponents=[]}render(){return ie`
134
+ `;var Wn=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class kn extends CustomEvent{constructor(t,e){super("ft-search-result-click",{detail:{result:t,rank:e},bubbles:!0,composed:!0})}}class $n extends Pe{constructor(){super(...arguments),this.index=0,this.registeredComponents=[]}render(){return ie`
131
135
  <a href="${this.url}" @click=${this.onResultClick}>
132
136
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
133
137
  </a>
134
- `}get url(){var t;switch(null===(t=this.result)||void 0===t?void 0:t.type){case cn.MAP:return this.result.map.readerUrl;case cn.DOCUMENT:return this.result.document.viewerUrl;case cn.TOPIC:return this.result.topic.readerUrl}return""}onResultClick(){this.dispatchEvent(new Wn(this.result,this.index+1))}registerComponent(t){t.stopPropagation();const e=t.composedPath()[0];this.register(e)}register(t){this.registeredComponents.push(t),t.result=this.result}update(t){super.update(t),t.has("result")&&this.registeredComponents.forEach((t=>t.result=this.result))}disconnectedCallback(){super.disconnectedCallback(),this.registeredComponents=[]}}kn.elementDefinitions={},kn.styles=Ln,An([U({attribute:!1})],kn.prototype,"result",void 0),An([U()],kn.prototype,"index",void 0),A("ft-search-result-context")(kn);var $n=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class Kn extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const Pn=Symbol("registerInterval");class jn extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}connectedCallback(){super.connectedCallback(),this[Pn]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[Pn]):this.dispatchEvent(new Kn)}disconnectedCallback(){super.disconnectedCallback(),this.result=void 0}}return e=Pn,$n([U({attribute:!1})],o.prototype,"result",void 0),o}(In)){}const Mn=Ne.create("--ft-srt-highlight-background-color","","COLOR","transparent"),Fn=Nt`
138
+ `}get url(){var t;switch(null===(t=this.result)||void 0===t?void 0:t.type){case ln.MAP:return this.result.map.readerUrl;case ln.DOCUMENT:return this.result.document.viewerUrl;case ln.TOPIC:return this.result.topic.readerUrl}return""}onResultClick(){this.dispatchEvent(new kn(this.result,this.index+1))}registerComponent(t){t.stopPropagation();const e=t.composedPath()[0];this.register(e)}register(t){this.registeredComponents.push(t),t.result=this.result}update(t){super.update(t),t.has("result")&&this.registeredComponents.forEach((t=>t.result=this.result))}disconnectedCallback(){super.disconnectedCallback(),this.registeredComponents=[]}}$n.elementDefinitions={},$n.styles=An,Wn([U({attribute:!1})],$n.prototype,"result",void 0),Wn([U()],$n.prototype,"index",void 0),A("ft-search-result-context")($n);var Kn=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class Pn extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const jn=Symbol("registerInterval");class Fn extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}connectedCallback(){super.connectedCallback(),this[jn]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[jn]):this.dispatchEvent(new Pn)}disconnectedCallback(){super.disconnectedCallback(),this.result=void 0}}return e=jn,Kn([U({attribute:!1})],o.prototype,"result",void 0),o}(Ln)){}const Mn=Ne.create("--ft-srt-highlight-background-color","","COLOR","transparent"),Dn=Nt`
135
139
  .kwicmatch {
136
140
  font-weight: 700;
137
141
  background-color: ${Mn};
@@ -141,102 +145,102 @@ const Mr=2,Fr=t=>(...e)=>({_$litDirective$:t,values:e});let Dr=class{constructor
141
145
  * @license
142
146
  * Copyright 2020 Google LLC
143
147
  * SPDX-License-Identifier: BSD-3-Clause
144
- */,Dn=Symbol.for(""),Tn=t=>{if(t?.r===Dn)return t?._$litStatic$},Zn=t=>({_$litStatic$:t,r:Dn}),_n=new Map,Bn=(t=>(e,...o)=>{const r=o.length;let n,i;const a=[],s=[];let c,l=0,f=!1;for(;l<r;){for(c=e[l];l<r&&void 0!==(i=o[l],n=Tn(i));)c+=n+e[++l],f=!0;l!==r&&s.push(i),a.push(c),l++}if(l===r&&a.push(e[r]),f){const t=a.join("$$lit$$");void 0===(e=_n.get(t))&&(a.raw=a,_n.set(t,e=a)),o=s}return t(e,...o)})(Q);var zn;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(zn||(zn={}));const Hn=Ne.extend("--ft-typography-font-family","",Re.titleFont),Gn=Ne.extend("--ft-typography-font-family","",Re.contentFont),qn={fontFamily:Gn,fontSize:Ne.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Ne.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Ne.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Ne.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Ne.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Vn=Ne.extend("--ft-typography-title-font-family","",Hn),Yn=Ne.extend("--ft-typography-title-font-size","",qn.fontSize,"20px"),Xn=Ne.extend("--ft-typography-title-font-weight","",qn.fontWeight,"normal"),Jn=Ne.extend("--ft-typography-title-letter-spacing","",qn.letterSpacing,"0.15px"),Qn=Ne.extend("--ft-typography-title-line-height","",qn.lineHeight,"1.2"),ti=Ne.extend("--ft-typography-title-text-transform","",qn.textTransform,"inherit"),ei=Ne.extend("--ft-typography-title-dense-font-family","",Hn),oi=Ne.extend("--ft-typography-title-dense-font-size","",qn.fontSize,"14px"),ri=Ne.extend("--ft-typography-title-dense-font-weight","",qn.fontWeight,"normal"),ni=Ne.extend("--ft-typography-title-dense-letter-spacing","",qn.letterSpacing,"0.105px"),ii=Ne.extend("--ft-typography-title-dense-line-height","",qn.lineHeight,"1.7"),ai=Ne.extend("--ft-typography-title-dense-text-transform","",qn.textTransform,"inherit"),si=Ne.extend("--ft-typography-subtitle1-font-family","",Gn),ci=Ne.extend("--ft-typography-subtitle1-font-size","",qn.fontSize,"16px"),li=Ne.extend("--ft-typography-subtitle1-font-weight","",qn.fontWeight,"600"),fi=Ne.extend("--ft-typography-subtitle1-letter-spacing","",qn.letterSpacing,"0.144px"),hi=Ne.extend("--ft-typography-subtitle1-line-height","",qn.lineHeight,"1.5"),ui=Ne.extend("--ft-typography-subtitle1-text-transform","",qn.textTransform,"inherit"),pi=Ne.extend("--ft-typography-subtitle2-font-family","",Gn),di=Ne.extend("--ft-typography-subtitle2-font-size","",qn.fontSize,"14px"),yi=Ne.extend("--ft-typography-subtitle2-font-weight","",qn.fontWeight,"normal"),gi=Ne.extend("--ft-typography-subtitle2-letter-spacing","",qn.letterSpacing,"0.098px"),bi=Ne.extend("--ft-typography-subtitle2-line-height","",qn.lineHeight,"1.7"),mi=Ne.extend("--ft-typography-subtitle2-text-transform","",qn.textTransform,"inherit"),vi=Ne.extend("--ft-typography-body1-font-family","",Gn),Oi=Ne.extend("--ft-typography-body1-font-size","",qn.fontSize,"16px"),wi=Ne.extend("--ft-typography-body1-font-weight","",qn.fontWeight,"normal"),Si=Ne.extend("--ft-typography-body1-letter-spacing","",qn.letterSpacing,"0.496px"),Ni=Ne.extend("--ft-typography-body1-line-height","",qn.lineHeight,"1.5"),xi=Ne.extend("--ft-typography-body1-text-transform","",qn.textTransform,"inherit"),Ci=Ne.extend("--ft-typography-body2-font-family","",Gn),Ei=Ne.extend("--ft-typography-body2-font-size","",qn.fontSize,"14px"),Ri=Ne.extend("--ft-typography-body2-font-weight","",qn.fontWeight,"normal"),Ui=Ne.extend("--ft-typography-body2-letter-spacing","",qn.letterSpacing,"0.252px"),Ii=Ne.extend("--ft-typography-body2-line-height","",qn.lineHeight,"1.4"),Li=Ne.extend("--ft-typography-body2-text-transform","",qn.textTransform,"inherit"),Ai=Ne.extend("--ft-typography-caption-font-family","",Gn),Wi=Ne.extend("--ft-typography-caption-font-size","",qn.fontSize,"12px"),ki=Ne.extend("--ft-typography-caption-font-weight","",qn.fontWeight,"normal"),$i=Ne.extend("--ft-typography-caption-letter-spacing","",qn.letterSpacing,"0.396px"),Ki=Ne.extend("--ft-typography-caption-line-height","",qn.lineHeight,"1.33"),Pi=Ne.extend("--ft-typography-caption-text-transform","",qn.textTransform,"inherit"),ji=Ne.extend("--ft-typography-breadcrumb-font-family","",Gn),Mi=Ne.extend("--ft-typography-breadcrumb-font-size","",qn.fontSize,"10px"),Fi=Ne.extend("--ft-typography-breadcrumb-font-weight","",qn.fontWeight,"normal"),Di=Ne.extend("--ft-typography-breadcrumb-letter-spacing","",qn.letterSpacing,"0.33px"),Ti=Ne.extend("--ft-typography-breadcrumb-line-height","",qn.lineHeight,"1.6"),Zi=Ne.extend("--ft-typography-breadcrumb-text-transform","",qn.textTransform,"inherit"),_i=Ne.extend("--ft-typography-overline-font-family","",Gn),Bi=Ne.extend("--ft-typography-overline-font-size","",qn.fontSize,"10px"),zi=Ne.extend("--ft-typography-overline-font-weight","",qn.fontWeight,"normal"),Hi=Ne.extend("--ft-typography-overline-letter-spacing","",qn.letterSpacing,"1.5px"),Gi=Ne.extend("--ft-typography-overline-line-height","",qn.lineHeight,"1.6"),qi=Ne.extend("--ft-typography-overline-text-transform","",qn.textTransform,"uppercase"),Vi=Ne.extend("--ft-typography-button-font-family","",Gn),Yi=Ne.extend("--ft-typography-button-font-size","",qn.fontSize,"14px"),Xi=Ne.extend("--ft-typography-button-font-weight","",qn.fontWeight,"600"),Ji=Ne.extend("--ft-typography-button-letter-spacing","",qn.letterSpacing,"1.246px"),Qi=Ne.extend("--ft-typography-button-line-height","",qn.lineHeight,"1.15"),ta=Ne.extend("--ft-typography-button-text-transform","",qn.textTransform,"uppercase"),ea=Nt`
148
+ */,Tn=Symbol.for(""),Zn=t=>{if(t?.r===Tn)return t?._$litStatic$},_n=t=>({_$litStatic$:t,r:Tn}),Bn=new Map,zn=(t=>(e,...o)=>{const r=o.length;let n,i;const a=[],s=[];let c,l=0,f=!1;for(;l<r;){for(c=e[l];l<r&&void 0!==(i=o[l],n=Zn(i));)c+=n+e[++l],f=!0;l!==r&&s.push(i),a.push(c),l++}if(l===r&&a.push(e[r]),f){const t=a.join("$$lit$$");void 0===(e=Bn.get(t))&&(a.raw=a,Bn.set(t,e=a)),o=s}return t(e,...o)})(Q);var Hn;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Hn||(Hn={}));const Gn=Ne.extend("--ft-typography-font-family","",Re.titleFont),qn=Ne.extend("--ft-typography-font-family","",Re.contentFont),Vn={fontFamily:qn,fontSize:Ne.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Ne.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Ne.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Ne.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Ne.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Yn=Ne.extend("--ft-typography-title-font-family","",Gn),Xn=Ne.extend("--ft-typography-title-font-size","",Vn.fontSize,"20px"),Jn=Ne.extend("--ft-typography-title-font-weight","",Vn.fontWeight,"normal"),Qn=Ne.extend("--ft-typography-title-letter-spacing","",Vn.letterSpacing,"0.15px"),ti=Ne.extend("--ft-typography-title-line-height","",Vn.lineHeight,"1.2"),ei=Ne.extend("--ft-typography-title-text-transform","",Vn.textTransform,"inherit"),oi=Ne.extend("--ft-typography-title-dense-font-family","",Gn),ri=Ne.extend("--ft-typography-title-dense-font-size","",Vn.fontSize,"14px"),ni=Ne.extend("--ft-typography-title-dense-font-weight","",Vn.fontWeight,"normal"),ii=Ne.extend("--ft-typography-title-dense-letter-spacing","",Vn.letterSpacing,"0.105px"),ai=Ne.extend("--ft-typography-title-dense-line-height","",Vn.lineHeight,"1.7"),si=Ne.extend("--ft-typography-title-dense-text-transform","",Vn.textTransform,"inherit"),ci=Ne.extend("--ft-typography-subtitle1-font-family","",qn),li=Ne.extend("--ft-typography-subtitle1-font-size","",Vn.fontSize,"16px"),fi=Ne.extend("--ft-typography-subtitle1-font-weight","",Vn.fontWeight,"600"),hi=Ne.extend("--ft-typography-subtitle1-letter-spacing","",Vn.letterSpacing,"0.144px"),ui=Ne.extend("--ft-typography-subtitle1-line-height","",Vn.lineHeight,"1.5"),pi=Ne.extend("--ft-typography-subtitle1-text-transform","",Vn.textTransform,"inherit"),di=Ne.extend("--ft-typography-subtitle2-font-family","",qn),yi=Ne.extend("--ft-typography-subtitle2-font-size","",Vn.fontSize,"14px"),gi=Ne.extend("--ft-typography-subtitle2-font-weight","",Vn.fontWeight,"normal"),bi=Ne.extend("--ft-typography-subtitle2-letter-spacing","",Vn.letterSpacing,"0.098px"),mi=Ne.extend("--ft-typography-subtitle2-line-height","",Vn.lineHeight,"1.7"),vi=Ne.extend("--ft-typography-subtitle2-text-transform","",Vn.textTransform,"inherit"),Oi=Ne.extend("--ft-typography-body1-font-family","",qn),wi=Ne.extend("--ft-typography-body1-font-size","",Vn.fontSize,"16px"),Si=Ne.extend("--ft-typography-body1-font-weight","",Vn.fontWeight,"normal"),Ni=Ne.extend("--ft-typography-body1-letter-spacing","",Vn.letterSpacing,"0.496px"),xi=Ne.extend("--ft-typography-body1-line-height","",Vn.lineHeight,"1.5"),Ci=Ne.extend("--ft-typography-body1-text-transform","",Vn.textTransform,"inherit"),Ei=Ne.extend("--ft-typography-body2-font-family","",qn),Ri=Ne.extend("--ft-typography-body2-font-size","",Vn.fontSize,"14px"),Ui=Ne.extend("--ft-typography-body2-font-weight","",Vn.fontWeight,"normal"),Ii=Ne.extend("--ft-typography-body2-letter-spacing","",Vn.letterSpacing,"0.252px"),Li=Ne.extend("--ft-typography-body2-line-height","",Vn.lineHeight,"1.4"),Ai=Ne.extend("--ft-typography-body2-text-transform","",Vn.textTransform,"inherit"),Wi=Ne.extend("--ft-typography-caption-font-family","",qn),ki=Ne.extend("--ft-typography-caption-font-size","",Vn.fontSize,"12px"),$i=Ne.extend("--ft-typography-caption-font-weight","",Vn.fontWeight,"normal"),Ki=Ne.extend("--ft-typography-caption-letter-spacing","",Vn.letterSpacing,"0.396px"),Pi=Ne.extend("--ft-typography-caption-line-height","",Vn.lineHeight,"1.33"),ji=Ne.extend("--ft-typography-caption-text-transform","",Vn.textTransform,"inherit"),Fi=Ne.extend("--ft-typography-breadcrumb-font-family","",qn),Mi=Ne.extend("--ft-typography-breadcrumb-font-size","",Vn.fontSize,"10px"),Di=Ne.extend("--ft-typography-breadcrumb-font-weight","",Vn.fontWeight,"normal"),Ti=Ne.extend("--ft-typography-breadcrumb-letter-spacing","",Vn.letterSpacing,"0.33px"),Zi=Ne.extend("--ft-typography-breadcrumb-line-height","",Vn.lineHeight,"1.6"),_i=Ne.extend("--ft-typography-breadcrumb-text-transform","",Vn.textTransform,"inherit"),Bi=Ne.extend("--ft-typography-overline-font-family","",qn),zi=Ne.extend("--ft-typography-overline-font-size","",Vn.fontSize,"10px"),Hi=Ne.extend("--ft-typography-overline-font-weight","",Vn.fontWeight,"normal"),Gi=Ne.extend("--ft-typography-overline-letter-spacing","",Vn.letterSpacing,"1.5px"),qi=Ne.extend("--ft-typography-overline-line-height","",Vn.lineHeight,"1.6"),Vi=Ne.extend("--ft-typography-overline-text-transform","",Vn.textTransform,"uppercase"),Yi=Ne.extend("--ft-typography-button-font-family","",qn),Xi=Ne.extend("--ft-typography-button-font-size","",Vn.fontSize,"14px"),Ji=Ne.extend("--ft-typography-button-font-weight","",Vn.fontWeight,"600"),Qi=Ne.extend("--ft-typography-button-letter-spacing","",Vn.letterSpacing,"1.246px"),ta=Ne.extend("--ft-typography-button-line-height","",Vn.lineHeight,"1.15"),ea=Ne.extend("--ft-typography-button-text-transform","",Vn.textTransform,"uppercase"),oa=Nt`
145
149
  .ft-typography--title {
146
- font-family: ${Vn};
147
- font-size: ${Yn};
148
- font-weight: ${Xn};
149
- letter-spacing: ${Jn};
150
- line-height: ${Qn};
151
- text-transform: ${ti};
150
+ font-family: ${Yn};
151
+ font-size: ${Xn};
152
+ font-weight: ${Jn};
153
+ letter-spacing: ${Qn};
154
+ line-height: ${ti};
155
+ text-transform: ${ei};
152
156
  }
153
- `,oa=Nt`
157
+ `,ra=Nt`
154
158
  .ft-typography--title-dense {
155
- font-family: ${ei};
156
- font-size: ${oi};
157
- font-weight: ${ri};
158
- letter-spacing: ${ni};
159
- line-height: ${ii};
160
- text-transform: ${ai};
159
+ font-family: ${oi};
160
+ font-size: ${ri};
161
+ font-weight: ${ni};
162
+ letter-spacing: ${ii};
163
+ line-height: ${ai};
164
+ text-transform: ${si};
161
165
  }
162
- `,ra=Nt`
166
+ `,na=Nt`
163
167
  .ft-typography--subtitle1 {
164
- font-family: ${si};
165
- font-size: ${ci};
166
- font-weight: ${li};
167
- letter-spacing: ${fi};
168
- line-height: ${hi};
169
- text-transform: ${ui};
168
+ font-family: ${ci};
169
+ font-size: ${li};
170
+ font-weight: ${fi};
171
+ letter-spacing: ${hi};
172
+ line-height: ${ui};
173
+ text-transform: ${pi};
170
174
  }
171
- `,na=Nt`
175
+ `,ia=Nt`
172
176
  .ft-typography--subtitle2 {
173
- font-family: ${pi};
174
- font-size: ${di};
175
- font-weight: ${yi};
176
- letter-spacing: ${gi};
177
- line-height: ${bi};
178
- text-transform: ${mi};
177
+ font-family: ${di};
178
+ font-size: ${yi};
179
+ font-weight: ${gi};
180
+ letter-spacing: ${bi};
181
+ line-height: ${mi};
182
+ text-transform: ${vi};
179
183
  }
180
184
 
181
- `,ia=Nt`
185
+ `,aa=Nt`
182
186
  .ft-typography--body1 {
183
- font-family: ${vi};
184
- font-size: ${Oi};
185
- font-weight: ${wi};
186
- letter-spacing: ${Si};
187
- line-height: ${Ni};
188
- text-transform: ${xi};
187
+ font-family: ${Oi};
188
+ font-size: ${wi};
189
+ font-weight: ${Si};
190
+ letter-spacing: ${Ni};
191
+ line-height: ${xi};
192
+ text-transform: ${Ci};
189
193
  }
190
- `,aa=Nt`
194
+ `,sa=Nt`
191
195
  .ft-typography--body2 {
192
- font-family: ${Ci};
193
- font-size: ${Ei};
194
- font-weight: ${Ri};
195
- letter-spacing: ${Ui};
196
- line-height: ${Ii};
197
- text-transform: ${Li};
196
+ font-family: ${Ei};
197
+ font-size: ${Ri};
198
+ font-weight: ${Ui};
199
+ letter-spacing: ${Ii};
200
+ line-height: ${Li};
201
+ text-transform: ${Ai};
198
202
  }
199
- `,sa=Nt`
203
+ `,ca=Nt`
200
204
  .ft-typography--caption {
201
- font-family: ${Ai};
202
- font-size: ${Wi};
203
- font-weight: ${ki};
204
- letter-spacing: ${$i};
205
- line-height: ${Ki};
206
- text-transform: ${Pi};
205
+ font-family: ${Wi};
206
+ font-size: ${ki};
207
+ font-weight: ${$i};
208
+ letter-spacing: ${Ki};
209
+ line-height: ${Pi};
210
+ text-transform: ${ji};
207
211
  }
208
- `,ca=Nt`
212
+ `,la=Nt`
209
213
  .ft-typography--breadcrumb {
210
- font-family: ${ji};
214
+ font-family: ${Fi};
211
215
  font-size: ${Mi};
212
- font-weight: ${Fi};
213
- letter-spacing: ${Di};
214
- line-height: ${Ti};
215
- text-transform: ${Zi};
216
+ font-weight: ${Di};
217
+ letter-spacing: ${Ti};
218
+ line-height: ${Zi};
219
+ text-transform: ${_i};
216
220
  }
217
- `,la=Nt`
221
+ `,fa=Nt`
218
222
  .ft-typography--overline {
219
- font-family: ${_i};
220
- font-size: ${Bi};
221
- font-weight: ${zi};
222
- letter-spacing: ${Hi};
223
- line-height: ${Gi};
224
- text-transform: ${qi};
223
+ font-family: ${Bi};
224
+ font-size: ${zi};
225
+ font-weight: ${Hi};
226
+ letter-spacing: ${Gi};
227
+ line-height: ${qi};
228
+ text-transform: ${Vi};
225
229
  }
226
- `,fa=Nt`
230
+ `,ha=Nt`
227
231
  .ft-typography--button {
228
- font-family: ${Vi};
229
- font-size: ${Yi};
230
- font-weight: ${Xi};
231
- letter-spacing: ${Ji};
232
- line-height: ${Qi};
233
- text-transform: ${ta};
232
+ font-family: ${Yi};
233
+ font-size: ${Xi};
234
+ font-weight: ${Ji};
235
+ letter-spacing: ${Qi};
236
+ line-height: ${ta};
237
+ text-transform: ${ea};
234
238
  }
235
- `,ha=Nt`
239
+ `,ua=Nt`
236
240
  .ft-typography {
237
241
  vertical-align: inherit;
238
242
  }
239
- `,ua=[Object.keys(Ce).map((t=>function(t){const e=Ce[t];return Nt`
243
+ `,pa=[Object.keys(Ce).map((t=>function(t){const e=Ce[t];return Nt`
240
244
  .ft-typography--${St(t)} {
241
245
  font-family: ${e.fontFamily};
242
246
  font-size: ${e.fontSize};
@@ -245,46 +249,46 @@ const Mr=2,Fr=t=>(...e)=>({_$litDirective$:t,values:e});let Dr=class{constructor
245
249
  line-height: ${e.lineHeight};
246
250
  text-transform: ${e.textCase};
247
251
  }
248
- `}(t)))];var pa=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class da extends Pe{constructor(){super(...arguments),this.variant=zn.body1}render(){return this.element?Bn`
249
- <${Zn(this.element)}
252
+ `}(t)))];var da=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class ya extends Pe{constructor(){super(...arguments),this.variant=Hn.body1}render(){return this.element?zn`
253
+ <${_n(this.element)}
250
254
  class="ft-typography ft-typography--${this.variant}">
251
255
  <slot></slot>
252
- </${Zn(this.element)}>
253
- `:Bn`
256
+ </${_n(this.element)}>
257
+ `:zn`
254
258
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
255
- `}}da.styles=[ea,oa,ra,na,ia,aa,sa,ca,la,fa,ha,...ua],pa([U()],da.prototype,"element",void 0),pa([U()],da.prototype,"variant",void 0),A("ft-typography")(da);
259
+ `}}ya.styles=[oa,ra,na,ia,aa,sa,ca,la,fa,ha,ua,...pa],da([U()],ya.prototype,"element",void 0),da([U()],ya.prototype,"variant",void 0),A("ft-typography")(ya);
256
260
  /**
257
261
  * @license
258
262
  * Copyright 2017 Google LLC
259
263
  * SPDX-License-Identifier: BSD-3-Clause
260
264
  */
261
- class ya extends Dr{constructor(t){if(super(t),this.et=et,t.type!==Mr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===et||null==t)return this.vt=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.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}ya.directiveName="unsafeHTML",ya.resultType=1;const ga=Fr(ya);class ba extends jn{render(){return this.result?ie`
262
- <ft-typography variant="title" part="text">${ga(this.selectTitle(this.result))}</ft-typography>
263
- `:se}selectTitle(t){switch(t.type){case"MAP":return t.map.htmlTitle;case"DOCUMENT":return t.document.htmlTitle;case"TOPIC":return t.topic.htmlTitle}return""}}ba.elementDefinitions={"ft-typography":da},ba.styles=Fn,A("ft-search-result-title")(ba);const ma=Ne.create("--ft-sra-highlight-background-color","","COLOR","transparent"),va=Nt`
265
+ class ga extends Tr{constructor(t){if(super(t),this.et=et,t.type!==Mr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===et||null==t)return this.vt=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.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}ga.directiveName="unsafeHTML",ga.resultType=1;const ba=Dr(ga);class ma extends Fn{render(){return this.result?ie`
266
+ <ft-typography variant="title" part="text">${ba(this.selectTitle(this.result))}</ft-typography>
267
+ `:se}selectTitle(t){switch(t.type){case"MAP":return t.map.htmlTitle;case"DOCUMENT":return t.document.htmlTitle;case"TOPIC":return t.topic.htmlTitle}return""}}ma.elementDefinitions={"ft-typography":ya},ma.styles=Dn,A("ft-search-result-title")(ma);const va=Ne.create("--ft-sra-highlight-background-color","","COLOR","transparent"),Oa=Nt`
264
268
  .kwicmatch {
265
269
  font-weight: 700;
266
- background-color: ${ma};
270
+ background-color: ${va};
267
271
  }
268
- `;class Oa extends jn{render(){let t=this.result?this.selectAbstract(this.result):void 0;return t?ie`
269
- <ft-typography variant="body1" part="text">${ga(t)}</ft-typography>
272
+ `;class wa extends Fn{render(){let t=this.result?this.selectAbstract(this.result):void 0;return t?ie`
273
+ <ft-typography variant="body1" part="text">${ba(t)}</ft-typography>
270
274
  `:ie`
271
275
  <style>
272
276
  :host {
273
277
  display: none !important;
274
278
  }
275
279
  </style>
276
- `}selectAbstract(t){switch(t.type){case"MAP":return t.map.htmlExcerpt;case"DOCUMENT":return t.document.htmlExcerpt;case"TOPIC":return t.topic.htmlExcerpt}return""}}Oa.elementDefinitions={"ft-typography":da},Oa.styles=va,A("ft-search-result-abstract")(Oa);const wa=Nt`
277
- `;var Sa=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};const Na=Symbol("i18nProperties"),xa=Symbol("i18nUnsubs");function Ca(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?mn:bn}i18n(t,e,...o){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const n=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...n)}onI18nUpdate(t){var e;null===(e=this[Na])||void 0===e||e.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var e;super.update(t),null===(e=this[Na])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Na]&&new Set([...this[Na].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[xa].has(t)||this[xa].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages(t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[xa].forEach((t=>t())),this[xa].clear()}}return e=xa,Sa([U({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Ea extends(Ca(Pe)){}class Ra extends(Ca(ze)){}var Ua=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class Ia extends Ra{constructor(){super(),this.editorMode=!1,this.addStore(un)}render(){return this.key&&this.context?ie`
280
+ `}selectAbstract(t){switch(t.type){case"MAP":return t.map.htmlExcerpt;case"DOCUMENT":return t.document.htmlExcerpt;case"TOPIC":return t.topic.htmlExcerpt}return""}}wa.elementDefinitions={"ft-typography":ya},wa.styles=Oa,A("ft-search-result-abstract")(wa);const Sa=Nt`
281
+ `;var Na=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};const xa=Symbol("i18nProperties"),Ca=Symbol("i18nUnsubs");function Ea(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?vn:mn}i18n(t,e,...o){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const n=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...n)}onI18nUpdate(t){var e;null===(e=this[xa])||void 0===e||e.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var e;super.update(t),null===(e=this[xa])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[xa]&&new Set([...this[xa].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Ca].has(t)||this[Ca].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[Ca].forEach((t=>t())),this[Ca].clear()}}return e=Ca,Na([U({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Ra extends(Ea(Pe)){}class Ua extends(Ea(He)){}var Ia=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class La extends Ua{constructor(){super(),this.editorMode=!1,this.addStore(pn)}render(){return this.key&&this.context?ie`
278
282
  <span class="ft-i18n">
279
283
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
280
284
  </span>
281
- `:this.editorMode?"Select a context and a label key.":se}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Ia.elementDefinitions={},Ia.styles=wa,Ua([Kr()],Ia.prototype,"editorMode",void 0),Ua([U()],Ia.prototype,"context",void 0),Ua([U()],Ia.prototype,"key",void 0),Ua([W([])],Ia.prototype,"args",void 0),Ua([U()],Ia.prototype,"defaultMessage",void 0);class La{static build(t){return new La(t)}static fromGwt(t){return new La(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>bn.resolveMessage(this.name,e,...t)})}}A("ft-i18n")(Ia);const Aa=La.build("searchResultsNumber");var Wa=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class ka extends(Ca(In)){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>ie`
285
+ `:this.editorMode?"Select a context and a label key.":se}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}La.elementDefinitions={},La.styles=Sa,Ia([Pr()],La.prototype,"editorMode",void 0),Ia([U()],La.prototype,"context",void 0),Ia([U()],La.prototype,"key",void 0),Ia([W([])],La.prototype,"args",void 0),Ia([U()],La.prototype,"defaultMessage",void 0);class Aa{static build(t){return new Aa(t)}static fromGwt(t){return new Aa(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>mn.resolveMessage(this.name,e,...t)})}}A("ft-i18n")(La);const Wa=Aa.build("searchResultsNumber");var ka=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class $a extends(Ea(Ln)){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>ie`
282
286
  <ft-search-result-title></ft-search-result-title>
283
287
  <ft-search-result-abstract></ft-search-result-abstract>
284
- `,this.addI18nContext(Aa)}render(){var t;return this.displayNoResultsMessage&&null!=this.results&&0==this.results.length?ie`
285
- <ft-typography part="no-results-message" variant="body1">${Aa.messages.results(0)}</ft-typography>
286
- `:qr((null!==(t=this.results)&&void 0!==t?t:[]).flatMap((t=>"display-first-result"==this.clusterPolicy?[t.entries[0]]:t.entries)),(t=>{var e,o,r,n,i;return null!==(n=null!==(o=null===(e=t.document)||void 0===e?void 0:e.documentId)&&void 0!==o?o:null===(r=t.map)||void 0===r?void 0:r.mapId)&&void 0!==n?n:null===(i=t.topic)||void 0===i?void 0:i.tocId}),((t,e)=>ie`
288
+ `,this.addI18nContext(Wa)}render(){var t;return this.displayNoResultsMessage&&null!=this.results&&0==this.results.length?ie`
289
+ <ft-typography part="no-results-message" variant="body1">${Wa.messages.results(0)}</ft-typography>
290
+ `:Vr((null!==(t=this.results)&&void 0!==t?t:[]).flatMap((t=>"display-first-result"==this.clusterPolicy?[t.entries[0]]:t.entries)),(t=>{var e,o,r,n,i;return null!==(n=null!==(o=null===(e=t.document)||void 0===e?void 0:e.documentId)&&void 0!==o?o:null===(r=t.map)||void 0===r?void 0:r.mapId)&&void 0!==n?n:null===(i=t.topic)||void 0===i?void 0:i.tocId}),((t,e)=>ie`
287
291
  <ft-search-result-context .result=${t} index="${e}">
288
292
  ${this.renderResult(t,e)}
289
293
  </ft-search-result-context>
290
- `))}}ka.styles=Vr,Wa([U({type:String,attribute:"cluster-policy"})],ka.prototype,"clusterPolicy",void 0),Wa([U({type:Boolean})],ka.prototype,"displayNoResultsMessage",void 0),Wa([U({attribute:!1})],ka.prototype,"renderResult",void 0),Wa([Kr()],ka.prototype,"results",void 0),A("ft-search-results")(ka),t.FtSearchResults=ka,t.FtSearchResultsCssVariables={},t.styles=Vr}({});
294
+ `))}}$a.styles=Yr,ka([U({type:String,attribute:"cluster-policy"})],$a.prototype,"clusterPolicy",void 0),ka([U({type:Boolean})],$a.prototype,"displayNoResultsMessage",void 0),ka([U({attribute:!1})],$a.prototype,"renderResult",void 0),ka([Pr()],$a.prototype,"results",void 0),A("ft-search-results")($a),t.FtSearchResults=$a,t.FtSearchResultsCssVariables={},t.styles=Yr}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-search-results",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Search result list for integrated search component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-search-result-context": "1.1.1",
23
- "@fluid-topics/ft-wc-utils": "1.1.1",
22
+ "@fluid-topics/ft-search-result-context": "1.1.2",
23
+ "@fluid-topics/ft-wc-utils": "1.1.2",
24
24
  "lit": "3.1.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@fluid-topics/public-api": "1.0.51"
28
28
  },
29
- "gitHead": "ceae4aed142c27cbf6034f45bb6e3f562163cc15"
29
+ "gitHead": "53ce99f657872582bca43cbb7ad691b239b22823"
30
30
  }