@fluid-topics/ft-search-result-metadata 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);p(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let f=o.call(r,t);f||(f=h(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,l),l.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),d(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){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?d(o,i):n.set(o,r),o}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},p=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n,i),o.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);i.call(this,r),o.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const e=this.getAttribute(i);o.call(this,i,t,e)}else n.call(this,i,r)})},u=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):u(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),c=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let 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(Ua){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,t)}}}class e extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class o extends Promise{constructor(t){super(((o,r)=>t((t=>{this.isCanceled?r(new e("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?r(new e("Promise has been canceled",void 0,t)):r(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class r{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof o&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,r){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const i=(t=>new o(((e,o)=>t.then(e).catch(o))))(e());return this.content[t]=i,i.then((e=>(this.content[t]=e,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=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,r){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(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,c=new Set(r.observedAttributes||[]);p(r,c,s);const l={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(r,l);let f=o.call(i,t);f||(f=h(t),e.call(i,t,f)),this===window.customElements&&(a.set(r,l),l.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),d(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,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 i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.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),r.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 i=f(o)||window.customElements,r=i._getDefinition(e);return r?d(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},p=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},u=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):u(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),c=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.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 i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i 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 i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(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=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Ia){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,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,i)=>t((t=>{this.isCanceled?i(new e("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?i(new e("Promise has been canceled",void 0,t)):i(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class i{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,i){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=(t=>new o(((e,o)=>t.then(e).catch(o))))(e());return this.content[t]=r,r.then((e=>(this.content[t]=e,null!=i&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),i)),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 r{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 i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!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
@@ -22,13 +22,13 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:h,defineProperty:p,getOwnPropertyDescriptor:u,getOwnPropertyNames:d,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}},S=(t,e)=>!h(t,e),N={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:S};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=N){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&&p(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=u(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)??N}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=[...d(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??S)(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");
25
+ */,{is:h,defineProperty:p,getOwnPropertyDescriptor:u,getOwnPropertyNames:d,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}},S=(t,e)=>!h(t,e),N={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:S};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=N){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&p(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=u(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??N}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=[...d(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"),i=n.litNonce;void 0!==i&&e.setAttribute("nonce",i),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),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:w).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:w;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??S)(i?r: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:S},$=(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 R(t){return(e,o)=>"object"==typeof o?$(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)
31
+ const E={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:S},$=(t=E,e,o)=>{const{kind:i,metadata:r}=o;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(o.name,t),"accessor"===i){const{name:i}=o;return{set(o){const r=e.get.call(this);e.set.call(this,o),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t),e}}}if("setter"===i){const{name:i}=o;return function(o){const r=this[i];e.call(this,o),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function R(t){return(e,o)=>"object"==typeof o?$(t,e,o):((t,e,o)=>{const i=e.hasOwnProperty(o);return e.constructor.createProperty(o,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
32
32
  /**
33
33
  * @license
34
34
  * Copyright 2017 Google LLC
@@ -43,45 +43,49 @@ const E={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:S},$=(t=E,e,
43
43
  * @license
44
44
  * Copyright 2017 Google LLC
45
45
  * SPDX-License-Identifier: BSD-3-Clause
46
- */;function k(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 I(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 I(0,0,{get(){return n(this)}})}}
46
+ */;function k(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return I(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 I(0,0,{get(){return n(this)}})}}
47
47
  /**
48
48
  * @license
49
49
  * Copyright 2017 Google LLC
50
50
  * SPDX-License-Identifier: BSD-3-Clause
51
- */function L(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(!L(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(!L(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(!L(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const W=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function A(t,e){const o=()=>JSON.parse(JSON.stringify(t));return R({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)=>!L(t,e),...null!=e?e:{}})}
51
+ */function L(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,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!L(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!L(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[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=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!L(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const W=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function A(t,e){const o=()=>JSON.parse(JSON.stringify(t));return R({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)=>!L(t,e),...null!=e?e:{}})}
52
52
  /**
53
53
  * @license
54
54
  * Copyright 2017 Google LLC
55
55
  * SPDX-License-Identifier: BSD-3-Clause
56
- */const j=globalThis,F=j.trustedTypes,K=F?F.createPolicy("lit-html",{createHTML:t=>t}):void 0,P="$lit$",z=`lit$${(Math.random()+"").slice(9)}$`,M="?"+z,B=`<${M}>`,D=document,T=()=>D.createComment(""),Z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,H="[ \t\n\f\r]",G=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,V=/-->/g,q=/>/g,Y=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),X=/'/g,J=/"/g,Q=/^(?:script|style|textarea|title)$/i,tt=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),et=Symbol.for("lit-noChange"),ot=Symbol.for("lit-nothing"),rt=new WeakMap,it=D.createTreeWalker(D,129);function nt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(e):e}let at=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=G;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===G?"!--"===c[1]?a=V:void 0!==c[1]?a=q: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??G,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]?J:X):a===J||a===X?a=Y:a===V||a===q?a=G:(a=Y,i=void 0);const h=a===Y&&t[e+1].startsWith("/>")?" ":"";n+=a===G?o+B:l>=0?(r.push(s),o.slice(0,l)+P+o.slice(l)+z+h):o+z+(-2===l?e:h)}return[nt(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]})(e,o);if(this.el=t.createElement(l,r),it.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=it.nextNode())&&c.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(P)){const e=f[a++],o=i.getAttribute(t).split(z),r=/([.?@])?(.*)/.exec(e);c.push({type:1,index:n,name:r[2],strings:o,ctor:"."===r[1]?ft:"?"===r[1]?ht:"@"===r[1]?pt:lt}),i.removeAttribute(t)}else t.startsWith(z)&&(c.push({type:6,index:n}),i.removeAttribute(t));if(Q.test(i.tagName)){const t=i.textContent.split(z),e=t.length-1;if(e>0){i.textContent=F?F.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],T()),it.nextNode(),c.push({type:2,index:++n});i.append(t[e],T())}}}else if(8===i.nodeType)if(i.data===M)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(z,t+1));)c.push({type:7,index:n}),t+=z.length-1}n++}}static createElement(t,e){const o=D.createElement("template");return o.innerHTML=t,o}};function st(t,e,o=t,r){if(e===et)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=Z(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=st(t,i._$AS(t,e.values),i,r)),e}let ct=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=ot,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=st(this,t,e),Z(t)?t===ot||null==t||""===t?(this._$AH!==ot&&this._$AR(),this._$AH=ot):t!==this._$AH&&t!==et&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(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!==ot&&Z(this._$AH)?this._$AA.nextSibling.data=t:this.$(D.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=at.createElement(nt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??D).importNode(e,!0);it.currentNode=r;let i=it.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new ct(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=it.nextNode(),n++)}return it.currentNode=D,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=rt.get(t.strings);return void 0===e&&rt.set(t.strings,e=new at(t)),e}T(e){_(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(T()),this.k(T()),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))}},lt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=ot,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=ot}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=st(this,t,e,0),n=!Z(t)||t!==this._$AH&&t!==et,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=st(this,r[o+a],e,a),s===et&&(s=this._$AH[a]),n||=!Z(s)||s!==this._$AH[a],s===ot?t=ot:t!==ot&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===ot?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ft=class extends lt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ot?void 0:t}},ht=class extends lt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ot)}},pt=class extends lt{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=st(this,t,e,0)??ot)===et)return;const o=this._$AH,r=t===ot&&o!==ot||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==ot&&(o===ot||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){st(this,t)}};const dt=j.litHtmlPolyfillSupport;dt?.(at,ct),(j.litHtmlVersions??=[]).push("3.1.0");
56
+ */const j=globalThis,F=j.trustedTypes,K=F?F.createPolicy("lit-html",{createHTML:t=>t}):void 0,P="$lit$",z=`lit$${(Math.random()+"").slice(9)}$`,M="?"+z,B=`<${M}>`,D=document,T=()=>D.createComment(""),Z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,H="[ \t\n\f\r]",G=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,V=/-->/g,q=/>/g,Y=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),X=/'/g,J=/"/g,Q=/^(?:script|style|textarea|title)$/i,tt=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),et=Symbol.for("lit-noChange"),ot=Symbol.for("lit-nothing"),it=new WeakMap,rt=D.createTreeWalker(D,129);function nt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(e):e}let at=class t{constructor({strings:e,_$litType$:o},i){let r;this.parts=[];let n=0,a=0;const s=e.length-1,c=this.parts,[l,f]=((t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=G;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===G?"!--"===c[1]?a=V:void 0!==c[1]?a=q:void 0!==c[2]?(Q.test(c[2])&&(r=RegExp("</"+c[2],"g")),a=Y):void 0!==c[3]&&(a=Y):a===Y?">"===c[0]?(a=r??G,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]?J:X):a===J||a===X?a=Y:a===V||a===q?a=G:(a=Y,r=void 0);const h=a===Y&&t[e+1].startsWith("/>")?" ":"";n+=a===G?o+B:l>=0?(i.push(s),o.slice(0,l)+P+o.slice(l)+z+h):o+z+(-2===l?e:h)}return[nt(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]})(e,o);if(this.el=t.createElement(l,i),rt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=rt.nextNode())&&c.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(P)){const e=f[a++],o=r.getAttribute(t).split(z),i=/([.?@])?(.*)/.exec(e);c.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?ft:"?"===i[1]?ht:"@"===i[1]?pt:lt}),r.removeAttribute(t)}else t.startsWith(z)&&(c.push({type:6,index:n}),r.removeAttribute(t));if(Q.test(r.tagName)){const t=r.textContent.split(z),e=t.length-1;if(e>0){r.textContent=F?F.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],T()),rt.nextNode(),c.push({type:2,index:++n});r.append(t[e],T())}}}else if(8===r.nodeType)if(r.data===M)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(z,t+1));)c.push({type:7,index:n}),t+=z.length-1}n++}}static createElement(t,e){const o=D.createElement("template");return o.innerHTML=t,o}};function st(t,e,o=t,i){if(e===et)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=Z(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=st(t,r._$AS(t,e.values),r,i)),e}let ct=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=ot,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=st(this,t,e),Z(t)?t===ot||null==t||""===t?(this._$AH!==ot&&this._$AR(),this._$AH=ot):t!==this._$AH&&t!==et&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(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!==ot&&Z(this._$AH)?this._$AA.nextSibling.data=t:this.$(D.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=at.createElement(nt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)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,i=(t?.creationScope??D).importNode(e,!0);rt.currentNode=i;let r=rt.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new ct(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new ut(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=rt.nextNode(),n++)}return rt.currentNode=D,i}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++}}(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=it.get(t.strings);return void 0===e&&it.set(t.strings,e=new at(t)),e}T(e){_(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(T()),this.k(T()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$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))}},lt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=ot,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ot}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=st(this,t,e,0),n=!Z(t)||t!==this._$AH&&t!==et,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=st(this,i[o+a],e,a),s===et&&(s=this._$AH[a]),n||=!Z(s)||s!==this._$AH[a],s===ot?t=ot:t!==ot&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ot?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ft=class extends lt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ot?void 0:t}},ht=class extends lt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ot)}},pt=class extends lt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=st(this,t,e,0)??ot)===et)return;const o=this._$AH,i=t===ot&&o!==ot||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==ot&&(o===ot||i);i&&this.element.removeEventListener(this.name,this,o),r&&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){st(this,t)}};const dt=j.litHtmlPolyfillSupport;dt?.(at,ct),(j.litHtmlVersions??=[]).push("3.1.0");
57
57
  /**
58
58
  * @license
59
59
  * Copyright 2019 Google LLC
60
60
  * SPDX-License-Identifier: BSD-3-Clause
61
61
  */
62
- const yt=globalThis,gt=yt.ShadowRoot&&(void 0===yt.ShadyCSS||yt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,bt=Symbol(),mt=new WeakMap;let vt=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==bt)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(gt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=mt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&mt.set(e,t))}return t}toString(){return this.cssText}};const Ot=t=>new vt("string"==typeof t?t:t+"",void 0,bt),xt=(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 vt(o,t,bt)},wt=gt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return Ot(e)})(t):t
62
+ const yt=globalThis,gt=yt.ShadowRoot&&(void 0===yt.ShadyCSS||yt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,bt=Symbol(),mt=new WeakMap;let vt=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==bt)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(gt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=mt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&mt.set(e,t))}return t}toString(){return this.cssText}};const Ot=t=>new vt("string"==typeof t?t:t+"",void 0,bt),xt=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>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[i+1]),t[0]);return new vt(o,t,bt)},wt=gt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return Ot(e)})(t):t
63
63
  /**
64
64
  * @license
65
65
  * Copyright 2017 Google LLC
66
66
  * SPDX-License-Identifier: BSD-3-Clause
67
- */,{is:St,defineProperty:Nt,getOwnPropertyDescriptor:Ct,getOwnPropertyNames:Et,getOwnPropertySymbols:$t,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}},jt=(t,e)=>!St(t,e),Ft={attribute:!0,type:String,converter:At,reflect:!1,hasChanged:jt};Symbol.metadata??=Symbol("metadata"),Ut.litPropertyMetadata??=new WeakMap;let Kt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Ft){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&Nt(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=Ct(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)??Ft}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=[...Et(t),...$t(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(wt(t))}else void 0!==t&&e.push(wt(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(gt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=yt.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??jt)(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){}};Kt.elementStyles=[],Kt.shadowRootOptions={mode:"open"},Kt[Wt("elementProperties")]=new Map,Kt[Wt("finalized")]=new Map,Lt?.({ReactiveElement:Kt}),(Ut.reactiveElementVersions??=[]).push("2.0.2");
67
+ */,{is:St,defineProperty:Nt,getOwnPropertyDescriptor:Ct,getOwnPropertyNames:Et,getOwnPropertySymbols:$t,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}},jt=(t,e)=>!St(t,e),Ft={attribute:!0,type:String,converter:At,reflect:!1,hasChanged:jt};Symbol.metadata??=Symbol("metadata"),Ut.litPropertyMetadata??=new WeakMap;let Kt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Ft){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&Nt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=Ct(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ft}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=[...Et(t),...$t(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(wt(t))}else void 0!==t&&e.push(wt(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(gt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=yt.litNonce;void 0!==i&&e.setAttribute("nonce",i),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),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:At).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:At;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??jt)(i?r: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){}};Kt.elementStyles=[],Kt.shadowRootOptions={mode:"open"},Kt[Wt("elementProperties")]=new Map,Kt[Wt("finalized")]=new Map,Lt?.({ReactiveElement:Kt}),(Ut.reactiveElementVersions??=[]).push("2.0.2");
68
68
  /**
69
69
  * @license
70
70
  * Copyright 2017 Google LLC
71
71
  * SPDX-License-Identifier: BSD-3-Clause
72
72
  */
73
- const Pt=globalThis,zt=Pt.trustedTypes,Mt=zt?zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Bt="$lit$",Dt=`lit$${(Math.random()+"").slice(9)}$`,Tt="?"+Dt,Zt=`<${Tt}>`,_t=document,Ht=()=>_t.createComment(""),Gt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Vt=Array.isArray,qt="[ \t\n\f\r]",Yt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Xt=/-->/g,Jt=/>/g,Qt=RegExp(`>|${qt}(?:([^\\s"'>=/]+)(${qt}*=${qt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),te=/'/g,ee=/"/g,oe=/^(?:script|style|textarea|title)$/i,re=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ie=Symbol.for("lit-noChange"),ne=Symbol.for("lit-nothing"),ae=new WeakMap,se=_t.createTreeWalker(_t,129);function ce(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Mt?Mt.createHTML(e):e}class le{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=Yt;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===Yt?"!--"===c[1]?a=Xt:void 0!==c[1]?a=Jt:void 0!==c[2]?(oe.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=Qt):void 0!==c[3]&&(a=Qt):a===Qt?">"===c[0]?(a=i??Yt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Qt:'"'===c[3]?ee:te):a===ee||a===te?a=Qt:a===Xt||a===Jt?a=Yt:(a=Qt,i=void 0);const h=a===Qt&&t[e+1].startsWith("/>")?" ":"";n+=a===Yt?o+Zt:l>=0?(r.push(s),o.slice(0,l)+Bt+o.slice(l)+Dt+h):o+Dt+(-2===l?e:h)}return[ce(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]})(t,e);if(this.el=le.createElement(c,o),se.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=se.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Bt)){const e=l[n++],o=r.getAttribute(t).split(Dt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:a[2],strings:o,ctor:"."===a[1]?ue:"?"===a[1]?de:"@"===a[1]?ye:pe}),r.removeAttribute(t)}else t.startsWith(Dt)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(oe.test(r.tagName)){const t=r.textContent.split(Dt),e=t.length-1;if(e>0){r.textContent=zt?zt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],Ht()),se.nextNode(),s.push({type:2,index:++i});r.append(t[e],Ht())}}}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(Dt,t+1));)s.push({type:7,index:i}),t+=Dt.length-1}i++}}static createElement(t,e){const o=_t.createElement("template");return o.innerHTML=t,o}}function fe(t,e,o=t,r){if(e===ie)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=fe(t,i._$AS(t,e.values),i,r)),e}let he=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=ne,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=fe(this,t,e),Gt(t)?t===ne||null==t||""===t?(this._$AH!==ne&&this._$AR(),this._$AH=ne):t!==this._$AH&&t!==ie&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Vt(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!==ne&&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=le.createElement(ce(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);se.currentNode=r;let i=se.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new he(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new ge(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=se.nextNode(),n++)}return se.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=ae.get(t.strings);return void 0===e&&ae.set(t.strings,e=new le(t)),e}T(e){Vt(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(Ht()),this.k(Ht()),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))}},pe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=ne,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=ne}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=fe(this,t,e,0),n=!Gt(t)||t!==this._$AH&&t!==ie,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=fe(this,r[o+a],e,a),s===ie&&(s=this._$AH[a]),n||=!Gt(s)||s!==this._$AH[a],s===ne?t=ne:t!==ne&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===ne?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ue=class extends pe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ne?void 0:t}},de=class extends pe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ne)}},ye=class extends pe{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=fe(this,t,e,0)??ne)===ie)return;const o=this._$AH,r=t===ne&&o!==ne||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==ne&&(o===ne||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)}},ge=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){fe(this,t)}};const be=Pt.litHtmlPolyfillSupport;be?.(le,he),(Pt.litHtmlVersions??=[]).push("3.1.0");
73
+ const Pt=globalThis,zt=Pt.trustedTypes,Mt=zt?zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Bt="$lit$",Dt=`lit$${(Math.random()+"").slice(9)}$`,Tt="?"+Dt,Zt=`<${Tt}>`,_t=document,Ht=()=>_t.createComment(""),Gt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Vt=Array.isArray,qt="[ \t\n\f\r]",Yt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Xt=/-->/g,Jt=/>/g,Qt=RegExp(`>|${qt}(?:([^\\s"'>=/]+)(${qt}*=${qt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),te=/'/g,ee=/"/g,oe=/^(?:script|style|textarea|title)$/i,ie=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),re=Symbol.for("lit-noChange"),ne=Symbol.for("lit-nothing"),ae=new WeakMap,se=_t.createTreeWalker(_t,129);function ce(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Mt?Mt.createHTML(e):e}class le{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[c,l]=((t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=Yt;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===Yt?"!--"===c[1]?a=Xt:void 0!==c[1]?a=Jt:void 0!==c[2]?(oe.test(c[2])&&(r=RegExp("</"+c[2],"g")),a=Qt):void 0!==c[3]&&(a=Qt):a===Qt?">"===c[0]?(a=r??Yt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Qt:'"'===c[3]?ee:te):a===ee||a===te?a=Qt:a===Xt||a===Jt?a=Yt:(a=Qt,r=void 0);const h=a===Qt&&t[e+1].startsWith("/>")?" ":"";n+=a===Yt?o+Zt:l>=0?(i.push(s),o.slice(0,l)+Bt+o.slice(l)+Dt+h):o+Dt+(-2===l?e:h)}return[ce(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]})(t,e);if(this.el=le.createElement(c,o),se.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=se.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Bt)){const e=l[n++],o=i.getAttribute(t).split(Dt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?ue:"?"===a[1]?de:"@"===a[1]?ye:pe}),i.removeAttribute(t)}else t.startsWith(Dt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(oe.test(i.tagName)){const t=i.textContent.split(Dt),e=t.length-1;if(e>0){i.textContent=zt?zt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],Ht()),se.nextNode(),s.push({type:2,index:++r});i.append(t[e],Ht())}}}else if(8===i.nodeType)if(i.data===Tt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Dt,t+1));)s.push({type:7,index:r}),t+=Dt.length-1}r++}}static createElement(t,e){const o=_t.createElement("template");return o.innerHTML=t,o}}function fe(t,e,o=t,i){if(e===re)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=Gt(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=fe(t,r._$AS(t,e.values),r,i)),e}let he=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=ne,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.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=fe(this,t,e),Gt(t)?t===ne||null==t||""===t?(this._$AH!==ne&&this._$AR(),this._$AH=ne):t!==this._$AH&&t!==re&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Vt(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!==ne&&Gt(this._$AH)?this._$AA.nextSibling.data=t:this.$(_t.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=le.createElement(ce(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)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,i=(t?.creationScope??_t).importNode(e,!0);se.currentNode=i;let r=se.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new he(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new ge(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=se.nextNode(),n++)}return se.currentNode=_t,i}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++}}(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ae.get(t.strings);return void 0===e&&ae.set(t.strings,e=new le(t)),e}T(e){Vt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(Ht()),this.k(Ht()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$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))}},pe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=ne,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ne}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=fe(this,t,e,0),n=!Gt(t)||t!==this._$AH&&t!==re,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=fe(this,i[o+a],e,a),s===re&&(s=this._$AH[a]),n||=!Gt(s)||s!==this._$AH[a],s===ne?t=ne:t!==ne&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ne?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ue=class extends pe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ne?void 0:t}},de=class extends pe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ne)}},ye=class extends pe{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=fe(this,t,e,0)??ne)===re)return;const o=this._$AH,i=t===ne&&o!==ne||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==ne&&(o===ne||i);i&&this.element.removeEventListener(this.name,this,o),r&&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)}},ge=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){fe(this,t)}};const be=Pt.litHtmlPolyfillSupport;be?.(le,he),(Pt.litHtmlVersions??=[]).push("3.1.0");
74
74
  /**
75
75
  * @license
76
76
  * Copyright 2017 Google LLC
77
77
  * SPDX-License-Identifier: BSD-3-Clause
78
78
  */
