@fluid-topics/ft-reader-topic-content 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,23 +12,23 @@
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,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);u(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let f=e.call(r,t);f||(f=h(t),o.call(r,t,f)),this===window.customElements&&(a.set(i,l),l.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),p(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){b.push(this),r.upgrade.apply(r,arguments),b.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!l(o)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},h=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=f(e)||window.customElements,i=r._getDefinition(o);return i?p(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},u=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},p=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),c=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let b=[document];const g=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){b.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),b.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){b.push(this),e.set.call(this,t),b.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(Gr){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class o extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class e extends Promise{constructor(t){super(((e,r)=>t((t=>{this.isCanceled?r(new o("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?r(new o("Promise has been canceled",void 0,t)):r(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class r{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof e&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,(async()=>o)),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,(async()=>o)),this.content[t]=o}async get(t,o,r){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const i=(t=>new e(((o,e)=>t.then(o).catch(e))))(o());return this.content[t]=i,i.then((o=>(this.content[t]=o,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),o)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);u(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let f=o.call(r,t);f||(f=h(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,l),l.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),p(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=c;if(e)return c=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,o),e},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!l(e)){const t=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,i=r._getDefinition(e);return i?p(o,i):n.set(o,r),o}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},u=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n,i),o.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);i.call(this,r),o.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const e=this.getAttribute(i);o.call(this,i,t,e)}else n.call(this,i,r)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},p=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),c=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===i.get(o).formAssociated)return r?.call(this,...e);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+o]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=i.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Xr){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,t)}}}class e extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class o extends Promise{constructor(t){super(((o,r)=>t((t=>{this.isCanceled?r(new e("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?r(new e("Promise has been canceled",void 0,t)):r(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class r{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof o&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,r){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const i=(t=>new o(((e,o)=>t.then(e).catch(o))))(e());return this.content[t]=i,i.then((e=>(this.content[t]=e,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
19
19
  * SPDX-License-Identifier: BSD-3-Clause
20
- */const n=globalThis,a=n.ShadowRoot&&(void 0===n.ShadyCSS||n.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),c=new WeakMap;const l=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(a&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=c.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&c.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,s),f=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return l(o)})(t):t
20
+ */const n=globalThis,a=n.ShadowRoot&&(void 0===n.ShadyCSS||n.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),c=new WeakMap;const l=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(a&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=c.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&c.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,s),f=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return l(e)})(t):t
21
21
  /**
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:h,defineProperty:u,getOwnPropertyDescriptor:d,getOwnPropertyNames:p,getOwnPropertySymbols:y,getPrototypeOf:b}=Object,g=globalThis,m=g.trustedTypes,v=m?m.emptyScript:"",O=g.reactiveElementPolyfillSupport,x=(t,o)=>t,w={toAttribute(t,o){switch(o){case Boolean:t=t?v:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},N=(t,o)=>!h(t,o),S={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:N};Symbol.metadata??=Symbol("metadata"),g.litPropertyMetadata??=new WeakMap;let C=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,o=S){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&u(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=d(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??S}static _$Ei(){if(this.hasOwnProperty(x("elementProperties")))return;const t=b(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(x("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(x("properties"))){const t=this.properties,o=[...p(t),...y(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(f(t))}else void 0!==t&&o.push(f(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"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,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(a)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=n.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}})(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,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:w).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:w;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??N)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.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,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}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){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[x("elementProperties")]=new Map,C[x("finalized")]=new Map,O?.({ReactiveElement:C}),(g.reactiveElementVersions??=[]).push("2.0.2");
25
+ */,{is:h,defineProperty:u,getOwnPropertyDescriptor:d,getOwnPropertyNames:p,getOwnPropertySymbols:y,getPrototypeOf:g}=Object,b=globalThis,m=b.trustedTypes,v=m?m.emptyScript:"",O=b.reactiveElementPolyfillSupport,x=(t,e)=>t,w={toAttribute(t,e){switch(e){case Boolean:t=t?v: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}},N=(t,e)=>!h(t,e),S={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:N};Symbol.metadata??=Symbol("metadata"),b.litPropertyMetadata??=new WeakMap;let C=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=S){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&&u(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=d(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);i.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??S}static _$Ei(){if(this.hasOwnProperty(x("elementProperties")))return;const t=g(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(x("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(x("properties"))){const t=this.properties,e=[...p(t),...y(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(f(t))}else void 0!==t&&e.push(f(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(a)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=n.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 i=(void 0!==o.converter?.toAttribute?o.converter:w).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),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),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:w;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??N)(r?i: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){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[x("elementProperties")]=new Map,C[x("finalized")]=new Map,O?.({ReactiveElement:C}),(b.reactiveElementVersions??=[]).push("2.0.2");
26
26
  /**
27
27
  * @license
28
28
  * Copyright 2017 Google LLC
29
29
  * SPDX-License-Identifier: BSD-3-Clause
30
30
  */
31
- const E={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:N},R=(t=E,o,e)=>{const{kind:r,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const i=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,i,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const i=this[r];o.call(this,e),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};function U(t){return(o,e)=>"object"==typeof e?R(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
31
+ const E={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:N},R=(t=E,e,o)=>{const{kind:r,metadata:i}=o;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(o.name,t),"accessor"===r){const{name:r}=o;return{set(o){const i=e.get.call(this);e.set.call(this,o),this.requestUpdate(r,i,t)},init(e){return void 0!==e&&this.C(r,void 0,t),e}}}if("setter"===r){const{name:r}=o;return function(o){const i=this[r];e.call(this,o),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};function U(t){return(e,o)=>"object"==typeof o?R(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
32
32
  /**
33
33
  * @license
34
34
  * Copyright 2017 Google LLC
@@ -38,45 +38,49 @@ const E={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:N},R=(t=E,o,
38
38
  * @license
39
39
  * Copyright 2017 Google LLC
40
40
  * SPDX-License-Identifier: BSD-3-Clause
41
- */const L=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
41
+ */const k=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
42
42
  /**
43
43
  * @license
44
44
  * Copyright 2017 Google LLC
45
45
  * SPDX-License-Identifier: BSD-3-Clause
46
- */;function k(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!k(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!k(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];if(!k(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const W=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function K(t,o){const e=()=>JSON.parse(JSON.stringify(t));return U({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!k(t,o),...null!=o?o:{}})}
46
+ */;function L(t,e){return(o,r,i)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof r?o:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return k(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return k(0,0,{get(){return n(this)}})}}function W(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,r,i;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(r=o;0!=r--;)if(!W(t[r],e[r]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;for(r of t.entries())if(!W(r[1],e.get(r[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=o;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,i[r]))return!1;for(r=o;0!=r--;){var n=i[r];if(!W(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const A=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function K(t,e){const o=()=>JSON.parse(JSON.stringify(t));return U({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!W(t,e),...null!=e?e:{}})}
47
47
  /**
48
48
  * @license
49
49
  * Copyright 2017 Google LLC
50
50
  * SPDX-License-Identifier: BSD-3-Clause
51
- */const A=globalThis,j=A.trustedTypes,M=j?j.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",$=`lit$${(Math.random()+"").slice(9)}$`,P="?"+$,F=`<${P}>`,B=document,D=()=>B.createComment(""),_=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,z="[ \t\n\f\r]",G=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H=/-->/g,q=/>/g,V=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,J=/"/g,X=/^(?:script|style|textarea|title)$/i,Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),ot=new WeakMap,et=B.createTreeWalker(B,129);function rt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==M?M.createHTML(o):o}let it=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let n=0,a=0;const s=o.length-1,c=this.parts,[l,f]=((t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=G;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===G?"!--"===c[1]?a=H:void 0!==c[1]?a=q:void 0!==c[2]?(X.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=V):void 0!==c[3]&&(a=V):a===V?">"===c[0]?(a=i??G,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]?J:Y):a===J||a===Y?a=V:a===H||a===q?a=G:(a=V,i=void 0);const h=a===V&&t[o+1].startsWith("/>")?" ":"";n+=a===G?e+F:l>=0?(r.push(s),e.slice(0,l)+Z+e.slice(l)+$+h):e+$+(-2===l?o:h)}return[rt(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(o,e);if(this.el=t.createElement(l,r),et.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=et.nextNode())&&c.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Z)){const o=f[a++],e=i.getAttribute(t).split($),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:n,name:r[2],strings:e,ctor:"."===r[1]?ct:"?"===r[1]?lt:"@"===r[1]?ft:st}),i.removeAttribute(t)}else t.startsWith($)&&(c.push({type:6,index:n}),i.removeAttribute(t));if(X.test(i.tagName)){const t=i.textContent.split($),o=t.length-1;if(o>0){i.textContent=j?j.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],D()),et.nextNode(),c.push({type:2,index:++n});i.append(t[o],D())}}}else if(8===i.nodeType)if(i.data===P)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf($,t+1));)c.push({type:7,index:n}),t+=$.length-1}n++}}static createElement(t,o){const e=B.createElement("template");return e.innerHTML=t,e}};function nt(t,o,e=t,r){if(o===Q)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=_(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=nt(t,i._$AS(t,o.values),i,r)),o}let at=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=nt(this,t,o),_(t)?t===tt||null==t||""===t?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==Q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>T(t)||"function"==typeof t?.[Symbol.iterator])(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!==tt&&_(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=it.createElement(rt(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??B).importNode(o,!0);et.currentNode=r;let i=et.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new at(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new ht(i,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(i=et.nextNode(),n++)}return et.currentNode=B,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=ot.get(t.strings);return void 0===o&&ot.set(t.strings,o=new it(t)),o}T(o){T(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(D()),this.k(D()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},st=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=tt}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=nt(this,t,o,0),n=!_(t)||t!==this._$AH&&t!==Q,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=nt(this,r[e+a],o,a),s===Q&&(s=this._$AH[a]),n||=!_(s)||s!==this._$AH[a],s===tt?t=tt:t!==tt&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ct=class extends st{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},lt=class extends st{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},ft=class extends st{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=nt(this,t,o,0)??tt)===Q)return;const e=this._$AH,r=t===tt&&e!==tt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==tt&&(e===tt||r);r&&this.element.removeEventListener(this.name,this,e),i&&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)}},ht=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){nt(this,t)}};const ut=A.litHtmlPolyfillSupport;ut?.(it,at),(A.litHtmlVersions??=[]).push("3.1.0");
51
+ */const j=globalThis,$=j.trustedTypes,M=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",P=`lit$${(Math.random()+"").slice(9)}$`,F="?"+P,B=`<${F}>`,T=document,D=()=>T.createComment(""),_=t=>null===t||"object"!=typeof t&&"function"!=typeof t,z=Array.isArray,G="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,q=/-->/g,J=/>/g,Y=RegExp(`>|${G}(?:([^\\s"'>=/]+)(${G}*=${G}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,X=/"/g,Q=/^(?:script|style|textarea|title)$/i,tt=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),ot=new WeakMap,rt=T.createTreeWalker(T,129);function it(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==M?M.createHTML(e):e}let nt=class t{constructor({strings:e,_$litType$:o},r){let i;this.parts=[];let n=0,a=0;const s=e.length-1,c=this.parts,[l,f]=((t,e)=>{const o=t.length-1,r=[];let i,n=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=q:void 0!==c[1]?a=J:void 0!==c[2]?(Q.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=Y):void 0!==c[3]&&(a=Y):a===Y?">"===c[0]?(a=i??H,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Y:'"'===c[3]?X:V):a===X||a===V?a=Y:a===q||a===J?a=H:(a=Y,i=void 0);const h=a===Y&&t[e+1].startsWith("/>")?" ":"";n+=a===H?o+B:l>=0?(r.push(s),o.slice(0,l)+Z+o.slice(l)+P+h):o+P+(-2===l?e:h)}return[it(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]})(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!==(i=rt.nextNode())&&c.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Z)){const e=f[a++],o=i.getAttribute(t).split(P),r=/([.?@])?(.*)/.exec(e);c.push({type:1,index:n,name:r[2],strings:o,ctor:"."===r[1]?lt:"?"===r[1]?ft:"@"===r[1]?ht:ct}),i.removeAttribute(t)}else t.startsWith(P)&&(c.push({type:6,index:n}),i.removeAttribute(t));if(Q.test(i.tagName)){const t=i.textContent.split(P),e=t.length-1;if(e>0){i.textContent=$?$.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],D()),rt.nextNode(),c.push({type:2,index:++n});i.append(t[e],D())}}}else if(8===i.nodeType)if(i.data===F)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(P,t+1));)c.push({type:7,index:n}),t+=P.length-1}n++}}static createElement(t,e){const o=T.createElement("template");return o.innerHTML=t,o}};function at(t,e,o=t,r){if(e===tt)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=_(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=at(t,i._$AS(t,e.values),i,r)),e}let st=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=at(this,t,e),_(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):(t=>z(t)||"function"==typeof t?.[Symbol.iterator])(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&&_(this._$AH)?this._$AA.nextSibling.data=t:this.$(T.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=nt.createElement(it(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new 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??T).importNode(e,!0);rt.currentNode=r;let i=rt.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new st(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new ut(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=rt.nextNode(),n++)}return rt.currentNode=T,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++}}(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 nt(t)),e}T(e){z(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(D()),this.k(D()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$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))}},ct=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=et,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,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 i=this.strings;let n=!1;if(void 0===i)t=at(this,t,e,0),n=!_(t)||t!==this._$AH&&t!==tt,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=at(this,r[o+a],e,a),s===tt&&(s=this._$AH[a]),n||=!_(s)||s!==this._$AH[a],s===et?t=et:t!==et&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},lt=class extends ct{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===et?void 0:t}},ft=class extends ct{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}},ht=class extends ct{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=at(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,i=t!==et&&(o===et||r);r&&this.element.removeEventListener(this.name,this,o),i&&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)}},ut=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){at(this,t)}};const dt=j.litHtmlPolyfillSupport;dt?.(nt,st),(j.litHtmlVersions??=[]).push("3.1.0");
52
52
  /**
53
53
  * @license
54
54
  * Copyright 2019 Google LLC
55
55
  * SPDX-License-Identifier: BSD-3-Clause
56
56
  */
57
- const dt=globalThis,pt=dt.ShadowRoot&&(void 0===dt.ShadyCSS||dt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yt=Symbol(),bt=new WeakMap;let gt=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==yt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(pt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=bt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&bt.set(o,t))}return t}toString(){return this.cssText}};const mt=t=>new gt("string"==typeof t?t:t+"",void 0,yt),vt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new gt(e,t,yt)},Ot=pt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return mt(o)})(t):t
57
+ const pt=globalThis,yt=pt.ShadowRoot&&(void 0===pt.ShadyCSS||pt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,gt=Symbol(),bt=new WeakMap;let mt=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==gt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(yt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=bt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&bt.set(e,t))}return t}toString(){return this.cssText}};const vt=t=>new mt("string"==typeof t?t:t+"",void 0,gt),Ot=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[r+1]),t[0]);return new mt(o,t,gt)},xt=yt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return vt(e)})(t):t
58
58
  /**
59
59
  * @license
60
60
  * Copyright 2017 Google LLC
61
61
  * SPDX-License-Identifier: BSD-3-Clause
62
- */,{is:xt,defineProperty:wt,getOwnPropertyDescriptor:Nt,getOwnPropertyNames:St,getOwnPropertySymbols:Ct,getPrototypeOf:Et}=Object,Rt=globalThis,Ut=Rt.trustedTypes,It=Ut?Ut.emptyScript:"",Lt=Rt.reactiveElementPolyfillSupport,kt=(t,o)=>t,Wt={toAttribute(t,o){switch(o){case Boolean:t=t?It:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},Kt=(t,o)=>!xt(t,o),At={attribute:!0,type:String,converter:Wt,reflect:!1,hasChanged:Kt};Symbol.metadata??=Symbol("metadata"),Rt.litPropertyMetadata??=new WeakMap;let jt=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,o=At){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&wt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=Nt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??At}static _$Ei(){if(this.hasOwnProperty(kt("elementProperties")))return;const t=Et(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,o=[...St(t),...Ct(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(Ot(t))}else void 0!==t&&o.push(Ot(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"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,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(pt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=dt.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}})(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,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:Wt).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Wt;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Kt)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.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,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}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){}};jt.elementStyles=[],jt.shadowRootOptions={mode:"open"},jt[kt("elementProperties")]=new Map,jt[kt("finalized")]=new Map,Lt?.({ReactiveElement:jt}),(Rt.reactiveElementVersions??=[]).push("2.0.2");
62
+ */,{is:wt,defineProperty:Nt,getOwnPropertyDescriptor:St,getOwnPropertyNames:Ct,getOwnPropertySymbols:Et,getPrototypeOf:Rt}=Object,Ut=globalThis,It=Ut.trustedTypes,kt=It?It.emptyScript:"",Lt=Ut.reactiveElementPolyfillSupport,Wt=(t,e)=>t,At={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}},Kt=(t,e)=>!wt(t,e),jt={attribute:!0,type:String,converter:At,reflect:!1,hasChanged:Kt};Symbol.metadata??=Symbol("metadata"),Ut.litPropertyMetadata??=new WeakMap;let $t=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=jt){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&&Nt(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=St(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);i.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??jt}static _$Ei(){if(this.hasOwnProperty(Wt("elementProperties")))return;const t=Rt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Wt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Wt("properties"))){const t=this.properties,e=[...Ct(t),...Et(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(yt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=pt.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 i=(void 0!==o.converter?.toAttribute?o.converter:At).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),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),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:At;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Kt)(r?i: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){}};$t.elementStyles=[],$t.shadowRootOptions={mode:"open"},$t[Wt("elementProperties")]=new Map,$t[Wt("finalized")]=new Map,Lt?.({ReactiveElement:$t}),(Ut.reactiveElementVersions??=[]).push("2.0.2");
63
63
  /**
64
64
  * @license
65
65
  * Copyright 2017 Google LLC
66
66
  * SPDX-License-Identifier: BSD-3-Clause
67
67
  */
68
- const Mt=globalThis,Zt=Mt.trustedTypes,$t=Zt?Zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Pt="$lit$",Ft=`lit$${(Math.random()+"").slice(9)}$`,Bt="?"+Ft,Dt=`<${Bt}>`,_t=document,Tt=()=>_t.createComment(""),zt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Gt=Array.isArray,Ht="[ \t\n\f\r]",qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,Yt=/>/g,Jt=RegExp(`>|${Ht}(?:([^\\s"'>=/]+)(${Ht}*=${Ht}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Xt=/'/g,Qt=/"/g,to=/^(?:script|style|textarea|title)$/i,oo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),eo=Symbol.for("lit-noChange"),ro=Symbol.for("lit-nothing"),io=new WeakMap,no=_t.createTreeWalker(_t,129);function ao(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==$t?$t.createHTML(o):o}class so{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[c,l]=((t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=qt;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===qt?"!--"===c[1]?a=Vt:void 0!==c[1]?a=Yt:void 0!==c[2]?(to.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=Jt):void 0!==c[3]&&(a=Jt):a===Jt?">"===c[0]?(a=i??qt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Jt:'"'===c[3]?Qt:Xt):a===Qt||a===Xt?a=Jt:a===Vt||a===Yt?a=qt:(a=Jt,i=void 0);const h=a===Jt&&t[o+1].startsWith("/>")?" ":"";n+=a===qt?e+Dt:l>=0?(r.push(s),e.slice(0,l)+Pt+e.slice(l)+Ft+h):e+Ft+(-2===l?o:h)}return[ao(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(t,o);if(this.el=so.createElement(c,e),no.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=no.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Pt)){const o=l[n++],e=r.getAttribute(t).split(Ft),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?ho:"?"===a[1]?uo:"@"===a[1]?po:fo}),r.removeAttribute(t)}else t.startsWith(Ft)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(to.test(r.tagName)){const t=r.textContent.split(Ft),o=t.length-1;if(o>0){r.textContent=Zt?Zt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],Tt()),no.nextNode(),s.push({type:2,index:++i});r.append(t[o],Tt())}}}else if(8===r.nodeType)if(r.data===Bt)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Ft,t+1));)s.push({type:7,index:i}),t+=Ft.length-1}i++}}static createElement(t,o){const e=_t.createElement("template");return e.innerHTML=t,e}}function co(t,o,e=t,r){if(o===eo)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=zt(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=co(t,i._$AS(t,o.values),i,r)),o}let lo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=ro,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=co(this,t,o),zt(t)?t===ro||null==t||""===t?(this._$AH!==ro&&this._$AR(),this._$AH=ro):t!==this._$AH&&t!==eo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Gt(t)||"function"==typeof t?.[Symbol.iterator])(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!==ro&&zt(this._$AH)?this._$AA.nextSibling.data=t:this.$(_t.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=so.createElement(ao(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??_t).importNode(o,!0);no.currentNode=r;let i=no.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new lo(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new yo(i,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(i=no.nextNode(),n++)}return no.currentNode=_t,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=io.get(t.strings);return void 0===o&&io.set(t.strings,o=new so(t)),o}T(o){Gt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(Tt()),this.k(Tt()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},fo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=ro,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=ro}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=co(this,t,o,0),n=!zt(t)||t!==this._$AH&&t!==eo,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=co(this,r[e+a],o,a),s===eo&&(s=this._$AH[a]),n||=!zt(s)||s!==this._$AH[a],s===ro?t=ro:t!==ro&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===ro?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ho=class extends fo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ro?void 0:t}},uo=class extends fo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ro)}},po=class extends fo{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=co(this,t,o,0)??ro)===eo)return;const e=this._$AH,r=t===ro&&e!==ro||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==ro&&(e===ro||r);r&&this.element.removeEventListener(this.name,this,e),i&&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)}},yo=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){co(this,t)}};const bo=Mt.litHtmlPolyfillSupport;bo?.(so,lo),(Mt.litHtmlVersions??=[]).push("3.1.0");
68
+ const Mt=globalThis,Zt=Mt.trustedTypes,Pt=Zt?Zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ft="$lit$",Bt=`lit$${(Math.random()+"").slice(9)}$`,Tt="?"+Bt,Dt=`<${Tt}>`,_t=document,zt=()=>_t.createComment(""),Gt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Ht=Array.isArray,qt="[ \t\n\f\r]",Jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Yt=/-->/g,Vt=/>/g,Xt=RegExp(`>|${qt}(?:([^\\s"'>=/]+)(${qt}*=${qt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Qt=/'/g,te=/"/g,ee=/^(?:script|style|textarea|title)$/i,oe=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),re=Symbol.for("lit-noChange"),ie=Symbol.for("lit-nothing"),ne=new WeakMap,ae=_t.createTreeWalker(_t,129);function se(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Pt?Pt.createHTML(e):e}class ce{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[c,l]=((t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=Jt;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===Jt?"!--"===c[1]?a=Yt:void 0!==c[1]?a=Vt:void 0!==c[2]?(ee.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=Xt):void 0!==c[3]&&(a=Xt):a===Xt?">"===c[0]?(a=i??Jt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Xt:'"'===c[3]?te:Qt):a===te||a===Qt?a=Xt:a===Yt||a===Vt?a=Jt:(a=Xt,i=void 0);const h=a===Xt&&t[e+1].startsWith("/>")?" ":"";n+=a===Jt?o+Dt:l>=0?(r.push(s),o.slice(0,l)+Ft+o.slice(l)+Bt+h):o+Bt+(-2===l?e:h)}return[se(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]})(t,e);if(this.el=ce.createElement(c,o),ae.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ae.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Ft)){const e=l[n++],o=r.getAttribute(t).split(Bt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:a[2],strings:o,ctor:"."===a[1]?ue:"?"===a[1]?de:"@"===a[1]?pe:he}),r.removeAttribute(t)}else t.startsWith(Bt)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(ee.test(r.tagName)){const t=r.textContent.split(Bt),e=t.length-1;if(e>0){r.textContent=Zt?Zt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],zt()),ae.nextNode(),s.push({type:2,index:++i});r.append(t[e],zt())}}}else if(8===r.nodeType)if(r.data===Tt)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Bt,t+1));)s.push({type:7,index:i}),t+=Bt.length-1}i++}}static createElement(t,e){const o=_t.createElement("template");return o.innerHTML=t,o}}function le(t,e,o=t,r){if(e===re)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=Gt(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=le(t,i._$AS(t,e.values),i,r)),e}let fe=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=ie,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=le(this,t,e),Gt(t)?t===ie||null==t||""===t?(this._$AH!==ie&&this._$AR(),this._$AH=ie):t!==this._$AH&&t!==re&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Ht(t)||"function"==typeof t?.[Symbol.iterator])(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!==ie&&Gt(this._$AH)?this._$AA.nextSibling.data=t:this.$(_t.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=ce.createElement(se(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new 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??_t).importNode(e,!0);ae.currentNode=r;let i=ae.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new fe(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new ye(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=ae.nextNode(),n++)}return ae.currentNode=_t,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++}}(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ne.get(t.strings);return void 0===e&&ne.set(t.strings,e=new ce(t)),e}T(e){Ht(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(zt()),this.k(zt()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$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))}},he=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=ie,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ie}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=le(this,t,e,0),n=!Gt(t)||t!==this._$AH&&t!==re,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=le(this,r[o+a],e,a),s===re&&(s=this._$AH[a]),n||=!Gt(s)||s!==this._$AH[a],s===ie?t=ie:t!==ie&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===ie?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ue=class extends he{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ie?void 0:t}},de=class extends he{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ie)}},pe=class extends he{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=le(this,t,e,0)??ie)===re)return;const o=this._$AH,r=t===ie&&o!==ie||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==ie&&(o===ie||r);r&&this.element.removeEventListener(this.name,this,o),i&&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)}},ye=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){le(this,t)}};const ge=Mt.litHtmlPolyfillSupport;ge?.(ce,fe),(Mt.litHtmlVersions??=[]).push("3.1.0");
69
69
  /**
70
70
  * @license
71
71
  * Copyright 2017 Google LLC
72
72
  * SPDX-License-Identifier: BSD-3-Clause
73
73
  */
74
- let go=class extends jt{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const r=e?.renderBefore??o;let i=r._$litPart$;if(void 0===i){const t=e?.renderBefore??null;r._$litPart$=i=new lo(o.insertBefore(Tt(),t),t,void 0,e??{})}return i._$AI(t),i})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return eo}};go._$litElement$=!0,go.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:go});const mo=globalThis.litElementPolyfillSupport;mo?.({LitElement:go}),(globalThis.litElementVersions??=[]).push("4.0.2");const vo=t=>"string"==typeof t?mt(t):t;class Oo{static create(t,o,e,r){const i=t=>vo(null!=t?t:r),n=vt`var(${vo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>vt`var(${vo(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=vt`var(${vo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>vt`var(${vo(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):vo(null!=o?o:t.lastResortDefaultValue()),r=vt`var(${vo(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>vt`var(${vo(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const xo={colorWhite:Oo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Oo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Oo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Oo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Oo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Oo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Oo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Oo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Oo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Oo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Oo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Oo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Oo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Oo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Oo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Oo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Oo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Oo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Oo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Oo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Oo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Oo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Oo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Oo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Oo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Oo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Oo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Oo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Oo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Oo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Oo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Oo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Oo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Oo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Oo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Oo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Oo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Oo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Oo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Oo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Oo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Oo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Oo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Oo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Oo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Oo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Oo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Oo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Oo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Oo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Oo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Oo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Oo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Oo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Oo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Oo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Oo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Oo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Oo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Oo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Oo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Oo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Oo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Oo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Oo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Oo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Oo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Oo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Oo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Oo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Oo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Oo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Oo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Oo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Oo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Oo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Oo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Oo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Oo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Oo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Oo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Oo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Oo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Oo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Oo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Oo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Oo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Oo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Oo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Oo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Oo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Oo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Oo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Oo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Oo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Oo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Oo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Oo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Oo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Oo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Oo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Oo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Oo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Oo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Oo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Oo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Oo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Oo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Oo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Oo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Oo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Oo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Oo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Oo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Oo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Oo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Oo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Oo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Oo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Oo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Oo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Oo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Oo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Oo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Oo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Oo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Oo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Oo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Oo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Oo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Oo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Oo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Oo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Oo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Oo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Oo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Oo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Oo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Oo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Oo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Oo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Oo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Oo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Oo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Oo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Oo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Oo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Oo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Oo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Oo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Oo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Oo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Oo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Oo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Oo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Oo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Oo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Oo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Oo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Oo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Oo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Oo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Oo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Oo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Oo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Oo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Oo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Oo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Oo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Oo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Oo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Oo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Oo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Oo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Oo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Oo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Oo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Oo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Oo.create("--ft-opacity-0","","NUMBER","0"),opacity8:Oo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Oo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Oo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Oo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Oo.create("--ft-opacity-80","","NUMBER","0.8")};Oo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),Oo.create("--ft-typography-display-lineHeight","","SIZE","120%"),Oo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),Oo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),Oo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-display-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),Oo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),Oo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),Oo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),Oo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),Oo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),Oo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),Oo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),Oo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),Oo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),Oo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),Oo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),Oo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),Oo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),Oo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),Oo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),Oo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),Oo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),Oo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),Oo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),Oo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),Oo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),Oo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),Oo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),Oo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),Oo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),Oo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),Oo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),Oo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),Oo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),Oo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),Oo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),Oo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),Oo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),Oo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),Oo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),Oo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),Oo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),Oo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),Oo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),Oo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),Oo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),Oo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),Oo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),Oo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),Oo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),Oo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),Oo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),Oo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),Oo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),Oo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),Oo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),Oo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),Oo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),Oo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),Oo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),Oo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),Oo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),Oo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),Oo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),Oo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),Oo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),Oo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),Oo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),Oo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),Oo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),Oo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),Oo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),Oo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),Oo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),Oo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),Oo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),Oo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),Oo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),Oo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),Oo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),Oo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),Oo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),Oo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),Oo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),Oo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),Oo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),Oo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),Oo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),Oo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none");const wo={backgroundActionPrimary:Oo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",xo.colorBrand0),backgroundErrorPrimary:Oo.extend("--ft-background-error-primary","Used as background of error components.",xo.colorRed0),backgroundErrorSubtle:Oo.extend("--ft-background-error-subtle","Used as background of subtle error components.",xo.colorRed10),backgroundInfoPrimary:Oo.extend("--ft-background-info-primary","Used as background of information components.",xo.colorCyan200),backgroundInfoSubtle:Oo.extend("--ft-background-info-subtle","Used as background of subtle information components.",xo.colorCyan10),backgroundWarningPrimary:Oo.extend("--ft-background-warning-primary","Used as background of warning components.",xo.colorOrange300),backgroundWarningSubtle:Oo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",xo.colorOrange10),backgroundSuccessPrimary:Oo.extend("--ft-background-success-primary","Used as background of success components.",xo.colorGreen200),backgroundSuccessSubtle:Oo.extend("--ft-background-success-subtle","Used as background of subtle success components.",xo.colorGreen10),backgroundGlobalSurface:Oo.extend("--ft-background-global-surface","Used as app background.",xo.colorWhite),backgroundGlobalOnSurface:Oo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",xo.colorGray10),backgroundGlobalOnSurfaceDark:Oo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",xo.colorGray30),contentActionPrimary:Oo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",xo.colorBrand0),contentWarningPrimary:Oo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",xo.colorOrange300),contentWarningIconOnly:Oo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",xo.colorOrange0),contentErrorPrimary:Oo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",xo.colorRed0),contentErrorIconOnly:Oo.extend("--ft-content-error-icon-only","Used on error status icons alone",xo.colorRed0),contentInfoPrimary:Oo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",xo.colorCyan200),contentInfoIconOnly:Oo.extend("--ft-content-info-icon-only","Used on info status icons alone",xo.colorCyan0),contentSuccessIconOnly:Oo.extend("--ft-content-success-icon-only","Used on success status icons alone",xo.colorGreen0),contentSuccessPrimary:Oo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",xo.colorGreen200),contentGlobalPrimary:Oo.extend("--ft-content-global-primary","Used for main content on the page.",xo.colorGray500),contentGlobalSecondary:Oo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",xo.colorGray200),contentGlobalSubtle:Oo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",xo.colorGray0),contentGlobalOnColor:Oo.extend("--ft-content-global-on-color","Used for content on a dominant color.",xo.colorWhite),borderActionPrimary:Oo.extend("--ft-border-action-primary","Used as border for primary action components.",xo.colorBrand0),borderActionFocusRing:Oo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",xo.colorCyan0),borderWarningPrimary:Oo.extend("--ft-border-warning-primary","Used as border for warning components.",xo.colorOrange30),borderSuccessPrimary:Oo.extend("--ft-border-success-primary","Used as border for success components.",xo.colorGreen30),borderErrorPrimary:Oo.extend("--ft-border-error-primary","Used as border for error components.",xo.colorRed30),borderInfoPrimary:Oo.extend("--ft-border-info-primary","Used as border for information components.",xo.colorCyan30),borderGlobalSubtle:Oo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",xo.colorGray30),borderGlobalPrimary:Oo.extend("--ft-border-global-primary","Used as border for element like input.",xo.colorGray50),borderInputPrimary:Oo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",xo.colorGray80)};Oo.create("--ft-button-large-height","","SIZE","40px"),Oo.extend("--ft-button-large-horizontal-padding","",xo.spacing4),Oo.extend("--ft-button-large-gap","",xo.spacing2),Oo.extend("--ft-button-large-border-radius","",xo.borderRadiusS),Oo.extend("--ft-button-large-icon-size","",xo.iconSize3),Oo.create("--ft-button-large-border-width","","SIZE","1px"),Oo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Oo.create("--ft-button-large-icon-only-width","","SIZE","40px"),Oo.create("--ft-button-small-height","","SIZE","30px"),Oo.extend("--ft-button-small-horizontal-padding","",xo.spacing3),Oo.extend("--ft-button-small-gap","",xo.spacing2),Oo.extend("--ft-button-small-border-radius","",xo.borderRadiusS),Oo.extend("--ft-button-small-icon-size","",xo.iconSize2),Oo.create("--ft-button-small-border-width","","SIZE","1px"),Oo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Oo.create("--ft-button-small-icon-only-width","","SIZE","30px"),Oo.extend("--ft-button-primary-background-color","",wo.backgroundActionPrimary),Oo.extend("--ft-button-primary-color","",wo.contentGlobalOnColor),Oo.extend("--ft-button-primary-icon-color","",wo.contentGlobalOnColor),Oo.extend("--ft-button-primary-state-layer-color","",wo.contentGlobalOnColor),Oo.extend("--ft-button-primary-state-layer-opacity-hover","",xo.opacity16),Oo.extend("--ft-button-primary-state-layer-opacity-focus","",xo.opacity16),Oo.extend("--ft-button-primary-state-layer-opacity-active","",xo.opacity24),Oo.extend("--ft-button-primary-component-opacity-disabled","",xo.opacity40),Oo.extend("--ft-button-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-tertiary-color","",wo.contentActionPrimary),Oo.extend("--ft-button-tertiary-icon-color","",wo.contentActionPrimary),Oo.extend("--ft-button-tertiary-state-layer-color","",wo.contentActionPrimary),Oo.extend("--ft-button-tertiary-state-layer-opacity-hover","",xo.opacity8),Oo.extend("--ft-button-tertiary-state-layer-opacity-focus","",xo.opacity8),Oo.extend("--ft-button-tertiary-state-layer-opacity-active","",xo.opacity16),Oo.extend("--ft-button-tertiary-component-opacity-disabled","",xo.opacity40),Oo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-secondary-color","",wo.contentActionPrimary),Oo.extend("--ft-button-secondary-icon-color","",wo.contentActionPrimary),Oo.extend("--ft-button-secondary-state-layer-color","",wo.contentActionPrimary),Oo.extend("--ft-button-secondary-state-layer-opacity-hover","",xo.opacity8),Oo.extend("--ft-button-secondary-state-layer-opacity-focus","",xo.opacity8),Oo.extend("--ft-button-secondary-state-layer-opacity-active","",xo.opacity16),Oo.extend("--ft-button-secondary-component-opacity-disabled","",xo.opacity40),Oo.extend("--ft-button-secondary-border-color","",wo.borderActionPrimary),Oo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Oo.extend("--ft-button-neutral-icon-color","",wo.contentGlobalSecondary),Oo.extend("--ft-button-neutral-color","",wo.contentGlobalSecondary),Oo.extend("--ft-button-neutral-state-layer-color","",wo.contentGlobalSecondary),Oo.extend("--ft-button-neutral-state-layer-opacity-hover","",xo.opacity8),Oo.extend("--ft-button-neutral-state-layer-opacity-focus","",xo.opacity8),Oo.extend("--ft-button-neutral-state-layer-opacity-active","",xo.opacity16),Oo.extend("--ft-button-neutral-component-opacity-disabled","",xo.opacity40),Oo.extend("--ft-tabs-top-left-border-radius","",xo.borderRadiusS),Oo.extend("--ft-tabs-top-right-border-radius","",xo.borderRadiusS),Oo.extend("--ft-tabs-label-horizontal-padding","",xo.spacing4),Oo.extend("--ft-tabs-label-vertical-padding","",xo.spacing3),Oo.extend("--ft-tabs-label-gap","",xo.spacing1),Oo.extend("--ft-switch-group-horizontal-padding","",xo.spacing1),Oo.extend("--ft-switch-group-vertical-padding","",xo.spacing1),Oo.extend("--ft-switch-group-gap","",xo.spacing1),Oo.extend("--ft-switch-group-background-color","",wo.backgroundGlobalSurface),Oo.extend("--ft-switch-group-border-color","",wo.borderGlobalSubtle),Oo.create("--ft-switch-group-border-radius","","SIZE","6px"),Oo.extend("--ft-switch-label-horizontal-padding","",xo.spacing2),Oo.extend("--ft-switch-label-vertical-padding","",xo.spacing1),Oo.extend("--ft-switch-icon-horizontal-padding","",xo.spacing1),Oo.extend("--ft-switch-icon-vertical-padding","",xo.spacing1),Oo.create("--ft-switch-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-switch-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.extend("--ft-switch-option-border-radius","",xo.borderRadiusS),Oo.extend("--ft-switch-off-state-layer-opacity-hover","",xo.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-focus","",xo.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-active","",xo.opacity16),Oo.extend("--ft-switch-off-component-opacity-disabled","",xo.opacity40),Oo.extend("--ft-switch-off-color","",wo.contentGlobalSubtle),Oo.extend("--ft-switch-off-state-layer-color","",wo.contentGlobalSubtle),Oo.extend("--ft-chart-1-light","for area color charts",xo.colorBrand40),Oo.extend("--ft-chart-1-base","for line charts",xo.colorBrand0),Oo.extend("--ft-chart-2-light","for area color charts",xo.colorYellow60),Oo.extend("--ft-chart-2-base","for line charts",xo.colorYellow100),Oo.extend("--ft-chart-3-light","",xo.colorUltramarine40),Oo.extend("--ft-chart-3-base","",xo.colorUltramarine70),Oo.extend("--ft-chart-4-light","",xo.colorCyan50),Oo.extend("--ft-chart-4-base","",xo.colorCyan100),Oo.extend("--ft-chart-5-light","",xo.colorRed40),Oo.extend("--ft-chart-5-base","",xo.colorRed60),Oo.extend("--ft-chart-6-light","",xo.colorGreen40),Oo.extend("--ft-chart-6-base","",xo.colorGreen70),Oo.extend("--ft-chart-7-light","",xo.colorOrange70),Oo.extend("--ft-chart-7-base","",xo.colorOrange100),Oo.extend("--ft-chart-8-light","",xo.colorAvocado70),Oo.extend("--ft-chart-8-base","",xo.colorAvocado200),Oo.extend("--ft-chart-9-light","",xo.colorBrown50),Oo.extend("--ft-chart-9-base","",xo.colorBrown200),Oo.extend("--ft-chart-10-light","",xo.colorGray50),Oo.extend("--ft-chart-10-base","",xo.colorGray80),Oo.extend("--ft-chart-monochrome-10","",xo.colorBrand10),Oo.extend("--ft-chart-monochrome-20","",xo.colorBrand20),Oo.extend("--ft-chart-monochrome-30","",xo.colorBrand40),Oo.extend("--ft-chart-monochrome-40","",xo.colorBrand60),Oo.extend("--ft-chart-monochrome-50","",xo.colorBrand0),Oo.extend("--ft-chart-monochrome-60","",xo.colorBrand200),Oo.extend("--ft-chip-large-horizontal-padding","",xo.spacing4),Oo.extend("--ft-chip-large-vertical-padding","",xo.spacing2),Oo.extend("--ft-chip-large-gap","",xo.spacing1),Oo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-large-border-radius","",xo.borderRadiusPill),Oo.create("--ft-chip-large-border-width","","SIZE","1px"),Oo.extend("--ft-chip-large-icon-size","",xo.iconSize3),Oo.extend("--ft-chip-medium-horizontal-padding","",xo.spacing3),Oo.extend("--ft-chip-medium-vertical-padding","",xo.spacing1),Oo.extend("--ft-chip-medium-gap","",xo.spacing1),Oo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-medium-border-radius","",xo.borderRadiusPill),Oo.create("--ft-chip-medium-border-width","","SIZE","1px"),Oo.extend("--ft-chip-medium-icon-size","",xo.iconSize2),Oo.extend("--ft-chip-small-horizontal-padding","",xo.spacing2),Oo.extend("--ft-chip-small-vertical-padding","",xo.spacing05),Oo.extend("--ft-chip-small-gap","",xo.spacing1),Oo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-small-border-radius","",xo.borderRadiusPill),Oo.create("--ft-chip-small-border-width","","SIZE","1px"),Oo.extend("--ft-chip-small-icon-size","",xo.iconSize1),Oo.extend("--ft-chip-neutral-background-color","",wo.backgroundGlobalOnSurface),Oo.extend("--ft-chip-neutral-color","",wo.contentGlobalPrimary),Oo.extend("--ft-chip-neutral-border-color","",wo.borderGlobalSubtle),Oo.extend("--ft-chip-info-background-color","",wo.backgroundInfoSubtle),Oo.extend("--ft-chip-info-color","",wo.contentInfoPrimary),Oo.extend("--ft-chip-info-border-color","",wo.borderInfoPrimary),Oo.extend("--ft-chip-success-background-color","",wo.backgroundSuccessSubtle),Oo.extend("--ft-chip-success-color","",wo.contentSuccessPrimary),Oo.extend("--ft-chip-success-border-color","",wo.borderSuccessPrimary),Oo.extend("--ft-chip-warning-background-color","",wo.backgroundWarningSubtle),Oo.extend("--ft-chip-warning-color","",wo.contentWarningPrimary),Oo.extend("--ft-chip-warning-border-color","",wo.borderWarningPrimary),Oo.extend("--ft-chip-error-background-color","",wo.backgroundErrorSubtle),Oo.extend("--ft-chip-error-color","",wo.contentErrorPrimary),Oo.extend("--ft-chip-error-border-color","",wo.borderErrorPrimary),Oo.create("--ft-notice-border-width","","SIZE","1px"),Oo.extend("--ft-notice-horizontal-padding","",xo.spacing2),Oo.extend("--ft-notice-vertical-padding","",xo.spacing1),Oo.extend("--ft-notice-border-radius","",xo.borderRadiusS),Oo.extend("--ft-notice-gap","",xo.spacing2),Oo.extend("--ft-notice-icon-size","",xo.iconSize3),Oo.extend("--ft-notice-info-background-color","",wo.backgroundInfoSubtle),Oo.extend("--ft-notice-info-border-color","",wo.borderInfoPrimary),Oo.extend("--ft-notice-info-color","",wo.contentInfoPrimary),Oo.extend("--ft-notice-warning-background-color","",wo.backgroundWarningSubtle),Oo.extend("--ft-notice-warning-border-color","",wo.borderWarningPrimary),Oo.extend("--ft-notice-warning-color","",wo.contentWarningPrimary),Oo.extend("--ft-checkbox-label-color","",wo.contentGlobalPrimary),Oo.extend("--ft-checkbox-checked-background-color","",wo.contentActionPrimary),Oo.extend("--ft-checkbox-checked-state-layer-color","",wo.contentActionPrimary),Oo.extend("--ft-checkbox-checked-color","",wo.contentGlobalOnColor),Oo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",xo.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",xo.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-active","",xo.opacity24),Oo.extend("--ft-checkbox-checked-component-opacity-disabled","",xo.opacity40),Oo.extend("--ft-checkbox-unchecked-border-color","",xo.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-color","",xo.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",xo.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",xo.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",xo.opacity24),Oo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",xo.opacity40),Oo.extend("--ft-checkbox-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-checkbox-gap","",xo.spacing3),Oo.extend("--ft-toggle-off-state-layer-opacity-hover","",xo.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-focus","",xo.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-active","",xo.opacity24),Oo.extend("--ft-toggle-off-component-opacity-disabled","",xo.opacity40),Oo.extend("--ft-toggle-off-background-color","",wo.contentGlobalSubtle),Oo.extend("--ft-toggle-off-icon-color","",wo.contentGlobalSubtle),Oo.extend("--ft-toggle-off-state-layer-color","",wo.contentGlobalSubtle),Oo.extend("--ft-toggle-on-state-layer-opacity-hover","",xo.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-focus","",xo.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-active","",xo.opacity24),Oo.extend("--ft-toggle-on-component-opacity-disabled","",xo.opacity40),Oo.extend("--ft-toggle-on-background-color","",wo.contentActionPrimary),Oo.extend("--ft-toggle-on-icon-color","",wo.contentActionPrimary),Oo.extend("--ft-toggle-on-state-layer-color","",wo.contentActionPrimary),Oo.extend("--ft-toggle-label-color","",wo.contentGlobalPrimary),Oo.extend("--ft-toggle-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.extend("--ft-toggle-gap","",xo.spacing3),Oo.extend("--ft-radio-label-color","",wo.contentGlobalPrimary),Oo.extend("--ft-radio-selected-color","",wo.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-color","",wo.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-opacity-hover","",xo.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-focus","",xo.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-active","",xo.opacity24),Oo.extend("--ft-radio-selected-component-opacity-disabled","",xo.opacity40),Oo.extend("--ft-radio-unselected-state-layer-color","",xo.colorGray80),Oo.extend("--ft-radio-unselected-state-layer-opacity-hover","",xo.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-focus","",xo.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-active","",xo.opacity24),Oo.extend("--ft-radio-unselected-component-opacity-disabled","",xo.opacity40),Oo.extend("--ft-radio-focus-focus-ring-color","",wo.borderActionFocusRing),Oo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-radio-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-radio-gap","",xo.spacing3),Oo.extend("--ft-notification-icon-size","",xo.iconSize4),Oo.extend("--ft-notification-horizontal-padding","",xo.spacing4),Oo.extend("--ft-notification-vertical-padding","",xo.spacing4),Oo.extend("--ft-notification-info-background-color","",wo.backgroundInfoSubtle),Oo.extend("--ft-notification-info-color","",wo.contentInfoPrimary),Oo.extend("--ft-notification-info-border-color","",wo.borderInfoPrimary),Oo.extend("--ft-notification-success-background-color","",wo.backgroundSuccessSubtle),Oo.extend("--ft-notification-success-color","",wo.contentSuccessPrimary),Oo.extend("--ft-notification-success-border-color","",wo.borderSuccessPrimary),Oo.extend("--ft-notification-warning-background-color","",wo.backgroundWarningSubtle),Oo.extend("--ft-notification-warning-color","",wo.contentWarningPrimary),Oo.extend("--ft-notification-warning-border-color","",wo.borderWarningPrimary),Oo.extend("--ft-notification-error-background-color","",wo.backgroundErrorSubtle),Oo.extend("--ft-notification-error-color","",wo.contentErrorPrimary),Oo.extend("--ft-notification-error-border-color","",wo.borderErrorPrimary),Oo.extend("--ft-notification-border-radius","",xo.borderRadiusPill),Oo.create("--ft-notification-border-width","","SIZE","1px"),Oo.extend("--ft-notification-gap-leading","",xo.spacing2),Oo.extend("--ft-notification-gap-trailing","",xo.spacing8);const No={colorPrimary:Oo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Oo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Oo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Oo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Oo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Oo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Oo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Oo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Oo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Oo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Oo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Oo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Oo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Oo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Oo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Oo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Oo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Oo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Oo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Oo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Oo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Oo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Oo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Oo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Oo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Oo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Oo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Oo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Oo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Oo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Oo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Oo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Oo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Oo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Oo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Oo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Oo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Oo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Oo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Oo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Oo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Oo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Oo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Oo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Oo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Oo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Oo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Oo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Oo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},So=window,Co=So.ShadowRoot&&(void 0===So.ShadyCSS||So.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
74
+ let be=class extends $t{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 i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new fe(e.insertBefore(zt(),t),t,void 0,o??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return re}};be._$litElement$=!0,be.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:be});const me=globalThis.litElementPolyfillSupport;me?.({LitElement:be}),(globalThis.litElementVersions??=[]).push("4.0.2");const ve=t=>"string"==typeof t?vt(t):t;class Oe{static create(t,e,o,r){const i=t=>ve(null!=t?t:r),n=Ot`var(${ve(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>Ot`var(${ve(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=Ot`var(${ve(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>Ot`var(${ve(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):ve(null!=e?e:t.lastResortDefaultValue()),r=Ot`var(${ve(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=>Ot`var(${ve(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const xe={colorWhite:Oe.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Oe.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Oe.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Oe.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Oe.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Oe.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Oe.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Oe.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Oe.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Oe.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Oe.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Oe.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Oe.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Oe.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Oe.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Oe.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Oe.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Oe.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Oe.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Oe.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Oe.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Oe.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Oe.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Oe.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Oe.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Oe.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Oe.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Oe.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Oe.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Oe.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Oe.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Oe.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Oe.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Oe.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Oe.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Oe.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Oe.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Oe.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Oe.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Oe.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Oe.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Oe.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Oe.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Oe.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Oe.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Oe.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Oe.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Oe.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Oe.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Oe.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Oe.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Oe.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Oe.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Oe.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Oe.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Oe.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Oe.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Oe.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Oe.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Oe.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Oe.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Oe.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Oe.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Oe.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Oe.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Oe.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Oe.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Oe.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Oe.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Oe.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Oe.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Oe.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Oe.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Oe.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Oe.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Oe.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Oe.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Oe.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Oe.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Oe.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Oe.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Oe.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Oe.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Oe.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Oe.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Oe.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Oe.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Oe.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Oe.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Oe.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Oe.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Oe.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Oe.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Oe.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Oe.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Oe.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Oe.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Oe.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Oe.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Oe.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Oe.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Oe.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Oe.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Oe.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Oe.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Oe.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Oe.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Oe.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Oe.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Oe.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Oe.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Oe.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Oe.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Oe.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Oe.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Oe.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Oe.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Oe.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Oe.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Oe.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Oe.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Oe.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Oe.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Oe.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Oe.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Oe.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Oe.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Oe.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Oe.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Oe.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Oe.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Oe.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Oe.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Oe.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Oe.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Oe.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Oe.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Oe.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Oe.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Oe.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Oe.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Oe.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Oe.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Oe.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Oe.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Oe.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Oe.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Oe.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Oe.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Oe.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Oe.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Oe.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Oe.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Oe.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Oe.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Oe.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Oe.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Oe.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Oe.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Oe.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Oe.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Oe.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Oe.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Oe.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Oe.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Oe.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Oe.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Oe.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Oe.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Oe.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Oe.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Oe.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Oe.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Oe.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Oe.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Oe.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Oe.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Oe.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Oe.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Oe.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Oe.create("--ft-opacity-0","","NUMBER","0"),opacity8:Oe.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Oe.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Oe.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Oe.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Oe.create("--ft-opacity-80","","NUMBER","0.8")};Oe.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-display-lineHeight","","SIZE","120%"),Oe.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),Oe.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),Oe.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-display-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),Oe.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),Oe.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),Oe.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),Oe.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),Oe.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),Oe.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),Oe.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),Oe.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),Oe.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),Oe.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),Oe.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),Oe.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),Oe.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),Oe.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),Oe.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),Oe.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),Oe.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),Oe.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),Oe.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),Oe.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),Oe.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),Oe.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),Oe.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),Oe.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),Oe.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),Oe.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),Oe.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),Oe.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),Oe.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),Oe.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),Oe.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),Oe.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),Oe.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),Oe.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),Oe.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none");const we={backgroundActionPrimary:Oe.extend("--ft-background-action-primary","Used as backgorund of primary action components.",xe.colorBrand0),backgroundErrorPrimary:Oe.extend("--ft-background-error-primary","Used as background of error components.",xe.colorRed0),backgroundErrorSubtle:Oe.extend("--ft-background-error-subtle","Used as background of subtle error components.",xe.colorRed10),backgroundInfoPrimary:Oe.extend("--ft-background-info-primary","Used as background of information components.",xe.colorCyan200),backgroundInfoSubtle:Oe.extend("--ft-background-info-subtle","Used as background of subtle information components.",xe.colorCyan10),backgroundWarningPrimary:Oe.extend("--ft-background-warning-primary","Used as background of warning components.",xe.colorOrange300),backgroundWarningSubtle:Oe.extend("--ft-background-warning-subtle","Used as background of subtle information components.",xe.colorOrange10),backgroundSuccessPrimary:Oe.extend("--ft-background-success-primary","Used as background of success components.",xe.colorGreen200),backgroundSuccessSubtle:Oe.extend("--ft-background-success-subtle","Used as background of subtle success components.",xe.colorGreen10),backgroundGlobalSurface:Oe.extend("--ft-background-global-surface","Used as app background.",xe.colorWhite),backgroundGlobalOnSurface:Oe.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",xe.colorGray10),backgroundGlobalOnSurfaceDark:Oe.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",xe.colorGray30),contentActionPrimary:Oe.extend("--ft-content-action-primary","Used on label of primary action on light surface.",xe.colorBrand0),contentWarningPrimary:Oe.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",xe.colorOrange300),contentWarningIconOnly:Oe.extend("--ft-content-warning-icon-only","Used on warning status icons alone",xe.colorOrange0),contentErrorPrimary:Oe.extend("--ft-content-error-primary","Used on label of error messages on light surface.",xe.colorRed0),contentErrorIconOnly:Oe.extend("--ft-content-error-icon-only","Used on error status icons alone",xe.colorRed0),contentInfoPrimary:Oe.extend("--ft-content-info-primary","Used on label of information messages on light surface.",xe.colorCyan200),contentInfoIconOnly:Oe.extend("--ft-content-info-icon-only","Used on info status icons alone",xe.colorCyan0),contentSuccessIconOnly:Oe.extend("--ft-content-success-icon-only","Used on success status icons alone",xe.colorGreen0),contentSuccessPrimary:Oe.extend("--ft-content-success-primary","Used on label of success messages on light surface.",xe.colorGreen200),contentGlobalPrimary:Oe.extend("--ft-content-global-primary","Used for main content on the page.",xe.colorGray500),contentGlobalSecondary:Oe.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",xe.colorGray200),contentGlobalSubtle:Oe.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",xe.colorGray0),contentGlobalOnColor:Oe.extend("--ft-content-global-on-color","Used for content on a dominant color.",xe.colorWhite),borderActionPrimary:Oe.extend("--ft-border-action-primary","Used as border for primary action components.",xe.colorBrand0),borderActionFocusRing:Oe.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",xe.colorCyan0),borderWarningPrimary:Oe.extend("--ft-border-warning-primary","Used as border for warning components.",xe.colorOrange30),borderSuccessPrimary:Oe.extend("--ft-border-success-primary","Used as border for success components.",xe.colorGreen30),borderErrorPrimary:Oe.extend("--ft-border-error-primary","Used as border for error components.",xe.colorRed30),borderInfoPrimary:Oe.extend("--ft-border-info-primary","Used as border for information components.",xe.colorCyan30),borderGlobalSubtle:Oe.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",xe.colorGray30),borderGlobalPrimary:Oe.extend("--ft-border-global-primary","Used as border for element like input.",xe.colorGray50),borderInputPrimary:Oe.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",xe.colorGray80)};Oe.create("--ft-button-large-height","","SIZE","40px"),Oe.extend("--ft-button-large-horizontal-padding","",xe.spacing4),Oe.extend("--ft-button-large-gap","",xe.spacing2),Oe.extend("--ft-button-large-border-radius","",xe.borderRadiusS),Oe.extend("--ft-button-large-icon-size","",xe.iconSize3),Oe.create("--ft-button-large-border-width","","SIZE","1px"),Oe.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Oe.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Oe.create("--ft-button-large-icon-only-width","","SIZE","40px"),Oe.create("--ft-button-small-height","","SIZE","30px"),Oe.extend("--ft-button-small-horizontal-padding","",xe.spacing3),Oe.extend("--ft-button-small-gap","",xe.spacing2),Oe.extend("--ft-button-small-border-radius","",xe.borderRadiusS),Oe.extend("--ft-button-small-icon-size","",xe.iconSize2),Oe.create("--ft-button-small-border-width","","SIZE","1px"),Oe.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Oe.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Oe.create("--ft-button-small-icon-only-width","","SIZE","30px"),Oe.extend("--ft-button-primary-background-color","",we.backgroundActionPrimary),Oe.extend("--ft-button-primary-color","",we.contentGlobalOnColor),Oe.extend("--ft-button-primary-icon-color","",we.contentGlobalOnColor),Oe.extend("--ft-button-primary-state-layer-color","",we.contentGlobalOnColor),Oe.extend("--ft-button-primary-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-button-primary-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-button-primary-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-button-primary-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-button-focus-focus-ring-color","",we.borderActionFocusRing),Oe.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Oe.extend("--ft-button-tertiary-color","",we.contentActionPrimary),Oe.extend("--ft-button-tertiary-icon-color","",we.contentActionPrimary),Oe.extend("--ft-button-tertiary-state-layer-color","",we.contentActionPrimary),Oe.extend("--ft-button-tertiary-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-button-tertiary-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-button-tertiary-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-button-tertiary-component-opacity-disabled","",xe.opacity40),Oe.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Oe.extend("--ft-button-secondary-color","",we.contentActionPrimary),Oe.extend("--ft-button-secondary-icon-color","",we.contentActionPrimary),Oe.extend("--ft-button-secondary-state-layer-color","",we.contentActionPrimary),Oe.extend("--ft-button-secondary-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-button-secondary-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-button-secondary-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-button-secondary-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-button-secondary-border-color","",we.borderActionPrimary),Oe.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Oe.extend("--ft-button-neutral-icon-color","",we.contentGlobalSecondary),Oe.extend("--ft-button-neutral-color","",we.contentGlobalSecondary),Oe.extend("--ft-button-neutral-state-layer-color","",we.contentGlobalSecondary),Oe.extend("--ft-button-neutral-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-button-neutral-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-button-neutral-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-button-neutral-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-tabs-top-left-border-radius","",xe.borderRadiusS),Oe.extend("--ft-tabs-top-right-border-radius","",xe.borderRadiusS),Oe.extend("--ft-tabs-label-horizontal-padding","",xe.spacing4),Oe.extend("--ft-tabs-label-vertical-padding","",xe.spacing3),Oe.extend("--ft-tabs-label-gap","",xe.spacing1),Oe.extend("--ft-switch-group-horizontal-padding","",xe.spacing1),Oe.extend("--ft-switch-group-vertical-padding","",xe.spacing1),Oe.extend("--ft-switch-group-gap","",xe.spacing1),Oe.extend("--ft-switch-group-background-color","",we.backgroundGlobalSurface),Oe.extend("--ft-switch-group-border-color","",we.borderGlobalSubtle),Oe.create("--ft-switch-group-border-radius","","SIZE","6px"),Oe.extend("--ft-switch-label-horizontal-padding","",xe.spacing2),Oe.extend("--ft-switch-label-vertical-padding","",xe.spacing1),Oe.extend("--ft-switch-icon-horizontal-padding","",xe.spacing1),Oe.extend("--ft-switch-icon-vertical-padding","",xe.spacing1),Oe.create("--ft-switch-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-switch-focus-focus-ring-color","",we.borderActionFocusRing),Oe.extend("--ft-switch-option-border-radius","",xe.borderRadiusS),Oe.extend("--ft-switch-off-state-layer-opacity-hover","",xe.opacity8),Oe.extend("--ft-switch-off-state-layer-opacity-focus","",xe.opacity8),Oe.extend("--ft-switch-off-state-layer-opacity-active","",xe.opacity16),Oe.extend("--ft-switch-off-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-switch-off-color","",we.contentGlobalSubtle),Oe.extend("--ft-switch-off-state-layer-color","",we.contentGlobalSubtle),Oe.extend("--ft-chart-1-light","for area color charts",xe.colorBrand40),Oe.extend("--ft-chart-1-base","for line charts",xe.colorBrand0),Oe.extend("--ft-chart-2-light","for area color charts",xe.colorYellow60),Oe.extend("--ft-chart-2-base","for line charts",xe.colorYellow100),Oe.extend("--ft-chart-3-light","",xe.colorUltramarine40),Oe.extend("--ft-chart-3-base","",xe.colorUltramarine70),Oe.extend("--ft-chart-4-light","",xe.colorCyan50),Oe.extend("--ft-chart-4-base","",xe.colorCyan100),Oe.extend("--ft-chart-5-light","",xe.colorRed40),Oe.extend("--ft-chart-5-base","",xe.colorRed60),Oe.extend("--ft-chart-6-light","",xe.colorGreen40),Oe.extend("--ft-chart-6-base","",xe.colorGreen70),Oe.extend("--ft-chart-7-light","",xe.colorOrange70),Oe.extend("--ft-chart-7-base","",xe.colorOrange100),Oe.extend("--ft-chart-8-light","",xe.colorAvocado70),Oe.extend("--ft-chart-8-base","",xe.colorAvocado200),Oe.extend("--ft-chart-9-light","",xe.colorBrown50),Oe.extend("--ft-chart-9-base","",xe.colorBrown200),Oe.extend("--ft-chart-10-light","",xe.colorGray50),Oe.extend("--ft-chart-10-base","",xe.colorGray80),Oe.extend("--ft-chart-monochrome-10","",xe.colorBrand10),Oe.extend("--ft-chart-monochrome-20","",xe.colorBrand20),Oe.extend("--ft-chart-monochrome-30","",xe.colorBrand40),Oe.extend("--ft-chart-monochrome-40","",xe.colorBrand60),Oe.extend("--ft-chart-monochrome-50","",xe.colorBrand0),Oe.extend("--ft-chart-monochrome-60","",xe.colorBrand200),Oe.extend("--ft-chip-large-horizontal-padding","",xe.spacing4),Oe.extend("--ft-chip-large-vertical-padding","",xe.spacing2),Oe.extend("--ft-chip-large-gap","",xe.spacing1),Oe.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Oe.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-chip-large-border-radius","",xe.borderRadiusPill),Oe.create("--ft-chip-large-border-width","","SIZE","1px"),Oe.extend("--ft-chip-large-icon-size","",xe.iconSize3),Oe.extend("--ft-chip-medium-horizontal-padding","",xe.spacing3),Oe.extend("--ft-chip-medium-vertical-padding","",xe.spacing1),Oe.extend("--ft-chip-medium-gap","",xe.spacing1),Oe.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Oe.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-chip-medium-border-radius","",xe.borderRadiusPill),Oe.create("--ft-chip-medium-border-width","","SIZE","1px"),Oe.extend("--ft-chip-medium-icon-size","",xe.iconSize2),Oe.extend("--ft-chip-small-horizontal-padding","",xe.spacing2),Oe.extend("--ft-chip-small-vertical-padding","",xe.spacing05),Oe.extend("--ft-chip-small-gap","",xe.spacing1),Oe.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Oe.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-chip-small-border-radius","",xe.borderRadiusPill),Oe.create("--ft-chip-small-border-width","","SIZE","1px"),Oe.extend("--ft-chip-small-icon-size","",xe.iconSize1),Oe.extend("--ft-chip-neutral-background-color","",we.backgroundGlobalOnSurface),Oe.extend("--ft-chip-neutral-color","",we.contentGlobalPrimary),Oe.extend("--ft-chip-neutral-border-color","",we.borderGlobalSubtle),Oe.extend("--ft-chip-info-background-color","",we.backgroundInfoSubtle),Oe.extend("--ft-chip-info-color","",we.contentInfoPrimary),Oe.extend("--ft-chip-info-border-color","",we.borderInfoPrimary),Oe.extend("--ft-chip-success-background-color","",we.backgroundSuccessSubtle),Oe.extend("--ft-chip-success-color","",we.contentSuccessPrimary),Oe.extend("--ft-chip-success-border-color","",we.borderSuccessPrimary),Oe.extend("--ft-chip-warning-background-color","",we.backgroundWarningSubtle),Oe.extend("--ft-chip-warning-color","",we.contentWarningPrimary),Oe.extend("--ft-chip-warning-border-color","",we.borderWarningPrimary),Oe.extend("--ft-chip-error-background-color","",we.backgroundErrorSubtle),Oe.extend("--ft-chip-error-color","",we.contentErrorPrimary),Oe.extend("--ft-chip-error-border-color","",we.borderErrorPrimary),Oe.create("--ft-notice-border-width","","SIZE","1px"),Oe.extend("--ft-notice-horizontal-padding","",xe.spacing2),Oe.extend("--ft-notice-vertical-padding","",xe.spacing1),Oe.extend("--ft-notice-border-radius","",xe.borderRadiusS),Oe.extend("--ft-notice-gap","",xe.spacing2),Oe.extend("--ft-notice-icon-size","",xe.iconSize3),Oe.extend("--ft-notice-info-background-color","",we.backgroundInfoSubtle),Oe.extend("--ft-notice-info-border-color","",we.borderInfoPrimary),Oe.extend("--ft-notice-info-color","",we.contentInfoPrimary),Oe.extend("--ft-notice-warning-background-color","",we.backgroundWarningSubtle),Oe.extend("--ft-notice-warning-border-color","",we.borderWarningPrimary),Oe.extend("--ft-notice-warning-color","",we.contentWarningPrimary),Oe.extend("--ft-checkbox-label-color","",we.contentGlobalPrimary),Oe.extend("--ft-checkbox-checked-background-color","",we.contentActionPrimary),Oe.extend("--ft-checkbox-checked-state-layer-color","",we.contentActionPrimary),Oe.extend("--ft-checkbox-checked-color","",we.contentGlobalOnColor),Oe.extend("--ft-checkbox-checked-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-checkbox-checked-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-checkbox-checked-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-checkbox-checked-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-checkbox-unchecked-border-color","",xe.colorGray80),Oe.extend("--ft-checkbox-unchecked-state-layer-color","",xe.colorGray80),Oe.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-checkbox-unchecked-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-checkbox-focus-focus-ring-color","",we.borderActionFocusRing),Oe.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Oe.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-checkbox-gap","",xe.spacing3),Oe.extend("--ft-toggle-off-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-toggle-off-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-toggle-off-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-toggle-off-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-toggle-off-background-color","",we.contentGlobalSubtle),Oe.extend("--ft-toggle-off-icon-color","",we.contentGlobalSubtle),Oe.extend("--ft-toggle-off-state-layer-color","",we.contentGlobalSubtle),Oe.extend("--ft-toggle-on-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-toggle-on-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-toggle-on-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-toggle-on-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-toggle-on-background-color","",we.contentActionPrimary),Oe.extend("--ft-toggle-on-icon-color","",we.contentActionPrimary),Oe.extend("--ft-toggle-on-state-layer-color","",we.contentActionPrimary),Oe.extend("--ft-toggle-label-color","",we.contentGlobalPrimary),Oe.extend("--ft-toggle-focus-focus-ring-color","",we.borderActionFocusRing),Oe.extend("--ft-toggle-gap","",xe.spacing3),Oe.extend("--ft-radio-label-color","",we.contentGlobalPrimary),Oe.extend("--ft-radio-selected-color","",we.contentActionPrimary),Oe.extend("--ft-radio-selected-state-layer-color","",we.contentActionPrimary),Oe.extend("--ft-radio-selected-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-radio-selected-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-radio-selected-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-radio-selected-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-radio-unselected-state-layer-color","",xe.colorGray80),Oe.extend("--ft-radio-unselected-state-layer-opacity-hover","",xe.opacity16),Oe.extend("--ft-radio-unselected-state-layer-opacity-focus","",xe.opacity16),Oe.extend("--ft-radio-unselected-state-layer-opacity-active","",xe.opacity24),Oe.extend("--ft-radio-unselected-component-opacity-disabled","",xe.opacity40),Oe.extend("--ft-radio-focus-focus-ring-color","",we.borderActionFocusRing),Oe.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Oe.create("--ft-radio-focus-outline-width","","SIZE","2px"),Oe.extend("--ft-radio-gap","",xe.spacing3),Oe.extend("--ft-notification-icon-size","",xe.iconSize4),Oe.extend("--ft-notification-horizontal-padding","",xe.spacing4),Oe.extend("--ft-notification-vertical-padding","",xe.spacing4),Oe.extend("--ft-notification-info-background-color","",we.backgroundInfoSubtle),Oe.extend("--ft-notification-info-color","",we.contentInfoPrimary),Oe.extend("--ft-notification-info-border-color","",we.borderInfoPrimary),Oe.extend("--ft-notification-success-background-color","",we.backgroundSuccessSubtle),Oe.extend("--ft-notification-success-color","",we.contentSuccessPrimary),Oe.extend("--ft-notification-success-border-color","",we.borderSuccessPrimary),Oe.extend("--ft-notification-warning-background-color","",we.backgroundWarningSubtle),Oe.extend("--ft-notification-warning-color","",we.contentWarningPrimary),Oe.extend("--ft-notification-warning-border-color","",we.borderWarningPrimary),Oe.extend("--ft-notification-error-background-color","",we.backgroundErrorSubtle),Oe.extend("--ft-notification-error-color","",we.contentErrorPrimary),Oe.extend("--ft-notification-error-border-color","",we.borderErrorPrimary),Oe.extend("--ft-notification-border-radius","",xe.borderRadiusPill),Oe.create("--ft-notification-border-width","","SIZE","1px"),Oe.extend("--ft-notification-gap-leading","",xe.spacing2),Oe.extend("--ft-notification-gap-trailing","",xe.spacing8);const Ne={colorPrimary:Oe.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Oe.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Oe.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Oe.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Oe.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Oe.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Oe.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Oe.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Oe.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Oe.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Oe.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Oe.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Oe.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Oe.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Oe.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Oe.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Oe.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Oe.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Oe.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Oe.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Oe.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Oe.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Oe.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Oe.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Oe.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Oe.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Oe.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Oe.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Oe.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Oe.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Oe.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Oe.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Oe.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Oe.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Oe.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Oe.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Oe.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Oe.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Oe.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Oe.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Oe.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Oe.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Oe.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Oe.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Oe.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:Oe.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:Oe.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:Oe.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:Oe.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:Oe.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:Oe.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:Oe.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:Oe.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:Oe.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:Oe.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Oe.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Oe.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Oe.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Oe.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Oe.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Oe.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Oe.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Se=window,Ce=Se.ShadowRoot&&(void 0===Se.ShadyCSS||Se.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
75
75
  /**
76
76
  * @license
77
77
  * Copyright 2019 Google LLC
78
78
  * SPDX-License-Identifier: BSD-3-Clause
79
- */class Eo extends go{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Co?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=So.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Ro,Uo=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Io=Symbol("constructorPrototype"),Lo=Symbol("constructorName"),ko=Symbol("exportpartsDebouncer");class Wo extends Eo{constructor(){super(),this[Ro]=new i(5),this[Lo]=this.constructor.name,this[Io]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Lo]&&Object.setPrototypeOf(this,this[Io])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[ko].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,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!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ro=ko,Uo([U()],Wo.prototype,"exportpartsPrefix",void 0),Uo([K([])],Wo.prototype,"exportpartsPrefixes",void 0),Uo([U()],Wo.prototype,"customStylesheet",void 0),vt`
79
+ */class Ee extends be{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)=>{Ce?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Se.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Re,Ue=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ie=Symbol("constructorPrototype"),ke=Symbol("constructorName"),Le=Symbol("exportpartsDebouncer");class We extends Ee{constructor(){super(),this[Re]=new i(5),this[ke]=this.constructor.name,this[Ie]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ke]&&Object.setPrototypeOf(this,this[Ie])}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[Le].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Re=Le,Ue([U()],We.prototype,"exportpartsPrefix",void 0),Ue([K([])],We.prototype,"exportpartsPrefixes",void 0),Ue([U()],We.prototype,"customStylesheet",void 0);class Ae{constructor(t,e=!0,o=[],r=5e3){this.ctx=t,this.iframes=e,this.exclude=o,this.iframesTimeout=r}static matches(t,e){const o="string"==typeof e?[e]:e,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let e=!1;return o.every((o=>!r.call(t,o)||(e=!0,!1))),e}return!1}getContexts(){let t,e=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const o=e.filter((e=>e.contains(t))).length>0;-1!==e.indexOf(t)||o||e.push(t)})),e}getIframeContents(t,e,o=(()=>{})){let r;try{const e=t.contentWindow;if(r=e.document,!e||!r)throw new Error("iframe inaccessible")}catch(t){o()}r&&e(r)}isIframeBlank(t){const e="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===e&&o!==e&&o}observeIframeLoad(t,e,o){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,e,o))}catch(t){o()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,e,o){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,e,o):this.getIframeContents(t,e,o):this.observeIframeLoad(t,e,o)}catch(t){o()}}waitForIframes(t,e){let o=0;this.forEachIframe(t,(()=>!0),(t=>{o++,this.waitForIframes(t.querySelector("html"),(()=>{--o||e()}))}),(t=>{t||e()}))}forEachIframe(t,e,o,r=(()=>{})){let i=t.querySelectorAll("iframe"),n=i.length,a=0;i=Array.prototype.slice.call(i);const s=()=>{--n<=0&&r(a)};n||s(),i.forEach((t=>{Ae.matches(t,this.exclude)?s():this.onIframeReady(t,(r=>{e(t)&&(a++,o(r)),s()}),s)}))}createIterator(t,e,o){return document.createNodeIterator(t,e,o,!1)}createInstanceOnIframe(t){return new Ae(t.querySelector("html"),this.iframes)}compareNodeIframe(t,e,o){if(t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING){if(null===e)return!0;if(e.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const e=t.previousNode();let o;return o=(null===e||t.nextNode())&&t.nextNode(),{prevNode:e,node:o}}checkIframeFilter(t,e,o,r){let i=!1,n=!1;return r.forEach(((t,e)=>{t.val===o&&(i=e,n=t.handled)})),this.compareNodeIframe(t,e,o)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:o,handled:!0}),!0):(!1===i&&r.push({val:o,handled:!1}),!1)}handleOpenIframes(t,e,o,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(e,o,r)}))}))}iterateThroughNodes(t,e,o,r,i){const n=this.createIterator(e,t,r);let a,s,c=[],l=[],f=()=>(({prevNode:s,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(e,(t=>this.checkIframeFilter(a,s,t,c)),(e=>{this.createInstanceOnIframe(e).forEachNode(t,(t=>l.push(t)),r)})),l.push(a);l.forEach((t=>{o(t)})),this.iframes&&this.handleOpenIframes(c,t,o,r),i()}forEachNode(t,e,o,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,e,o,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const Ke=function(t){const e=new class{constructor(t){this.ctx=t,this.ie=!1;const e=window.navigator.userAgent;(e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Ae(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,e="debug"){const o=this.opt.log;this.opt.debug&&"object"==typeof o&&"function"==typeof o[e]&&o[e](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const e=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in e)if(e.hasOwnProperty(i)){const n=e[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${o}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let e="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,e?"[\\S\\s]?":"\\S?").replace(/\u0002/g,e?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,e,o)=>{let r=o.charAt(e+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let e=[];const o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&e.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&e.push("\\u00ad\\u200b\\u200c\\u200d"),e.length?t.split(/\u0000+/).join(`[${e.join("")}]*`):t}createDiacriticsRegExp(t){const e=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((i=>{o.every((o=>{if(-1!==o.indexOf(i)){if(r.indexOf(o)>-1)return!1;t=t.replace(new RegExp(`[${o}]`,`gm${e}`),`[${o}]`),r.push(o)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let e=this.opt.accuracy,o="string"==typeof e?e:e.value,r="string"==typeof e?[]:e.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),o){case"partially":default:return`()(${t})`;case"complementary":return i="\\s"+(i||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${i}]*${t}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${t})(?=$|\\s${i})`}}getSeparatedKeywords(t){let e=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===e.indexOf(t)&&e.push(t)})):t.trim()&&-1===e.indexOf(t)&&e.push(t)})),{keywords:e.sort(((t,e)=>e.length-t.length)),length:e.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const e=[];let o=0;return t.sort(((t,e)=>t.start-e.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,o);n&&(t.start=r,t.length=i-r,e.push(t),o=i)})),e}callNoMatchOnInvalidRanges(t,e){let o,r,i=!1;return t&&void 0!==t.start?(o=parseInt(t.start,10),r=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-e>0&&r-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:o,end:r,valid:i}}checkWhitespaceRanges(t,e,o){let r,i=!0,n=o.length,a=e-n,s=parseInt(t.start,10)-a;return s=s>n?n:s,r=s+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),s<0||r-s<0||s>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===o.substring(s,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:r,valid:i}}getTextNodes(t){let e="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{o.push({start:e.length,end:(e+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:e,nodes:o})}))}matchesExclude(t){return Ae.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,e,o){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(e),n=i.splitText(o-e);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=i.textContent,i.parentNode.replaceChild(a,i),n}wrapRangeInMappedTextNode(t,e,o,r,i){t.nodes.every(((n,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>e){if(!r(n.node))return!1;const s=e-n.start,c=(o>n.end?n.end:o)-n.start,l=t.value.substr(0,n.start),f=t.value.substr(c+n.start);if(n.node=this.wrapRangeInTextNode(n.node,s,c),t.value=l+f,t.nodes.forEach(((e,o)=>{o>=a&&(t.nodes[o].start>0&&o!==a&&(t.nodes[o].start-=c),t.nodes[o].end-=c)})),o-=c,i(n.node.previousSibling,n.start),!(o>n.end))return!1;e=n.end}return!0}))}wrapMatches(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{e.nodes.forEach((e=>{let i;for(e=e.node;null!==(i=t.exec(e.textContent))&&""!==i[n];){if(!o(i[n],e))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;e=this.wrapRangeInTextNode(e,a,a+i[n].length),r(e.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{let a;for(;null!==(a=t.exec(e.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const s=i+a[n].length;this.wrapRangeInMappedTextNode(e,i,s,(t=>o(a[n],t)),((e,o)=>{t.lastIndex=o,r(e)}))}i()}))}wrapRangeFromIndex(t,e,o,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:s,valid:c}=this.checkWhitespaceRanges(t,n,i.value);c&&this.wrapRangeInMappedTextNode(i,a,s,(o=>e(o,t,i.value.substring(a,s),r)),(e=>{o(e,t)}))})),r()}))}unwrapMatches(t){const e=t.parentNode;let o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));e.replaceChild(o,t),this.ie?this.normalizeTextNode(e):e.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,e){this.opt=e,this.log(`Searching with expression "${t}"`);let o=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,e)=>this.opt.filter(e,t,o)),(t=>{o++,this.opt.each(t)}),(()=>{0===o&&this.opt.noMatch(t),this.opt.done(o)}))}mark(t,e){this.opt=e;let o=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let e=new RegExp(this.createRegExp(t),`gm${a}`),c=0;this.log(`Searching with expression "${e}"`),this[r](e,1,((e,r)=>this.opt.filter(r,t,o,c)),(t=>{c++,o++,this.opt.each(t)}),(()=>{0===c&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(o):s(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(o):s(i[0])}markRanges(t,e){this.opt=e;let o=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,e,o,r)=>this.opt.filter(t,e,o,r)),((t,e)=>{o++,this.opt.each(t,e)}),(()=>{this.opt.done(o)}))):this.opt.done(o)}unmark(t){this.opt=t;let e=this.opt.element?this.opt.element:"*";e+="[data-markjs]",this.opt.className&&(e+=`.${this.opt.className}`),this.log(`Removal selector "${e}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const o=Ae.matches(t,e),r=this.matchesExclude(t);return!o||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,o)=>(e.mark(t,o),this),this.markRegExp=(t,o)=>(e.markRegExp(t,o),this),this.markRanges=(t,o)=>(e.markRanges(t,o),this),this.unmark=t=>(e.unmark(t),this),this},je=Oe.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),$e=Ot`
80
+ .highlight-html-match {
81
+ background: ${je};
82
+ }
83
+ `,Me={className:"highlight-html-match"};Ot`
80
84
  .ft-no-text-select {
81
85
  -webkit-touch-callout: none;
82
86
  -webkit-user-select: none;
@@ -85,7 +89,7 @@ let go=class extends jt{constructor(){super(...arguments),this.renderOptions={ho
85
89
  -ms-user-select: none;
86
90
  user-select: none;
87
91
  }
88
- `,vt`
92
+ `,Ot`
89
93
  .ft-word-wrap {
90
94
  white-space: normal;
91
95
  word-wrap: break-word;
@@ -97,7 +101,7 @@ let go=class extends jt{constructor(){super(...arguments),this.renderOptions={ho
97
101
  -webkit-hyphens: auto;
98
102
  hyphens: auto
99
103
  }
100
- `,vt`
104
+ `,Ot`
101
105
  .ft-safari-ellipsis-fix {
102
106
  margin-right: 0;
103
107
 
@@ -108,9 +112,9 @@ let go=class extends jt{constructor(){super(...arguments),this.renderOptions={ho
108
112
  display: inline-block;
109
113
  width: 0;
110
114
  }
111
- `;class Ko{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let i=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>i=i.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),i}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}function Ao(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var jo,Mo,Zo;const $o=Symbol("internalReduxEventsUnsubscribers"),Po=Symbol("internalStoresUnsubscribers"),Fo=Symbol("internalStores");class Bo extends Wo{constructor(){super(...arguments),this[jo]=new Map,this[Mo]=new Map,this[Zo]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[Fo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Fo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Fo].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Ao(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Fo].delete(o)}setupStore(t,o){this[Fo].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Fo].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Po].has(t.store):this[Po].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Po].set(t,o.subscribe((()=>this.updateFromStores()))),Ao(o)&&o.eventBus&&(null===(e=this.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[$o].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Po].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[$o].forEach((t=>t())),this[$o]=[]}unsubscribeFromStore(t){this[Po].has(t)&&this[Po].get(t)(),this[Po].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Do(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function _o(t){return!!t&&!!t[Ie]}function To(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Le}(t)||Array.isArray(t)||!!t[Ue]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Ue])||Yo(t)||Jo(t))}function zo(t,o,e){void 0===e&&(e=!1),0===Go(t)?(e?Object.keys:ke)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function Go(t){var o=t[Ie];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:Yo(t)?2:Jo(t)?3:0}function Ho(t,o){return 2===Go(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function qo(t,o,e){var r=Go(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function Vo(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function Yo(t){return Se&&t instanceof Map}function Jo(t){return Ce&&t instanceof Set}function Xo(t){return t.o||t.t}function Qo(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=We(t);delete o[Ie];for(var e=ke(o),r=0;r<e.length;r++){var i=e[r],n=o[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(o[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),o)}function te(t,o){return void 0===o&&(o=!1),ee(t)||_o(t)||!To(t)||(Go(t)>1&&(t.set=t.add=t.clear=t.delete=oe),Object.freeze(t),o&&zo(t,(function(t,o){return te(o,!0)}),!0)),t}function oe(){Do(2)}function ee(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function re(t){var o=Ke[t];return o||Do(18,t),o}function ie(){return we}function ne(t,o){o&&(re("Patches"),t.u=[],t.s=[],t.v=o)}function ae(t){se(t),t.p.forEach(le),t.p=null}function se(t){t===we&&(we=t.l)}function ce(t){return we={p:[],l:we,h:t,m:!0,_:0}}function le(t){var o=t[Ie];0===o.i||1===o.i?o.j():o.g=!0}function fe(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||re("ES5").S(o,t,r),r?(e[Ie].P&&(ae(o),Do(4)),To(t)&&(t=he(o,t),o.l||de(o,t)),o.u&&re("Patches").M(e[Ie].t,t,o.u,o.s)):t=he(o,e,[]),ae(o),o.u&&o.v(o.u,o.s),t!==Re?t:void 0}function he(t,o,e){if(ee(o))return o;var r=o[Ie];if(!r)return zo(o,(function(i,n){return ue(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return de(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=Qo(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),zo(n,(function(o,n){return ue(t,r,i,o,n,e,a)})),de(t,i,!1),e&&t.u&&re("Patches").N(r,e,t.u,t.s)}return r.o}function ue(t,o,e,r,i,n,a){if(_o(i)){var s=he(t,i,n&&o&&3!==o.i&&!Ho(o.R,r)?n.concat(r):void 0);if(qo(e,r,s),!_o(s))return;t.m=!1}else a&&e.add(i);if(To(i)&&!ee(i)){if(!t.h.D&&t._<1)return;he(t,i),o&&o.A.l||de(t,i)}}function de(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&te(o,e)}function pe(t,o){var e=t[Ie];return(e?Xo(e):t)[o]}function ye(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function be(t){t.P||(t.P=!0,t.l&&be(t.l))}function ge(t){t.o||(t.o=Qo(t.t))}function me(t,o,e){var r=Yo(o)?re("MapSet").F(o,e):Jo(o)?re("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:ie(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=Ae;e&&(i=[r],n=je);var a=Proxy.revocable(i,n),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(o,e):re("ES5").J(o,e);return(e?e.A:ie()).p.push(r),r}function ve(t){return _o(t)||Do(22,t),function t(o){if(!To(o))return o;var e,r=o[Ie],i=Go(o);if(r){if(!r.P&&(r.i<4||!re("ES5").K(r)))return r.t;r.I=!0,e=Oe(o,i),r.I=!1}else e=Oe(o,i);return zo(e,(function(o,i){r&&function(t,o){return 2===Go(t)?t.get(o):t[o]}(r.t,o)===i||qo(e,o,t(i))})),3===i?new Set(e):e}(t)}function Oe(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return Qo(t)}jo=Po,Mo=Fo,Zo=$o;var xe,we,Ne="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Se="undefined"!=typeof Map,Ce="undefined"!=typeof Set,Ee="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Re=Ne?Symbol.for("immer-nothing"):((xe={})["immer-nothing"]=!0,xe),Ue=Ne?Symbol.for("immer-draftable"):"__$immer_draftable",Ie=Ne?Symbol.for("immer-state"):"__$immer_state",Le=""+Object.prototype.constructor,ke="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,We=Object.getOwnPropertyDescriptors||function(t){var o={};return ke(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Ke={},Ae={get:function(t,o){if(o===Ie)return t;var e=Xo(t);if(!Ho(e,o))return function(t,o,e){var r,i=ye(o,e);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!To(r)?r:r===pe(t.t,o)?(ge(t),t.o[o]=me(t.A.h,r,t)):r},has:function(t,o){return o in Xo(t)},ownKeys:function(t){return Reflect.ownKeys(Xo(t))},set:function(t,o,e){var r=ye(Xo(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=pe(Xo(t),o),n=null==i?void 0:i[Ie];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(Vo(e,i)&&(void 0!==e||Ho(t.t,o)))return!0;ge(t),be(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==pe(t.t,o)||o in t.t?(t.R[o]=!1,ge(t),be(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=Xo(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){Do(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Do(12)}},je={};zo(Ae,(function(t,o){je[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),je.deleteProperty=function(t,o){return je.set.call(this,t,o,void 0)},je.set=function(t,o,e){return Ae.set.call(this,t[0],o,e,t[0])};var Me=function(){function t(t){var o=this;this.O=Ee,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var i=e;e=t;var n=o;return function(t){var o=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&Do(6),void 0!==r&&"function"!=typeof r&&Do(7),To(t)){var s=ce(o),c=me(o,t,void 0),l=!0;try{a=e(c),l=!1}finally{l?ae(s):se(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return ne(s,r),fe(t,s)}),(function(t){throw ae(s),t})):(ne(s,r),fe(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Re&&(a=void 0),o.D&&te(a,!0),r){var f=[],h=[];re("Patches").M(t,a,f,h),r(f,h)}return a}Do(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(i))}))};var r,i,n=o.produce(t,e,(function(t,o){r=t,i=o}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){To(t)||Do(8),_o(t)&&(t=ve(t));var o=ce(this),e=me(this,t,void 0);return e[Ie].C=!0,se(o),e},o.finishDraft=function(t,o){var e=(t&&t[Ie]).A;return ne(e,o),fe(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Ee&&Do(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var i=re("Patches").$;return _o(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),Ze=new Me,$e=Ze.produce;function Pe(t){return Pe="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},Pe(t)}function Fe(t){var o=function(t,o){if("object"!==Pe(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==Pe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Pe(o)?o:String(o)}function Be(t,o,e){return(o=Fe(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function De(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function _e(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?De(Object(e),!0).forEach((function(o){Be(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):De(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function Te(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Ze.produceWithPatches.bind(Ze),Ze.setAutoFreeze.bind(Ze),Ze.setUseProxies.bind(Ze),Ze.applyPatches.bind(Ze),Ze.createDraft.bind(Ze),Ze.finishDraft.bind(Ze);var ze="function"==typeof Symbol&&Symbol.observable||"@@observable",Ge=function(){return Math.random().toString(36).substring(7).split("").join(".")},He={INIT:"@@redux/INIT"+Ge(),REPLACE:"@@redux/REPLACE"+Ge(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ge()}};function qe(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(Te(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(Te(1));return e(qe)(t,o)}if("function"!=typeof t)throw new Error(Te(2));var i=t,n=o,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Te(3));return n}function h(t){if("function"!=typeof t)throw new Error(Te(4));if(c)throw new Error(Te(5));var o=!0;return l(),s.push(t),function(){if(o){if(c)throw new Error(Te(6));o=!1,l();var e=s.indexOf(t);s.splice(e,1),a=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(Te(7));if(void 0===t.type)throw new Error(Te(8));if(c)throw new Error(Te(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var o=a=s,e=0;e<o.length;e++){(0,o[e])()}return t}return u({type:He.INIT}),(r={dispatch:u,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Te(10));i=t,u({type:He.REPLACE})}})[ze]=function(){var t,o=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Te(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[ze]=function(){return this},t},r}function Ve(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var i=o[r];"function"==typeof t[i]&&(e[i]=t[i])}var n,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:He.INIT}))throw new Error(Te(12));if(void 0===e(void 0,{type:He.PROBE_UNKNOWN_ACTION()}))throw new Error(Te(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=e[c],f=t[c],h=l(f,o);if(void 0===h)throw o&&o.type,new Error(Te(14));i[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function Ye(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function Je(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(Te(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=Ye.apply(void 0,n)(e.dispatch),_e(_e({},e),{},{dispatch:r})}}}function Xe(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(i){return"function"==typeof i?i(e,r,t):o(i)}}}}var Qe=Xe();Qe.withExtraArgument=Xe;var tr,or=Qe,er=(tr=function(t,o){return tr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},tr(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}tr(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),rr=function(t,o){var e,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=o.call(t,a)}catch(t){n=[6,t],r=0}finally{e=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},ir=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},nr=Object.defineProperty,ar=Object.defineProperties,sr=Object.getOwnPropertyDescriptors,cr=Object.getOwnPropertySymbols,lr=Object.prototype.hasOwnProperty,fr=Object.prototype.propertyIsEnumerable,hr=function(t,o,e){return o in t?nr(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},ur=function(t,o){for(var e in o||(o={}))lr.call(o,e)&&hr(t,e,o[e]);if(cr)for(var r=0,i=cr(o);r<i.length;r++){e=i[r];fr.call(o,e)&&hr(t,e,o[e])}return t},dr=function(t,o){return ar(t,sr(o))},pr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Ye:Ye.apply(null,arguments)};var yr=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return er(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,ir([void 0],t[0].concat(this)))):new(o.bind.apply(o,ir([void 0],t.concat(this))))},o}(Array),br=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return er(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,ir([void 0],t[0].concat(this)))):new(o.bind.apply(o,ir([void 0],t.concat(this))))},o}(Array);function gr(t){return To(t)?$e(t,(function(){})):t}function mr(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new yr;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(or.withExtraArgument(e.extraArgument)):r.push(or));return r}(t)}}function vr(t){var o,e=mr(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?e():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,h=void 0===f?void 0:f,u=r.enhancers,d=void 0===u?void 0:u;if("function"==typeof n)o=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=Ve(n)}var p=s;"function"==typeof p&&(p=p(e));var y=Je.apply(void 0,p),b=Ye;l&&(b=pr(ur({trace:!1},"object"==typeof l&&l)));var g=new br(y),m=g;return Array.isArray(d)?m=ir([y],d):"function"==typeof d&&(m=d(g)),qe(o,h,b.apply(void 0,m))}function Or(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return ur(ur({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function xr(t){var o,e={},r=[],i={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,i},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),i},addDefaultCase:function(t){return o=t,i}};return t(i),[e,r,o]}function wr(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:gr(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};function l(){var o="function"==typeof t.extraReducers?xr(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,c=o[2],l=void 0===c?void 0:c,f=ur(ur({},i),s);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?xr(o):[o,e,r],a=n[0],s=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return gr(t())};else{var l=gr(t);i=function(){return l}}function f(t,o){void 0===t&&(t=i());var e=ir([a[o.type]],s.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[c]),e.reduce((function(t,e){if(e){var r;if(_o(t))return void 0===(r=e(t,o))?t:r;if(To(t))return $e(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var i=r[e];t.addMatcher(i.matcher,i.reducer)}l&&t.addDefaultCase(l)}))}return n.forEach((function(t){var e,r,n=i[t],l=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,s[l]=e,c[t]=r?Or(l,r):Or(l)})),{name:o,reducer:function(t,o){return e||(e=l()),e(t,o)},actions:c,caseReducers:a,getInitialState:function(){return e||(e=l()),e.getInitialState()}}}var Nr=["name","message","stack","code"],Sr=function(t,o){this.payload=t,this.meta=o},Cr=function(t,o){this.payload=t,this.meta=o},Er=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Nr;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function Rr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=Or(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:dr(ur({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Or(t+"/pending",(function(t,o,e){return{payload:void 0,meta:dr(ur({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Or(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||Er)(t||"Rejected"),meta:dr(ur({},n||{}),{arg:r,requestId:o,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,h=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),u=new a;function d(t){f=t,u.abort()}var p=function(){return a=this,p=null,y=function(){var a,p,y,b,g,m;return rr(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),b=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:c,extra:l}),null===(O=b)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,b];case 1:b=v.sent(),v.label=2;case 2:if(!1===b||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return g=new Promise((function(t,o){return u.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(i(h,t,null==(p=null==e?void 0:e.getPendingMeta)?void 0:p.call(e,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([g,Promise.resolve(o(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:u.signal,abort:d,rejectWithValue:function(t,o){return new Sr(t,o)},fulfillWithValue:function(t,o){return new Cr(t,o)}})).then((function(o){if(o instanceof Sr)throw o;return o instanceof Cr?r(o.payload,h,t,o.meta):r(o,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Sr?n(null,h,t,m.payload,m.meta):n(m,h,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,o){var e=function(t){try{i(y.next(t))}catch(t){o(t)}},r=function(t){try{i(y.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((y=y.apply(a,p)).next())}));var a,p,y}();return Object.assign(p,{abort:d,requestId:h,arg:t,unwrap:function(){return p.then(Rr)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ur="listenerMiddleware";Or(Ur+"/add"),Or(Ur+"/removeAll"),Or(Ur+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=i[t];return e?e.enumerable=o:i[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Ie];return Ae.get(o,t)},set:function(o){var e=this[Ie];Ae.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Ie];if(!i.P)switch(i.i){case 5:r(i)&&be(i);break;case 4:e(i)&&be(i)}}}function e(t){for(var o=t.t,e=t.k,r=ke(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Ie){var a=o[n];if(void 0===a&&!Ho(o,n))return!0;var s=e[n],c=s&&s[Ie];if(c?c.t!==a:!Vo(s,a))return!0}}var l=!!o[Ie];return r.length!==ke(o).length+(l?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var i={};!function(t,o){Ke[t]||(Ke[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),i=function(o,e){if(o){for(var r=Array(e.length),i=0;i<e.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=We(e);delete n[Ie];for(var a=ke(n),s=0;s<a.length;s++){var c=a[s];n[c]=t(c,o||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:ie(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Ie,{value:n,writable:!0}),i},S:function(t,e,i){i?_o(e)&&e[Ie].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Ie];if(e){var i=e.t,n=e.k,a=e.R,s=e.i;if(4===s)zo(n,(function(o){o!==Ie&&(void 0!==i[o]||Ho(i,o)?a[o]||t(n[o]):(a[o]=!0,be(e)))})),zo(i,(function(t){void 0!==n[t]||Ho(n,t)||(a[t]=!1,be(e))}));else if(5===s){if(r(e)&&(be(e),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var l=i.length;l<n.length;l++)a[l]=!0;for(var f=Math.min(n.length,i.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ir{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(Ao(i))return i;if(null==r)return;const n=wr({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=vr({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return n.reducer(t,o)}}});return window.ftReduxStores[r.name]=new Ir(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,i=t[r];return i?(...t)=>{const o=i(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const Lr=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!k(t,o),attribute:!1,...o};U(i)(t,e);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}};var kr,Wr;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Wr=null===(kr=window.safari)||void 0===kr?void 0:kr.pushNotification)||void 0===Wr||Wr.toString());const Kr={colorError:Oo.external(No.colorError,"Design system"),fontFamily:Oo.external(No.contentFont,"Design system")},Ar=vt`
115
+ `;class Ze{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}function Pe(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Fe,Be,Te;const De=Symbol("internalReduxEventsUnsubscribers"),_e=Symbol("internalStoresUnsubscribers"),ze=Symbol("internalStores");class Ge extends We{constructor(){super(...arguments),this[Fe]=new Map,this[Be]=new Map,this[Te]=[]}update(t){var e;super.update(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[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:Pe(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[_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()))),Pe(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[De].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[_e].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[De].forEach((t=>t())),this[De]=[]}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 qe(t){return!!t&&!!t[jo]}function Je(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)===$o}(t)||Array.isArray(t)||!!t[Ko]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Ko])||eo(t)||oo(t))}function Ye(t,e,o){void 0===o&&(o=!1),0===Ve(t)?(o?Object.keys:Mo)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function Ve(t){var e=t[jo];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:eo(t)?2:oo(t)?3:0}function Xe(t,e){return 2===Ve(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Qe(t,e,o){var r=Ve(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 ko&&t instanceof Map}function oo(t){return Lo&&t instanceof Set}function ro(t){return t.o||t.t}function io(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Zo(t);delete e[jo];for(var o=Mo(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function no(t,e){return void 0===e&&(e=!1),so(t)||qe(t)||!Je(t)||(Ve(t)>1&&(t.set=t.add=t.clear=t.delete=ao),Object.freeze(t),e&&Ye(t,(function(t,e){return no(e,!0)}),!0)),t}function ao(){He(2)}function so(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function co(t){var e=Po[t];return e||He(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[jo];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[jo].P&&(ho(e),He(4)),Je(t)&&(t=bo(e,t),e.l||vo(e,t)),e.u&&co("Patches").M(o[jo].t,t,e.u,e.s)):t=bo(e,o,[]),ho(e),e.u&&e.v(e.u,e.s),t!==Ao?t:void 0}function bo(t,e,o){if(so(e))return e;var r=e[jo];if(!r)return Ye(e,(function(i,n){return mo(t,r,e,i,n,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 i=4===r.i||5===r.i?r.o=io(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),Ye(n,(function(e,n){return mo(t,r,i,e,n,o,a)})),vo(t,i,!1),o&&t.u&&co("Patches").N(r,o,t.u,t.s)}return r.o}function mo(t,e,o,r,i,n,a){if(qe(i)){var s=bo(t,i,n&&e&&3!==e.i&&!Xe(e.R,r)?n.concat(r):void 0);if(Qe(o,r,s),!qe(s))return;t.m=!1}else a&&o.add(i);if(Je(i)&&!so(i)){if(!t.h.D&&t._<1)return;bo(t,i),e&&e.A.l||vo(t,i)}}function vo(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&no(e,o)}function Oo(t,e){var o=t[jo];return(o?ro(o):t)[e]}function xo(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 No(t){t.o||(t.o=io(t.t))}function So(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},i=r,n=Fo;o&&(i=[r],n=Bo);var a=Proxy.revocable(i,n),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):co("ES5").J(e,o);return(o?o.A:lo()).p.push(r),r}function Co(t){return qe(t)||He(22,t),function t(e){if(!Je(e))return e;var o,r=e[jo],i=Ve(e);if(r){if(!r.P&&(r.i<4||!co("ES5").K(r)))return r.t;r.I=!0,o=Eo(e,i),r.I=!1}else o=Eo(e,i);return Ye(o,(function(e,i){r&&function(t,e){return 2===Ve(t)?t.get(e):t[e]}(r.t,e)===i||Qe(o,e,t(i))})),3===i?new Set(o):o}(t)}function Eo(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return io(t)}Fe=_e,Be=ze,Te=De;var Ro,Uo,Io="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),ko="undefined"!=typeof Map,Lo="undefined"!=typeof Set,Wo="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ao=Io?Symbol.for("immer-nothing"):((Ro={})["immer-nothing"]=!0,Ro),Ko=Io?Symbol.for("immer-draftable"):"__$immer_draftable",jo=Io?Symbol.for("immer-state"):"__$immer_state",$o=""+Object.prototype.constructor,Mo="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Zo=Object.getOwnPropertyDescriptors||function(t){var e={};return Mo(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Po={},Fo={get:function(t,e){if(e===jo)return t;var o=ro(t);if(!Xe(o,e))return function(t,e,o){var r,i=xo(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!Je(r)?r:r===Oo(t.t,e)?(No(t),t.o[e]=So(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=xo(ro(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=Oo(ro(t),e),n=null==i?void 0:i[jo];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(to(o,i)&&(void 0!==o||Xe(t.t,e)))return!0;No(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!==Oo(t.t,e)||e in t.t?(t.R[e]=!1,No(t),wo(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(){He(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){He(12)}},Bo={};Ye(Fo,(function(t,e){Bo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Bo.deleteProperty=function(t,e){return Bo.set.call(this,t,e,void 0)},Bo.set=function(t,e,o){return Fo.set.call(this,t[0],e,o,t[0])};var To=function(){function t(t){var e=this;this.O=Wo,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&He(6),void 0!==r&&"function"!=typeof r&&He(7),Je(t)){var s=po(e),c=So(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===Ao&&(a=void 0),e.D&&no(a,!0),r){var f=[],h=[];co("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,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){Je(t)||He(8),qe(t)&&(t=Co(t));var e=po(this),o=So(this,t,void 0);return o[jo].C=!0,uo(e),o},e.finishDraft=function(t,e){var o=(t&&t[jo]).A;return fo(o,e),go(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Wo&&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 i=co("Patches").$;return qe(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),Do=new To,_o=Do.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 Go(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 Ho(t,e,o){return(e=Go(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function qo(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function Jo(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){Ho(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. "}Do.produceWithPatches.bind(Do),Do.setAutoFreeze.bind(Do),Do.setUseProxies.bind(Do),Do.applyPatches.bind(Do),Do.createDraft.bind(Do),Do.finishDraft.bind(Do);var Vo="function"==typeof Symbol&&Symbol.observable||"@@observable",Xo=function(){return Math.random().toString(36).substring(7).split("").join(".")},Qo={INIT:"@@redux/INIT"+Xo(),REPLACE:"@@redux/REPLACE"+Xo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Xo()}};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 i=t,n=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Yo(3));return n}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,n=i(n,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));i=t,u({type:Qo.REPLACE})}})[Vo]=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)}}})[Vo]=function(){return this},t},r}function er(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type: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){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],h=l(f,e);if(void 0===h)throw e&&e.type,new Error(Yo(14));i[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?i: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))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=or.apply(void 0,n)(o.dispatch),Jo(Jo({},o),{},{dispatch:r})}}}function ir(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var nr=ir();nr.withExtraArgument=ir;var ar,sr=nr,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,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},fr=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},hr=Object.defineProperty,ur=Object.defineProperties,dr=Object.getOwnPropertyDescriptors,pr=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(pr)for(var r=0,i=pr(e);r<i.length;r++){o=i[r];gr.call(e,o)&&br(t,o,e[o])}return t},vr=function(t,e){return ur(t,dr(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 xr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return 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),wr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return 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 Je(t)?_o(t,(function(){})):t}function Sr(){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 xr;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=Sr(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,h=void 0===f?void 0:f,u=r.enhancers,d=void 0===u?void 0:u;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=er(n)}var p=s;"function"==typeof p&&(p=p(o));var y=rr.apply(void 0,p),g=or;l&&(g=Or(mr({trace:!1},"object"==typeof l&&l)));var b=new wr(y),m=b;return Array.isArray(d)?m=fr([y],d):"function"==typeof d&&(m=d(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 i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return mr(mr({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Rr(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function Ur(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:Nr(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Rr(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,c=e[2],l=void 0===c?void 0:c,f=mr(mr({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Rr(e):[e,o,r],a=n[0],s=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Nr(t())};else{var l=Nr(t);i=function(){return l}}function f(t,e){void 0===t&&(t=i());var o=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(Je(t))return _o(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}l&&t.addDefaultCase(l)}))}return n.forEach((function(t){var o,r,n=i[t],l=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[l]=o,c[t]=r?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"],kr=function(t,e){this.payload=t,this.meta=e},Lr=function(t,e){this.payload=t,this.meta=e},Wr=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Ir;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function Ar(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=Er(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:vr(mr({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=Er(t+"/pending",(function(t,e,o){return{payload:void 0,meta:vr(mr({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Er(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Wr)(t||"Rejected"),meta:vr(mr({},n||{}),{arg:r,requestId:e,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),u=new a;function d(t){f=t,u.abort()}var p=function(){return a=this,p=null,y=function(){var a,p,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(i(h,t,null==(p=null==o?void 0:o.getPendingMeta)?void 0:p.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:d,rejectWithValue:function(t,e){return new kr(t,e)},fulfillWithValue:function(t,e){return new Lr(t,e)}})).then((function(e){if(e instanceof kr)throw e;return e instanceof Lr?r(e.payload,h,t,e.meta):r(e,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof kr?n(null,h,t,m.payload,m.meta):n(m,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,p)).next())}));var a,p,y}();return Object.assign(p,{abort:d,requestId:h,arg:t,unwrap:function(){return p.then(Ar)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Kr="listenerMiddleware";Er(Kr+"/add"),Er(Kr+"/removeAll"),Er(Kr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[jo];return Fo.get(e,t)},set:function(e){var o=this[jo];Fo.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][jo];if(!i.P)switch(i.i){case 5:r(i)&&wo(i);break;case 4:o(i)&&wo(i)}}}function o(t){for(var e=t.t,o=t.k,r=Mo(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==jo){var a=e[n];if(void 0===a&&!Xe(e,n))return!0;var s=o[n],c=s&&s[jo];if(c?c.t!==a:!to(s,a))return!0}}var l=!!e[jo];return r.length!==Mo(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Po[t]||(Po[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Zo(o);delete n[jo];for(var a=Mo(n),s=0;s<a.length;s++){var c=a[s];n[c]=t(c,e||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:lo(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,jo,{value:n,writable:!0}),i},S:function(t,o,i){i?qe(o)&&o[jo].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[jo];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)Ye(n,(function(e){e!==jo&&(void 0!==i[e]||Xe(i,e)?a[e]||t(n[e]):(a[e]=!0,wo(o)))})),Ye(i,(function(t){void 0!==n[t]||Xe(n,t)||(a[t]=!1,wo(o))}));else if(5===s){if(r(o)&&(wo(o),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var l=i.length;l<n.length;l++)a[l]=!0;for(var f=Math.min(n.length,i.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class jr{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(Pe(i))return i;if(null==r)return;const n=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 n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new jr(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const $r=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!W(t,e),attribute:!1,...e};U(i)(t,o);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}};var Mr,Zr;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Zr=null===(Mr=window.safari)||void 0===Mr?void 0:Mr.pushNotification)||void 0===Zr||Zr.toString());const Pr={colorError:Oe.external(Ne.colorError,"Design system"),fontFamily:Oe.external(Ne.contentFont,"Design system")},Fr=Ot`
112
116
  .topic {
113
- font-family: ${Kr.fontFamily};
117
+ font-family: ${Pr.fontFamily};
114
118
  overflow-x: auto;
115
119
  }
116
120
 
@@ -119,23 +123,23 @@ let go=class extends jt{constructor(){super(...arguments),this.renderOptions={ho
119
123
  }
120
124
 
121
125
  .topic-on-error ft-icon {
122
- color: ${Kr.colorError}
126
+ color: ${Pr.colorError}
123
127
  }
124
128
 
125
129
  .topic-loading {
126
130
  height: 100vh;
127
131
  }
128
- `;var jr;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(jr||(jr={}));var Mr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Zr extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const $r=Symbol("registerInterval");class Pr extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[$r]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[$r]):this.dispatchEvent(new Zr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=$r,Mr([I()],e.prototype,"stateManager",void 0),e}(Bo)){}var Fr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Br extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}const Dr=Symbol("registerInterval");class _r extends(function(t){var o;class e extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[o]=0}connectedCallback(){super.connectedCallback(),this[Dr]=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this[Dr]):this.dispatchEvent(new Br)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return o=Dr,Fr([I()],e.prototype,"tocNode",void 0),Fr([I()],e.prototype,"disableContextInteractions",void 0),e}(Pr)){}
132
+ `;var Br;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(Br||(Br={}));var Tr=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Dr extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const _r=Symbol("registerInterval");class zr extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[_r]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[_r]):this.dispatchEvent(new Dr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=_r,Tr([I()],o.prototype,"stateManager",void 0),o}(Ge)){}var Gr=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Hr extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}}const qr=Symbol("registerInterval");class Jr extends(function(t){var e;class o extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[e]=0}connectedCallback(){super.connectedCallback(),this[qr]=window.setInterval((()=>this.tryToRegisterToTopicContext()),50)}tryToRegisterToTopicContext(){null!=this.tocNode?window.clearInterval(this[qr]):this.dispatchEvent(new Hr)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return e=qr,Gr([I()],o.prototype,"tocNode",void 0),Gr([I()],o.prototype,"disableContextInteractions",void 0),o}(zr)){}
129
133
  /**
130
134
  * @license
131
135
  * Copyright 2017 Google LLC
132
136
  * SPDX-License-Identifier: BSD-3-Clause
133
- */const Tr=2;class zr{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}}
137
+ */const Yr=2;class Vr{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)}}
134
138
  /**
135
139
  * @license
136
140
  * Copyright 2017 Google LLC
137
141
  * SPDX-License-Identifier: BSD-3-Clause
138
- */class Gr extends zr{constructor(t){if(super(t),this.et=tt,t.type!==Tr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.vt=void 0,this.et=t;if(t===Q)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 o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}Gr.directiveName="unsafeHTML",Gr.resultType=1;const Hr=(t=>(...o)=>({_$litDirective$:t,values:o}))(Gr);var qr,Vr;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(qr||(qr={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Vr||(Vr={})),new Map([...["abw"].map((t=>[t,Vr.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Vr.AUDIO])),...["avi"].map((t=>[t,Vr.AVI])),...["chm","xhs"].map((t=>[t,Vr.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Vr.CODE])),...["csv"].map((t=>[t,Vr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Vr.DITA])),...["epub"].map((t=>[t,Vr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Vr.EXCEL])),...["flac"].map((t=>[t,Vr.FLAC])),...["gif"].map((t=>[t,Vr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Vr.GZIP])),...["html","htm","xhtml"].map((t=>[t,Vr.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Vr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Vr.JPEG])),...["json"].map((t=>[t,Vr.JSON])),...["m4a","m4p"].map((t=>[t,Vr.M4A])),...["mov","qt"].map((t=>[t,Vr.MOV])),...["mp3"].map((t=>[t,Vr.MP3])),...["mp4","m4v"].map((t=>[t,Vr.MP4])),...["ogg","oga"].map((t=>[t,Vr.OGG])),...["pdf","ps"].map((t=>[t,Vr.PDF])),...["png"].map((t=>[t,Vr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Vr.POWERPOINT])),...["rar"].map((t=>[t,Vr.RAR])),...["stp"].map((t=>[t,Vr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Vr.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Vr.VIDEO])),...["wav"].map((t=>[t,Vr.WAV])),...["wma"].map((t=>[t,Vr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Vr.WORD])),...["xml","xsl","rdf"].map((t=>[t,Vr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Vr.YAML])),...["zip"].map((t=>[t,Vr.ZIP]))]);const Yr=Oo.create("--ft-icon-font-size","","SIZE","24px"),Jr=Oo.extend("--ft-icon-fluid-topics-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),Xr=Oo.extend("--ft-icon-file-format-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),Qr=Oo.extend("--ft-icon-material-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),ti=Oo.create("--ft-icon-vertical-align","","UNKNOWN","unset"),oi=vt`
142
+ */class Xr extends Vr{constructor(t){if(super(t),this.et=et,t.type!==Yr)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:[]}}}Xr.directiveName="unsafeHTML",Xr.resultType=1;const Qr=(t=>(...e)=>({_$litDirective$:t,values:e}))(Xr);var ti,ei;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(ti||(ti={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(ei||(ei={})),new Map([...["abw"].map((t=>[t,ei.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,ei.AUDIO])),...["avi"].map((t=>[t,ei.AVI])),...["chm","xhs"].map((t=>[t,ei.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,ei.CODE])),...["csv"].map((t=>[t,ei.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ei.DITA])),...["epub"].map((t=>[t,ei.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ei.EXCEL])),...["flac"].map((t=>[t,ei.FLAC])),...["gif"].map((t=>[t,ei.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ei.GZIP])),...["html","htm","xhtml"].map((t=>[t,ei.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,ei.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ei.JPEG])),...["json"].map((t=>[t,ei.JSON])),...["m4a","m4p"].map((t=>[t,ei.M4A])),...["mov","qt"].map((t=>[t,ei.MOV])),...["mp3"].map((t=>[t,ei.MP3])),...["mp4","m4v"].map((t=>[t,ei.MP4])),...["ogg","oga"].map((t=>[t,ei.OGG])),...["pdf","ps"].map((t=>[t,ei.PDF])),...["png"].map((t=>[t,ei.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ei.POWERPOINT])),...["rar"].map((t=>[t,ei.RAR])),...["stp"].map((t=>[t,ei.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ei.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,ei.VIDEO])),...["wav"].map((t=>[t,ei.WAV])),...["wma"].map((t=>[t,ei.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ei.WORD])),...["xml","xsl","rdf"].map((t=>[t,ei.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ei.YAML])),...["zip"].map((t=>[t,ei.ZIP]))]);const oi=Oe.create("--ft-icon-font-size","","SIZE","24px"),ri=Oe.extend("--ft-icon-fluid-topics-font-family","",Oe.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),ii=Oe.extend("--ft-icon-file-format-font-family","",Oe.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),ni=Oe.extend("--ft-icon-material-font-family","",Oe.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),ai=Oe.create("--ft-icon-vertical-align","","UNKNOWN","unset"),si=Ot`
139
143
  :host, i.ft-icon {
140
144
  display: inline-flex;
141
145
  align-items: center;
@@ -144,14 +148,14 @@ let go=class extends jt{constructor(){super(...arguments),this.renderOptions={ho
144
148
  }
145
149
 
146
150
  :host {
147
- width: ${Yr};
148
- height: ${Yr};
151
+ width: ${oi};
152
+ height: ${oi};
149
153
  }
150
154
 
151
155
  i.ft-icon {
152
156
  width: 100%;
153
157
  height: 100%;
154
- font-size: ${Yr};
158
+ font-size: ${oi};
155
159
  line-height: 1;
156
160
  font-weight: normal;
157
161
  text-transform: none;
@@ -162,58 +166,58 @@ let go=class extends jt{constructor(){super(...arguments),this.renderOptions={ho
162
166
  text-rendering: auto;
163
167
  -webkit-font-smoothing: antialiased;
164
168
  -moz-osx-font-smoothing: grayscale;
165
- vertical-align: ${ti};
169
+ vertical-align: ${ai};
166
170
  }
167
171
 
168
172
  i.ft-icon.ft-icon--fluid-topics {
169
- font-family: ${Jr}, ft-icons, fticons, sans-serif;
173
+ font-family: ${ri}, ft-icons, fticons, sans-serif;
170
174
 
171
175
  /* Ugly fix because font is broken */
172
- font-size: calc(0.75 * ${Yr});
173
- line-height: ${Yr};
176
+ font-size: calc(0.75 * ${oi});
177
+ line-height: ${oi};
174
178
  position: relative;
175
179
  top: -4%;
176
180
  justify-content: center;
177
181
  }
178
182
 
179
183
  .ft-icon--file-format {
180
- font-family: ${Xr}, ft-mime, sans-serif;
184
+ font-family: ${ii}, ft-mime, sans-serif;
181
185
  }
182
186
 
183
187
  .ft-icon--material {
184
- font-family: ${Qr}, "Material Icons", sans-serif;
188
+ font-family: ${ni}, "Material Icons", sans-serif;
185
189
  }
186
- `;var ei;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ei||(ei={}));var ri=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ii extends Wo{constructor(){super(...arguments),this.resolvedIcon=ro}render(){const t=this.variant&&Object.values(ei).includes(this.variant)?this.variant:ei.fluid_topics,o=t!==ei.material||!!this.value;return oo`
190
+ `;var ci;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ci||(ci={}));var li=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class fi extends We{constructor(){super(...arguments),this.resolvedIcon=ie}render(){const t=this.variant&&Object.values(ci).includes(this.variant)?this.variant:ci.fluid_topics,e=t!==ci.material||!!this.value;return oe`
187
191
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
188
- ${Hr(this.resolvedIcon)}
189
- <slot ?hidden=${o}></slot>
192
+ ${Qr(this.resolvedIcon)}
193
+ <slot ?hidden=${e}></slot>
190
194
  </i>
191
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case ei.file_format:this.resolvedIcon=null!==(t=Vr[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case ei.material:this.resolvedIcon=this.value||ro;break;default:this.resolvedIcon=null!==(o=qr[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ii.elementDefinitions={},ii.styles=oi,ri([U()],ii.prototype,"variant",void 0),ri([U()],ii.prototype,"value",void 0),ri([I()],ii.prototype,"resolvedIcon",void 0),ri([function(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return L(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return L(0,0,{get(){return n(this)}})}}("slot")],ii.prototype,"slottedContent",void 0),W("ft-icon")(ii);const ni=vt`
192
- `,ai=vt`
193
- `,si=Ir.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class ci{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=si.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?ci.build(t):null!==(o=ci.API)&&void 0!==o?o:ci.API=ci.build()}static await(t){return new Promise((o=>{let e=ci.get(t);if(e)o(e);else{const r=si.subscribe((()=>{e=ci.get(t),e&&(r(),o(e))}))}}))}}var li;const fi=Symbol("clearAfterUnitTest");class hi{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[li]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=si.getState().uiLocale,si.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=si.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var e;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(e=this.defaultMessages[t])&&void 0!==e?e:{},...o};k(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...e){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Ko(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(o,...e)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(o=0,new Promise((t=>setTimeout(t,o)))).then((()=>t())).catch((()=>null));var o})))}}li=fi,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new hi((async(t,o)=>(await ci.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new hi((async(t,o)=>(await ci.await()).getCustomMessageContext(t,o))));const ui=window.FluidTopicsI18nService,di=window.FluidTopicsCustomI18nService;var pi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class yi extends Wo{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=()=>ci.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return oo`
195
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case ci.file_format:this.resolvedIcon=null!==(t=ei[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case ci.material:this.resolvedIcon=this.value||ie;break;default:this.resolvedIcon=null!==(e=ti[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}fi.elementDefinitions={},fi.styles=si,li([U()],fi.prototype,"variant",void 0),li([U()],fi.prototype,"value",void 0),li([I()],fi.prototype,"resolvedIcon",void 0),li([L("slot")],fi.prototype,"slottedContent",void 0),A("ft-icon")(fi);const hi=Ot`
196
+ `,ui=Ot`
197
+ `,di=jr.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 pi{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=di.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?pi.build(t):null!==(e=pi.API)&&void 0!==e?e:pi.API=pi.build()}static await(t){return new Promise((e=>{let o=pi.get(t);if(o)e(o);else{const r=di.subscribe((()=>{o=pi.get(t),o&&(r(),e(o))}))}}))}}var yi;const gi=Symbol("clearAfterUnitTest");class bi{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[yi]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=di.getState().uiLocale,di.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=di.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};W(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Ze(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}yi=gi,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new bi((async(t,e)=>(await pi.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new bi((async(t,e)=>(await pi.await()).getCustomMessageContext(t,e))));const mi=window.FluidTopicsI18nService,vi=window.FluidTopicsCustomI18nService;var Oi=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class xi extends We{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=()=>pi.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return oe`
194
198
  <slot></slot>
195
- `}update(t){super.update(t),t.has("baseUrl")&&si.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&si.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&si.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&si.actions.setNoCustom(this.noCustom),t.has("editorMode")&&si.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&si.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&si.actions.setSession(this.session),t.has("availableUiLocales")&&si.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>ui.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}yi.elementDefinitions={},yi.styles=ai,pi([U()],yi.prototype,"baseUrl",void 0),pi([U()],yi.prototype,"apiIntegrationIdentifier",void 0),pi([U()],yi.prototype,"uiLocale",void 0),pi([K([])],yi.prototype,"availableUiLocales",void 0),pi([U({type:Boolean})],yi.prototype,"editorMode",void 0),pi([U({type:Boolean})],yi.prototype,"noCustom",void 0),pi([U({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],yi.prototype,"noCustomComponent",void 0),pi([U({type:Boolean})],yi.prototype,"withManualResources",void 0),pi([K([])],yi.prototype,"messageContexts",void 0),pi([K(void 0)],yi.prototype,"session",void 0),pi([U({type:Object})],yi.prototype,"apiProvider",void 0);class bi{async listMySearches(){var t;return(null===(t=si.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await ci.await()).listMySearches(si.getState().session.profile.userId):[]}}const gi=new r;class mi{async listMyBookmarks(){return gi.get("bookmarks",(async()=>(await ci.await()).listMyBookmarks(si.getState().session.profile.userId)))}clearCache(){gi.clear("bookmarks")}}const vi=Ir.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=si.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new mi,si.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=si.getState();k(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){vi.actions.savedSearches(void 0)}clearMyBookmarks(){vi.actions.bookmarks(void 0)}async reloadMySearches(){const t=new bi,o=await t.listMySearches();vi.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;vi.actions.bookmarks(o)}}},W("ft-app-context")(yi);var Oi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const xi=Symbol("i18nProperties"),wi=Symbol("i18nUnsubs");function Ni(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?di:ui}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var o;null===(o=this[xi])||void 0===o||o.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var o;super.update(t),null===(o=this[xi])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[xi]&&new Set([...this[xi].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[wi].has(t)||this[wi].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages(t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[wi].forEach((t=>t())),this[wi].clear()}}return o=wi,Oi([U({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Si extends(Ni(Wo)){}class Ci extends(Ni(Bo)){}var Ei=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ri extends Ci{constructor(){super(),this.editorMode=!1,this.addStore(si)}render(){return this.key&&this.context?oo`
199
+ `}update(t){super.update(t),t.has("baseUrl")&&di.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&di.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&di.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&di.actions.setNoCustom(this.noCustom),t.has("editorMode")&&di.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&di.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&di.actions.setSession(this.session),t.has("availableUiLocales")&&di.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>mi.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()))))}}xi.elementDefinitions={},xi.styles=ui,Oi([U()],xi.prototype,"baseUrl",void 0),Oi([U()],xi.prototype,"apiIntegrationIdentifier",void 0),Oi([U()],xi.prototype,"uiLocale",void 0),Oi([K([])],xi.prototype,"availableUiLocales",void 0),Oi([U({type:Boolean})],xi.prototype,"editorMode",void 0),Oi([U({type:Boolean})],xi.prototype,"noCustom",void 0),Oi([U({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],xi.prototype,"noCustomComponent",void 0),Oi([U({type:Boolean})],xi.prototype,"withManualResources",void 0),Oi([K([])],xi.prototype,"messageContexts",void 0),Oi([K(void 0)],xi.prototype,"session",void 0),Oi([U({type:Object})],xi.prototype,"apiProvider",void 0);class wi{async listMySearches(){var t;return(null===(t=di.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await pi.await()).listMySearches(di.getState().session.profile.userId):[]}}const Ni=new r;class Si{async listMyBookmarks(){return Ni.get("bookmarks",(async()=>(await pi.await()).listMyBookmarks(di.getState().session.profile.userId)))}clearCache(){Ni.clear("bookmarks")}}const Ci=jr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=di.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Si,di.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=di.getState();W(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(){Ci.actions.savedSearches(void 0)}clearMyBookmarks(){Ci.actions.bookmarks(void 0)}async reloadMySearches(){const t=new wi,e=await t.listMySearches();Ci.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;Ci.actions.bookmarks(e)}}},A("ft-app-context")(xi);var Ei=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ri=Symbol("i18nProperties"),Ui=Symbol("i18nUnsubs");function Ii(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?vi:mi}i18n(t,e,...o){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var e;null===(e=this[Ri])||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[Ri])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Ri]&&new Set([...this[Ri].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Ui].has(t)||this[Ui].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[Ui].forEach((t=>t())),this[Ui].clear()}}return e=Ui,Ei([U({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class ki extends(Ii(We)){}class Li extends(Ii(Ge)){}var Wi=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ai extends Li{constructor(){super(),this.editorMode=!1,this.addStore(di)}render(){return this.key&&this.context?oe`
196
200
  <span class="ft-i18n">
197
201
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
198
202
  </span>
199
- `:this.editorMode?"Select a context and a label key.":ro}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Ri.elementDefinitions={},Ri.styles=ni,Ei([Lr()],Ri.prototype,"editorMode",void 0),Ei([U()],Ri.prototype,"context",void 0),Ei([U()],Ri.prototype,"key",void 0),Ei([K([])],Ri.prototype,"args",void 0),Ei([U()],Ri.prototype,"defaultMessage",void 0);class Ui{static build(t){return new Ui(t)}static fromGwt(t){return new Ui(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>ui.resolveMessage(this.name,o,...t)})}}W("ft-i18n")(Ri);const Ii=Ui.build("designedReaderTopicContent");var Li=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ki extends _r{constructor(){super(...arguments),this.contentPreprocessor=t=>t,this.onContentAvailable=()=>null}render(){var t,o;return this.map&&(this.error||this.content)?oo`
203
+ `:this.editorMode?"Select a context and a label key.":ie}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Ai.elementDefinitions={},Ai.styles=hi,Wi([$r()],Ai.prototype,"editorMode",void 0),Wi([U()],Ai.prototype,"context",void 0),Wi([U()],Ai.prototype,"key",void 0),Wi([K([])],Ai.prototype,"args",void 0),Wi([U()],Ai.prototype,"defaultMessage",void 0);class Ki{static build(t){return new Ki(t)}static fromGwt(t){return new Ki(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)=>mi.resolveMessage(this.name,e,...t)})}}A("ft-i18n")(Ai);const ji=Ki.build("designedReaderTopicContent");var $i=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Mi extends Jr{constructor(){super(...arguments),this.contentPreprocessor=t=>t,this.onContentAvailable=()=>null}render(){var t,e;return this.map&&(this.error||this.content)?oe`
200
204
  <style>
201
205
  @import "${null===(t=this.map)||void 0===t?void 0:t.contentStyles.topicStylesheetUrl}";
202
206
  </style>
203
- <section class="topic" lang="${null===(o=this.map)||void 0===o?void 0:o.lang}">
207
+ <section class="topic" lang="${null===(e=this.map)||void 0===e?void 0:e.lang}">
204
208
  ${this.renderTopicContent()}
205
209
  </section>
206
- `:oo`
210
+ `:oe`
207
211
  <section class="topic-loading"></section>
208
- `}update(t){super.update(t),(t.has("map")||t.has("tocNode"))&&this.updateContent()}updateContent(){var t;this.error=void 0,this.content=void 0,this.map&&this.tocNode&&(null===(t=this.service)||void 0===t||t.getTopicContent(this.tocNode).then((t=>this.content=t||'<div class="empty-topic"></div>')).catch((t=>this.error=t)))}contentAvailableCallback(t){var o,e,r,i,n,a,s;if(super.contentAvailableCallback(t),!this.disableContextInteractions&&(null===(o=this.scrollTarget)||void 0===o?void 0:o.section)&&(null===(e=this.tocNode)||void 0===e?void 0:e.tocId)&&(null===(r=this.tocNode)||void 0===r?void 0:r.tocId)===this.scrollTarget.tocId&&this.content){(null!==(n=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(`[id="${this.scrollTarget.section}"], [name="${this.scrollTarget.section}"]`))&&void 0!==n?n:this).scrollIntoView({block:"start"}),null===(a=this.stateManager)||void 0===a||a.scrollDone()}const c=null===(s=this.shadowRoot)||void 0===s?void 0:s.querySelector("section.topic");c&&this.onContentAvailable(c,this.shadowRoot)}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}renderTopicContent(){var t,o,e,r;if(this.error)return oo`
212
+ `}update(t){super.update(t),(t.has("map")||t.has("tocNode"))&&this.updateContent()}updated(t){super.updated(t),this.updateComplete.then((t=>{t&&this.topicContainer&&function(t,e){const o=new Ke(t);o.unmark(Me),e&&e.trim()&&o.mark(e,Me)}(this.topicContainer,this.searchInDocumentQuery)}))}updateContent(){var t;this.error=void 0,this.content=void 0,this.map&&this.tocNode&&(null===(t=this.service)||void 0===t||t.getTopicContent(this.tocNode).then((t=>this.content=t||'<div class="empty-topic"></div>')).catch((t=>this.error=t)))}contentAvailableCallback(t){var e,o,r,i,n,a;if(super.contentAvailableCallback(t),!this.disableContextInteractions&&(null===(e=this.scrollTarget)||void 0===e?void 0:e.section)&&(null===(o=this.tocNode)||void 0===o?void 0:o.tocId)&&(null===(r=this.tocNode)||void 0===r?void 0:r.tocId)===this.scrollTarget.tocId&&this.content){(null!==(n=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(`[id="${this.scrollTarget.section}"], [name="${this.scrollTarget.section}"]`))&&void 0!==n?n:this).scrollIntoView({block:"start"}),null===(a=this.stateManager)||void 0===a||a.scrollDone()}this.topicContainer&&this.onContentAvailable(this.topicContainer,this.shadowRoot)}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}renderTopicContent(){var t,e,o,r;if(this.error)return oe`
209
213
  <div class="topic-on-error">
210
214
  <ft-icon>WARNING</ft-icon>
211
215
  <div>
212
- ${this.is404Error()?Ii.messages.topicMissingAdvice():Ii.messages.somethingWentWrong()}
216
+ ${this.is404Error()?ji.messages.topicMissingAdvice():ji.messages.somethingWentWrong()}
213
217
  </div>
214
218
  </div>
215
- `;const i=null!==(o=null===(t=this.map)||void 0===t?void 0:t.contentStyles.customCssClasses.join(" "))&&void 0!==o?o:"";return oo`
216
- <div class="depth-${null===(e=this.tocNode)||void 0===e?void 0:e.depth} content-locale-${null===(r=this.map)||void 0===r?void 0:r.lang} ${i}">
217
- ${null!=this.content?Hr(`${this.contentPreprocessor(this.content)}`):ro}
219
+ `;const i=null!==(e=null===(t=this.map)||void 0===t?void 0:t.contentStyles.customCssClasses.join(" "))&&void 0!==e?e:"";return oe`
220
+ <div class="depth-${null===(o=this.tocNode)||void 0===o?void 0:o.depth} content-locale-${null===(r=this.map)||void 0===r?void 0:r.lang} ${i}">
221
+ ${null!=this.content?Qr(`${this.contentPreprocessor(this.content)}`):ie}
218
222
  </div>
219
- `}is404Error(){return 404===this.error.status}}ki.styles=Ar,Li([Lr()],ki.prototype,"map",void 0),Li([Lr()],ki.prototype,"scrollTarget",void 0),Li([I()],ki.prototype,"content",void 0),Li([I()],ki.prototype,"error",void 0),Li([U({attribute:!1})],ki.prototype,"contentPreprocessor",void 0),Li([U({attribute:!1})],ki.prototype,"onContentAvailable",void 0),W("ft-reader-topic-content")(ki),t.FtReaderTopicContent=ki,t.FtReaderTopicContentCssVariables=Kr,t.styles=Ar}({});
223
+ `}is404Error(){return 404===this.error.status}}Mi.styles=[Fr,$e],$i([$r()],Mi.prototype,"map",void 0),$i([$r()],Mi.prototype,"scrollTarget",void 0),$i([I()],Mi.prototype,"content",void 0),$i([I()],Mi.prototype,"error",void 0),$i([$r({selector:(t,e)=>e.disableContextInteractions?"":t.searchInDocumentQuery})],Mi.prototype,"searchInDocumentQuery",void 0),$i([U({attribute:!1})],Mi.prototype,"contentPreprocessor",void 0),$i([U({attribute:!1})],Mi.prototype,"onContentAvailable",void 0),$i([L("section.topic")],Mi.prototype,"topicContainer",void 0),A("ft-reader-topic-content")(Mi),t.FtReaderTopicContent=Mi,t.FtReaderTopicContentCssVariables=Pr,t.styles=Fr}({});