79
- let me=class extends Kt{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 he(e.insertBefore(Ht(),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 ie}};me._$litElement$=!0,me.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:me});const ve=globalThis.litElementPolyfillSupport;ve?.({LitElement:me}),(globalThis.litElementVersions??=[]).push("4.0.2");const Oe=t=>"string"==typeof t?Ot(t):t;class xe{static create(t,e,o,r){const i=t=>Oe(null!=t?t:r),n=xt`var(${Oe(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>xt`var(${Oe(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=xt`var(${Oe(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=>xt`var(${Oe(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):Oe(null!=e?e:t.lastResortDefaultValue()),r=xt`var(${Oe(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=>xt`var(${Oe(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function we(t,e){return Oe(`${t.name}: ${e}`)}const Se={colorWhite:xe.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:xe.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:xe.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:xe.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:xe.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:xe.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:xe.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:xe.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:xe.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:xe.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:xe.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:xe.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:xe.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:xe.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:xe.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:xe.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:xe.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:xe.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:xe.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:xe.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:xe.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:xe.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:xe.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:xe.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:xe.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:xe.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:xe.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:xe.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:xe.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:xe.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:xe.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:xe.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:xe.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:xe.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:xe.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:xe.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:xe.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:xe.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:xe.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:xe.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:xe.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:xe.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:xe.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:xe.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:xe.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:xe.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:xe.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:xe.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:xe.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:xe.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:xe.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:xe.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:xe.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:xe.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:xe.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:xe.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:xe.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:xe.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:xe.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:xe.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:xe.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:xe.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:xe.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:xe.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:xe.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:xe.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:xe.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:xe.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:xe.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:xe.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:xe.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:xe.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:xe.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:xe.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:xe.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:xe.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:xe.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:xe.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:xe.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:xe.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:xe.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:xe.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:xe.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:xe.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:xe.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:xe.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:xe.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:xe.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:xe.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:xe.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:xe.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:xe.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:xe.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:xe.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:xe.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:xe.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:xe.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:xe.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:xe.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:xe.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:xe.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:xe.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:xe.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:xe.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:xe.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:xe.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:xe.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:xe.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:xe.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:xe.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:xe.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:xe.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:xe.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:xe.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:xe.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:xe.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:xe.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:xe.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:xe.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:xe.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:xe.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:xe.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:xe.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:xe.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:xe.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:xe.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:xe.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:xe.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:xe.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:xe.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:xe.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:xe.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:xe.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:xe.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:xe.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:xe.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:xe.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:xe.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:xe.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:xe.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:xe.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:xe.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:xe.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:xe.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:xe.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:xe.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:xe.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:xe.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:xe.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:xe.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:xe.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:xe.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:xe.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:xe.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:xe.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:xe.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:xe.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:xe.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:xe.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:xe.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:xe.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:xe.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:xe.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:xe.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:xe.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:xe.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:xe.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:xe.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:xe.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:xe.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:xe.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:xe.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:xe.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:xe.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:xe.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:xe.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:xe.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:xe.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:xe.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:xe.create("--ft-icon-size-6","","SIZE","48px"),opacity0:xe.create("--ft-opacity-0","","NUMBER","0"),opacity8:xe.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:xe.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:xe.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:xe.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:xe.create("--ft-opacity-80","","NUMBER","0.8")},Ne={display:{fontFamily:xe.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:xe.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:xe.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:xe.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:xe.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:xe.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:xe.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:xe.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:xe.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:xe.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:xe.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:xe.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:xe.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:xe.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:xe.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:xe.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:xe.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:xe.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:xe.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:xe.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:xe.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:xe.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:xe.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:xe.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:xe.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:xe.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:xe.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:xe.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:xe.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ce={backgroundActionPrimary:xe.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Se.colorBrand0),backgroundErrorPrimary:xe.extend("--ft-background-error-primary","Used as background of error components.",Se.colorRed0),backgroundErrorSubtle:xe.extend("--ft-background-error-subtle","Used as background of subtle error components.",Se.colorRed10),backgroundInfoPrimary:xe.extend("--ft-background-info-primary","Used as background of information components.",Se.colorCyan200),backgroundInfoSubtle:xe.extend("--ft-background-info-subtle","Used as background of subtle information components.",Se.colorCyan10),backgroundWarningPrimary:xe.extend("--ft-background-warning-primary","Used as background of warning components.",Se.colorOrange300),backgroundWarningSubtle:xe.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Se.colorOrange10),backgroundSuccessPrimary:xe.extend("--ft-background-success-primary","Used as background of success components.",Se.colorGreen200),backgroundSuccessSubtle:xe.extend("--ft-background-success-subtle","Used as background of subtle success components.",Se.colorGreen10),backgroundGlobalSurface:xe.extend("--ft-background-global-surface","Used as app background.",Se.colorWhite),backgroundGlobalOnSurface:xe.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Se.colorGray10),backgroundGlobalOnSurfaceDark:xe.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Se.colorGray30),contentActionPrimary:xe.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Se.colorBrand0),contentWarningPrimary:xe.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Se.colorOrange300),contentWarningIconOnly:xe.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Se.colorOrange0),contentErrorPrimary:xe.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Se.colorRed0),contentErrorIconOnly:xe.extend("--ft-content-error-icon-only","Used on error status icons alone",Se.colorRed0),contentInfoPrimary:xe.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Se.colorCyan200),contentInfoIconOnly:xe.extend("--ft-content-info-icon-only","Used on info status icons alone",Se.colorCyan0),contentSuccessIconOnly:xe.extend("--ft-content-success-icon-only","Used on success status icons alone",Se.colorGreen0),contentSuccessPrimary:xe.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Se.colorGreen200),contentGlobalPrimary:xe.extend("--ft-content-global-primary","Used for main content on the page.",Se.colorGray500),contentGlobalSecondary:xe.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Se.colorGray200),contentGlobalSubtle:xe.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Se.colorGray0),contentGlobalOnColor:xe.extend("--ft-content-global-on-color","Used for content on a dominant color.",Se.colorWhite),borderActionPrimary:xe.extend("--ft-border-action-primary","Used as border for primary action components.",Se.colorBrand0),borderActionFocusRing:xe.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Se.colorCyan0),borderWarningPrimary:xe.extend("--ft-border-warning-primary","Used as border for warning components.",Se.colorOrange30),borderSuccessPrimary:xe.extend("--ft-border-success-primary","Used as border for success components.",Se.colorGreen30),borderErrorPrimary:xe.extend("--ft-border-error-primary","Used as border for error components.",Se.colorRed30),borderInfoPrimary:xe.extend("--ft-border-info-primary","Used as border for information components.",Se.colorCyan30),borderGlobalSubtle:xe.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Se.colorGray30),borderGlobalPrimary:xe.extend("--ft-border-global-primary","Used as border for element like input.",Se.colorGray50),borderInputPrimary:xe.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Se.colorGray80)},Ee={largeHeight:xe.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:xe.extend("--ft-button-large-horizontal-padding","",Se.spacing4),largeGap:xe.extend("--ft-button-large-gap","",Se.spacing2),largeBorderRadius:xe.extend("--ft-button-large-border-radius","",Se.borderRadiusS),largeIconSize:xe.extend("--ft-button-large-icon-size","",Se.iconSize3),largeBorderWidth:xe.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:xe.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:xe.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:xe.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:xe.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:xe.extend("--ft-button-small-horizontal-padding","",Se.spacing3),smallGap:xe.extend("--ft-button-small-gap","",Se.spacing2),smallBorderRadius:xe.extend("--ft-button-small-border-radius","",Se.borderRadiusS),smallIconSize:xe.extend("--ft-button-small-icon-size","",Se.iconSize2),smallBorderWidth:xe.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:xe.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:xe.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:xe.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:xe.extend("--ft-button-primary-background-color","",Ce.backgroundActionPrimary),primaryColor:xe.extend("--ft-button-primary-color","",Ce.contentGlobalOnColor),primaryIconColor:xe.extend("--ft-button-primary-icon-color","",Ce.contentGlobalOnColor),primaryStateLayerColor:xe.extend("--ft-button-primary-state-layer-color","",Ce.contentGlobalOnColor),primaryStateLayerOpacityHover:xe.extend("--ft-button-primary-state-layer-opacity-hover","",Se.opacity16),primaryStateLayerOpacityFocus:xe.extend("--ft-button-primary-state-layer-opacity-focus","",Se.opacity16),primaryStateLayerOpacityActive:xe.extend("--ft-button-primary-state-layer-opacity-active","",Se.opacity24),primaryComponentOpacityDisabled:xe.extend("--ft-button-primary-component-opacity-disabled","",Se.opacity40),focusFocusRingColor:xe.extend("--ft-button-focus-focus-ring-color","",Ce.borderActionFocusRing),tertiaryBackgroundColor:xe.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:xe.extend("--ft-button-tertiary-color","",Ce.contentActionPrimary),tertiaryIconColor:xe.extend("--ft-button-tertiary-icon-color","",Ce.contentActionPrimary),tertiaryStateLayerColor:xe.extend("--ft-button-tertiary-state-layer-color","",Ce.contentActionPrimary),tertiaryStateLayerOpacityHover:xe.extend("--ft-button-tertiary-state-layer-opacity-hover","",Se.opacity8),tertiaryStateLayerOpacityFocus:xe.extend("--ft-button-tertiary-state-layer-opacity-focus","",Se.opacity8),tertiaryStateLayerOpacityActive:xe.extend("--ft-button-tertiary-state-layer-opacity-active","",Se.opacity16),tertiaryComponentOpacityDisabled:xe.extend("--ft-button-tertiary-component-opacity-disabled","",Se.opacity40),secondaryBackgroundColor:xe.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:xe.extend("--ft-button-secondary-color","",Ce.contentActionPrimary),secondaryIconColor:xe.extend("--ft-button-secondary-icon-color","",Ce.contentActionPrimary),secondaryStateLayerColor:xe.extend("--ft-button-secondary-state-layer-color","",Ce.contentActionPrimary),secondaryStateLayerOpacityHover:xe.extend("--ft-button-secondary-state-layer-opacity-hover","",Se.opacity8),secondaryStateLayerOpacityFocus:xe.extend("--ft-button-secondary-state-layer-opacity-focus","",Se.opacity8),secondaryStateLayerOpacityActive:xe.extend("--ft-button-secondary-state-layer-opacity-active","",Se.opacity16),secondaryComponentOpacityDisabled:xe.extend("--ft-button-secondary-component-opacity-disabled","",Se.opacity40),secondaryBorderColor:xe.extend("--ft-button-secondary-border-color","",Ce.borderActionPrimary),neutralBackgroundColor:xe.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:xe.extend("--ft-button-neutral-icon-color","",Ce.contentGlobalSecondary),neutralColor:xe.extend("--ft-button-neutral-color","",Ce.contentGlobalSecondary),neutralStateLayerColor:xe.extend("--ft-button-neutral-state-layer-color","",Ce.contentGlobalSecondary),neutralStateLayerOpacityHover:xe.extend("--ft-button-neutral-state-layer-opacity-hover","",Se.opacity8),neutralStateLayerOpacityFocus:xe.extend("--ft-button-neutral-state-layer-opacity-focus","",Se.opacity8),neutralStateLayerOpacityActive:xe.extend("--ft-button-neutral-state-layer-opacity-active","",Se.opacity16),neutralComponentOpacityDisabled:xe.extend("--ft-button-neutral-component-opacity-disabled","",Se.opacity40)};xe.extend("--ft-tabs-top-left-border-radius","",Se.borderRadiusS),xe.extend("--ft-tabs-top-right-border-radius","",Se.borderRadiusS),xe.extend("--ft-tabs-label-horizontal-padding","",Se.spacing4),xe.extend("--ft-tabs-label-vertical-padding","",Se.spacing3),xe.extend("--ft-tabs-label-gap","",Se.spacing1),xe.extend("--ft-switch-group-horizontal-padding","",Se.spacing1),xe.extend("--ft-switch-group-vertical-padding","",Se.spacing1),xe.extend("--ft-switch-group-gap","",Se.spacing1),xe.extend("--ft-switch-group-background-color","",Ce.backgroundGlobalSurface),xe.extend("--ft-switch-group-border-color","",Ce.borderGlobalSubtle),xe.create("--ft-switch-group-border-radius","","SIZE","6px"),xe.extend("--ft-switch-label-horizontal-padding","",Se.spacing2),xe.extend("--ft-switch-label-vertical-padding","",Se.spacing1),xe.extend("--ft-switch-icon-horizontal-padding","",Se.spacing1),xe.extend("--ft-switch-icon-vertical-padding","",Se.spacing1),xe.create("--ft-switch-focus-outline-width","","SIZE","2px"),xe.extend("--ft-switch-focus-focus-ring-color","",Ce.borderActionFocusRing),xe.extend("--ft-switch-option-border-radius","",Se.borderRadiusS),xe.extend("--ft-switch-off-state-layer-opacity-hover","",Se.opacity8),xe.extend("--ft-switch-off-state-layer-opacity-focus","",Se.opacity8),xe.extend("--ft-switch-off-state-layer-opacity-active","",Se.opacity16),xe.extend("--ft-switch-off-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-switch-off-color","",Ce.contentGlobalSubtle),xe.extend("--ft-switch-off-state-layer-color","",Ce.contentGlobalSubtle),xe.extend("--ft-chart-1-light","for area color charts",Se.colorBrand40),xe.extend("--ft-chart-1-base","for line charts",Se.colorBrand0),xe.extend("--ft-chart-2-light","for area color charts",Se.colorYellow60),xe.extend("--ft-chart-2-base","for line charts",Se.colorYellow100),xe.extend("--ft-chart-3-light","",Se.colorUltramarine40),xe.extend("--ft-chart-3-base","",Se.colorUltramarine70),xe.extend("--ft-chart-4-light","",Se.colorCyan50),xe.extend("--ft-chart-4-base","",Se.colorCyan100),xe.extend("--ft-chart-5-light","",Se.colorRed40),xe.extend("--ft-chart-5-base","",Se.colorRed60),xe.extend("--ft-chart-6-light","",Se.colorGreen40),xe.extend("--ft-chart-6-base","",Se.colorGreen70),xe.extend("--ft-chart-7-light","",Se.colorOrange70),xe.extend("--ft-chart-7-base","",Se.colorOrange100),xe.extend("--ft-chart-8-light","",Se.colorAvocado70),xe.extend("--ft-chart-8-base","",Se.colorAvocado200),xe.extend("--ft-chart-9-light","",Se.colorBrown50),xe.extend("--ft-chart-9-base","",Se.colorBrown200),xe.extend("--ft-chart-10-light","",Se.colorGray50),xe.extend("--ft-chart-10-base","",Se.colorGray80),xe.extend("--ft-chart-monochrome-10","",Se.colorBrand10),xe.extend("--ft-chart-monochrome-20","",Se.colorBrand20),xe.extend("--ft-chart-monochrome-30","",Se.colorBrand40),xe.extend("--ft-chart-monochrome-40","",Se.colorBrand60),xe.extend("--ft-chart-monochrome-50","",Se.colorBrand0),xe.extend("--ft-chart-monochrome-60","",Se.colorBrand200),xe.extend("--ft-chip-large-horizontal-padding","",Se.spacing4),xe.extend("--ft-chip-large-vertical-padding","",Se.spacing2),xe.extend("--ft-chip-large-gap","",Se.spacing1),xe.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),xe.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),xe.extend("--ft-chip-large-border-radius","",Se.borderRadiusPill),xe.create("--ft-chip-large-border-width","","SIZE","1px"),xe.extend("--ft-chip-large-icon-size","",Se.iconSize3),xe.extend("--ft-chip-medium-horizontal-padding","",Se.spacing3),xe.extend("--ft-chip-medium-vertical-padding","",Se.spacing1),xe.extend("--ft-chip-medium-gap","",Se.spacing1),xe.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),xe.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),xe.extend("--ft-chip-medium-border-radius","",Se.borderRadiusPill),xe.create("--ft-chip-medium-border-width","","SIZE","1px"),xe.extend("--ft-chip-medium-icon-size","",Se.iconSize2),xe.extend("--ft-chip-small-horizontal-padding","",Se.spacing2),xe.extend("--ft-chip-small-vertical-padding","",Se.spacing05),xe.extend("--ft-chip-small-gap","",Se.spacing1),xe.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),xe.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),xe.extend("--ft-chip-small-border-radius","",Se.borderRadiusPill),xe.create("--ft-chip-small-border-width","","SIZE","1px"),xe.extend("--ft-chip-small-icon-size","",Se.iconSize1),xe.extend("--ft-chip-neutral-background-color","",Ce.backgroundGlobalOnSurface),xe.extend("--ft-chip-neutral-color","",Ce.contentGlobalPrimary),xe.extend("--ft-chip-neutral-border-color","",Ce.borderGlobalSubtle),xe.extend("--ft-chip-info-background-color","",Ce.backgroundInfoSubtle),xe.extend("--ft-chip-info-color","",Ce.contentInfoPrimary),xe.extend("--ft-chip-info-border-color","",Ce.borderInfoPrimary),xe.extend("--ft-chip-success-background-color","",Ce.backgroundSuccessSubtle),xe.extend("--ft-chip-success-color","",Ce.contentSuccessPrimary),xe.extend("--ft-chip-success-border-color","",Ce.borderSuccessPrimary),xe.extend("--ft-chip-warning-background-color","",Ce.backgroundWarningSubtle),xe.extend("--ft-chip-warning-color","",Ce.contentWarningPrimary),xe.extend("--ft-chip-warning-border-color","",Ce.borderWarningPrimary),xe.extend("--ft-chip-error-background-color","",Ce.backgroundErrorSubtle),xe.extend("--ft-chip-error-color","",Ce.contentErrorPrimary),xe.extend("--ft-chip-error-border-color","",Ce.borderErrorPrimary),xe.create("--ft-notice-border-width","","SIZE","1px"),xe.extend("--ft-notice-horizontal-padding","",Se.spacing2),xe.extend("--ft-notice-vertical-padding","",Se.spacing1),xe.extend("--ft-notice-border-radius","",Se.borderRadiusS),xe.extend("--ft-notice-gap","",Se.spacing2),xe.extend("--ft-notice-icon-size","",Se.iconSize3),xe.extend("--ft-notice-info-background-color","",Ce.backgroundInfoSubtle),xe.extend("--ft-notice-info-border-color","",Ce.borderInfoPrimary),xe.extend("--ft-notice-info-color","",Ce.contentInfoPrimary),xe.extend("--ft-notice-warning-background-color","",Ce.backgroundWarningSubtle),xe.extend("--ft-notice-warning-border-color","",Ce.borderWarningPrimary),xe.extend("--ft-notice-warning-color","",Ce.contentWarningPrimary),xe.extend("--ft-checkbox-label-color","",Ce.contentGlobalPrimary),xe.extend("--ft-checkbox-checked-background-color","",Ce.contentActionPrimary),xe.extend("--ft-checkbox-checked-state-layer-color","",Ce.contentActionPrimary),xe.extend("--ft-checkbox-checked-color","",Ce.contentGlobalOnColor),xe.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Se.opacity16),xe.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Se.opacity16),xe.extend("--ft-checkbox-checked-state-layer-opacity-active","",Se.opacity24),xe.extend("--ft-checkbox-checked-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-checkbox-unchecked-border-color","",Se.colorGray80),xe.extend("--ft-checkbox-unchecked-state-layer-color","",Se.colorGray80),xe.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Se.opacity16),xe.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Se.opacity16),xe.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Se.opacity24),xe.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-checkbox-focus-focus-ring-color","",Ce.borderActionFocusRing),xe.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),xe.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),xe.extend("--ft-checkbox-gap","",Se.spacing3),xe.extend("--ft-toggle-off-state-layer-opacity-hover","",Se.opacity16),xe.extend("--ft-toggle-off-state-layer-opacity-focus","",Se.opacity16),xe.extend("--ft-toggle-off-state-layer-opacity-active","",Se.opacity24),xe.extend("--ft-toggle-off-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-toggle-off-background-color","",Ce.contentGlobalSubtle),xe.extend("--ft-toggle-off-icon-color","",Ce.contentGlobalSubtle),xe.extend("--ft-toggle-off-state-layer-color","",Ce.contentGlobalSubtle),xe.extend("--ft-toggle-on-state-layer-opacity-hover","",Se.opacity16),xe.extend("--ft-toggle-on-state-layer-opacity-focus","",Se.opacity16),xe.extend("--ft-toggle-on-state-layer-opacity-active","",Se.opacity24),xe.extend("--ft-toggle-on-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-toggle-on-background-color","",Ce.contentActionPrimary),xe.extend("--ft-toggle-on-icon-color","",Ce.contentActionPrimary),xe.extend("--ft-toggle-on-state-layer-color","",Ce.contentActionPrimary),xe.extend("--ft-toggle-label-color","",Ce.contentGlobalPrimary),xe.extend("--ft-toggle-focus-focus-ring-color","",Ce.borderActionFocusRing),xe.extend("--ft-toggle-gap","",Se.spacing3),xe.extend("--ft-radio-label-color","",Ce.contentGlobalPrimary),xe.extend("--ft-radio-selected-color","",Ce.contentActionPrimary),xe.extend("--ft-radio-selected-state-layer-color","",Ce.contentActionPrimary),xe.extend("--ft-radio-selected-state-layer-opacity-hover","",Se.opacity16),xe.extend("--ft-radio-selected-state-layer-opacity-focus","",Se.opacity16),xe.extend("--ft-radio-selected-state-layer-opacity-active","",Se.opacity24),xe.extend("--ft-radio-selected-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-radio-unselected-state-layer-color","",Se.colorGray80),xe.extend("--ft-radio-unselected-state-layer-opacity-hover","",Se.opacity16),xe.extend("--ft-radio-unselected-state-layer-opacity-focus","",Se.opacity16),xe.extend("--ft-radio-unselected-state-layer-opacity-active","",Se.opacity24),xe.extend("--ft-radio-unselected-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-radio-focus-focus-ring-color","",Ce.borderActionFocusRing),xe.create("--ft-radio-focus-outline-offset","","SIZE","3px"),xe.create("--ft-radio-focus-outline-width","","SIZE","2px"),xe.extend("--ft-radio-gap","",Se.spacing3),xe.extend("--ft-notification-icon-size","",Se.iconSize4),xe.extend("--ft-notification-horizontal-padding","",Se.spacing4),xe.extend("--ft-notification-vertical-padding","",Se.spacing4),xe.extend("--ft-notification-info-background-color","",Ce.backgroundInfoSubtle),xe.extend("--ft-notification-info-color","",Ce.contentInfoPrimary),xe.extend("--ft-notification-info-border-color","",Ce.borderInfoPrimary),xe.extend("--ft-notification-success-background-color","",Ce.backgroundSuccessSubtle),xe.extend("--ft-notification-success-color","",Ce.contentSuccessPrimary),xe.extend("--ft-notification-success-border-color","",Ce.borderSuccessPrimary),xe.extend("--ft-notification-warning-background-color","",Ce.backgroundWarningSubtle),xe.extend("--ft-notification-warning-color","",Ce.contentWarningPrimary),xe.extend("--ft-notification-warning-border-color","",Ce.borderWarningPrimary),xe.extend("--ft-notification-error-background-color","",Ce.backgroundErrorSubtle),xe.extend("--ft-notification-error-color","",Ce.contentErrorPrimary),xe.extend("--ft-notification-error-border-color","",Ce.borderErrorPrimary),xe.extend("--ft-notification-border-radius","",Se.borderRadiusPill),xe.create("--ft-notification-border-width","","SIZE","1px"),xe.extend("--ft-notification-gap-leading","",Se.spacing2),xe.extend("--ft-notification-gap-trailing","",Se.spacing8);const $e={colorPrimary:xe.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:xe.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:xe.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:xe.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:xe.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:xe.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xe.create("--ft-color-error","","COLOR","#B00020"),colorOutline:xe.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xe.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:xe.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:xe.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:xe.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:xe.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:xe.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xe.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xe.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:xe.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:xe.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xe.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xe.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xe.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xe.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xe.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xe.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:xe.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:xe.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:xe.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:xe.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:xe.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:xe.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xe.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xe.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:xe.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xe.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xe.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xe.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xe.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xe.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xe.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:xe.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xe.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xe.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xe.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xe.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:xe.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:xe.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:xe.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:xe.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xe.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xe.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:xe.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Re=window,Ue=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
79
+ let me=class extends Kt{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 i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new he(e.insertBefore(Ht(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return re}};me._$litElement$=!0,me.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:me});const ve=globalThis.litElementPolyfillSupport;ve?.({LitElement:me}),(globalThis.litElementVersions??=[]).push("4.0.2");const Oe=t=>"string"==typeof t?Ot(t):t;class xe{static create(t,e,o,i){const r=t=>Oe(null!=t?t:i),n=xt`var(${Oe(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>xt`var(${Oe(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=xt`var(${Oe(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>xt`var(${Oe(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Oe(null!=e?e:t.lastResortDefaultValue()),i=xt`var(${Oe(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>xt`var(${Oe(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function we(t,e){return Oe(`${t.name}: ${e}`)}const Se={colorWhite:xe.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:xe.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:xe.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:xe.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:xe.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:xe.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:xe.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:xe.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:xe.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:xe.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:xe.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:xe.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:xe.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:xe.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:xe.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:xe.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:xe.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:xe.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:xe.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:xe.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:xe.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:xe.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:xe.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:xe.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:xe.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:xe.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:xe.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:xe.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:xe.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:xe.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:xe.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:xe.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:xe.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:xe.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:xe.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:xe.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:xe.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:xe.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:xe.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:xe.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:xe.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:xe.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:xe.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:xe.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:xe.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:xe.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:xe.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:xe.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:xe.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:xe.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:xe.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:xe.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:xe.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:xe.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:xe.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:xe.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:xe.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:xe.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:xe.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:xe.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:xe.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:xe.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:xe.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:xe.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:xe.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:xe.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:xe.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:xe.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:xe.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:xe.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:xe.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:xe.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:xe.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:xe.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:xe.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:xe.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:xe.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:xe.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:xe.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:xe.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:xe.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:xe.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:xe.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:xe.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:xe.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:xe.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:xe.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:xe.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:xe.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:xe.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:xe.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:xe.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:xe.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:xe.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:xe.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:xe.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:xe.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:xe.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:xe.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:xe.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:xe.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:xe.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:xe.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:xe.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:xe.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:xe.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:xe.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:xe.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:xe.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:xe.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:xe.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:xe.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:xe.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:xe.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:xe.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:xe.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:xe.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:xe.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:xe.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:xe.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:xe.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:xe.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:xe.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:xe.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:xe.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:xe.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:xe.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:xe.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:xe.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:xe.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:xe.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:xe.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:xe.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:xe.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:xe.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:xe.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:xe.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:xe.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:xe.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:xe.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:xe.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:xe.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:xe.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:xe.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:xe.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:xe.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:xe.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:xe.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:xe.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:xe.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:xe.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:xe.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:xe.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:xe.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:xe.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:xe.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:xe.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:xe.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:xe.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:xe.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:xe.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:xe.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:xe.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:xe.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:xe.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:xe.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:xe.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:xe.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:xe.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:xe.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:xe.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:xe.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:xe.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:xe.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:xe.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:xe.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:xe.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:xe.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:xe.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:xe.create("--ft-icon-size-6","","SIZE","48px"),opacity0:xe.create("--ft-opacity-0","","NUMBER","0"),opacity8:xe.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:xe.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:xe.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:xe.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:xe.create("--ft-opacity-80","","NUMBER","0.8")},Ne={display:{fontFamily:xe.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:xe.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:xe.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:xe.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:xe.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:xe.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:xe.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:xe.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:xe.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:xe.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:xe.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:xe.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:xe.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:xe.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:xe.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:xe.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:xe.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:xe.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:xe.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:xe.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:xe.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:xe.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:xe.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:xe.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:xe.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:xe.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:xe.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:xe.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:xe.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ce={backgroundActionPrimary:xe.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Se.colorBrand0),backgroundErrorPrimary:xe.extend("--ft-background-error-primary","Used as background of error components.",Se.colorRed0),backgroundErrorSubtle:xe.extend("--ft-background-error-subtle","Used as background of subtle error components.",Se.colorRed10),backgroundInfoPrimary:xe.extend("--ft-background-info-primary","Used as background of information components.",Se.colorCyan200),backgroundInfoSubtle:xe.extend("--ft-background-info-subtle","Used as background of subtle information components.",Se.colorCyan10),backgroundWarningPrimary:xe.extend("--ft-background-warning-primary","Used as background of warning components.",Se.colorOrange300),backgroundWarningSubtle:xe.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Se.colorOrange10),backgroundSuccessPrimary:xe.extend("--ft-background-success-primary","Used as background of success components.",Se.colorGreen200),backgroundSuccessSubtle:xe.extend("--ft-background-success-subtle","Used as background of subtle success components.",Se.colorGreen10),backgroundGlobalSurface:xe.extend("--ft-background-global-surface","Used as app background.",Se.colorWhite),backgroundGlobalOnSurface:xe.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Se.colorGray10),backgroundGlobalOnSurfaceDark:xe.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Se.colorGray30),contentActionPrimary:xe.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Se.colorBrand0),contentWarningPrimary:xe.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Se.colorOrange300),contentWarningIconOnly:xe.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Se.colorOrange0),contentErrorPrimary:xe.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Se.colorRed0),contentErrorIconOnly:xe.extend("--ft-content-error-icon-only","Used on error status icons alone",Se.colorRed0),contentInfoPrimary:xe.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Se.colorCyan200),contentInfoIconOnly:xe.extend("--ft-content-info-icon-only","Used on info status icons alone",Se.colorCyan0),contentSuccessIconOnly:xe.extend("--ft-content-success-icon-only","Used on success status icons alone",Se.colorGreen0),contentSuccessPrimary:xe.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Se.colorGreen200),contentGlobalPrimary:xe.extend("--ft-content-global-primary","Used for main content on the page.",Se.colorGray500),contentGlobalSecondary:xe.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Se.colorGray200),contentGlobalSubtle:xe.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Se.colorGray0),contentGlobalOnColor:xe.extend("--ft-content-global-on-color","Used for content on a dominant color.",Se.colorWhite),borderActionPrimary:xe.extend("--ft-border-action-primary","Used as border for primary action components.",Se.colorBrand0),borderActionFocusRing:xe.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Se.colorCyan0),borderWarningPrimary:xe.extend("--ft-border-warning-primary","Used as border for warning components.",Se.colorOrange30),borderSuccessPrimary:xe.extend("--ft-border-success-primary","Used as border for success components.",Se.colorGreen30),borderErrorPrimary:xe.extend("--ft-border-error-primary","Used as border for error components.",Se.colorRed30),borderInfoPrimary:xe.extend("--ft-border-info-primary","Used as border for information components.",Se.colorCyan30),borderGlobalSubtle:xe.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Se.colorGray30),borderGlobalPrimary:xe.extend("--ft-border-global-primary","Used as border for element like input.",Se.colorGray50),borderInputPrimary:xe.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Se.colorGray80)},Ee={largeHeight:xe.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:xe.extend("--ft-button-large-horizontal-padding","",Se.spacing4),largeGap:xe.extend("--ft-button-large-gap","",Se.spacing2),largeBorderRadius:xe.extend("--ft-button-large-border-radius","",Se.borderRadiusS),largeIconSize:xe.extend("--ft-button-large-icon-size","",Se.iconSize3),largeBorderWidth:xe.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:xe.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:xe.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:xe.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:xe.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:xe.extend("--ft-button-small-horizontal-padding","",Se.spacing3),smallGap:xe.extend("--ft-button-small-gap","",Se.spacing2),smallBorderRadius:xe.extend("--ft-button-small-border-radius","",Se.borderRadiusS),smallIconSize:xe.extend("--ft-button-small-icon-size","",Se.iconSize2),smallBorderWidth:xe.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:xe.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:xe.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:xe.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:xe.extend("--ft-button-primary-background-color","",Ce.backgroundActionPrimary),primaryColor:xe.extend("--ft-button-primary-color","",Ce.contentGlobalOnColor),primaryIconColor:xe.extend("--ft-button-primary-icon-color","",Ce.contentGlobalOnColor),primaryStateLayerColor:xe.extend("--ft-button-primary-state-layer-color","",Ce.contentGlobalOnColor),primaryStateLayerOpacityHover:xe.extend("--ft-button-primary-state-layer-opacity-hover","",Se.opacity16),primaryStateLayerOpacityFocus:xe.extend("--ft-button-primary-state-layer-opacity-focus","",Se.opacity16),primaryStateLayerOpacityActive:xe.extend("--ft-button-primary-state-layer-opacity-active","",Se.opacity24),primaryComponentOpacityDisabled:xe.extend("--ft-button-primary-component-opacity-disabled","",Se.opacity40),focusFocusRingColor:xe.extend("--ft-button-focus-focus-ring-color","",Ce.borderActionFocusRing),tertiaryBackgroundColor:xe.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:xe.extend("--ft-button-tertiary-color","",Ce.contentActionPrimary),tertiaryIconColor:xe.extend("--ft-button-tertiary-icon-color","",Ce.contentActionPrimary),tertiaryStateLayerColor:xe.extend("--ft-button-tertiary-state-layer-color","",Ce.contentActionPrimary),tertiaryStateLayerOpacityHover:xe.extend("--ft-button-tertiary-state-layer-opacity-hover","",Se.opacity8),tertiaryStateLayerOpacityFocus:xe.extend("--ft-button-tertiary-state-layer-opacity-focus","",Se.opacity8),tertiaryStateLayerOpacityActive:xe.extend("--ft-button-tertiary-state-layer-opacity-active","",Se.opacity16),tertiaryComponentOpacityDisabled:xe.extend("--ft-button-tertiary-component-opacity-disabled","",Se.opacity40),secondaryBackgroundColor:xe.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:xe.extend("--ft-button-secondary-color","",Ce.contentActionPrimary),secondaryIconColor:xe.extend("--ft-button-secondary-icon-color","",Ce.contentActionPrimary),secondaryStateLayerColor:xe.extend("--ft-button-secondary-state-layer-color","",Ce.contentActionPrimary),secondaryStateLayerOpacityHover:xe.extend("--ft-button-secondary-state-layer-opacity-hover","",Se.opacity8),secondaryStateLayerOpacityFocus:xe.extend("--ft-button-secondary-state-layer-opacity-focus","",Se.opacity8),secondaryStateLayerOpacityActive:xe.extend("--ft-button-secondary-state-layer-opacity-active","",Se.opacity16),secondaryComponentOpacityDisabled:xe.extend("--ft-button-secondary-component-opacity-disabled","",Se.opacity40),secondaryBorderColor:xe.extend("--ft-button-secondary-border-color","",Ce.borderActionPrimary),neutralBackgroundColor:xe.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:xe.extend("--ft-button-neutral-icon-color","",Ce.contentGlobalSecondary),neutralColor:xe.extend("--ft-button-neutral-color","",Ce.contentGlobalSecondary),neutralStateLayerColor:xe.extend("--ft-button-neutral-state-layer-color","",Ce.contentGlobalSecondary),neutralStateLayerOpacityHover:xe.extend("--ft-button-neutral-state-layer-opacity-hover","",Se.opacity8),neutralStateLayerOpacityFocus:xe.extend("--ft-button-neutral-state-layer-opacity-focus","",Se.opacity8),neutralStateLayerOpacityActive:xe.extend("--ft-button-neutral-state-layer-opacity-active","",Se.opacity16),neutralComponentOpacityDisabled:xe.extend("--ft-button-neutral-component-opacity-disabled","",Se.opacity40)};xe.extend("--ft-tabs-top-left-border-radius","",Se.borderRadiusS),xe.extend("--ft-tabs-top-right-border-radius","",Se.borderRadiusS),xe.extend("--ft-tabs-label-horizontal-padding","",Se.spacing4),xe.extend("--ft-tabs-label-vertical-padding","",Se.spacing3),xe.extend("--ft-tabs-label-gap","",Se.spacing1),xe.extend("--ft-switch-group-horizontal-padding","",Se.spacing1),xe.extend("--ft-switch-group-vertical-padding","",Se.spacing1),xe.extend("--ft-switch-group-gap","",Se.spacing1),xe.extend("--ft-switch-group-background-color","",Ce.backgroundGlobalSurface),xe.extend("--ft-switch-group-border-color","",Ce.borderGlobalSubtle),xe.create("--ft-switch-group-border-radius","","SIZE","6px"),xe.extend("--ft-switch-label-horizontal-padding","",Se.spacing2),xe.extend("--ft-switch-label-vertical-padding","",Se.spacing1),xe.extend("--ft-switch-icon-horizontal-padding","",Se.spacing1),xe.extend("--ft-switch-icon-vertical-padding","",Se.spacing1),xe.create("--ft-switch-focus-outline-width","","SIZE","2px"),xe.extend("--ft-switch-focus-focus-ring-color","",Ce.borderActionFocusRing),xe.extend("--ft-switch-option-border-radius","",Se.borderRadiusS),xe.extend("--ft-switch-off-state-layer-opacity-hover","",Se.opacity8),xe.extend("--ft-switch-off-state-layer-opacity-focus","",Se.opacity8),xe.extend("--ft-switch-off-state-layer-opacity-active","",Se.opacity16),xe.extend("--ft-switch-off-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-switch-off-color","",Ce.contentGlobalSubtle),xe.extend("--ft-switch-off-state-layer-color","",Ce.contentGlobalSubtle),xe.extend("--ft-chart-1-light","for area color charts",Se.colorBrand40),xe.extend("--ft-chart-1-base","for line charts",Se.colorBrand0),xe.extend("--ft-chart-2-light","for area color charts",Se.colorYellow60),xe.extend("--ft-chart-2-base","for line charts",Se.colorYellow100),xe.extend("--ft-chart-3-light","",Se.colorUltramarine40),xe.extend("--ft-chart-3-base","",Se.colorUltramarine70),xe.extend("--ft-chart-4-light","",Se.colorCyan50),xe.extend("--ft-chart-4-base","",Se.colorCyan100),xe.extend("--ft-chart-5-light","",Se.colorRed40),xe.extend("--ft-chart-5-base","",Se.colorRed60),xe.extend("--ft-chart-6-light","",Se.colorGreen40),xe.extend("--ft-chart-6-base","",Se.colorGreen70),xe.extend("--ft-chart-7-light","",Se.colorOrange70),xe.extend("--ft-chart-7-base","",Se.colorOrange100),xe.extend("--ft-chart-8-light","",Se.colorAvocado70),xe.extend("--ft-chart-8-base","",Se.colorAvocado200),xe.extend("--ft-chart-9-light","",Se.colorBrown50),xe.extend("--ft-chart-9-base","",Se.colorBrown200),xe.extend("--ft-chart-10-light","",Se.colorGray50),xe.extend("--ft-chart-10-base","",Se.colorGray80),xe.extend("--ft-chart-monochrome-10","",Se.colorBrand10),xe.extend("--ft-chart-monochrome-20","",Se.colorBrand20),xe.extend("--ft-chart-monochrome-30","",Se.colorBrand40),xe.extend("--ft-chart-monochrome-40","",Se.colorBrand60),xe.extend("--ft-chart-monochrome-50","",Se.colorBrand0),xe.extend("--ft-chart-monochrome-60","",Se.colorBrand200),xe.extend("--ft-chip-large-horizontal-padding","",Se.spacing4),xe.extend("--ft-chip-large-vertical-padding","",Se.spacing2),xe.extend("--ft-chip-large-gap","",Se.spacing1),xe.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),xe.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),xe.extend("--ft-chip-large-border-radius","",Se.borderRadiusPill),xe.create("--ft-chip-large-border-width","","SIZE","1px"),xe.extend("--ft-chip-large-icon-size","",Se.iconSize3),xe.extend("--ft-chip-medium-horizontal-padding","",Se.spacing3),xe.extend("--ft-chip-medium-vertical-padding","",Se.spacing1),xe.extend("--ft-chip-medium-gap","",Se.spacing1),xe.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),xe.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),xe.extend("--ft-chip-medium-border-radius","",Se.borderRadiusPill),xe.create("--ft-chip-medium-border-width","","SIZE","1px"),xe.extend("--ft-chip-medium-icon-size","",Se.iconSize2),xe.extend("--ft-chip-small-horizontal-padding","",Se.spacing2),xe.extend("--ft-chip-small-vertical-padding","",Se.spacing05),xe.extend("--ft-chip-small-gap","",Se.spacing1),xe.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),xe.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),xe.extend("--ft-chip-small-border-radius","",Se.borderRadiusPill),xe.create("--ft-chip-small-border-width","","SIZE","1px"),xe.extend("--ft-chip-small-icon-size","",Se.iconSize1),xe.extend("--ft-chip-neutral-background-color","",Ce.backgroundGlobalOnSurface),xe.extend("--ft-chip-neutral-color","",Ce.contentGlobalPrimary),xe.extend("--ft-chip-neutral-border-color","",Ce.borderGlobalSubtle),xe.extend("--ft-chip-info-background-color","",Ce.backgroundInfoSubtle),xe.extend("--ft-chip-info-color","",Ce.contentInfoPrimary),xe.extend("--ft-chip-info-border-color","",Ce.borderInfoPrimary),xe.extend("--ft-chip-success-background-color","",Ce.backgroundSuccessSubtle),xe.extend("--ft-chip-success-color","",Ce.contentSuccessPrimary),xe.extend("--ft-chip-success-border-color","",Ce.borderSuccessPrimary),xe.extend("--ft-chip-warning-background-color","",Ce.backgroundWarningSubtle),xe.extend("--ft-chip-warning-color","",Ce.contentWarningPrimary),xe.extend("--ft-chip-warning-border-color","",Ce.borderWarningPrimary),xe.extend("--ft-chip-error-background-color","",Ce.backgroundErrorSubtle),xe.extend("--ft-chip-error-color","",Ce.contentErrorPrimary),xe.extend("--ft-chip-error-border-color","",Ce.borderErrorPrimary),xe.create("--ft-notice-border-width","","SIZE","1px"),xe.extend("--ft-notice-horizontal-padding","",Se.spacing2),xe.extend("--ft-notice-vertical-padding","",Se.spacing1),xe.extend("--ft-notice-border-radius","",Se.borderRadiusS),xe.extend("--ft-notice-gap","",Se.spacing2),xe.extend("--ft-notice-icon-size","",Se.iconSize3),xe.extend("--ft-notice-info-background-color","",Ce.backgroundInfoSubtle),xe.extend("--ft-notice-info-border-color","",Ce.borderInfoPrimary),xe.extend("--ft-notice-info-color","",Ce.contentInfoPrimary),xe.extend("--ft-notice-warning-background-color","",Ce.backgroundWarningSubtle),xe.extend("--ft-notice-warning-border-color","",Ce.borderWarningPrimary),xe.extend("--ft-notice-warning-color","",Ce.contentWarningPrimary),xe.extend("--ft-checkbox-label-color","",Ce.contentGlobalPrimary),xe.extend("--ft-checkbox-checked-background-color","",Ce.contentActionPrimary),xe.extend("--ft-checkbox-checked-state-layer-color","",Ce.contentActionPrimary),xe.extend("--ft-checkbox-checked-color","",Ce.contentGlobalOnColor),xe.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Se.opacity16),xe.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Se.opacity16),xe.extend("--ft-checkbox-checked-state-layer-opacity-active","",Se.opacity24),xe.extend("--ft-checkbox-checked-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-checkbox-unchecked-border-color","",Se.colorGray80),xe.extend("--ft-checkbox-unchecked-state-layer-color","",Se.colorGray80),xe.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Se.opacity16),xe.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Se.opacity16),xe.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Se.opacity24),xe.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-checkbox-focus-focus-ring-color","",Ce.borderActionFocusRing),xe.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),xe.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),xe.extend("--ft-checkbox-gap","",Se.spacing3),xe.extend("--ft-toggle-off-state-layer-opacity-hover","",Se.opacity16),xe.extend("--ft-toggle-off-state-layer-opacity-focus","",Se.opacity16),xe.extend("--ft-toggle-off-state-layer-opacity-active","",Se.opacity24),xe.extend("--ft-toggle-off-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-toggle-off-background-color","",Ce.contentGlobalSubtle),xe.extend("--ft-toggle-off-icon-color","",Ce.contentGlobalSubtle),xe.extend("--ft-toggle-off-state-layer-color","",Ce.contentGlobalSubtle),xe.extend("--ft-toggle-on-state-layer-opacity-hover","",Se.opacity16),xe.extend("--ft-toggle-on-state-layer-opacity-focus","",Se.opacity16),xe.extend("--ft-toggle-on-state-layer-opacity-active","",Se.opacity24),xe.extend("--ft-toggle-on-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-toggle-on-background-color","",Ce.contentActionPrimary),xe.extend("--ft-toggle-on-icon-color","",Ce.contentActionPrimary),xe.extend("--ft-toggle-on-state-layer-color","",Ce.contentActionPrimary),xe.extend("--ft-toggle-label-color","",Ce.contentGlobalPrimary),xe.extend("--ft-toggle-focus-focus-ring-color","",Ce.borderActionFocusRing),xe.extend("--ft-toggle-gap","",Se.spacing3),xe.extend("--ft-radio-label-color","",Ce.contentGlobalPrimary),xe.extend("--ft-radio-selected-color","",Ce.contentActionPrimary),xe.extend("--ft-radio-selected-state-layer-color","",Ce.contentActionPrimary),xe.extend("--ft-radio-selected-state-layer-opacity-hover","",Se.opacity16),xe.extend("--ft-radio-selected-state-layer-opacity-focus","",Se.opacity16),xe.extend("--ft-radio-selected-state-layer-opacity-active","",Se.opacity24),xe.extend("--ft-radio-selected-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-radio-unselected-state-layer-color","",Se.colorGray80),xe.extend("--ft-radio-unselected-state-layer-opacity-hover","",Se.opacity16),xe.extend("--ft-radio-unselected-state-layer-opacity-focus","",Se.opacity16),xe.extend("--ft-radio-unselected-state-layer-opacity-active","",Se.opacity24),xe.extend("--ft-radio-unselected-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-radio-focus-focus-ring-color","",Ce.borderActionFocusRing),xe.create("--ft-radio-focus-outline-offset","","SIZE","3px"),xe.create("--ft-radio-focus-outline-width","","SIZE","2px"),xe.extend("--ft-radio-gap","",Se.spacing3),xe.extend("--ft-notification-icon-size","",Se.iconSize4),xe.extend("--ft-notification-horizontal-padding","",Se.spacing4),xe.extend("--ft-notification-vertical-padding","",Se.spacing4),xe.extend("--ft-notification-info-background-color","",Ce.backgroundInfoSubtle),xe.extend("--ft-notification-info-color","",Ce.contentInfoPrimary),xe.extend("--ft-notification-info-border-color","",Ce.borderInfoPrimary),xe.extend("--ft-notification-success-background-color","",Ce.backgroundSuccessSubtle),xe.extend("--ft-notification-success-color","",Ce.contentSuccessPrimary),xe.extend("--ft-notification-success-border-color","",Ce.borderSuccessPrimary),xe.extend("--ft-notification-warning-background-color","",Ce.backgroundWarningSubtle),xe.extend("--ft-notification-warning-color","",Ce.contentWarningPrimary),xe.extend("--ft-notification-warning-border-color","",Ce.borderWarningPrimary),xe.extend("--ft-notification-error-background-color","",Ce.backgroundErrorSubtle),xe.extend("--ft-notification-error-color","",Ce.contentErrorPrimary),xe.extend("--ft-notification-error-border-color","",Ce.borderErrorPrimary),xe.extend("--ft-notification-border-radius","",Se.borderRadiusPill),xe.create("--ft-notification-border-width","","SIZE","1px"),xe.extend("--ft-notification-gap-leading","",Se.spacing2),xe.extend("--ft-notification-gap-trailing","",Se.spacing8);const $e={colorPrimary:xe.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:xe.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:xe.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:xe.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:xe.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:xe.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xe.create("--ft-color-error","","COLOR","#B00020"),colorOutline:xe.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xe.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:xe.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:xe.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:xe.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:xe.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:xe.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xe.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xe.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:xe.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:xe.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xe.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xe.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xe.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xe.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xe.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xe.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:xe.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:xe.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:xe.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:xe.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:xe.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:xe.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xe.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xe.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:xe.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xe.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xe.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xe.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xe.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xe.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xe.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:xe.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xe.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xe.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xe.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xe.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:xe.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:xe.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:xe.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:xe.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xe.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xe.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:xe.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Re=window,Ue=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
80
80
  /**
81
81
  * @license
82
82
  * Copyright 2019 Google LLC
83
83
  * SPDX-License-Identifier: BSD-3-Clause
84
- */class Ie extends me{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ue?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Re.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var ke,Le=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const We=Symbol("constructorPrototype"),Ae=Symbol("constructorName"),je=Symbol("exportpartsDebouncer");class Fe extends Ie{constructor(){super(),this[ke]=new i(5),this[Ae]=this.constructor.name,this[We]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ae]&&Object.setPrototypeOf(this,this[We])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[je].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}ke=je,Le([R()],Fe.prototype,"exportpartsPrefix",void 0),Le([A([])],Fe.prototype,"exportpartsPrefixes",void 0),Le([R()],Fe.prototype,"customStylesheet",void 0);const Ke=xt`
84
+ */class Ie extends me{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ue?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Re.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var ke,Le=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const We=Symbol("constructorPrototype"),Ae=Symbol("constructorName"),je=Symbol("exportpartsDebouncer");class Fe extends Ie{constructor(){super(),this[ke]=new r(5),this[Ae]=this.constructor.name,this[We]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ae]&&Object.setPrototypeOf(this,this[We])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[je].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,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!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}ke=je,Le([R()],Fe.prototype,"exportpartsPrefix",void 0),Le([A([])],Fe.prototype,"exportpartsPrefixes",void 0),Le([R()],Fe.prototype,"customStylesheet",void 0);const Ke=xe.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");xt`
85
+ .highlight-html-match {
86
+ background: ${Ke};
87
+ }
88
+ `;const Pe=xt`
85
89
  .ft-no-text-select {
86
90
  -webkit-touch-callout: none;
87
91
  -webkit-user-select: none;
@@ -102,7 +106,7 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
102
106
  -webkit-hyphens: auto;
103
107
  hyphens: auto
104
108
  }
105
- `;const Pe=xt`
109
+ `;const ze=xt`
106
110
  .ft-safari-ellipsis-fix {
107
111
  margin-right: 0;
108
112
 
@@ -113,116 +117,116 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
113
117
  display: inline-block;
114
118
  width: 0;
115
119
  }
116
- `;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 Me(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Be,De,Te;const Ze=Symbol("internalReduxEventsUnsubscribers"),_e=Symbol("internalStoresUnsubscribers"),He=Symbol("internalStores");class Ge extends Fe{constructor(){super(...arguments),this[Be]=new Map,this[De]=new Map,this[Te]=[]}update(t){var e;super.update(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[He].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[He].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[He].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Me(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[He].delete(e)}setupStore(t,e){this[He].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[He].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[_e].has(t.store):this[_e].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[_e].set(t,e.subscribe((()=>this.updateFromStores()))),Me(e)&&e.eventBus&&(null===(o=this.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[Ze].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[_e].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Ze].forEach((t=>t())),this[Ze]=[]}unsubscribeFromStore(t){this[_e].has(t)&&this[_e].get(t)(),this[_e].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Ve(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function qe(t){return!!t&&!!t[Fo]}function Ye(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Ko}(t)||Array.isArray(t)||!!t[jo]||!!(null===(e=t.constructor)||void 0===e?void 0:e[jo])||oo(t)||ro(t))}function Xe(t,e,o){void 0===o&&(o=!1),0===Je(t)?(o?Object.keys:Po)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function Je(t){var e=t[Fo];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:oo(t)?2:ro(t)?3:0}function Qe(t,e){return 2===Je(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function to(t,e,o){var r=Je(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function eo(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function oo(t){return ko&&t instanceof Map}function ro(t){return Lo&&t instanceof Set}function io(t){return t.o||t.t}function no(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=zo(t);delete e[Fo];for(var o=Po(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function ao(t,e){return void 0===e&&(e=!1),co(t)||qe(t)||!Ye(t)||(Je(t)>1&&(t.set=t.add=t.clear=t.delete=so),Object.freeze(t),e&&Xe(t,(function(t,e){return ao(e,!0)}),!0)),t}function so(){Ve(2)}function co(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function lo(t){var e=Mo[t];return e||Ve(18,t),e}function fo(){return Uo}function ho(t,e){e&&(lo("Patches"),t.u=[],t.s=[],t.v=e)}function po(t){uo(t),t.p.forEach(go),t.p=null}function uo(t){t===Uo&&(Uo=t.l)}function yo(t){return Uo={p:[],l:Uo,h:t,m:!0,_:0}}function go(t){var e=t[Fo];0===e.i||1===e.i?e.j():e.g=!0}function bo(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||lo("ES5").S(e,t,r),r?(o[Fo].P&&(po(e),Ve(4)),Ye(t)&&(t=mo(e,t),e.l||Oo(e,t)),e.u&&lo("Patches").M(o[Fo].t,t,e.u,e.s)):t=mo(e,o,[]),po(e),e.u&&e.v(e.u,e.s),t!==Ao?t:void 0}function mo(t,e,o){if(co(e))return e;var r=e[Fo];if(!r)return Xe(e,(function(i,n){return vo(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return Oo(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=no(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),Xe(n,(function(e,n){return vo(t,r,i,e,n,o,a)})),Oo(t,i,!1),o&&t.u&&lo("Patches").N(r,o,t.u,t.s)}return r.o}function vo(t,e,o,r,i,n,a){if(qe(i)){var s=mo(t,i,n&&e&&3!==e.i&&!Qe(e.R,r)?n.concat(r):void 0);if(to(o,r,s),!qe(s))return;t.m=!1}else a&&o.add(i);if(Ye(i)&&!co(i)){if(!t.h.D&&t._<1)return;mo(t,i),e&&e.A.l||Oo(t,i)}}function Oo(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&ao(e,o)}function xo(t,e){var o=t[Fo];return(o?io(o):t)[e]}function wo(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function So(t){t.P||(t.P=!0,t.l&&So(t.l))}function No(t){t.o||(t.o=no(t.t))}function Co(t,e,o){var r=oo(e)?lo("MapSet").F(e,o):ro(e)?lo("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:fo(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=Bo;o&&(i=[r],n=Do);var a=Proxy.revocable(i,n),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):lo("ES5").J(e,o);return(o?o.A:fo()).p.push(r),r}function Eo(t){return qe(t)||Ve(22,t),function t(e){if(!Ye(e))return e;var o,r=e[Fo],i=Je(e);if(r){if(!r.P&&(r.i<4||!lo("ES5").K(r)))return r.t;r.I=!0,o=$o(e,i),r.I=!1}else o=$o(e,i);return Xe(o,(function(e,i){r&&function(t,e){return 2===Je(t)?t.get(e):t[e]}(r.t,e)===i||to(o,e,t(i))})),3===i?new Set(o):o}(t)}function $o(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return no(t)}Be=_e,De=He,Te=Ze;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),jo=Io?Symbol.for("immer-draftable"):"__$immer_draftable",Fo=Io?Symbol.for("immer-state"):"__$immer_state",Ko=""+Object.prototype.constructor,Po="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,zo=Object.getOwnPropertyDescriptors||function(t){var e={};return Po(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Mo={},Bo={get:function(t,e){if(e===Fo)return t;var o=io(t);if(!Qe(o,e))return function(t,e,o){var r,i=wo(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!Ye(r)?r:r===xo(t.t,e)?(No(t),t.o[e]=Co(t.A.h,r,t)):r},has:function(t,e){return e in io(t)},ownKeys:function(t){return Reflect.ownKeys(io(t))},set:function(t,e,o){var r=wo(io(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=xo(io(t),e),n=null==i?void 0:i[Fo];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(eo(o,i)&&(void 0!==o||Qe(t.t,e)))return!0;No(t),So(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==xo(t.t,e)||e in t.t?(t.R[e]=!1,No(t),So(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=io(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){Ve(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ve(12)}},Do={};Xe(Bo,(function(t,e){Do[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Do.deleteProperty=function(t,e){return Do.set.call(this,t,e,void 0)},Do.set=function(t,e,o){return Bo.set.call(this,t[0],e,o,t[0])};var To=function(){function t(t){var e=this;this.O=Wo,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Ve(6),void 0!==r&&"function"!=typeof r&&Ve(7),Ye(t)){var s=yo(e),c=Co(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?po(s):uo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return ho(s,r),bo(t,s)}),(function(t){throw po(s),t})):(ho(s,r),bo(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Ao&&(a=void 0),e.D&&ao(a,!0),r){var f=[],h=[];lo("Patches").M(t,a,f,h),r(f,h)}return a}Ve(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){Ye(t)||Ve(8),qe(t)&&(t=Eo(t));var e=yo(this),o=Co(this,t,void 0);return o[Fo].C=!0,uo(e),o},e.finishDraft=function(t,e){var o=(t&&t[Fo]).A;return ho(o,e),bo(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Wo&&Ve(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=lo("Patches").$;return qe(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),Zo=new To,_o=Zo.produce;function Ho(t){return Ho="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ho(t)}function Go(t){var e=function(t,e){if("object"!==Ho(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Ho(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Ho(e)?e:String(e)}function Vo(t,e,o){return(e=Go(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function qo(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function Yo(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?qo(Object(o),!0).forEach((function(e){Vo(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):qo(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function Xo(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Zo.produceWithPatches.bind(Zo),Zo.setAutoFreeze.bind(Zo),Zo.setUseProxies.bind(Zo),Zo.applyPatches.bind(Zo),Zo.createDraft.bind(Zo),Zo.finishDraft.bind(Zo);var Jo="function"==typeof Symbol&&Symbol.observable||"@@observable",Qo=function(){return Math.random().toString(36).substring(7).split("").join(".")},tr={INIT:"@@redux/INIT"+Qo(),REPLACE:"@@redux/REPLACE"+Qo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Qo()}};function er(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(Xo(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(Xo(1));return o(er)(t,e)}if("function"!=typeof t)throw new Error(Xo(2));var i=t,n=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Xo(3));return n}function h(t){if("function"!=typeof t)throw new Error(Xo(4));if(c)throw new Error(Xo(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(Xo(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function p(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(Xo(7));if(void 0===t.type)throw new Error(Xo(8));if(c)throw new Error(Xo(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return p({type:tr.INIT}),(r={dispatch:p,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Xo(10));i=t,p({type:tr.REPLACE})}})[Jo]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Xo(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[Jo]=function(){return this},t},r}function or(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:tr.INIT}))throw new Error(Xo(12));if(void 0===o(void 0,{type:tr.PROBE_UNKNOWN_ACTION()}))throw new Error(Xo(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],h=l(f,e);if(void 0===h)throw e&&e.type,new Error(Xo(14));i[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function rr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function ir(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(Xo(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=rr.apply(void 0,n)(o.dispatch),Yo(Yo({},o),{},{dispatch:r})}}}function nr(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var ar=nr();ar.withExtraArgument=nr;var sr,cr=ar,lr=(sr=function(t,e){return sr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},sr(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}sr(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),fr=function(t,e){var o,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},hr=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},pr=Object.defineProperty,ur=Object.defineProperties,dr=Object.getOwnPropertyDescriptors,yr=Object.getOwnPropertySymbols,gr=Object.prototype.hasOwnProperty,br=Object.prototype.propertyIsEnumerable,mr=function(t,e,o){return e in t?pr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},vr=function(t,e){for(var o in e||(e={}))gr.call(e,o)&&mr(t,o,e[o]);if(yr)for(var r=0,i=yr(e);r<i.length;r++){o=i[r];br.call(e,o)&&mr(t,o,e[o])}return t},Or=function(t,e){return ur(t,dr(e))},xr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?rr:rr.apply(null,arguments)};var wr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return lr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,hr([void 0],t[0].concat(this)))):new(e.bind.apply(e,hr([void 0],t.concat(this))))},e}(Array),Sr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return lr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,hr([void 0],t[0].concat(this)))):new(e.bind.apply(e,hr([void 0],t.concat(this))))},e}(Array);function Nr(t){return Ye(t)?_o(t,(function(){})):t}function Cr(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new wr;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(cr.withExtraArgument(o.extraArgument)):r.push(cr));return r}(t)}}function Er(t){var e,o=Cr(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,h=void 0===f?void 0:f,p=r.enhancers,u=void 0===p?void 0:p;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=or(n)}var d=s;"function"==typeof d&&(d=d(o));var y=ir.apply(void 0,d),g=rr;l&&(g=xr(vr({trace:!1},"object"==typeof l&&l)));var b=new Sr(y),m=b;return Array.isArray(u)?m=hr([y],u):"function"==typeof u&&(m=u(b)),er(e,h,g.apply(void 0,m))}function $r(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return vr(vr({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function 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=vr(vr({},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=hr([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[c]),o.reduce((function(t,o){if(o){var r;if(qe(t))return void 0===(r=o(t,e))?t:r;if(Ye(t))return _o(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}l&&t.addDefaultCase(l)}))}return n.forEach((function(t){var o,r,n=i[t],l=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[l]=o,c[t]=r?$r(l,r):$r(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var 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=$r(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:Or(vr({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=$r(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Or(vr({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=$r(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Wr)(t||"Rejected"),meta:Or(vr({},n||{}),{arg:r,requestId:e,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),p=new a;function u(t){f=t,p.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return fr(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||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return p.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(h,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:p.signal,abort:u,rejectWithValue:function(t,e){return new kr(t,e)},fulfillWithValue:function(t,e){return new Lr(t,e)}})).then((function(e){if(e instanceof kr)throw e;return e instanceof Lr?r(e.payload,h,t,e.meta):r(e,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof kr?n(null,h,t,m.payload,m.meta):n(m,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:h,arg:t,unwrap:function(){return d.then(Ar)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var jr="listenerMiddleware";$r(jr+"/add"),$r(jr+"/removeAll"),$r(jr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Fo];return Bo.get(e,t)},set:function(e){var o=this[Fo];Bo.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Fo];if(!i.P)switch(i.i){case 5:r(i)&&So(i);break;case 4:o(i)&&So(i)}}}function o(t){for(var e=t.t,o=t.k,r=Po(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Fo){var a=e[n];if(void 0===a&&!Qe(e,n))return!0;var s=o[n],c=s&&s[Fo];if(c?c.t!==a:!eo(s,a))return!0}}var l=!!e[Fo];return r.length!==Po(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Mo[t]||(Mo[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[Fo];for(var a=Po(n),s=0;s<a.length;s++){var c=a[s];n[c]=t(c,e||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:fo(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Fo,{value:n,writable:!0}),i},S:function(t,o,i){i?qe(o)&&o[Fo].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Fo];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)Xe(n,(function(e){e!==Fo&&(void 0!==i[e]||Qe(i,e)?a[e]||t(n[e]):(a[e]=!0,So(o)))})),Xe(i,(function(t){void 0!==n[t]||Qe(n,t)||(a[t]=!1,So(o))}));else if(5===s){if(r(o)&&(So(o),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var l=i.length;l<n.length;l++)a[l]=!0;for(var f=Math.min(n.length,i.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Fr{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(Me(i))return i;if(null==r)return;const n=Ur({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Er({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new Fr(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const Kr=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!L(t,e),attribute:!1,...e};R(i)(t,o);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}},Pr=Symbol("elementInternals");var zr,Mr,Br;const Dr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Br=null===(Mr=null===(zr=window.safari)||void 0===zr?void 0:zr.pushNotification)||void 0===Mr?void 0:Mr.toString())&&void 0!==Br?Br:""),Tr=xt`
117
- `;var Zr,_r,Hr,Gr,Vr,qr,Yr,Xr,Jr,Qr,ti,ei,oi,ri;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function u(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),r=0;r<e.length;r++)o[r]=String.fromCharCode(e[r]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,e){this.map[n(t)]=a(e)},c.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},c.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,r,i=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new c(e.headers)),this.method=(o=e.method||this.method||"GET",r=o.toUpperCase(),d.indexOf(r)>-1?r:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),r=o.shift().replace(/\+/g," "),i=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new c(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,r){return new Promise((function(i,n){var a=new y(t,r);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),r=o.shift().trim();if(r){var i=o.join(":").trim();e.append(r,i)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;i(new b(r,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=b),e.Headers=c,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"U",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Zr||(Zr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(_r||(_r={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(Hr||(Hr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Gr||(Gr={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Vr||(Vr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(qr||(qr={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Yr||(Yr={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Xr||(Xr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Jr||(Jr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Qr||(Qr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(ti||(ti={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(ei||(ei={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(oi||(oi={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(ri||(ri={})),ri.PERSONAL_BOOK_SHARE_USER,ri.PERSONAL_BOOK_USER,ri.HTML_EXPORT_USER,ri.PERSONAL_BOOK_USER,ri.PDF_EXPORT_USER,ri.PERSONAL_BOOK_USER,ri.KHUB_ADMIN,ri.CONTENT_PUBLISHER,ri.ADMIN,ri.KHUB_ADMIN,ri.USERS_ADMIN,ri.PORTAL_ADMIN,ri.DEVELOPER,ri.BETA_USER,ri.DEBUG_USER;const ii=xt`
118
- `,ni=Fr.get({name:"ft-app-info",reducers:{setBaseUrl:(t,e)=>{t.baseUrl=e.payload},setApiIntegrationIdentifier:(t,e)=>{t.apiIntegrationIdentifier=e.payload},setUiLocale:(t,e)=>{t.uiLocale=e.payload},setAvailableUiLocales:(t,e)=>{t.availableUiLocales=e.payload},setEditorMode:(t,e)=>{t.editorMode=e.payload},setNoCustom:(t,e)=>{t.noCustom=e.payload},setNoCustomComponent:(t,e)=>{t.noCustomComponent=e.payload},setSession:(t,e)=>{t.session=e.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class ai{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=ni.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?ai.build(t):null!==(e=ai.API)&&void 0!==e?e:ai.API=ai.build()}static await(t){return new Promise((e=>{let o=ai.get(t);if(o)e(o);else{const r=ni.subscribe((()=>{o=ai.get(t),o&&(r(),e(o))}))}}))}}var si;const ci=Symbol("clearAfterUnitTest");class li{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[si]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=ni.getState().uiLocale,ni.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=ni.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};L(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new 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})))}}si=ci,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new li((async(t,e)=>(await ai.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new li((async(t,e)=>(await ai.await()).getCustomMessageContext(t,e))));const fi=window.FluidTopicsI18nService,hi=window.FluidTopicsCustomI18nService;var pi=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 ui extends Fe{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>ai.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return re`
120
+ `;class Me{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,i;t=this.resolvePluralKey(t,e);let r=null!==(i=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==i?i:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),r}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 Be(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var De,Te,Ze;const _e=Symbol("internalReduxEventsUnsubscribers"),He=Symbol("internalStoresUnsubscribers"),Ge=Symbol("internalStores");class Ve extends Fe{constructor(){super(...arguments),this[De]=new Map,this[Te]=new Map,this[Ze]=[]}update(t){var e;super.update(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[Ge].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ge].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ge].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Be(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Ge].delete(e)}setupStore(t,e){this[Ge].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ge].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[He].has(t.store):this[He].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[He].set(t,e.subscribe((()=>this.updateFromStores()))),Be(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 i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[_e].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[He].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[_e].forEach((t=>t())),this[_e]=[]}unsubscribeFromStore(t){this[He].has(t)&&this[He].get(t)(),this[He].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function qe(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ye(t){return!!t&&!!t[Ko]}function Xe(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Po}(t)||Array.isArray(t)||!!t[Fo]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Fo])||io(t)||ro(t))}function Je(t,e,o){void 0===o&&(o=!1),0===Qe(t)?(o?Object.keys:zo)(t).forEach((function(i){o&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(o,i){return e(i,o,t)}))}function Qe(t){var e=t[Ko];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:io(t)?2:ro(t)?3:0}function to(t,e){return 2===Qe(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function eo(t,e,o){var i=Qe(t);2===i?t.set(e,o):3===i?t.add(o):t[e]=o}function oo(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function io(t){return Lo&&t instanceof Map}function ro(t){return Wo&&t instanceof Set}function no(t){return t.o||t.t}function ao(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Mo(t);delete e[Ko];for(var o=zo(e),i=0;i<o.length;i++){var r=o[i],n=e[r];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[r]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function so(t,e){return void 0===e&&(e=!1),lo(t)||Ye(t)||!Xe(t)||(Qe(t)>1&&(t.set=t.add=t.clear=t.delete=co),Object.freeze(t),e&&Je(t,(function(t,e){return so(e,!0)}),!0)),t}function co(){qe(2)}function lo(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function fo(t){var e=Bo[t];return e||qe(18,t),e}function ho(){return Io}function po(t,e){e&&(fo("Patches"),t.u=[],t.s=[],t.v=e)}function uo(t){yo(t),t.p.forEach(bo),t.p=null}function yo(t){t===Io&&(Io=t.l)}function go(t){return Io={p:[],l:Io,h:t,m:!0,_:0}}function bo(t){var e=t[Ko];0===e.i||1===e.i?e.j():e.g=!0}function mo(t,e){e._=e.p.length;var o=e.p[0],i=void 0!==t&&t!==o;return e.h.O||fo("ES5").S(e,t,i),i?(o[Ko].P&&(uo(e),qe(4)),Xe(t)&&(t=vo(e,t),e.l||xo(e,t)),e.u&&fo("Patches").M(o[Ko].t,t,e.u,e.s)):t=vo(e,o,[]),uo(e),e.u&&e.v(e.u,e.s),t!==jo?t:void 0}function vo(t,e,o){if(lo(e))return e;var i=e[Ko];if(!i)return Je(e,(function(r,n){return Oo(t,i,e,r,n,o)}),!0),e;if(i.A!==t)return e;if(!i.P)return xo(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=ao(i.k):i.o,n=r,a=!1;3===i.i&&(n=new Set(r),r.clear(),a=!0),Je(n,(function(e,n){return Oo(t,i,r,e,n,o,a)})),xo(t,r,!1),o&&t.u&&fo("Patches").N(i,o,t.u,t.s)}return i.o}function Oo(t,e,o,i,r,n,a){if(Ye(r)){var s=vo(t,r,n&&e&&3!==e.i&&!to(e.R,i)?n.concat(i):void 0);if(eo(o,i,s),!Ye(s))return;t.m=!1}else a&&o.add(r);if(Xe(r)&&!lo(r)){if(!t.h.D&&t._<1)return;vo(t,r),e&&e.A.l||xo(t,r)}}function xo(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&so(e,o)}function wo(t,e){var o=t[Ko];return(o?no(o):t)[e]}function So(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var i=Object.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function No(t){t.P||(t.P=!0,t.l&&No(t.l))}function Co(t){t.o||(t.o=ao(t.t))}function Eo(t,e,o){var i=io(e)?fo("MapSet").F(e,o):ro(e)?fo("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),i={i:o?1:0,A:e?e.A:ho(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,n=Do;o&&(r=[i],n=To);var a=Proxy.revocable(r,n),s=a.revoke,c=a.proxy;return i.k=c,i.j=s,c}(e,o):fo("ES5").J(e,o);return(o?o.A:ho()).p.push(i),i}function $o(t){return Ye(t)||qe(22,t),function t(e){if(!Xe(e))return e;var o,i=e[Ko],r=Qe(e);if(i){if(!i.P&&(i.i<4||!fo("ES5").K(i)))return i.t;i.I=!0,o=Ro(e,r),i.I=!1}else o=Ro(e,r);return Je(o,(function(e,r){i&&function(t,e){return 2===Qe(t)?t.get(e):t[e]}(i.t,e)===r||eo(o,e,t(r))})),3===r?new Set(o):o}(t)}function Ro(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ao(t)}De=He,Te=Ge,Ze=_e;var Uo,Io,ko="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Lo="undefined"!=typeof Map,Wo="undefined"!=typeof Set,Ao="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,jo=ko?Symbol.for("immer-nothing"):((Uo={})["immer-nothing"]=!0,Uo),Fo=ko?Symbol.for("immer-draftable"):"__$immer_draftable",Ko=ko?Symbol.for("immer-state"):"__$immer_state",Po=""+Object.prototype.constructor,zo="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Mo=Object.getOwnPropertyDescriptors||function(t){var e={};return zo(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Bo={},Do={get:function(t,e){if(e===Ko)return t;var o=no(t);if(!to(o,e))return function(t,e,o){var i,r=So(e,o);return r?"value"in r?r.value:null===(i=r.get)||void 0===i?void 0:i.call(t.k):void 0}(t,o,e);var i=o[e];return t.I||!Xe(i)?i:i===wo(t.t,e)?(Co(t),t.o[e]=Eo(t.A.h,i,t)):i},has:function(t,e){return e in no(t)},ownKeys:function(t){return Reflect.ownKeys(no(t))},set:function(t,e,o){var i=So(no(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=wo(no(t),e),n=null==r?void 0:r[Ko];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(oo(o,r)&&(void 0!==o||to(t.t,e)))return!0;Co(t),No(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==wo(t.t,e)||e in t.t?(t.R[e]=!1,Co(t),No(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=no(t),i=Reflect.getOwnPropertyDescriptor(o,e);return i?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:i.enumerable,value:o[e]}:i},defineProperty:function(){qe(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){qe(12)}},To={};Je(Do,(function(t,e){To[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),To.deleteProperty=function(t,e){return To.set.call(this,t,e,void 0)},To.set=function(t,e,o){return Do.set.call(this,t[0],e,o,t[0])};var Zo=function(){function t(t){var e=this;this.O=Ao,this.D=!0,this.produce=function(t,o,i){if("function"==typeof t&&"function"!=typeof o){var r=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var i=arguments.length,a=Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var i;return(i=o).call.apply(i,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&qe(6),void 0!==i&&"function"!=typeof i&&qe(7),Xe(t)){var s=go(e),c=Eo(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?uo(s):yo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return po(s,i),mo(t,s)}),(function(t){throw uo(s),t})):(po(s,i),mo(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===jo&&(a=void 0),e.D&&so(a,!0),i){var f=[],h=[];fo("Patches").M(t,a,f,h),i(f,h)}return a}qe(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var i=arguments.length,r=Array(i>1?i-1:0),n=1;n<i;n++)r[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(r))}))};var i,r,n=e.produce(t,o,(function(t,e){i=t,r=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,i,r]})):[n,i,r]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){Xe(t)||qe(8),Ye(t)&&(t=$o(t));var e=go(this),o=Eo(this,t,void 0);return o[Ko].C=!0,yo(e),o},e.finishDraft=function(t,e){var o=(t&&t[Ko]).A;return po(o,e),mo(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Ao&&qe(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var i=e[o];if(0===i.path.length&&"replace"===i.op){t=i.value;break}}o>-1&&(e=e.slice(o+1));var r=fo("Patches").$;return Ye(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),_o=new Zo,Ho=_o.produce;function Go(t){return Go="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Go(t)}function Vo(t){var e=function(t,e){if("object"!==Go(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==Go(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Go(e)?e:String(e)}function qo(t,e,o){return(e=Vo(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Yo(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function Xo(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Yo(Object(o),!0).forEach((function(e){qo(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Yo(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function Jo(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}_o.produceWithPatches.bind(_o),_o.setAutoFreeze.bind(_o),_o.setUseProxies.bind(_o),_o.applyPatches.bind(_o),_o.createDraft.bind(_o),_o.finishDraft.bind(_o);var Qo="function"==typeof Symbol&&Symbol.observable||"@@observable",ti=function(){return Math.random().toString(36).substring(7).split("").join(".")},ei={INIT:"@@redux/INIT"+ti(),REPLACE:"@@redux/REPLACE"+ti(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ti()}};function oi(t,e,o){var i;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(Jo(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(Jo(1));return o(oi)(t,e)}if("function"!=typeof t)throw new Error(Jo(2));var r=t,n=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Jo(3));return n}function h(t){if("function"!=typeof t)throw new Error(Jo(4));if(c)throw new Error(Jo(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(Jo(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function p(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(Jo(7));if(void 0===t.type)throw new Error(Jo(8));if(c)throw new Error(Jo(9));try{c=!0,n=r(n,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return p({type:ei.INIT}),(i={dispatch:p,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Jo(10));r=t,p({type:ei.REPLACE})}})[Qo]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Jo(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[Qo]=function(){return this},t},i}function ii(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var r=e[i];"function"==typeof t[r]&&(o[r]=t[r])}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:ei.INIT}))throw new Error(Jo(12));if(void 0===o(void 0,{type:ei.PROBE_UNKNOWN_ACTION()}))throw new Error(Jo(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var i=!1,r={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],h=l(f,e);if(void 0===h)throw e&&e.type,new Error(Jo(14));r[c]=h,i=i||h!==f}return(i=i||a.length!==Object.keys(t).length)?r:t}}function ri(){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 ni(){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),i=function(){throw new Error(Jo(15))},r={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return i=ri.apply(void 0,n)(o.dispatch),Xo(Xo({},o),{},{dispatch:i})}}}function ai(t){return function(e){var o=e.dispatch,i=e.getState;return function(e){return function(r){return"function"==typeof r?r(o,i,t):e(r)}}}}var si=ai();si.withExtraArgument=ai;var ci,li=si,fi=(ci=function(t,e){return ci=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])},ci(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}ci(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),hi=function(t,e){var o,i,r,n,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[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,i&&(r=2&n[0]?i.return:n[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;switch(i=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,i=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){a.label=n[1];break}if(6===n[0]&&a.label<r[1]){a.label=r[1],r=n;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(n);break}r[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],i=0}finally{o=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},pi=function(t,e){for(var o=0,i=e.length,r=t.length;o<i;o++,r++)t[r]=e[o];return t},ui=Object.defineProperty,di=Object.defineProperties,yi=Object.getOwnPropertyDescriptors,gi=Object.getOwnPropertySymbols,bi=Object.prototype.hasOwnProperty,mi=Object.prototype.propertyIsEnumerable,vi=function(t,e,o){return e in t?ui(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Oi=function(t,e){for(var o in e||(e={}))bi.call(e,o)&&vi(t,o,e[o]);if(gi)for(var i=0,r=gi(e);i<r.length;i++){o=r[i];mi.call(e,o)&&vi(t,o,e[o])}return t},xi=function(t,e){return di(t,yi(e))},wi="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ri:ri.apply(null,arguments)};var Si=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return fi(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,pi([void 0],t[0].concat(this)))):new(e.bind.apply(e,pi([void 0],t.concat(this))))},e}(Array),Ni=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return fi(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,pi([void 0],t[0].concat(this)))):new(e.bind.apply(e,pi([void 0],t.concat(this))))},e}(Array);function Ci(t){return Xe(t)?Ho(t,(function(){})):t}function Ei(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var i=new Si;o&&(!function(t){return"boolean"==typeof t}(o)?i.push(li.withExtraArgument(o.extraArgument)):i.push(li));return i}(t)}}function $i(t){var e,o=Ei(),i=t||{},r=i.reducer,n=void 0===r?void 0:r,a=i.middleware,s=void 0===a?o():a,c=i.devTools,l=void 0===c||c,f=i.preloadedState,h=void 0===f?void 0:f,p=i.enhancers,u=void 0===p?void 0:p;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=ii(n)}var d=s;"function"==typeof d&&(d=d(o));var y=ni.apply(void 0,d),g=ri;l&&(g=wi(Oi({trace:!1},"object"==typeof l&&l)));var b=new Ni(y),m=b;return Array.isArray(u)?m=pi([y],u):"function"==typeof u&&(m=u(b)),oi(e,h,g.apply(void 0,m))}function Ri(t,e){function o(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(e){var r=e.apply(void 0,o);if(!r)throw new Error("prepareAction did not return an object");return Oi(Oi({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.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 Ui(t){var e,o={},i=[],r={addCase:function(t,e){var i="string"==typeof t?t:t.type;if(i in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[i]=e,r},addMatcher:function(t,e){return i.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[o,i,e]}function Ii(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,i="function"==typeof t.initialState?t.initialState:Ci(t.initialState),r=t.reducers||{},n=Object.keys(r),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Ui(t.extraReducers):[t.extraReducers],o=e[0],r=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,c=e[2],l=void 0===c?void 0:c,f=Oi(Oi({},r),s);return function(t,e,o,i){void 0===o&&(o=[]);var r,n="function"==typeof e?Ui(e):[e,o,i],a=n[0],s=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return Ci(t())};else{var l=Ci(t);r=function(){return l}}function f(t,e){void 0===t&&(t=r());var o=pi([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 i;if(Ye(t))return void 0===(i=o(t,e))?t:i;if(Xe(t))return Ho(t,(function(t){return o(t,e)}));if(void 0===(i=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return t}),t)}return f.getInitialState=r,f}(i,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,i=a;o<i.length;o++){var r=i[o];t.addMatcher(r.matcher,r.reducer)}l&&t.addDefaultCase(l)}))}return n.forEach((function(t){var o,i,n=r[t],l=e+"/"+t;"reducer"in n?(o=n.reducer,i=n.prepare):o=n,a[t]=o,s[l]=o,c[t]=i?Ri(l,i):Ri(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 ki=["name","message","stack","code"],Li=function(t,e){this.payload=t,this.meta=e},Wi=function(t,e){this.payload=t,this.meta=e},Ai=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,i=ki;o<i.length;o++){var r=i[o];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function ji(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 i=Ri(t+"/fulfilled",(function(t,e,o,i){return{payload:t,meta:xi(Oi({},i||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),r=Ri(t+"/pending",(function(t,e,o){return{payload:void 0,meta:xi(Oi({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Ri(t+"/rejected",(function(t,e,i,r,n){return{payload:r,error:(o&&o.serializeError||Ai)(t||"Rejected"),meta:xi(Oi({},n||{}),{arg:i,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),p=new a;function u(t){f=t,p.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return hi(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||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return p.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(r(h,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:p.signal,abort:u,rejectWithValue:function(t,e){return new Li(t,e)},fulfillWithValue:function(t,e){return new Wi(t,e)}})).then((function(e){if(e instanceof Li)throw e;return e instanceof Wi?i(e.payload,h,t,e.meta):i(e,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Li?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{r(y.next(t))}catch(t){e(t)}},i=function(t){try{r(y.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,i)};r((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:h,arg:t,unwrap:function(){return d.then(ji)}})}}),{pending:r,rejected:n,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var Fi="listenerMiddleware";Ri(Fi+"/add"),Ri(Fi+"/removeAll"),Ri(Fi+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=r[t];return o?o.enumerable=e:r[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Ko];return Do.get(e,t)},set:function(e){var o=this[Ko];Do.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][Ko];if(!r.P)switch(r.i){case 5:i(r)&&No(r);break;case 4:o(r)&&No(r)}}}function o(t){for(var e=t.t,o=t.k,i=zo(o),r=i.length-1;r>=0;r--){var n=i[r];if(n!==Ko){var a=e[n];if(void 0===a&&!to(e,n))return!0;var s=o[n],c=s&&s[Ko];if(c?c.t!==a:!oo(s,a))return!0}}var l=!!e[Ko];return i.length!==zo(e).length+(l?0:1)}function i(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 i=0;i<e.length;i++)if(!e.hasOwnProperty(i))return!0;return!1}var r={};!function(t,e){Bo[t]||(Bo[t]=e)}("ES5",{J:function(e,o){var i=Array.isArray(e),r=function(e,o){if(e){for(var i=Array(o.length),r=0;r<o.length;r++)Object.defineProperty(i,""+r,t(r,!0));return i}var n=Mo(o);delete n[Ko];for(var a=zo(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)}(i,e),n={i:i?5:4,A:o?o.A:ho(),P:!1,I:!1,R:{},l:o,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,Ko,{value:n,writable:!0}),r},S:function(t,o,r){r?Ye(o)&&o[Ko].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Ko];if(o){var r=o.t,n=o.k,a=o.R,s=o.i;if(4===s)Je(n,(function(e){e!==Ko&&(void 0!==r[e]||to(r,e)?a[e]||t(n[e]):(a[e]=!0,No(o)))})),Je(r,(function(t){void 0!==n[t]||to(n,t)||(a[t]=!1,No(o))}));else if(5===s){if(i(o)&&(No(o),a.length=!0),n.length<r.length)for(var c=n.length;c<r.length;c++)a[c]=!1;else for(var l=r.length;l<n.length;l++)a[l]=!0;for(var f=Math.min(n.length,r.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):i(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ki{static get(t){var e;const o="string"==typeof t?t:t.name,i="string"==typeof t?void 0:t,r=window.ftReduxStores[o];if(Be(r))return r;if(null==i)return;const n=Ii({...i,reducers:null!==(e=i.reducers)&&void 0!==e?e:{}}),a=$i({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[i.name]=new Ki(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 i=e,r=t[i];return r?(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[i]: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 Pi=t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!L(t,e),attribute:!1,...e};R(r)(t,o);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(o,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[o],store:e.store})}},zi=Symbol("elementInternals");var Mi,Bi,Di;const Ti=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Di=null===(Bi=null===(Mi=window.safari)||void 0===Mi?void 0:Mi.pushNotification)||void 0===Bi?void 0:Bi.toString())&&void 0!==Di?Di:""),Zi=xt`
121
+ `;var _i,Hi,Gi,Vi,qi,Yi,Xi,Ji,Qi,tr,er,or,ir,rr;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function u(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),i=0;i<e.length;i++)o[i]=String.fromCharCode(e[i]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,e){this.map[n(t)]=a(e)},c.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},c.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,i,r=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new c(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),d.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),i=o.shift().replace(/\+/g," "),r=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(r))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new c(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,i){return new Promise((function(r,n){var a=new y(t,i);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),i=o.shift().trim();if(i){var r=o.join(":").trim();e.append(i,r)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new b(i,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=b),e.Headers=c,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"U",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(_i||(_i={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Hi||(Hi={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(Gi||(Gi={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Vi||(Vi={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(qi||(qi={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Yi||(Yi={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Xi||(Xi={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Ji||(Ji={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Qi||(Qi={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(tr||(tr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(er||(er={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(or||(or={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(ir||(ir={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(rr||(rr={})),rr.PERSONAL_BOOK_SHARE_USER,rr.PERSONAL_BOOK_USER,rr.HTML_EXPORT_USER,rr.PERSONAL_BOOK_USER,rr.PDF_EXPORT_USER,rr.PERSONAL_BOOK_USER,rr.KHUB_ADMIN,rr.CONTENT_PUBLISHER,rr.ADMIN,rr.KHUB_ADMIN,rr.USERS_ADMIN,rr.PORTAL_ADMIN,rr.DEVELOPER,rr.BETA_USER,rr.DEBUG_USER;const nr=xt`
122
+ `,ar=Ki.get({name:"ft-app-info",reducers:{setBaseUrl:(t,e)=>{t.baseUrl=e.payload},setApiIntegrationIdentifier:(t,e)=>{t.apiIntegrationIdentifier=e.payload},setUiLocale:(t,e)=>{t.uiLocale=e.payload},setAvailableUiLocales:(t,e)=>{t.availableUiLocales=e.payload},setEditorMode:(t,e)=>{t.editorMode=e.payload},setNoCustom:(t,e)=>{t.noCustom=e.payload},setNoCustomComponent:(t,e)=>{t.noCustomComponent=e.payload},setSession:(t,e)=>{t.session=e.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class sr{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=ar.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static get(t){var e;return null!=t?sr.build(t):null!==(e=sr.API)&&void 0!==e?e:sr.API=sr.build()}static await(t){return new Promise((e=>{let o=sr.get(t);if(o)e(o);else{const i=ar.subscribe((()=>{o=sr.get(t),o&&(i(),e(o))}))}}))}}var cr;const lr=Symbol("clearAfterUnitTest");class fr{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new i,this.listeners={},this.currentUiLocale="",this[cr]=()=>{this.defaultMessages={},this.cache=new i,this.listeners={}},this.currentUiLocale=ar.getState().uiLocale,ar.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=ar.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 i={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};L(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var i,r,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(r=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==r?r:{};return new Me(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}cr=lr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new fr((async(t,e)=>(await sr.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new fr((async(t,e)=>(await sr.await()).getCustomMessageContext(t,e))));const hr=window.FluidTopicsI18nService,pr=window.FluidTopicsCustomI18nService;var ur=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class dr extends Fe{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>sr.get(),this.cache=new i,this.cleanSessionDebouncer=new r}render(){return ie`
119
123
  <slot></slot>
120
- `}update(t){super.update(t),t.has("baseUrl")&&ni.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&ni.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&ni.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&ni.actions.setNoCustom(this.noCustom),t.has("editorMode")&&ni.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&ni.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&ni.actions.setSession(this.session),t.has("availableUiLocales")&&ni.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>fi.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const e=await t.getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),e.idleTimeoutInMillis),e}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}ui.elementDefinitions={},ui.styles=ii,pi([R()],ui.prototype,"baseUrl",void 0),pi([R()],ui.prototype,"apiIntegrationIdentifier",void 0),pi([R()],ui.prototype,"uiLocale",void 0),pi([A([])],ui.prototype,"availableUiLocales",void 0),pi([R({type:Boolean})],ui.prototype,"editorMode",void 0),pi([R({type:Boolean})],ui.prototype,"noCustom",void 0),pi([R({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],ui.prototype,"noCustomComponent",void 0),pi([R({type:Boolean})],ui.prototype,"withManualResources",void 0),pi([A([])],ui.prototype,"messageContexts",void 0),pi([A(void 0)],ui.prototype,"session",void 0),pi([R({type:Object})],ui.prototype,"apiProvider",void 0);class di{async listMySearches(){var t;return(null===(t=ni.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await ai.await()).listMySearches(ni.getState().session.profile.userId):[]}}const yi=new r;class gi{async listMyBookmarks(){return yi.get("bookmarks",(async()=>(await ai.await()).listMyBookmarks(ni.getState().session.profile.userId)))}clearCache(){yi.clear("bookmarks")}}const bi=Fr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=ni.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new gi,ni.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=ni.getState();L(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){bi.actions.savedSearches(void 0)}clearMyBookmarks(){bi.actions.bookmarks(void 0)}async reloadMySearches(){const t=new di,e=await t.listMySearches();bi.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;bi.actions.bookmarks(e)}}},W("ft-app-context")(ui);class mi extends Event{constructor(){super(mi.eventName)}}mi.eventName="search-context-clear-all-filters";var vi=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 Oi extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const xi=Symbol("registerInterval");class wi extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[xi]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[xi]):this.dispatchEvent(new Oi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=xi,vi([U()],o.prototype,"stateManager",void 0),o}(Ge)){}var Si=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 Ni extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const Ci=Symbol("registerInterval");class Ei extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}connectedCallback(){super.connectedCallback(),this[Ci]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[Ci]):this.dispatchEvent(new Ni)}disconnectedCallback(){super.disconnectedCallback(),this.result=void 0}}return e=Ci,Si([R({attribute:!1})],o.prototype,"result",void 0),o}(wi)){}const $i=xt`
121
- `;var Ri=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 Ui=Symbol("i18nProperties"),Ii=Symbol("i18nUnsubs");function ki(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?hi:fi}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[Ui])||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[Ui])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Ui]&&new Set([...this[Ui].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Ii].has(t)||this[Ii].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[Ii].forEach((t=>t())),this[Ii].clear()}}return e=Ii,Ri([R({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Li extends(ki(Fe)){}class Wi extends(ki(Ge)){}var Ai=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 ji extends Wi{constructor(){super(),this.editorMode=!1,this.addStore(ni)}render(){return this.key&&this.context?re`
124
+ `}update(t){super.update(t),t.has("baseUrl")&&ar.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&ar.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&ar.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&ar.actions.setNoCustom(this.noCustom),t.has("editorMode")&&ar.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&ar.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&ar.actions.setSession(this.session),t.has("availableUiLocales")&&ar.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>hr.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()))))}}dr.elementDefinitions={},dr.styles=nr,ur([R()],dr.prototype,"baseUrl",void 0),ur([R()],dr.prototype,"apiIntegrationIdentifier",void 0),ur([R()],dr.prototype,"uiLocale",void 0),ur([A([])],dr.prototype,"availableUiLocales",void 0),ur([R({type:Boolean})],dr.prototype,"editorMode",void 0),ur([R({type:Boolean})],dr.prototype,"noCustom",void 0),ur([R({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],dr.prototype,"noCustomComponent",void 0),ur([R({type:Boolean})],dr.prototype,"withManualResources",void 0),ur([A([])],dr.prototype,"messageContexts",void 0),ur([A(void 0)],dr.prototype,"session",void 0),ur([R({type:Object})],dr.prototype,"apiProvider",void 0);class yr{async listMySearches(){var t;return(null===(t=ar.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await sr.await()).listMySearches(ar.getState().session.profile.userId):[]}}const gr=new i;class br{async listMyBookmarks(){return gr.get("bookmarks",(async()=>(await sr.await()).listMyBookmarks(ar.getState().session.profile.userId)))}clearCache(){gr.clear("bookmarks")}}const mr=Ki.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=ar.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new br,ar.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=ar.getState();L(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){mr.actions.savedSearches(void 0)}clearMyBookmarks(){mr.actions.bookmarks(void 0)}async reloadMySearches(){const t=new yr,e=await t.listMySearches();mr.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;mr.actions.bookmarks(e)}}},W("ft-app-context")(dr);class vr extends Event{constructor(){super(vr.eventName)}}vr.eventName="search-context-clear-all-filters";var Or=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class xr extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const wr=Symbol("registerInterval");class Sr extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[wr]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[wr]):this.dispatchEvent(new xr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=wr,Or([U()],o.prototype,"stateManager",void 0),o}(Ve)){}var Nr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Cr extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const Er=Symbol("registerInterval");class $r extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}connectedCallback(){super.connectedCallback(),this[Er]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[Er]):this.dispatchEvent(new Cr)}disconnectedCallback(){super.disconnectedCallback(),this.result=void 0}}return e=Er,Nr([R({attribute:!1})],o.prototype,"result",void 0),o}(Sr)){}const Rr=xt`
125
+ `;var Ur=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ir=Symbol("i18nProperties"),kr=Symbol("i18nUnsubs");function Lr(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?pr:hr}i18n(t,e,...o){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var e;null===(e=this[Ir])||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[Ir])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Ir]&&new Set([...this[Ir].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[kr].has(t)||this[kr].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[kr].forEach((t=>t())),this[kr].clear()}}return e=kr,Ur([R({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Wr extends(Lr(Fe)){}class Ar extends(Lr(Ve)){}var jr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Fr extends Ar{constructor(){super(),this.editorMode=!1,this.addStore(ar)}render(){return this.key&&this.context?ie`
122
126
  <span class="ft-i18n">
123
127
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
124
128
  </span>
125
- `:this.editorMode?"Select a context and a label key.":ne}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}ji.elementDefinitions={},ji.styles=$i,Ai([Kr()],ji.prototype,"editorMode",void 0),Ai([R()],ji.prototype,"context",void 0),Ai([R()],ji.prototype,"key",void 0),Ai([A([])],ji.prototype,"args",void 0),Ai([R()],ji.prototype,"defaultMessage",void 0);class Fi{static build(t){return new Fi(t)}static fromGwt(t){return new Fi(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)=>fi.resolveMessage(this.name,e,...t)})}}W("ft-i18n")(ji);const Ki=Fi.build("designedSearchResultMetadata"),Pi=Symbol.for(""),zi=t=>{if(t?.r===Pi)return t?._$litStatic$},Mi=t=>({_$litStatic$:t,r:Pi}),Bi=new Map,Di=(t=>(e,...o)=>{const r=o.length;let i,n;const a=[],s=[];let c,l=0,f=!1;for(;l<r;){for(c=e[l];l<r&&void 0!==(n=o[l],i=zi(n));)c+=i+e[++l],f=!0;l!==r&&s.push(n),a.push(c),l++}if(l===r&&a.push(e[r]),f){const t=a.join("$$lit$$");void 0===(e=Bi.get(t))&&(a.raw=a,Bi.set(t,e=a)),o=s}return t(e,...o)})(tt);
129
+ `:this.editorMode?"Select a context and a label key.":ne}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Fr.elementDefinitions={},Fr.styles=Rr,jr([Pi()],Fr.prototype,"editorMode",void 0),jr([R()],Fr.prototype,"context",void 0),jr([R()],Fr.prototype,"key",void 0),jr([A([])],Fr.prototype,"args",void 0),jr([R()],Fr.prototype,"defaultMessage",void 0);class Kr{static build(t){return new Kr(t)}static fromGwt(t){return new Kr(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)=>hr.resolveMessage(this.name,e,...t)})}}W("ft-i18n")(Fr);const Pr=Kr.build("designedSearchResultMetadata"),zr=Symbol.for(""),Mr=t=>{if(t?.r===zr)return t?._$litStatic$},Br=t=>({_$litStatic$:t,r:zr}),Dr=new Map,Tr=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let c,l=0,f=!1;for(;l<i;){for(c=e[l];l<i&&void 0!==(n=o[l],r=Mr(n));)c+=r+e[++l],f=!0;l!==i&&s.push(n),a.push(c),l++}if(l===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=Dr.get(t))&&(a.raw=a,Dr.set(t,e=a)),o=s}return t(e,...o)})(tt);
126
130
  /**
127
131
  * @license
128
132
  * Copyright 2020 Google LLC
129
133
  * SPDX-License-Identifier: BSD-3-Clause
130
- */var Ti;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Ti||(Ti={}));const Zi=xe.extend("--ft-typography-font-family","",$e.titleFont),_i=xe.extend("--ft-typography-font-family","",$e.contentFont),Hi={fontFamily:_i,fontSize:xe.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:xe.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:xe.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:xe.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:xe.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Gi=xe.extend("--ft-typography-title-font-family","",Zi),Vi=xe.extend("--ft-typography-title-font-size","",Hi.fontSize,"20px"),qi=xe.extend("--ft-typography-title-font-weight","",Hi.fontWeight,"normal"),Yi=xe.extend("--ft-typography-title-letter-spacing","",Hi.letterSpacing,"0.15px"),Xi=xe.extend("--ft-typography-title-line-height","",Hi.lineHeight,"1.2"),Ji=xe.extend("--ft-typography-title-text-transform","",Hi.textTransform,"inherit"),Qi=xe.extend("--ft-typography-title-dense-font-family","",Zi),tn=xe.extend("--ft-typography-title-dense-font-size","",Hi.fontSize,"14px"),en=xe.extend("--ft-typography-title-dense-font-weight","",Hi.fontWeight,"normal"),on=xe.extend("--ft-typography-title-dense-letter-spacing","",Hi.letterSpacing,"0.105px"),rn=xe.extend("--ft-typography-title-dense-line-height","",Hi.lineHeight,"1.7"),nn=xe.extend("--ft-typography-title-dense-text-transform","",Hi.textTransform,"inherit"),an=xe.extend("--ft-typography-subtitle1-font-family","",_i),sn=xe.extend("--ft-typography-subtitle1-font-size","",Hi.fontSize,"16px"),cn=xe.extend("--ft-typography-subtitle1-font-weight","",Hi.fontWeight,"600"),ln=xe.extend("--ft-typography-subtitle1-letter-spacing","",Hi.letterSpacing,"0.144px"),fn=xe.extend("--ft-typography-subtitle1-line-height","",Hi.lineHeight,"1.5"),hn=xe.extend("--ft-typography-subtitle1-text-transform","",Hi.textTransform,"inherit"),pn=xe.extend("--ft-typography-subtitle2-font-family","",_i),un=xe.extend("--ft-typography-subtitle2-font-size","",Hi.fontSize,"14px"),dn=xe.extend("--ft-typography-subtitle2-font-weight","",Hi.fontWeight,"normal"),yn=xe.extend("--ft-typography-subtitle2-letter-spacing","",Hi.letterSpacing,"0.098px"),gn=xe.extend("--ft-typography-subtitle2-line-height","",Hi.lineHeight,"1.7"),bn=xe.extend("--ft-typography-subtitle2-text-transform","",Hi.textTransform,"inherit"),mn=xe.extend("--ft-typography-body1-font-family","",_i),vn=xe.extend("--ft-typography-body1-font-size","",Hi.fontSize,"16px"),On=xe.extend("--ft-typography-body1-font-weight","",Hi.fontWeight,"normal"),xn=xe.extend("--ft-typography-body1-letter-spacing","",Hi.letterSpacing,"0.496px"),wn=xe.extend("--ft-typography-body1-line-height","",Hi.lineHeight,"1.5"),Sn=xe.extend("--ft-typography-body1-text-transform","",Hi.textTransform,"inherit"),Nn={fontFamily:xe.extend("--ft-typography-body2-font-family","",_i),fontSize:xe.extend("--ft-typography-body2-font-size","",Hi.fontSize,"14px"),fontWeight:xe.extend("--ft-typography-body2-font-weight","",Hi.fontWeight,"normal"),letterSpacing:xe.extend("--ft-typography-body2-letter-spacing","",Hi.letterSpacing,"0.252px"),lineHeight:xe.extend("--ft-typography-body2-line-height","",Hi.lineHeight,"1.4"),textTransform:xe.extend("--ft-typography-body2-text-transform","",Hi.textTransform,"inherit")},Cn=xe.extend("--ft-typography-caption-font-family","",_i),En=xe.extend("--ft-typography-caption-font-size","",Hi.fontSize,"12px"),$n=xe.extend("--ft-typography-caption-font-weight","",Hi.fontWeight,"normal"),Rn=xe.extend("--ft-typography-caption-letter-spacing","",Hi.letterSpacing,"0.396px"),Un=xe.extend("--ft-typography-caption-line-height","",Hi.lineHeight,"1.33"),In=xe.extend("--ft-typography-caption-text-transform","",Hi.textTransform,"inherit"),kn=xe.extend("--ft-typography-breadcrumb-font-family","",_i),Ln=xe.extend("--ft-typography-breadcrumb-font-size","",Hi.fontSize,"10px"),Wn=xe.extend("--ft-typography-breadcrumb-font-weight","",Hi.fontWeight,"normal"),An=xe.extend("--ft-typography-breadcrumb-letter-spacing","",Hi.letterSpacing,"0.33px"),jn=xe.extend("--ft-typography-breadcrumb-line-height","",Hi.lineHeight,"1.6"),Fn=xe.extend("--ft-typography-breadcrumb-text-transform","",Hi.textTransform,"inherit"),Kn=xe.extend("--ft-typography-overline-font-family","",_i),Pn=xe.extend("--ft-typography-overline-font-size","",Hi.fontSize,"10px"),zn=xe.extend("--ft-typography-overline-font-weight","",Hi.fontWeight,"normal"),Mn=xe.extend("--ft-typography-overline-letter-spacing","",Hi.letterSpacing,"1.5px"),Bn=xe.extend("--ft-typography-overline-line-height","",Hi.lineHeight,"1.6"),Dn=xe.extend("--ft-typography-overline-text-transform","",Hi.textTransform,"uppercase"),Tn={fontFamily:xe.extend("--ft-typography-button-font-family","",_i),fontSize:xe.extend("--ft-typography-button-font-size","",Hi.fontSize,"14px"),fontWeight:xe.extend("--ft-typography-button-font-weight","",Hi.fontWeight,"600"),letterSpacing:xe.extend("--ft-typography-button-letter-spacing","",Hi.letterSpacing,"1.246px"),lineHeight:xe.extend("--ft-typography-button-line-height","",Hi.lineHeight,"1.15"),textTransform:xe.extend("--ft-typography-button-text-transform","",Hi.textTransform,"uppercase")},Zn=xt`
134
+ */var Zr;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Zr||(Zr={}));const _r=xe.extend("--ft-typography-font-family","",$e.titleFont),Hr=xe.extend("--ft-typography-font-family","",$e.contentFont),Gr={fontFamily:Hr,fontSize:xe.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:xe.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:xe.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:xe.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:xe.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Vr=xe.extend("--ft-typography-title-font-family","",_r),qr=xe.extend("--ft-typography-title-font-size","",Gr.fontSize,"20px"),Yr=xe.extend("--ft-typography-title-font-weight","",Gr.fontWeight,"normal"),Xr=xe.extend("--ft-typography-title-letter-spacing","",Gr.letterSpacing,"0.15px"),Jr=xe.extend("--ft-typography-title-line-height","",Gr.lineHeight,"1.2"),Qr=xe.extend("--ft-typography-title-text-transform","",Gr.textTransform,"inherit"),tn=xe.extend("--ft-typography-title-dense-font-family","",_r),en=xe.extend("--ft-typography-title-dense-font-size","",Gr.fontSize,"14px"),on=xe.extend("--ft-typography-title-dense-font-weight","",Gr.fontWeight,"normal"),rn=xe.extend("--ft-typography-title-dense-letter-spacing","",Gr.letterSpacing,"0.105px"),nn=xe.extend("--ft-typography-title-dense-line-height","",Gr.lineHeight,"1.7"),an=xe.extend("--ft-typography-title-dense-text-transform","",Gr.textTransform,"inherit"),sn=xe.extend("--ft-typography-subtitle1-font-family","",Hr),cn=xe.extend("--ft-typography-subtitle1-font-size","",Gr.fontSize,"16px"),ln=xe.extend("--ft-typography-subtitle1-font-weight","",Gr.fontWeight,"600"),fn=xe.extend("--ft-typography-subtitle1-letter-spacing","",Gr.letterSpacing,"0.144px"),hn=xe.extend("--ft-typography-subtitle1-line-height","",Gr.lineHeight,"1.5"),pn=xe.extend("--ft-typography-subtitle1-text-transform","",Gr.textTransform,"inherit"),un=xe.extend("--ft-typography-subtitle2-font-family","",Hr),dn=xe.extend("--ft-typography-subtitle2-font-size","",Gr.fontSize,"14px"),yn=xe.extend("--ft-typography-subtitle2-font-weight","",Gr.fontWeight,"normal"),gn=xe.extend("--ft-typography-subtitle2-letter-spacing","",Gr.letterSpacing,"0.098px"),bn=xe.extend("--ft-typography-subtitle2-line-height","",Gr.lineHeight,"1.7"),mn=xe.extend("--ft-typography-subtitle2-text-transform","",Gr.textTransform,"inherit"),vn=xe.extend("--ft-typography-body1-font-family","",Hr),On=xe.extend("--ft-typography-body1-font-size","",Gr.fontSize,"16px"),xn=xe.extend("--ft-typography-body1-font-weight","",Gr.fontWeight,"normal"),wn=xe.extend("--ft-typography-body1-letter-spacing","",Gr.letterSpacing,"0.496px"),Sn=xe.extend("--ft-typography-body1-line-height","",Gr.lineHeight,"1.5"),Nn=xe.extend("--ft-typography-body1-text-transform","",Gr.textTransform,"inherit"),Cn={fontFamily:xe.extend("--ft-typography-body2-font-family","",Hr),fontSize:xe.extend("--ft-typography-body2-font-size","",Gr.fontSize,"14px"),fontWeight:xe.extend("--ft-typography-body2-font-weight","",Gr.fontWeight,"normal"),letterSpacing:xe.extend("--ft-typography-body2-letter-spacing","",Gr.letterSpacing,"0.252px"),lineHeight:xe.extend("--ft-typography-body2-line-height","",Gr.lineHeight,"1.4"),textTransform:xe.extend("--ft-typography-body2-text-transform","",Gr.textTransform,"inherit")},En=xe.extend("--ft-typography-caption-font-family","",Hr),$n=xe.extend("--ft-typography-caption-font-size","",Gr.fontSize,"12px"),Rn=xe.extend("--ft-typography-caption-font-weight","",Gr.fontWeight,"normal"),Un=xe.extend("--ft-typography-caption-letter-spacing","",Gr.letterSpacing,"0.396px"),In=xe.extend("--ft-typography-caption-line-height","",Gr.lineHeight,"1.33"),kn=xe.extend("--ft-typography-caption-text-transform","",Gr.textTransform,"inherit"),Ln=xe.extend("--ft-typography-breadcrumb-font-family","",Hr),Wn=xe.extend("--ft-typography-breadcrumb-font-size","",Gr.fontSize,"10px"),An=xe.extend("--ft-typography-breadcrumb-font-weight","",Gr.fontWeight,"normal"),jn=xe.extend("--ft-typography-breadcrumb-letter-spacing","",Gr.letterSpacing,"0.33px"),Fn=xe.extend("--ft-typography-breadcrumb-line-height","",Gr.lineHeight,"1.6"),Kn=xe.extend("--ft-typography-breadcrumb-text-transform","",Gr.textTransform,"inherit"),Pn=xe.extend("--ft-typography-overline-font-family","",Hr),zn=xe.extend("--ft-typography-overline-font-size","",Gr.fontSize,"10px"),Mn=xe.extend("--ft-typography-overline-font-weight","",Gr.fontWeight,"normal"),Bn=xe.extend("--ft-typography-overline-letter-spacing","",Gr.letterSpacing,"1.5px"),Dn=xe.extend("--ft-typography-overline-line-height","",Gr.lineHeight,"1.6"),Tn=xe.extend("--ft-typography-overline-text-transform","",Gr.textTransform,"uppercase"),Zn={fontFamily:xe.extend("--ft-typography-button-font-family","",Hr),fontSize:xe.extend("--ft-typography-button-font-size","",Gr.fontSize,"14px"),fontWeight:xe.extend("--ft-typography-button-font-weight","",Gr.fontWeight,"600"),letterSpacing:xe.extend("--ft-typography-button-letter-spacing","",Gr.letterSpacing,"1.246px"),lineHeight:xe.extend("--ft-typography-button-line-height","",Gr.lineHeight,"1.15"),textTransform:xe.extend("--ft-typography-button-text-transform","",Gr.textTransform,"uppercase")},_n=xt`
131
135
  .ft-typography--title {
132
- font-family: ${Gi};
133
- font-size: ${Vi};
134
- font-weight: ${qi};
135
- letter-spacing: ${Yi};
136
- line-height: ${Xi};
137
- text-transform: ${Ji};
136
+ font-family: ${Vr};
137
+ font-size: ${qr};
138
+ font-weight: ${Yr};
139
+ letter-spacing: ${Xr};
140
+ line-height: ${Jr};
141
+ text-transform: ${Qr};
138
142
  }
139
- `,_n=xt`
143
+ `,Hn=xt`
140
144
  .ft-typography--title-dense {
141
- font-family: ${Qi};
142
- font-size: ${tn};
143
- font-weight: ${en};
144
- letter-spacing: ${on};
145
- line-height: ${rn};
146
- text-transform: ${nn};
145
+ font-family: ${tn};
146
+ font-size: ${en};
147
+ font-weight: ${on};
148
+ letter-spacing: ${rn};
149
+ line-height: ${nn};
150
+ text-transform: ${an};
147
151
  }
148
- `,Hn=xt`
152
+ `,Gn=xt`
149
153
  .ft-typography--subtitle1 {
150
- font-family: ${an};
151
- font-size: ${sn};
152
- font-weight: ${cn};
153
- letter-spacing: ${ln};
154
- line-height: ${fn};
155
- text-transform: ${hn};
154
+ font-family: ${sn};
155
+ font-size: ${cn};
156
+ font-weight: ${ln};
157
+ letter-spacing: ${fn};
158
+ line-height: ${hn};
159
+ text-transform: ${pn};
156
160
  }
157
- `,Gn=xt`
161
+ `,Vn=xt`
158
162
  .ft-typography--subtitle2 {
159
- font-family: ${pn};
160
- font-size: ${un};
161
- font-weight: ${dn};
162
- letter-spacing: ${yn};
163
- line-height: ${gn};
164
- text-transform: ${bn};
163
+ font-family: ${un};
164
+ font-size: ${dn};
165
+ font-weight: ${yn};
166
+ letter-spacing: ${gn};
167
+ line-height: ${bn};
168
+ text-transform: ${mn};
165
169
  }
166
170
 
167
- `,Vn=xt`
171
+ `,qn=xt`
168
172
  .ft-typography--body1 {
169
- font-family: ${mn};
170
- font-size: ${vn};
171
- font-weight: ${On};
172
- letter-spacing: ${xn};
173
- line-height: ${wn};
174
- text-transform: ${Sn};
173
+ font-family: ${vn};
174
+ font-size: ${On};
175
+ font-weight: ${xn};
176
+ letter-spacing: ${wn};
177
+ line-height: ${Sn};
178
+ text-transform: ${Nn};
175
179
  }
176
- `,qn=xt`
180
+ `,Yn=xt`
177
181
  .ft-typography--body2 {
178
- font-family: ${Nn.fontFamily};
179
- font-size: ${Nn.fontSize};
180
- font-weight: ${Nn.fontWeight};
181
- letter-spacing: ${Nn.letterSpacing};
182
- line-height: ${Nn.lineHeight};
183
- text-transform: ${Nn.textTransform};
182
+ font-family: ${Cn.fontFamily};
183
+ font-size: ${Cn.fontSize};
184
+ font-weight: ${Cn.fontWeight};
185
+ letter-spacing: ${Cn.letterSpacing};
186
+ line-height: ${Cn.lineHeight};
187
+ text-transform: ${Cn.textTransform};
184
188
  }
185
- `,Yn=xt`
189
+ `,Xn=xt`
186
190
  .ft-typography--caption {
187
- font-family: ${Cn};
188
- font-size: ${En};
189
- font-weight: ${$n};
190
- letter-spacing: ${Rn};
191
- line-height: ${Un};
192
- text-transform: ${In};
191
+ font-family: ${En};
192
+ font-size: ${$n};
193
+ font-weight: ${Rn};
194
+ letter-spacing: ${Un};
195
+ line-height: ${In};
196
+ text-transform: ${kn};
193
197
  }
194
- `,Xn=xt`
198
+ `,Jn=xt`
195
199
  .ft-typography--breadcrumb {
196
- font-family: ${kn};
197
- font-size: ${Ln};
198
- font-weight: ${Wn};
199
- letter-spacing: ${An};
200
- line-height: ${jn};
201
- text-transform: ${Fn};
200
+ font-family: ${Ln};
201
+ font-size: ${Wn};
202
+ font-weight: ${An};
203
+ letter-spacing: ${jn};
204
+ line-height: ${Fn};
205
+ text-transform: ${Kn};
202
206
  }
203
- `,Jn=xt`
207
+ `,Qn=xt`
204
208
  .ft-typography--overline {
205
- font-family: ${Kn};
206
- font-size: ${Pn};
207
- font-weight: ${zn};
208
- letter-spacing: ${Mn};
209
- line-height: ${Bn};
210
- text-transform: ${Dn};
209
+ font-family: ${Pn};
210
+ font-size: ${zn};
211
+ font-weight: ${Mn};
212
+ letter-spacing: ${Bn};
213
+ line-height: ${Dn};
214
+ text-transform: ${Tn};
211
215
  }
212
- `,Qn=xt`
216
+ `,ta=xt`
213
217
  .ft-typography--button {
214
- font-family: ${Tn.fontFamily};
215
- font-size: ${Tn.fontSize};
216
- font-weight: ${Tn.fontWeight};
217
- letter-spacing: ${Tn.letterSpacing};
218
- line-height: ${Tn.lineHeight};
219
- text-transform: ${Tn.textTransform};
218
+ font-family: ${Zn.fontFamily};
219
+ font-size: ${Zn.fontSize};
220
+ font-weight: ${Zn.fontWeight};
221
+ letter-spacing: ${Zn.letterSpacing};
222
+ line-height: ${Zn.lineHeight};
223
+ text-transform: ${Zn.textTransform};
220
224
  }
221
- `,ta=xt`
225
+ `,ea=xt`
222
226
  .ft-typography {
223
227
  vertical-align: inherit;
224
228
  }
225
- `,ea=[Object.keys(Ne).map((t=>function(t){const e=Ne[t];return xt`
229
+ `,oa=[Object.keys(Ne).map((t=>function(t){const e=Ne[t];return xt`
226
230
  .ft-typography--${Ot(t)} {
227
231
  font-family: ${e.fontFamily};
228
232
  font-size: ${e.fontSize};
@@ -231,14 +235,14 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
231
235
  line-height: ${e.lineHeight};
232
236
  text-transform: ${e.textCase};
233
237
  }
234
- `}(t)))];var oa=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ra extends Fe{constructor(){super(...arguments),this.variant=Ti.body1}render(){return this.element?Di`
235
- <${Mi(this.element)}
238
+ `}(t)))];var ia=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ra extends Fe{constructor(){super(...arguments),this.variant=Zr.body1}render(){return this.element?Tr`
239
+ <${Br(this.element)}
236
240
  class="ft-typography ft-typography--${this.variant}">
237
241
  <slot></slot>
238
- </${Mi(this.element)}>
239
- `:Di`
242
+ </${Br(this.element)}>
243
+ `:Tr`
240
244
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
241
- `}}ra.styles=[Zn,_n,Hn,Gn,Vn,qn,Yn,Xn,Jn,Qn,ta,...ea],oa([R()],ra.prototype,"element",void 0),oa([R()],ra.prototype,"variant",void 0),W("ft-typography")(ra);const ia=xe.create("--ft-tooltip-distance","","SIZE","4px"),na=xe.create("--ft-tooltip-color","","COLOR","#FFFFFF"),aa=xe.create("--ft-tooltip-background-color","","COLOR","#666666"),sa=xe.create("--ft-tooltip-z-index","","NUMBER","100"),ca=xe.external($e.borderRadiusS,"Design system"),la=xe.create("--ft-tooltip-max-width","","SIZE","150px"),fa=xt`
245
+ `}}ra.styles=[_n,Hn,Gn,Vn,qn,Yn,Xn,Jn,Qn,ta,ea,...oa],ia([R()],ra.prototype,"element",void 0),ia([R()],ra.prototype,"variant",void 0),W("ft-typography")(ra);const na=xe.create("--ft-tooltip-distance","","SIZE","4px"),aa=xe.create("--ft-tooltip-color","","COLOR","#FFFFFF"),sa=xe.create("--ft-tooltip-background-color","","COLOR","#666666"),ca=xe.create("--ft-tooltip-z-index","","NUMBER","100"),la=xe.external($e.borderRadiusS,"Design system"),fa=xe.create("--ft-tooltip-max-width","","SIZE","150px"),ha=xt`
242
246
  .ft-tooltip--container {
243
247
  display: block;
244
248
  }
@@ -253,21 +257,21 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
253
257
  box-sizing: border-box;
254
258
  overflow: hidden;
255
259
  width: max-content;
256
- max-width: ${la};
260
+ max-width: ${fa};
257
261
  text-align: center;
258
- padding: ${ia};
259
- z-index: ${sa};
262
+ padding: ${na};
263
+ z-index: ${ca};
260
264
  }
261
265
 
262
266
  .ft-tooltip--content {
263
267
  padding: 4px 8px;
264
- border-radius: ${ca};
265
- background-color: ${aa};
266
- color: ${na};
268
+ border-radius: ${la};
269
+ background-color: ${sa};
270
+ color: ${aa};
267
271
  position: relative;
268
272
  word-break: break-word;
269
273
  }
270
- `;var ha=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class pa extends Fe{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new i,this.revealDebouncer=new i}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return re`
274
+ `;var pa=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ua extends Fe{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new r,this.revealDebouncer=new r}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ie`
271
275
  <div part="container"
272
276
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
273
277
  @mouseenter=${this.onHover}
@@ -285,18 +289,18 @@ let me=class extends Kt{constructor(){super(...arguments),this.renderOptions={ho
285
289
  </div>
286
290
  </div>
287
291
  </div>
288
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,o=this.tooltip.offsetHeight,r=(t.offsetHeight-o)/2,i=(t.offsetWidth-e)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-o-this.tooltip.offsetTop,n=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+r-this.tooltip.offsetTop,n=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+r-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const c=this.tooltip.getBoundingClientRect();let l=-c.x,f=c.x+c.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(l,f))+"px";let h=-c.y,p=c.y+c.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(h,p))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${la})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}pa.elementDefinitions={"ft-typography":ra},pa.styles=fa,ha([R()],pa.prototype,"text",void 0),ha([R({type:Boolean})],pa.prototype,"manual",void 0),ha([R({type:Boolean})],pa.prototype,"inline",void 0),ha([R({type:Number})],pa.prototype,"delay",void 0),ha([R()],pa.prototype,"position",void 0),ha([function(t){return(e,o)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return I(0,0,{get(){const e=this.renderRoot?.querySelector(i);return e?.assignedNodes(t)??[]}})}}()],pa.prototype,"slotNodes",void 0),ha([k(".ft-tooltip--container")],pa.prototype,"container",void 0),ha([k(".ft-tooltip")],pa.prototype,"tooltip",void 0),ha([k(".ft-tooltip--content")],pa.prototype,"tooltipContent",void 0),ha([U()],pa.prototype,"visible",void 0),W("ft-tooltip")(pa);
292
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,o=this.tooltip.offsetHeight,i=(t.offsetHeight-o)/2,r=(t.offsetWidth-e)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-o-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const c=this.tooltip.getBoundingClientRect();let l=-c.x,f=c.x+c.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(l,f))+"px";let h=-c.y,p=c.y+c.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(h,p))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${fa})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}ua.elementDefinitions={"ft-typography":ra},ua.styles=ha,pa([R()],ua.prototype,"text",void 0),pa([R({type:Boolean})],ua.prototype,"manual",void 0),pa([R({type:Boolean})],ua.prototype,"inline",void 0),pa([R({type:Number})],ua.prototype,"delay",void 0),pa([R()],ua.prototype,"position",void 0),pa([function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return I(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],ua.prototype,"slotNodes",void 0),pa([k(".ft-tooltip--container")],ua.prototype,"container",void 0),pa([k(".ft-tooltip")],ua.prototype,"tooltip",void 0),pa([k(".ft-tooltip--content")],ua.prototype,"tooltipContent",void 0),pa([U()],ua.prototype,"visible",void 0),W("ft-tooltip")(ua);
289
293
  /**
290
294
  * @license
291
295
  * Copyright 2017 Google LLC
292
296
  * SPDX-License-Identifier: BSD-3-Clause
293
297
  */
294
- const ua=1,da=2,ya=t=>(...e)=>({_$litDirective$:t,values:e});class ga{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)}}
298
+ const da=1,ya=2,ga=t=>(...e)=>({_$litDirective$:t,values:e});class ba{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)}}
295
299
  /**
296
300
  * @license
297
301
  * Copyright 2018 Google LLC
298
302
  * SPDX-License-Identifier: BSD-3-Clause
299
- */const ba=ya(class extends ga{constructor(t){if(super(t),t.type!==ua||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const r=!!e[t];r===this.it.has(t)||this.st?.has(t)||(r?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return et}}),ma=xe.extend("--ft-ripple-color","",$e.colorContent),va={color:ma,backgroundColor:xe.extend("--ft-ripple-background-color","",ma),opacityContentOnSurfacePressed:xe.external($e.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:xe.external($e.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:xe.external($e.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:xe.external($e.opacityContentOnSurfaceSelected,"Design system"),borderRadius:xe.create("--ft-ripple-border-radius","","SIZE","0px")},Oa=xe.extend("--ft-ripple-color","",$e.colorPrimary),xa=Oa,wa=xe.extend("--ft-ripple-background-color","",Oa),Sa=xe.extend("--ft-ripple-color","",$e.colorSecondary),Na=Sa,Ca=xe.extend("--ft-ripple-background-color","",Sa),Ea=xt`
303
+ */const ma=ga(class extends ba{constructor(t){if(super(t),t.type!==da||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return et}}),va=xe.extend("--ft-ripple-color","",$e.colorContent),Oa={color:va,backgroundColor:xe.extend("--ft-ripple-background-color","",va),opacityContentOnSurfacePressed:xe.external($e.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:xe.external($e.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:xe.external($e.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:xe.external($e.opacityContentOnSurfaceSelected,"Design system"),borderRadius:xe.create("--ft-ripple-border-radius","","SIZE","0px")},xa=xe.extend("--ft-ripple-color","",$e.colorPrimary),wa=xa,Sa=xe.extend("--ft-ripple-background-color","",xa),Na=xe.extend("--ft-ripple-color","",$e.colorSecondary),Ca=Na,Ea=xe.extend("--ft-ripple-background-color","",Na),$a=xt`
300
304
  :host {
301
305
  display: contents;
302
306
  }
@@ -309,7 +313,7 @@ const ua=1,da=2,ya=t=>(...e)=>({_$litDirective$:t,values:e});class ga{constructo
309
313
 
310
314
  .ft-ripple:not(.ft-ripple--unbounded) {
311
315
  overflow: hidden;
312
- border-radius: ${va.borderRadius};
316
+ border-radius: ${Oa.borderRadius};
313
317
  }
314
318
 
315
319
  .ft-ripple .ft-ripple--background,
@@ -343,27 +347,27 @@ const ua=1,da=2,ya=t=>(...e)=>({_$litDirective$:t,values:e});class ga{constructo
343
347
  }
344
348
 
345
349
  .ft-ripple .ft-ripple--background {
346
- background-color: ${va.backgroundColor};
350
+ background-color: ${Oa.backgroundColor};
347
351
  }
348
352
 
349
353
  .ft-ripple .ft-ripple--effect {
350
- background-color: ${va.color};
354
+ background-color: ${Oa.color};
351
355
  }
352
356
 
353
357
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
354
- background-color: ${Ca};
358
+ background-color: ${Ea};
355
359
  }
356
360
 
357
361
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
358
- background-color: ${Na};
362
+ background-color: ${Ca};
359
363
  }
360
364
 
361
365
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
362
- background-color: ${wa};
366
+ background-color: ${Sa};
363
367
  }
364
368
 
365
369
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
366
- background-color: ${xa};
370
+ background-color: ${wa};
367
371
  }
368
372
 
369
373
  .ft-ripple .ft-ripple--background {
@@ -393,39 +397,39 @@ const ua=1,da=2,ya=t=>(...e)=>({_$litDirective$:t,values:e});class ga{constructo
393
397
  }
394
398
 
395
399
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
396
- opacity: ${va.opacityContentOnSurfaceHover};
400
+ opacity: ${Oa.opacityContentOnSurfaceHover};
397
401
  }
398
402
 
399
403
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
400
- opacity: ${va.opacityContentOnSurfaceSelected};
404
+ opacity: ${Oa.opacityContentOnSurfaceSelected};
401
405
  }
402
406
 
403
407
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
404
- opacity: ${va.opacityContentOnSurfaceFocused};
408
+ opacity: ${Oa.opacityContentOnSurfaceFocused};
405
409
  }
406
410
 
407
411
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
408
- opacity: ${va.opacityContentOnSurfacePressed};
412
+ opacity: ${Oa.opacityContentOnSurfacePressed};
409
413
  transform: translate(-50%, -50%) scale(1);
410
414
  }
411
- `;var $a=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ra extends Fe{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new i(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new i(10),this.moveRipple=t=>{var e,o;let{x:r,y:i}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return re`
415
+ `;var Ra=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ua extends Fe{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new r(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new r(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ie`
412
416
  <style>
413
417
  .ft-ripple .ft-ripple--effect {
414
418
  left: ${this.originX}px;
415
419
  top: ${this.originY}px;
416
420
  }
417
421
  </style>
418
- <div class="${ba(t)}">
422
+ <div class="${ma(t)}">
419
423
  <div class="ft-ripple--background"></div>
420
424
  <div class="ft-ripple--effect"></div>
421
425
  </div>
422
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),r=e("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",o),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",o),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let r,i;return null!=e.x?({x:r,y:i}=e):null!=o.touches&&(r=o.touches[0].clientX,i=o.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ra.elementDefinitions={},Ra.styles=Ea,$a([R({type:Boolean})],Ra.prototype,"primary",void 0),$a([R({type:Boolean})],Ra.prototype,"secondary",void 0),$a([R({type:Boolean})],Ra.prototype,"unbounded",void 0),$a([R({type:Boolean})],Ra.prototype,"activated",void 0),$a([R({type:Boolean})],Ra.prototype,"selected",void 0),$a([R({type:Boolean})],Ra.prototype,"disabled",void 0),$a([U()],Ra.prototype,"hovered",void 0),$a([U()],Ra.prototype,"focused",void 0),$a([U()],Ra.prototype,"pressed",void 0),$a([U()],Ra.prototype,"rippling",void 0),$a([U()],Ra.prototype,"originX",void 0),$a([U()],Ra.prototype,"originY",void 0),$a([k(".ft-ripple")],Ra.prototype,"ripple",void 0),$a([k(".ft-ripple--effect")],Ra.prototype,"rippleEffect",void 0),W("ft-ripple")(Ra);
426
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",o),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",o),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ua.elementDefinitions={},Ua.styles=$a,Ra([R({type:Boolean})],Ua.prototype,"primary",void 0),Ra([R({type:Boolean})],Ua.prototype,"secondary",void 0),Ra([R({type:Boolean})],Ua.prototype,"unbounded",void 0),Ra([R({type:Boolean})],Ua.prototype,"activated",void 0),Ra([R({type:Boolean})],Ua.prototype,"selected",void 0),Ra([R({type:Boolean})],Ua.prototype,"disabled",void 0),Ra([U()],Ua.prototype,"hovered",void 0),Ra([U()],Ua.prototype,"focused",void 0),Ra([U()],Ua.prototype,"pressed",void 0),Ra([U()],Ua.prototype,"rippling",void 0),Ra([U()],Ua.prototype,"originX",void 0),Ra([U()],Ua.prototype,"originY",void 0),Ra([k(".ft-ripple")],Ua.prototype,"ripple",void 0),Ra([k(".ft-ripple--effect")],Ua.prototype,"rippleEffect",void 0),W("ft-ripple")(Ua);
423
427
  /**
424
428
  * @license
425
429
  * Copyright 2017 Google LLC
426
430
  * SPDX-License-Identifier: BSD-3-Clause
427
431
  */
428
- class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ot||null==t)return this.vt=void 0,this.et=t;if(t===et)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Ua.directiveName="unsafeHTML",Ua.resultType=1;const Ia=ya(Ua);var ka,La;!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;"}(ka||(ka={})),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;"}(La||(La={})),new Map([...["abw"].map((t=>[t,La.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,La.AUDIO])),...["avi"].map((t=>[t,La.AVI])),...["chm","xhs"].map((t=>[t,La.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,La.CODE])),...["csv"].map((t=>[t,La.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,La.DITA])),...["epub"].map((t=>[t,La.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,La.EXCEL])),...["flac"].map((t=>[t,La.FLAC])),...["gif"].map((t=>[t,La.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,La.GZIP])),...["html","htm","xhtml"].map((t=>[t,La.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,La.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,La.JPEG])),...["json"].map((t=>[t,La.JSON])),...["m4a","m4p"].map((t=>[t,La.M4A])),...["mov","qt"].map((t=>[t,La.MOV])),...["mp3"].map((t=>[t,La.MP3])),...["mp4","m4v"].map((t=>[t,La.MP4])),...["ogg","oga"].map((t=>[t,La.OGG])),...["pdf","ps"].map((t=>[t,La.PDF])),...["png"].map((t=>[t,La.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,La.POWERPOINT])),...["rar"].map((t=>[t,La.RAR])),...["stp"].map((t=>[t,La.STP])),...["txt","rtf","md","mdown"].map((t=>[t,La.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,La.VIDEO])),...["wav"].map((t=>[t,La.WAV])),...["wma"].map((t=>[t,La.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,La.WORD])),...["xml","xsl","rdf"].map((t=>[t,La.XML])),...["yaml","yml","x-yaml"].map((t=>[t,La.YAML])),...["zip"].map((t=>[t,La.ZIP]))]);const Wa={size:xe.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:xe.extend("--ft-icon-fluid-topics-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:xe.extend("--ft-icon-file-format-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:xe.extend("--ft-icon-material-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:xe.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Aa=xt`
432
+ class Ia extends ba{constructor(t){if(super(t),this.et=ot,t.type!==ya)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ot||null==t)return this.vt=void 0,this.et=t;if(t===et)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Ia.directiveName="unsafeHTML",Ia.resultType=1;const ka=ga(Ia);var La,Wa;!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;"}(La||(La={})),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;"}(Wa||(Wa={})),new Map([...["abw"].map((t=>[t,Wa.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,Wa.AUDIO])),...["avi"].map((t=>[t,Wa.AVI])),...["chm","xhs"].map((t=>[t,Wa.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,Wa.CODE])),...["csv"].map((t=>[t,Wa.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Wa.DITA])),...["epub"].map((t=>[t,Wa.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Wa.EXCEL])),...["flac"].map((t=>[t,Wa.FLAC])),...["gif"].map((t=>[t,Wa.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Wa.GZIP])),...["html","htm","xhtml"].map((t=>[t,Wa.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,Wa.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Wa.JPEG])),...["json"].map((t=>[t,Wa.JSON])),...["m4a","m4p"].map((t=>[t,Wa.M4A])),...["mov","qt"].map((t=>[t,Wa.MOV])),...["mp3"].map((t=>[t,Wa.MP3])),...["mp4","m4v"].map((t=>[t,Wa.MP4])),...["ogg","oga"].map((t=>[t,Wa.OGG])),...["pdf","ps"].map((t=>[t,Wa.PDF])),...["png"].map((t=>[t,Wa.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Wa.POWERPOINT])),...["rar"].map((t=>[t,Wa.RAR])),...["stp"].map((t=>[t,Wa.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Wa.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,Wa.VIDEO])),...["wav"].map((t=>[t,Wa.WAV])),...["wma"].map((t=>[t,Wa.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Wa.WORD])),...["xml","xsl","rdf"].map((t=>[t,Wa.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Wa.YAML])),...["zip"].map((t=>[t,Wa.ZIP]))]);const Aa={size:xe.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:xe.extend("--ft-icon-fluid-topics-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:xe.extend("--ft-icon-file-format-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:xe.extend("--ft-icon-material-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:xe.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ja=xt`
429
433
  :host, i.ft-icon {
430
434
  display: inline-flex;
431
435
  align-items: center;
@@ -434,14 +438,14 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
434
438
  }
435
439
 
436
440
  :host {
437
- width: ${Wa.size};
438
- height: ${Wa.size};
441
+ width: ${Aa.size};
442
+ height: ${Aa.size};
439
443
  }
440
444
 
441
445
  i.ft-icon {
442
446
  width: 100%;
443
447
  height: 100%;
444
- font-size: ${Wa.size};
448
+ font-size: ${Aa.size};
445
449
  line-height: 1;
446
450
  font-weight: normal;
447
451
  text-transform: none;
@@ -452,33 +456,33 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
452
456
  text-rendering: auto;
453
457
  -webkit-font-smoothing: antialiased;
454
458
  -moz-osx-font-smoothing: grayscale;
455
- vertical-align: ${Wa.verticalAlign};
459
+ vertical-align: ${Aa.verticalAlign};
456
460
  }
457
461
 
458
462
  i.ft-icon.ft-icon--fluid-topics {
459
- font-family: ${Wa.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
463
+ font-family: ${Aa.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
460
464
 
461
465
  /* Ugly fix because font is broken */
462
- font-size: calc(0.75 * ${Wa.size});
463
- line-height: ${Wa.size};
466
+ font-size: calc(0.75 * ${Aa.size});
467
+ line-height: ${Aa.size};
464
468
  position: relative;
465
469
  top: -4%;
466
470
  justify-content: center;
467
471
  }
468
472
 
469
473
  .ft-icon--file-format {
470
- font-family: ${Wa.fileFormatFontFamily}, ft-mime, sans-serif;
474
+ font-family: ${Aa.fileFormatFontFamily}, ft-mime, sans-serif;
471
475
  }
472
476
 
473
477
  .ft-icon--material {
474
- font-family: ${Wa.materialFontFamily}, "Material Icons", sans-serif;
478
+ font-family: ${Aa.materialFontFamily}, "Material Icons", sans-serif;
475
479
  }
476
- `;var ja;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ja||(ja={}));var Fa=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ka extends Fe{constructor(){super(...arguments),this.resolvedIcon=ne}render(){const t=this.variant&&Object.values(ja).includes(this.variant)?this.variant:ja.fluid_topics,e=t!==ja.material||!!this.value;return re`
480
+ `;var Fa;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Fa||(Fa={}));var Ka=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Pa extends Fe{constructor(){super(...arguments),this.resolvedIcon=ne}render(){const t=this.variant&&Object.values(Fa).includes(this.variant)?this.variant:Fa.fluid_topics,e=t!==Fa.material||!!this.value;return ie`
477
481
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
478
- ${Ia(this.resolvedIcon)}
482
+ ${ka(this.resolvedIcon)}
479
483
  <slot ?hidden=${e}></slot>
480
484
  </i>
481
- `}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 ja.file_format:this.resolvedIcon=null!==(t=La[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case ja.material:this.resolvedIcon=this.value||ne;break;default:this.resolvedIcon=null!==(e=ka[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ka.elementDefinitions={},Ka.styles=Aa,Fa([R()],Ka.prototype,"variant",void 0),Fa([R()],Ka.prototype,"value",void 0),Fa([U()],Ka.prototype,"resolvedIcon",void 0),Fa([k("slot")],Ka.prototype,"slottedContent",void 0),W("ft-icon")(Ka);const Pa={color:xe.extend("--ft-loader-color","",$e.colorPrimary),size:xe.create("--ft-loader-size","","SIZE","80px")},za=xt`
485
+ `}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 Fa.file_format:this.resolvedIcon=null!==(t=Wa[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Fa.material:this.resolvedIcon=this.value||ne;break;default:this.resolvedIcon=null!==(e=La[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Pa.elementDefinitions={},Pa.styles=ja,Ka([R()],Pa.prototype,"variant",void 0),Ka([R()],Pa.prototype,"value",void 0),Ka([U()],Pa.prototype,"resolvedIcon",void 0),Ka([k("slot")],Pa.prototype,"slottedContent",void 0),W("ft-icon")(Pa);const za={color:xe.extend("--ft-loader-color","",$e.colorPrimary),size:xe.create("--ft-loader-size","","SIZE","80px")},Ma=xt`
482
486
  :host {
483
487
  line-height: 0;
484
488
  }
@@ -487,8 +491,8 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
487
491
  display: inline-block;
488
492
  position: relative;
489
493
 
490
- width: ${Pa.size};
491
- height: ${Pa.size};
494
+ width: ${za.size};
495
+ height: ${za.size};
492
496
  }
493
497
 
494
498
  .ft-loader div {
@@ -497,7 +501,7 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
497
501
  width: 25%;
498
502
  height: 25%;
499
503
  border-radius: 50%;
500
- background: ${Pa.color};
504
+ background: ${za.color};
501
505
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
502
506
  }
503
507
 
@@ -544,10 +548,10 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
544
548
  transform: translate(0, 0);
545
549
  }
546
550
  100% {
547
- transform: translate(calc(0.35 * ${Pa.size}), 0);
551
+ transform: translate(calc(0.35 * ${za.size}), 0);
548
552
  }
549
553
  }
550
- `,Ma=xe.extend("--ft-button-color","",$e.colorPrimary),Ba={backgroundColor:xe.extend("--ft-button-background-color","",$e.colorSurface),borderRadius:xe.extend("--ft-button-border-radius","",$e.borderRadiusL),color:Ma,fontSize:xe.extend("--ft-button-font-size","",Tn.fontSize),iconSize:xe.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:xe.extend("--ft-button-ripple-color","",Ma),verticalPadding:xe.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:xe.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:xe.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:xe.external($e.colorOpacityDisabled,"Design system")},Da=xe.extend("--ft-button-primary-color","",xe.extend("--ft-button-color","",$e.colorOnPrimary)),Ta={backgroundColor:xe.extend("--ft-button-primary-background-color","",xe.extend("--ft-button-background-color","",$e.colorPrimary)),color:Da,rippleColor:xe.extend("--ft-button-primary-ripple-color","",Da)},Za=xe.extend("--ft-button-dense-border-radius","",xe.extend("--ft-button-border-radius","",$e.borderRadiusM)),_a=xe.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Ha=xe.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Ga=xe.create("--ft-button-dense-icon-padding","","SIZE","4px"),Va=[xt`
554
+ `,Ba=xe.extend("--ft-button-color","",$e.colorPrimary),Da={backgroundColor:xe.extend("--ft-button-background-color","",$e.colorSurface),borderRadius:xe.extend("--ft-button-border-radius","",$e.borderRadiusL),color:Ba,fontSize:xe.extend("--ft-button-font-size","",Zn.fontSize),iconSize:xe.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:xe.extend("--ft-button-ripple-color","",Ba),verticalPadding:xe.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:xe.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:xe.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:xe.external($e.colorOpacityDisabled,"Design system")},Ta=xe.extend("--ft-button-primary-color","",xe.extend("--ft-button-color","",$e.colorOnPrimary)),Za={backgroundColor:xe.extend("--ft-button-primary-background-color","",xe.extend("--ft-button-background-color","",$e.colorPrimary)),color:Ta,rippleColor:xe.extend("--ft-button-primary-ripple-color","",Ta)},_a=xe.extend("--ft-button-dense-border-radius","",xe.extend("--ft-button-border-radius","",$e.borderRadiusM)),Ha=xe.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Ga=xe.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Va=xe.create("--ft-button-dense-icon-padding","","SIZE","4px"),qa=[xt`
551
555
  :host {
552
556
  display: inline-block;
553
557
  max-width: 100%;
@@ -558,7 +562,7 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
558
562
  box-shadow: 0px 0px 0px transparent;
559
563
  border: 0px solid transparent;
560
564
  text-shadow: 0px 0px 0px transparent;
561
- font-size: ${Ba.fontSize};
565
+ font-size: ${Da.fontSize};
562
566
  }
563
567
 
564
568
  button:hover {
@@ -587,31 +591,31 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
587
591
  border: none;
588
592
  pointer-events: auto;
589
593
 
590
- --ft-button-internal-line-height: max(calc(${Ba.fontSize} + 2px), ${Ba.iconSize});
591
- --ft-button-internal-color: ${Ba.color};
592
- ${we(Wa.size,Ba.iconSize)};
593
- ${we(va.color,Ba.rippleColor)};
594
+ --ft-button-internal-line-height: max(calc(${Da.fontSize} + 2px), ${Da.iconSize});
595
+ --ft-button-internal-color: ${Da.color};
596
+ ${we(Aa.size,Da.iconSize)};
597
+ ${we(Oa.color,Da.rippleColor)};
594
598
 
595
- border-radius: ${Ba.borderRadius};
596
- padding: ${Ba.verticalPadding} ${Ba.horizontalPadding};
597
- background-color: ${Ba.backgroundColor};
599
+ border-radius: ${Da.borderRadius};
600
+ padding: ${Da.verticalPadding} ${Da.horizontalPadding};
601
+ background-color: ${Da.backgroundColor};
598
602
  color: var(--ft-button-internal-color);
599
603
  -webkit-mask-image: radial-gradient(white, black);
600
604
  }
601
605
 
602
606
  .ft-button.ft-button--outlined {
603
607
  border: 1px solid var(--ft-button-internal-color);
604
- padding: calc(${Ba.verticalPadding} - 1px) calc(${Ba.horizontalPadding} - 1px);
608
+ padding: calc(${Da.verticalPadding} - 1px) calc(${Da.horizontalPadding} - 1px);
605
609
  }
606
610
 
607
611
  .ft-button.ft-button--dense {
608
- padding: ${_a} ${Ha};
609
- border-radius: ${Za};
610
- gap: ${Ga};
612
+ padding: ${Ha} ${Ga};
613
+ border-radius: ${_a};
614
+ gap: ${Va};
611
615
  }
612
616
 
613
617
  .ft-button.ft-button--dense.ft-button--outlined {
614
- padding: calc(${_a} - 1px) calc(${Ha} - 1px);
618
+ padding: calc(${Ha} - 1px) calc(${Ga} - 1px);
615
619
  }
616
620
 
617
621
  .ft-button:not([disabled]):hover {
@@ -619,22 +623,22 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
619
623
  }
620
624
 
621
625
  .ft-button--round {
622
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ba.verticalPadding});
626
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Da.verticalPadding});
623
627
  }
624
628
 
625
629
  .ft-button--round.ft-button--dense {
626
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${_a});
630
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ha});
627
631
  }
628
632
 
629
633
  .ft-button[disabled] {
630
634
  filter: grayscale(1);
631
- opacity: ${Ba.opacityDisabled};
635
+ opacity: ${Da.opacityDisabled};
632
636
  }
633
637
 
634
638
  .ft-button.ft-button--primary {
635
- background-color: ${Ta.backgroundColor};
636
- --ft-button-internal-color: ${Ta.color};
637
- ${we(va.color,Ta.rippleColor)};
639
+ background-color: ${Za.backgroundColor};
640
+ --ft-button-internal-color: ${Za.color};
641
+ ${we(Oa.color,Za.rippleColor)};
638
642
  }
639
643
 
640
644
  .ft-button:focus {
@@ -647,13 +651,13 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
647
651
  white-space: nowrap;
648
652
  text-overflow: ellipsis;
649
653
  display: block;
650
- margin: 0 ${Ba.iconPadding};
651
- ${we(Tn.fontSize,"1em")};
652
- ${we(Tn.lineHeight,"var(--ft-button-internal-line-height)")};
654
+ margin: 0 ${Da.iconPadding};
655
+ ${we(Zn.fontSize,"1em")};
656
+ ${we(Zn.lineHeight,"var(--ft-button-internal-line-height)")};
653
657
  }
654
658
 
655
659
  .ft-button--dense .ft-button--label {
656
- margin: 0 ${Ga};
660
+ margin: 0 ${Va};
657
661
  }
658
662
 
659
663
  .ft-button--label[hidden] {
@@ -666,13 +670,13 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
666
670
  }
667
671
 
668
672
  .ft-button--label[hidden] + ft-icon {
669
- margin: 0 calc(${Ba.horizontalPadding} * -1);
670
- padding: 0 ${Ba.verticalPadding};
673
+ margin: 0 calc(${Da.horizontalPadding} * -1);
674
+ padding: 0 ${Da.verticalPadding};
671
675
  }
672
676
 
673
677
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
674
- margin: 0 calc(${Ha} * -1);
675
- padding: 0 ${_a};
678
+ margin: 0 calc(${Ga} * -1);
679
+ padding: 0 ${Ha};
676
680
  }
677
681
 
678
682
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -681,40 +685,40 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
681
685
  }
682
686
 
683
687
  ft-loader {
684
- ${we(Pa.size,Ba.iconSize)};
685
- ${we(Pa.color,"var(--ft-button-internal-color)")};
688
+ ${we(za.size,Da.iconSize)};
689
+ ${we(za.color,"var(--ft-button-internal-color)")};
686
690
  }
687
- `,Ke];class qa extends Fe{render(){return re`
691
+ `,Pe];class Ya extends Fe{render(){return ie`
688
692
  <div class="ft-loader">
689
693
  <div></div>
690
694
  <div></div>
691
695
  <div></div>
692
696
  <div></div>
693
697
  </div>
694
- `}}qa.styles=za,W("ft-loader")(qa);var Ya=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 Xa extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Pr].form}constructor(...t){super(t),this[Pr]=this.attachInternals(),this[Pr].role=e}setFormValue(t){this[Pr].setFormValue(t)}}}(Fe,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(re`
698
+ `}}Ya.styles=Ma,W("ft-loader")(Ya);var Xa=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ja extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[zi].form}constructor(...t){super(t),this[zi]=this.attachInternals(),this[zi].role=e}setFormValue(t){this[zi].setFormValue(t)}}}(Fe,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(ie`
695
699
  <button part="button"
696
- class="${ba(this.buttonClasses)}"
700
+ class="${ma(this.buttonClasses)}"
697
701
  aria-label="${this.getLabel()}"
698
702
  ?disabled=${this.isDisabled()}>
699
703
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
700
704
  <ft-typography part="label"
701
705
  variant=${this.typographyVariant}
702
706
  element="span"
703
- class="ft-button--label ${Dr?"ft-safari-ellipsis-fix":""}"
707
+ class="ft-button--label ${Ti?"ft-safari-ellipsis-fix":""}"
704
708
  ?hidden=${!this.hasTextContent()}>
705
709
  <slot @slotchange=${this.onSlotchange}></slot>
706
710
  </ft-typography>
707
711
  ${this.resolveIcon()}
708
712
  </button>
709
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?re`
713
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?ie`
710
714
  <ft-tooltip part="tooltip"
711
715
  text="${this.getLabel()}"
712
716
  position="${this.tooltipPosition}">
713
717
  ${t}
714
718
  </ft-tooltip>
715
- `:t}resolveIcon(){return this.loading?re`
716
- <ft-loader part="loader icon"></ft-loader> `:this.icon?re`
717
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ne}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Xa.elementDefinitions={"ft-ripple":Ra,"ft-tooltip":pa,"ft-typography":ra,"ft-icon":Ka,"ft-loader":qa},Ya([R({type:String,reflect:!0})],Xa.prototype,"role",void 0),Ya([R()],Xa.prototype,"type",void 0),Ya([R({type:Boolean})],Xa.prototype,"disabled",void 0),Ya([R()],Xa.prototype,"label",void 0),Ya([R()],Xa.prototype,"icon",void 0),Ya([R()],Xa.prototype,"iconVariant",void 0),Ya([R({type:Boolean})],Xa.prototype,"trailingIcon",void 0),Ya([R({type:Boolean})],Xa.prototype,"loading",void 0),Ya([R()],Xa.prototype,"tooltipPosition",void 0),Ya([R({type:Boolean})],Xa.prototype,"hideTooltip",void 0),Ya([R({type:Boolean})],Xa.prototype,"forceTooltip",void 0),Ya([k(".ft-button")],Xa.prototype,"button",void 0),Ya([k(".ft-button--label slot")],Xa.prototype,"slottedContent",void 0);var Ja=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 Qa extends Xa{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Qa.styles=[Pe,Va],Ja([R({type:Boolean})],Qa.prototype,"primary",void 0),Ja([R({type:Boolean})],Qa.prototype,"outlined",void 0),Ja([R({type:Boolean})],Qa.prototype,"dense",void 0),Ja([R({type:Boolean})],Qa.prototype,"round",void 0);const ts=[xt`
719
+ `:t}resolveIcon(){return this.loading?ie`
720
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?ie`
721
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ne}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Ja.elementDefinitions={"ft-ripple":Ua,"ft-tooltip":ua,"ft-typography":ra,"ft-icon":Pa,"ft-loader":Ya},Xa([R({type:String,reflect:!0})],Ja.prototype,"role",void 0),Xa([R()],Ja.prototype,"type",void 0),Xa([R({type:Boolean})],Ja.prototype,"disabled",void 0),Xa([R()],Ja.prototype,"label",void 0),Xa([R()],Ja.prototype,"icon",void 0),Xa([R()],Ja.prototype,"iconVariant",void 0),Xa([R({type:Boolean})],Ja.prototype,"trailingIcon",void 0),Xa([R({type:Boolean})],Ja.prototype,"loading",void 0),Xa([R()],Ja.prototype,"tooltipPosition",void 0),Xa([R({type:Boolean})],Ja.prototype,"hideTooltip",void 0),Xa([R({type:Boolean})],Ja.prototype,"forceTooltip",void 0),Xa([k(".ft-button")],Ja.prototype,"button",void 0),Xa([k(".ft-button--label slot")],Ja.prototype,"slottedContent",void 0);var Qa=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ts extends Ja{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}ts.styles=[ze,qa],Qa([R({type:Boolean})],ts.prototype,"primary",void 0),Qa([R({type:Boolean})],ts.prototype,"outlined",void 0),Qa([R({type:Boolean})],ts.prototype,"dense",void 0),Qa([R({type:Boolean})],ts.prototype,"round",void 0);const es=[xt`
718
722
  :host {
719
723
  display: inline-block;
720
724
  max-width: 100%;
@@ -793,13 +797,13 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
793
797
  /** Primary styles **/
794
798
 
795
799
  .ft-button--primary {
796
- ${we(Pa.color,Ee.primaryIconColor)};
800
+ ${we(za.color,Ee.primaryIconColor)};
797
801
 
798
- ${we(va.color,Ee.primaryStateLayerColor)};
799
- ${we(va.opacityContentOnSurfaceHover,Ee.primaryStateLayerOpacityHover)};
800
- ${we(va.opacityContentOnSurfaceFocused,Ee.primaryStateLayerOpacityFocus)};
801
- ${we(va.opacityContentOnSurfaceSelected,Ee.primaryStateLayerOpacityActive)};
802
- ${we(va.opacityContentOnSurfacePressed,Ee.primaryStateLayerOpacityActive)};
802
+ ${we(Oa.color,Ee.primaryStateLayerColor)};
803
+ ${we(Oa.opacityContentOnSurfaceHover,Ee.primaryStateLayerOpacityHover)};
804
+ ${we(Oa.opacityContentOnSurfaceFocused,Ee.primaryStateLayerOpacityFocus)};
805
+ ${we(Oa.opacityContentOnSurfaceSelected,Ee.primaryStateLayerOpacityActive)};
806
+ ${we(Oa.opacityContentOnSurfacePressed,Ee.primaryStateLayerOpacityActive)};
803
807
 
804
808
  background-color: ${Ee.primaryBackgroundColor};
805
809
  color: ${Ee.primaryColor};
@@ -817,13 +821,13 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
817
821
  /** Secondary styles **/
818
822
 
819
823
  .ft-button--secondary {
820
- ${we(Pa.color,Ee.secondaryIconColor)};
824
+ ${we(za.color,Ee.secondaryIconColor)};
821
825
 
822
- ${we(va.color,Ee.secondaryStateLayerColor)};
823
- ${we(va.opacityContentOnSurfaceHover,Ee.secondaryStateLayerOpacityHover)};
824
- ${we(va.opacityContentOnSurfaceFocused,Ee.secondaryStateLayerOpacityFocus)};
825
- ${we(va.opacityContentOnSurfaceSelected,Ee.secondaryStateLayerOpacityActive)};
826
- ${we(va.opacityContentOnSurfacePressed,Ee.secondaryStateLayerOpacityActive)};
826
+ ${we(Oa.color,Ee.secondaryStateLayerColor)};
827
+ ${we(Oa.opacityContentOnSurfaceHover,Ee.secondaryStateLayerOpacityHover)};
828
+ ${we(Oa.opacityContentOnSurfaceFocused,Ee.secondaryStateLayerOpacityFocus)};
829
+ ${we(Oa.opacityContentOnSurfaceSelected,Ee.secondaryStateLayerOpacityActive)};
830
+ ${we(Oa.opacityContentOnSurfacePressed,Ee.secondaryStateLayerOpacityActive)};
827
831
 
828
832
  background-color: ${Ee.secondaryBackgroundColor};
829
833
  color: ${Ee.secondaryColor};
@@ -842,13 +846,13 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
842
846
  /** Tertiary styles **/
843
847
 
844
848
  .ft-button--tertiary {
845
- ${we(Pa.color,Ee.tertiaryIconColor)};
849
+ ${we(za.color,Ee.tertiaryIconColor)};
846
850
 
847
- ${we(va.color,Ee.tertiaryStateLayerColor)};
848
- ${we(va.opacityContentOnSurfaceHover,Ee.tertiaryStateLayerOpacityHover)};
849
- ${we(va.opacityContentOnSurfaceFocused,Ee.tertiaryStateLayerOpacityFocus)};
850
- ${we(va.opacityContentOnSurfaceSelected,Ee.tertiaryStateLayerOpacityActive)};
851
- ${we(va.opacityContentOnSurfacePressed,Ee.tertiaryStateLayerOpacityActive)};
851
+ ${we(Oa.color,Ee.tertiaryStateLayerColor)};
852
+ ${we(Oa.opacityContentOnSurfaceHover,Ee.tertiaryStateLayerOpacityHover)};
853
+ ${we(Oa.opacityContentOnSurfaceFocused,Ee.tertiaryStateLayerOpacityFocus)};
854
+ ${we(Oa.opacityContentOnSurfaceSelected,Ee.tertiaryStateLayerOpacityActive)};
855
+ ${we(Oa.opacityContentOnSurfacePressed,Ee.tertiaryStateLayerOpacityActive)};
852
856
 
853
857
  background-color: ${Ee.tertiaryBackgroundColor};
854
858
  color: ${Ee.tertiaryColor};
@@ -866,13 +870,13 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
866
870
  /** Neutral styles **/
867
871
 
868
872
  .ft-button--neutral {
869
- ${we(Pa.color,Ee.neutralIconColor)};
873
+ ${we(za.color,Ee.neutralIconColor)};
870
874
 
871
- ${we(va.backgroundColor,Ee.neutralStateLayerColor)};
872
- ${we(va.opacityContentOnSurfaceHover,Ee.neutralStateLayerOpacityHover)};
873
- ${we(va.opacityContentOnSurfaceFocused,Ee.neutralStateLayerOpacityFocus)};
874
- ${we(va.opacityContentOnSurfaceSelected,Ee.neutralStateLayerOpacityActive)};
875
- ${we(va.opacityContentOnSurfacePressed,Ee.neutralStateLayerOpacityActive)};
875
+ ${we(Oa.backgroundColor,Ee.neutralStateLayerColor)};
876
+ ${we(Oa.opacityContentOnSurfaceHover,Ee.neutralStateLayerOpacityHover)};
877
+ ${we(Oa.opacityContentOnSurfaceFocused,Ee.neutralStateLayerOpacityFocus)};
878
+ ${we(Oa.opacityContentOnSurfaceSelected,Ee.neutralStateLayerOpacityActive)};
879
+ ${we(Oa.opacityContentOnSurfacePressed,Ee.neutralStateLayerOpacityActive)};
876
880
 
877
881
  background-color: ${Ee.neutralBackgroundColor};
878
882
  color: ${Ee.neutralColor};
@@ -890,8 +894,8 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
890
894
  /** Large styles **/
891
895
 
892
896
  .ft-button--large {
893
- ${we(Wa.size,Ee.largeIconSize)};
894
- ${we(Pa.size,Ee.largeIconSize)};
897
+ ${we(Aa.size,Ee.largeIconSize)};
898
+ ${we(za.size,Ee.largeIconSize)};
895
899
 
896
900
  height: ${Ee.largeHeight};
897
901
  padding: 0 ${Ee.largeHorizontalPadding};
@@ -913,8 +917,8 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
913
917
  /** Small styles **/
914
918
 
915
919
  .ft-button--small {
916
- ${we(Wa.size,Ee.smallIconSize)};
917
- ${we(Pa.size,Ee.smallIconSize)};
920
+ ${we(Aa.size,Ee.smallIconSize)};
921
+ ${we(za.size,Ee.smallIconSize)};
918
922
 
919
923
  height: ${Ee.smallHeight};
920
924
  padding: 0 ${Ee.smallHorizontalPadding};
@@ -932,7 +936,7 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
932
936
  width: ${Ee.smallIconOnlyWidth};
933
937
  padding: unset;
934
938
  }
935
- `,Ke];var es=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class os extends Xa{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Ti.caption1medium:Ti.body2medium}}os.styles=[Pe,ts],es([R({type:Boolean})],os.prototype,"primary",void 0),es([R({type:Boolean})],os.prototype,"secondary",void 0),es([R({type:Boolean})],os.prototype,"tertiary",void 0),es([R({type:Boolean})],os.prototype,"neutral",void 0),es([R({type:Boolean})],os.prototype,"small",void 0),W("ft-button")(Qa),W("ftds-button")(os);const rs=xe.extend("--ft-chip-color","",$e.colorOnSurface),is={backgroundColor:xe.extend("--ft-chip-background-color","",$e.colorSurface),color:rs,fontSize:xe.extend("--ft-chip-font-size","",Nn.fontSize),iconSize:xe.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:xe.extend("--ft-chip-ripple-color","",rs),horizontalPadding:xe.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:xe.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:xe.external($e.colorOutline,"Design system"),opacityDisabled:xe.external($e.colorOpacityDisabled,"Design system")},ns=xe.extend("--ft-chip-highlighted-color","",xe.extend("--ft-chip-color","",$e.colorOnPrimary)),as={backgroundColor:xe.extend("--ft-chip-highlighted-background-color","",xe.extend("--ft-chip-background-color","",$e.colorPrimary)),color:ns,rippleColor:xe.extend("--ft-chip-highlighted-ripple-color","",ns)},ss=xe.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),cs=xe.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),ls=[Ke,xt`
939
+ `,Pe];var os=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class is extends Ja{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Zr.caption1medium:Zr.body2medium}}is.styles=[ze,es],os([R({type:Boolean})],is.prototype,"primary",void 0),os([R({type:Boolean})],is.prototype,"secondary",void 0),os([R({type:Boolean})],is.prototype,"tertiary",void 0),os([R({type:Boolean})],is.prototype,"neutral",void 0),os([R({type:Boolean})],is.prototype,"small",void 0),W("ft-button")(ts),W("ftds-button")(is);const rs=xe.extend("--ft-chip-color","",$e.colorOnSurface),ns={backgroundColor:xe.extend("--ft-chip-background-color","",$e.colorSurface),color:rs,fontSize:xe.extend("--ft-chip-font-size","",Cn.fontSize),iconSize:xe.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:xe.extend("--ft-chip-ripple-color","",rs),horizontalPadding:xe.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:xe.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:xe.external($e.colorOutline,"Design system"),opacityDisabled:xe.external($e.colorOpacityDisabled,"Design system")},as=xe.extend("--ft-chip-highlighted-color","",xe.extend("--ft-chip-color","",$e.colorOnPrimary)),ss={backgroundColor:xe.extend("--ft-chip-highlighted-background-color","",xe.extend("--ft-chip-background-color","",$e.colorPrimary)),color:as,rippleColor:xe.extend("--ft-chip-highlighted-ripple-color","",as)},cs=xe.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),ls=xe.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),fs=[Pe,xt`
936
940
  :host {
937
941
  display: inline-block;
938
942
  max-width: 100%;
@@ -948,20 +952,20 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
948
952
  box-sizing: border-box;
949
953
  pointer-events: auto;
950
954
 
951
- --ft-chip-internal-font-size: ${is.fontSize};
955
+ --ft-chip-internal-font-size: ${ns.fontSize};
952
956
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
953
- ${we(Wa.size,is.iconSize)};
954
- --ft-chip-internal-vertical-padding: ${is.verticalPadding};
955
- --ft-chip-internal-horizontal-padding: ${is.horizontalPadding};
957
+ ${we(Aa.size,ns.iconSize)};
958
+ --ft-chip-internal-vertical-padding: ${ns.verticalPadding};
959
+ --ft-chip-internal-horizontal-padding: ${ns.horizontalPadding};
956
960
  --ft-chip-internal-icon-padding: 3px;
957
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${is.iconSize});
961
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${ns.iconSize});
958
962
 
959
- border: 1px solid ${is.colorOutline};
960
- color: ${is.color};
961
- ${we(va.color,is.rippleColor)};
963
+ border: 1px solid ${ns.colorOutline};
964
+ color: ${ns.color};
965
+ ${we(Oa.color,ns.rippleColor)};
962
966
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
963
967
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
964
- background-color: ${is.backgroundColor};
968
+ background-color: ${ns.backgroundColor};
965
969
  line-height: var(--ft-chip-internal-content-height);
966
970
  }
967
971
 
@@ -971,8 +975,8 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
971
975
 
972
976
  .ft-chip--dense {
973
977
  --ft-chip-internal-icon-padding: 3px;
974
- --ft-chip-internal-vertical-padding: ${cs};
975
- --ft-chip-internal-horizontal-padding: ${ss};
978
+ --ft-chip-internal-vertical-padding: ${ls};
979
+ --ft-chip-internal-horizontal-padding: ${cs};
976
980
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
977
981
  }
978
982
 
@@ -984,15 +988,15 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
984
988
  cursor: default;
985
989
  pointer-events: none;
986
990
  filter: grayscale(1);
987
- opacity: ${is.opacityDisabled};
991
+ opacity: ${ns.opacityDisabled};
988
992
  }
989
993
 
990
994
  .ft-chip--highlighted {
991
995
  border: none;
992
996
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
993
- background-color: ${as.backgroundColor};
994
- ${we(va.color,as.rippleColor)};
995
- color: ${as.color};
997
+ background-color: ${ss.backgroundColor};
998
+ ${we(Oa.color,ss.rippleColor)};
999
+ color: ${ss.color};
996
1000
  }
997
1001
 
998
1002
  .ft-chip--clickable {
@@ -1022,9 +1026,9 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
1022
1026
  }
1023
1027
 
1024
1028
  .ft-chip--icon-button {
1025
- ${we(Ba.iconSize,is.iconSize)};
1026
- ${we(Ba.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1027
- ${we(Ba.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1029
+ ${we(Da.iconSize,ns.iconSize)};
1030
+ ${we(Da.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1031
+ ${we(Da.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1028
1032
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
1029
1033
  }
1030
1034
 
@@ -1032,8 +1036,8 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
1032
1036
  vertical-align: bottom;
1033
1037
  display: block;
1034
1038
  margin: 0 var(--ft-chip-internal-horizontal-padding);
1035
- ${we(Nn.fontSize,"var(--ft-chip-internal-font-size)")};
1036
- ${we(Nn.lineHeight,"var(--ft-chip-internal-content-height)")};
1039
+ ${we(Cn.fontSize,"var(--ft-chip-internal-font-size)")};
1040
+ ${we(Cn.lineHeight,"var(--ft-chip-internal-content-height)")};
1037
1041
  }
1038
1042
 
1039
1043
  .ft-chip--safari-fix .ft-chip--label {
@@ -1069,8 +1073,8 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
1069
1073
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
1070
1074
  order: -1;
1071
1075
  }
1072
- `];var fs=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 hs extends CustomEvent{constructor(){super("icon-click")}}class ps extends Fe{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Dr};return re`
1073
- <div class="${ba(t)}"
1076
+ `];var hs=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ps extends CustomEvent{constructor(){super("icon-click")}}class us extends Fe{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Ti};return ie`
1077
+ <div class="${ma(t)}"
1074
1078
  aria-label="${this.getLabel()}"
1075
1079
  tabindex="${this.interactionsOnChip?0:-1}"
1076
1080
  @keyup=${this.onKeyUp}>
@@ -1080,7 +1084,7 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
1080
1084
  </ft-typography>
1081
1085
  ${this.internalIcon?this.renderIcon():null}
1082
1086
  </div>
1083
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?re`
1087
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?ie`
1084
1088
  <ft-button round
1085
1089
  class="ft-chip--icon-button"
1086
1090
  @click=${this.onIconClick}
@@ -1088,18 +1092,18 @@ class Ua extends ga{constructor(t){if(super(t),this.et=ot,t.type!==da)throw Erro
1088
1092
  icon="${this.internalIcon}"
1089
1093
  label="${this.iconLabel}"
1090
1094
  ></ft-button>
1091
- `:re`
1095
+ `:ie`
1092
1096
  <div class="ft-chip--icon-container ft-no-text-select">
1093
1097
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
1094
1098
  </div>
1095
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new hs))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new hs))}getLabel(){return this.label||this.textContent}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}ps.elementDefinitions={"ft-ripple":Ra,"ft-typography":ra,"ft-icon":Ka,"ft-button":Qa},ps.styles=ls,fs([R({type:Boolean})],ps.prototype,"highlighted",void 0),fs([R({type:Boolean})],ps.prototype,"removable",void 0),fs([R({type:Boolean})],ps.prototype,"disabled",void 0),fs([R({type:Boolean})],ps.prototype,"clickable",void 0),fs([R({type:Boolean})],ps.prototype,"iconClickable",void 0),fs([R({type:Boolean})],ps.prototype,"dense",void 0),fs([R({type:Boolean})],ps.prototype,"multiLine",void 0),fs([R()],ps.prototype,"label",void 0),fs([R()],ps.prototype,"iconLabel",void 0),fs([R()],ps.prototype,"icon",void 0),fs([R()],ps.prototype,"iconVariant",void 0),fs([R({type:Boolean})],ps.prototype,"trailingIcon",void 0),fs([k("ft-typography slot")],ps.prototype,"slottedContent",void 0),W("ft-chip")(ps);var us=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 ds extends(ki(Ei)){constructor(){super(),this.useChip=!1,this.editorMode=!1,this.addStore(ni),this.addI18nContext(Ki)}render(){return this.useChip?re`
1099
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new ps))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new ps))}getLabel(){return this.label||this.textContent}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}us.elementDefinitions={"ft-ripple":Ua,"ft-typography":ra,"ft-icon":Pa,"ft-button":ts},us.styles=fs,hs([R({type:Boolean})],us.prototype,"highlighted",void 0),hs([R({type:Boolean})],us.prototype,"removable",void 0),hs([R({type:Boolean})],us.prototype,"disabled",void 0),hs([R({type:Boolean})],us.prototype,"clickable",void 0),hs([R({type:Boolean})],us.prototype,"iconClickable",void 0),hs([R({type:Boolean})],us.prototype,"dense",void 0),hs([R({type:Boolean})],us.prototype,"multiLine",void 0),hs([R()],us.prototype,"label",void 0),hs([R()],us.prototype,"iconLabel",void 0),hs([R()],us.prototype,"icon",void 0),hs([R()],us.prototype,"iconVariant",void 0),hs([R({type:Boolean})],us.prototype,"trailingIcon",void 0),hs([k("ft-typography slot")],us.prototype,"slottedContent",void 0),W("ft-chip")(us);var ds=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ys extends(Lr($r)){constructor(){super(),this.useChip=!1,this.editorMode=!1,this.addStore(ar),this.addI18nContext(Pr)}render(){return this.useChip?ie`
1096
1100
  <ft-tooltip text="${this.tooltipText}">
1097
1101
  <ft-chip>${this.renderContent()}</ft-chip>
1098
1102
  </ft-tooltip>
1099
- `:re`${this.renderContent()}`}renderContent(){return this.metadata?re`${this.getEllipsis(this.valueText)}`:this.editorMode?this.key?re`${Ki.messages.noValuePresent(this.key)}`:re`${Ki.messages.noKeySelected()}`:re`
1103
+ `:ie`${this.renderContent()}`}renderContent(){return this.metadata?ie`${this.getEllipsis(this.valueText)}`:this.editorMode?this.key?ie`${Pr.messages.noValuePresent(this.key)}`:ie`${Pr.messages.noKeySelected()}`:ie`
1100
1104
  <style>
1101
1105
  :host {
1102
1106
  display: none !important;
1103
1107
  }
1104
1108
  </style>
1105
- `}getEllipsis(t){let e=this.maxLength?t.substring(0,this.maxLength):t;return e+(e.length<t.length?"…":"")}update(t){var e;super.update(t),(t.has("result")||t.has("key"))&&this.result&&(this.metadata=null===(e=this.resultData)||void 0===e?void 0:e.metadata.find((t=>t.key==this.key)))}get resultData(){var t,e,o,r,i;return null!==(r=null!==(e=null===(t=this.result)||void 0===t?void 0:t.map)&&void 0!==e?e:null===(o=this.result)||void 0===o?void 0:o.topic)&&void 0!==r?r:null===(i=this.result)||void 0===i?void 0:i.document}get valueText(){var t,e;return null!==(e=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==e?e:""}get tooltipText(){var t,e;return this.metadata?`${null!==(e=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==e?e:this.metadata.key}: ${this.valueText}`:""}}ds.elementDefinitions={"ft-tooltip":pa,"ft-chip":ps},ds.styles=Tr,us([R()],ds.prototype,"key",void 0),us([R({type:Boolean})],ds.prototype,"useChip",void 0),us([R({type:Number,attribute:"max-length"})],ds.prototype,"maxLength",void 0),us([Kr({store:ni.name})],ds.prototype,"editorMode",void 0),us([U()],ds.prototype,"metadata",void 0),W("ft-search-result-metadata")(ds),t.FtSearchResultMetadata=ds,t.FtSearchResultMetadataCssVariables={},t.styles=Tr}({});
1109
+ `}getEllipsis(t){let e=this.maxLength?t.substring(0,this.maxLength):t;return e+(e.length<t.length?"…":"")}update(t){var e;super.update(t),(t.has("result")||t.has("key"))&&this.result&&(this.metadata=null===(e=this.resultData)||void 0===e?void 0:e.metadata.find((t=>t.key==this.key)))}get resultData(){var t,e,o,i,r;return null!==(i=null!==(e=null===(t=this.result)||void 0===t?void 0:t.map)&&void 0!==e?e:null===(o=this.result)||void 0===o?void 0:o.topic)&&void 0!==i?i:null===(r=this.result)||void 0===r?void 0:r.document}get valueText(){var t,e;return null!==(e=null===(t=this.metadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==e?e:""}get tooltipText(){var t,e;return this.metadata?`${null!==(e=null===(t=this.metadata)||void 0===t?void 0:t.label)&&void 0!==e?e:this.metadata.key}: ${this.valueText}`:""}}ys.elementDefinitions={"ft-tooltip":ua,"ft-chip":us},ys.styles=Zi,ds([R()],ys.prototype,"key",void 0),ds([R({type:Boolean})],ys.prototype,"useChip",void 0),ds([R({type:Number,attribute:"max-length"})],ys.prototype,"maxLength",void 0),ds([Pi({store:ar.name})],ys.prototype,"editorMode",void 0),ds([U()],ys.prototype,"metadata",void 0),W("ft-search-result-metadata")(ys),t.FtSearchResultMetadata=ys,t.FtSearchResultMetadataCssVariables={},t.styles=Zi}({});