@fluid-topics/ft-search-result-context 1.0.59 → 1.0.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,40 +14,40 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,i=window.customElements.define,e=window.customElements.get,s=window.customElements,n=new WeakMap,r=new WeakMap,o=new WeakMap,a=new WeakMap;let h;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,h=new Set(n.observedAttributes||[]);d(n,h,a);const c={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:h};this._definitionsByTag.set(t,c),this._definitionsByClass.set(n,c);let l=e.call(s,t);l||(l=u(t),i.call(s,t,l)),this===window.customElements&&(o.set(n,c),c.standInClass=l);const f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)r.delete(t),p(t,c,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){b.push(this),s.upgrade.apply(s,arguments),b.pop()}get(t){const i=this._definitionsByTag.get(t);return i?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const i=this._getDefinition(t);if(void 0!==i)return Promise.resolve(i.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,i,e){let s=this._awaitingUpgrade.get(i);s||this._awaitingUpgrade.set(i,s=new Set),e?s.add(t):s.delete(t)}},window.HTMLElement=function(){let i=h;if(i)return h=void 0,i;const e=o.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return i=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(i,this.constructor.prototype),n.set(i,e),i},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,l=t=>{let i=t.getRootNode();if(!c(i)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;i=t.getRootNode(),c(i)||(i=a.get(i)?.getRootNode()||document)}return i.customElements},u=i=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const s=l(e)||window.customElements,n=s._getDefinition(i);return n?p(e,n):r.set(e,s),e}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,i,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,i,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,i,e)=>{if(0===i.size||void 0===e)return;const s=t.prototype.setAttribute;s&&(t.prototype.setAttribute=function(t,n){const r=t.toLowerCase();if(i.has(r)){const t=this.getAttribute(r);s.call(this,r,n),e.call(this,r,t,n)}else s.call(this,r,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const s=t.toLowerCase();if(i.has(s)){const t=this.getAttribute(s);n.call(this,s),e.call(this,s,t,null)}else n.call(this,s)})},f=i=>{const e=Object.getPrototypeOf(i);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(i,window.HTMLElement):f(e)},p=(t,i,e=!1)=>{Object.setPrototypeOf(t,i.elementClass.prototype),n.set(t,i),h=t;try{new i.elementClass}catch(t){f(i.elementClass),new i.elementClass}i.observedAttributes.forEach((e=>{t.hasAttribute(e)&&i.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&i.connectedCallback&&t.isConnected&&i.connectedCallback.call(t)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const i=v.apply(this,arguments);return t.customElements&&(i.customElements=t.customElements),i};let b=[document];const w=(t,i,e=void 0)=>{const s=(e?Object.getPrototypeOf(e):t.prototype)[i];t.prototype[i]=function(){b.push(this);const t=s.apply(e||this,arguments);return void 0!==t&&a.set(t,this),b.pop(),t}};w(ShadowRoot,"createElement",document),w(ShadowRoot,"importNode",document),w(Element,"insertAdjacentHTML");const y=(t,i)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,i);Object.defineProperty(t.prototype,i,{...e,set(t){b.push(this),e.set.call(this,t),b.pop()}})};if(y(Element,"innerHTML"),y(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,i=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const s=i.call(this,...e);return t.set(s,this),s},e.forEach((i=>{const e=window.ElementInternals.prototype,s=e[i];e[i]=function(...i){const e=t.get(this);if(!0!==n.get(e).formAssociated)throw new DOMException(`Failed to execute ${s} on 'ElementInternals': The target element is not a form-associated custom element.`);s?.call(this,...i)}}));class s extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class r{constructor(t){const i=new Map;t.forEach(((t,e)=>{const s=t.getAttribute("name"),n=i.get(s)||[];this[+e]=t,n.push(t),i.set(s,n)})),this.length=t.length,i.forEach(((t,i)=>{t&&(1===t.length?this[i]=t[0]:this[i]=new s(t))}))}namedItem(t){return this[t]}}const o=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=o.get.call(this,[]),i=[];for(const e of t){const t=n.get(e);t&&!0!==t.formAssociated||i.push(e)}return new r(i)}})}}try{window.customElements.define("custom-element",null)}catch(A){const t=window.customElements.define;window.customElements.define=(i,e,s)=>{if(null!==e)try{t.bind(window.customElements)(i,e,s)}catch(t){console.info(i,e,s,t)}}}class i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,i){return this.callbacks=[t],this.debounce(i)}queue(t,i){return this.callbacks.push(t),this.debounce(i)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,i)=>{this.resolvePromise=t,this.rejectPromise=i}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,i;const e=[...this.callbacks];this.callbacks=[];const s=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(i=this.resolvePromise)&&void 0!==i?i:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void s(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,r=window.customElements.get,e=window.customElements,n=new WeakMap,a=new WeakMap,i=new WeakMap,c=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const c=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);d(n,l,c);const s={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:c,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,s),this._definitionsByClass.set(n,s);let f=r.call(e,t);f||(f=p(t),o.call(e,t,f)),this===window.customElements&&(i.set(n,s),s.standInClass=f);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)a.delete(t),u(t,s,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),e.upgrade.apply(e,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let r=this._whenDefinedPromises.get(t);return void 0===r&&(r={},r.promise=new Promise((t=>r.resolve=t)),this._whenDefinedPromises.set(t,r)),r.promise}_upgradeWhenDefined(t,o,r){let e=this._awaitingUpgrade.get(o);e||this._awaitingUpgrade.set(o,e=new Set),r?e.add(t):e.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const r=i.get(this.constructor);if(!r)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],r.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),n.set(o,r),o},window.HTMLElement.prototype=t.prototype;const s=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!s(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),s(o)||(o=c.get(o)?.getRootNode()||document)}return o.customElements},p=o=>class{static get formAssociated(){return!0}constructor(){const r=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(r,HTMLElement.prototype);const e=f(r)||window.customElements,n=e._getDefinition(o);return n?u(r,n):a.set(r,e),r}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,o,r)=>{if(0===o.size||void 0===r)return;const e=t.prototype.setAttribute;e&&(t.prototype.setAttribute=function(t,n){const a=t.toLowerCase();if(o.has(a)){const t=this.getAttribute(a);e.call(this,a,n),r.call(this,a,t,n)}else e.call(this,a,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const e=t.toLowerCase();if(o.has(e)){const t=this.getAttribute(e);n.call(this,e),r.call(this,e,t,null)}else n.call(this,e)})},h=o=>{const r=Object.getPrototypeOf(o);if(r!==window.HTMLElement)return r===t||"HTMLElement"===r?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):h(r)},u=(t,o,r=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),n.set(t,o),l=t;try{new o.elementClass}catch(t){h(o.elementClass),new o.elementClass}o.observedAttributes.forEach((r=>{t.hasAttribute(r)&&o.attributeChangedCallback.call(t,r,null,t.getAttribute(r))})),r&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,r=void 0)=>{const e=(r?Object.getPrototypeOf(r):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=e.apply(r||this,arguments);return void 0!==t&&c.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const r=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...r,set(t){g.push(this),r.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,o=HTMLElement.prototype.attachInternals,r=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...r){const e=o.call(this,...r);return t.set(e,this),e},r.forEach((o=>{const r=window.ElementInternals.prototype,e=r[o];r[o]=function(...o){const r=t.get(this);if(!0!==n.get(r).formAssociated)throw new DOMException(`Failed to execute ${e} on 'ElementInternals': The target element is not a form-associated custom element.`);e?.call(this,...o)}}));class e extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class a{constructor(t){const o=new Map;t.forEach(((t,r)=>{const e=t.getAttribute("name"),n=o.get(e)||[];this[+r]=t,n.push(t),o.set(e,n)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new e(t))}))}namedItem(t){return this[t]}}const i=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=i.get.call(this,[]),o=[];for(const r of t){const t=n.get(r);t&&!0!==t.formAssociated||o.push(r)}return new a(o)}})}}try{window.customElements.define("custom-element",null)}catch(U){const t=window.customElements.define;window.customElements.define=(o,r,e)=>{if(null!==r)try{t.bind(window.customElements)(o,r,e)}catch(t){console.info(o,r,e,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const r=[...this.callbacks];this.callbacks=[];const e=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of r)try{await t()}catch(t){return void e(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
- */const e=(t,i)=>"method"===i.kind&&i.descriptor&&!("value"in i.descriptor)?{...i,finisher(e){e.createProperty(i.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:i.key,initializer(){"function"==typeof i.initializer&&(this[i.key]=i.initializer.call(this))},finisher(e){e.createProperty(i.key,t)}};function s(t){return(i,s)=>void 0!==s?((t,i,e)=>{i.constructor.createProperty(e,t)})(t,i,s):e(t,i)
22
+ */const r=(t,o)=>"method"===o.kind&&o.descriptor&&!("value"in o.descriptor)?{...o,finisher(r){r.createProperty(o.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:o.key,initializer(){"function"==typeof o.initializer&&(this[o.key]=o.initializer.call(this))},finisher(r){r.createProperty(o.key,t)}};function e(t){return(o,e)=>void 0!==e?((t,o,r)=>{o.constructor.createProperty(r,t)})(t,o,e):r(t,o)
23
23
  /**
24
24
  * @license
25
25
  * Copyright 2021 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */}var n;function r(t,i){try{return function(t,i){if(t===i)return!0;if(t&&i&&"object"==typeof t&&"object"==typeof i){if(t.constructor!==i.constructor)return!1;var e,s,n;if(Array.isArray(t)){if((e=t.length)!=i.length)return!1;for(s=e;0!=s--;)if(!r(t[s],i[s]))return!1;return!0}if(t instanceof Map&&i instanceof Map){if(t.size!==i.size)return!1;for(s of t.entries())if(!i.has(s[0]))return!1;for(s of t.entries())if(!r(s[1],i.get(s[0])))return!1;return!0}if(t instanceof Set&&i instanceof Set){if(t.size!==i.size)return!1;for(s of t.entries())if(!i.has(s[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===i.source&&t.flags===i.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===i.valueOf();if((e=(n=Object.keys(t)).length)!==Object.keys(i).length)return!1;for(s=e;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,n[s]))return!1;for(s=e;0!=s--;){var o=n[s];if(!r(t[o],i[o]))return!1}return!0}return t!=t&&i!=i}(t,i)}catch(t){return!1}}null===(n=window.HTMLSlotElement)||void 0===n||n.prototype.assignedElements;
27
+ */}var n;function a(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var r,e,n;if(Array.isArray(t)){if((r=t.length)!=o.length)return!1;for(e=r;0!=e--;)if(!a(t[e],o[e]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(e of t.entries())if(!o.has(e[0]))return!1;for(e of t.entries())if(!a(e[1],o.get(e[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(e of t.entries())if(!o.has(e[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((r=(n=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(e=r;0!=e--;)if(!Object.prototype.hasOwnProperty.call(o,n[e]))return!1;for(e=r;0!=e--;){var i=n[e];if(!a(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}null===(n=window.HTMLSlotElement)||void 0===n||n.prototype.assignedElements;
28
28
  /**
29
29
  * @license
30
30
  * Copyright 2019 Google LLC
31
31
  * SPDX-License-Identifier: BSD-3-Clause
32
32
  */
33
- const o=window,a=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,h=Symbol(),c=new WeakMap;let l=class{constructor(t,i,e){if(this._$cssResult$=!0,e!==h)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=i}get styleSheet(){let t=this.o;const i=this.t;if(a&&void 0===t){const e=void 0!==i&&1===i.length;e&&(t=c.get(i)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&c.set(i,t))}return t}toString(){return this.cssText}};const u=t=>new l("string"==typeof t?t:t+"",void 0,h),d=(t,...i)=>{const e=1===t.length?t[0]:i.reduce(((i,e,s)=>i+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[s+1]),t[0]);return new l(e,t,h)},f=(t,i)=>{a?t.adoptedStyleSheets=i.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):i.forEach((i=>{const e=document.createElement("style"),s=o.litNonce;void 0!==s&&e.setAttribute("nonce",s),e.textContent=i.cssText,t.appendChild(e)}))},p=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let i="";for(const e of t.cssRules)i+=e.cssText;return u(i)})(t):t
33
+ const i=window,c=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,l=Symbol(),s=new WeakMap;let f=class{constructor(t,o,r){if(this._$cssResult$=!0,r!==l)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(c&&void 0===t){const r=void 0!==o&&1===o.length;r&&(t=s.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&s.set(o,t))}return t}toString(){return this.cssText}};const p=t=>new f("string"==typeof t?t:t+"",void 0,l),d=(t,...o)=>{const r=1===t.length?t[0]:o.reduce(((o,r,e)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[e+1]),t[0]);return new f(r,t,l)},h=(t,o)=>{c?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const r=document.createElement("style"),e=i.litNonce;void 0!==e&&r.setAttribute("nonce",e),r.textContent=o.cssText,t.appendChild(r)}))},u=c?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const r of t.cssRules)o+=r.cssText;return p(o)})(t):t
34
34
  /**
35
35
  * @license
36
36
  * Copyright 2017 Google LLC
37
37
  * SPDX-License-Identifier: BSD-3-Clause
38
- */;var v;const b=window,w=b.trustedTypes,y=w?w.emptyScript:"",m=b.reactiveElementPolyfillSupport,x={toAttribute(t,i){switch(i){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,i){let e=t;switch(i){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},g=(t,i)=>i!==t&&(i==i||t==t),E={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:g};let O=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var i;this.finalize(),(null!==(i=this.h)&&void 0!==i?i:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,e)=>{const s=this._$Ep(e,i);void 0!==s&&(this._$Ev.set(s,e),t.push(s))})),t}static createProperty(t,i=E){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,s=this.getPropertyDescriptor(t,e,i);void 0!==s&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,i,e){return{get(){return this[i]},set(s){const n=this[t];this[i]=s,this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||E}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const e of i)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const i=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)i.unshift(p(t))}else void 0!==t&&i.push(p(t));return i}static _$Ep(t,i){const e=i.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var i,e;(null!==(i=this._$ES)&&void 0!==i?i:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var i;null===(i=this._$ES)||void 0===i||i.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Ei.set(i,this[i]),delete this[i])}))}createRenderRoot(){var t;const i=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return f(i,this.constructor.elementStyles),i}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}))}attributeChangedCallback(t,i,e){this._$AK(t,e)}_$EO(t,i,e=E){var s;const n=this.constructor._$Ep(t,e);if(void 0!==n&&!0===e.reflect){const r=(void 0!==(null===(s=e.converter)||void 0===s?void 0:s.toAttribute)?e.converter:x).toAttribute(i,e.type);this._$El=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$El=null}}_$AK(t,i){var e;const s=this.constructor,n=s._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=s.getPropertyOptions(n),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(e=t.converter)||void 0===e?void 0:e.fromAttribute)?t.converter:x;this._$El=n,this[n]=r.fromAttribute(i,t.type),this._$El=null}}requestUpdate(t,i,e){let s=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||g)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===e.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,e))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,i)=>this[i]=t)),this._$Ei=void 0);let i=!1;const e=this._$AL;try{i=this.shouldUpdate(e),i?(this.willUpdate(e),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(e)):this._$Ek()}catch(t){throw i=!1,this._$Ek(),t}i&&this._$AE(e)}willUpdate(t){}_$AE(t){var i;null===(i=this._$ES)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,i)=>this._$EO(i,this[i],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
38
+ */;var y;const g=window,b=g.trustedTypes,m=b?b.emptyScript:"",O=g.reactiveElementPolyfillSupport,N={toAttribute(t,o){switch(o){case Boolean:t=t?m:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let r=t;switch(o){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},v=(t,o)=>o!==t&&(o==o||t==t),S={attribute:!0,type:String,converter:N,reflect:!1,hasChanged:v};let w=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var o;this.finalize(),(null!==(o=this.h)&&void 0!==o?o:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((o,r)=>{const e=this._$Ep(r,o);void 0!==e&&(this._$Ev.set(e,r),t.push(e))})),t}static createProperty(t,o=S){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(t,o),!o.noAccessor&&!this.prototype.hasOwnProperty(t)){const r="symbol"==typeof t?Symbol():"__"+t,e=this.getPropertyDescriptor(t,r,o);void 0!==e&&Object.defineProperty(this.prototype,t,e)}}static getPropertyDescriptor(t,o,r){return{get(){return this[o]},set(e){const n=this[t];this[o]=e,this.requestUpdate(t,n,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||S}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,o=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const r of o)this.createProperty(r,t[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)o.unshift(u(t))}else void 0!==t&&o.push(u(t));return o}static _$Ep(t,o){const r=o.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var o,r;(null!==(o=this._$ES)&&void 0!==o?o:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(r=t.hostConnected)||void 0===r||r.call(t))}removeController(t){var o;null===(o=this._$ES)||void 0===o||o.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,o)=>{this.hasOwnProperty(o)&&(this._$Ei.set(o,this[o]),delete this[o])}))}createRenderRoot(){var t;const o=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return h(o,this.constructor.elementStyles),o}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostConnected)||void 0===o?void 0:o.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostDisconnected)||void 0===o?void 0:o.call(t)}))}attributeChangedCallback(t,o,r){this._$AK(t,r)}_$EO(t,o,r=S){var e;const n=this.constructor._$Ep(t,r);if(void 0!==n&&!0===r.reflect){const a=(void 0!==(null===(e=r.converter)||void 0===e?void 0:e.toAttribute)?r.converter:N).toAttribute(o,r.type);this._$El=t,null==a?this.removeAttribute(n):this.setAttribute(n,a),this._$El=null}}_$AK(t,o){var r;const e=this.constructor,n=e._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=e.getPropertyOptions(n),a="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(r=t.converter)||void 0===r?void 0:r.fromAttribute)?t.converter:N;this._$El=n,this[n]=a.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,r){let e=!0;void 0!==t&&(((r=r||this.constructor.getPropertyOptions(t)).hasChanged||v)(this[t],o)?(this._$AL.has(t)||this._$AL.set(t,o),!0===r.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,r))):e=!1),!this.isUpdatePending&&e&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,o)=>this[o]=t)),this._$Ei=void 0);let o=!1;const r=this._$AL;try{o=this.shouldUpdate(r),o?(this.willUpdate(r),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostUpdate)||void 0===o?void 0:o.call(t)})),this.update(r)):this._$Ek()}catch(t){throw o=!1,this._$Ek(),t}o&&this._$AE(r)}willUpdate(t){}_$AE(t){var o;null===(o=this._$ES)||void 0===o||o.forEach((t=>{var o;return null===(o=t.hostUpdated)||void 0===o?void 0:o.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,o)=>this._$EO(o,this[o],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
39
39
  /**
40
40
  * @license
41
41
  * Copyright 2017 Google LLC
42
42
  * SPDX-License-Identifier: BSD-3-Clause
43
43
  */
44
- var R;O.finalized=!0,O.elementProperties=new Map,O.elementStyles=[],O.shadowRootOptions={mode:"open"},null==m||m({ReactiveElement:O}),(null!==(v=b.reactiveElementVersions)&&void 0!==v?v:b.reactiveElementVersions=[]).push("1.6.1");const S=window,N=S.trustedTypes,A=N?N.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",U=`lit$${(Math.random()+"").slice(9)}$`,T="?"+U,M=`<${T}>`,L=document,_=()=>L.createComment(""),F=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,$="[ \t\n\f\r]",j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,B=/-->/g,P=/>/g,D=RegExp(`>|${$}(?:([^\\s"'>=/]+)(${$}*=${$}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),I=/'/g,H=/"/g,K=/^(?:script|style|textarea|title)$/i,W=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),G=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),V=new WeakMap,q=L.createTreeWalker(L,129,null,!1),J=(t,i)=>{const e=t.length-1,s=[];let n,r=2===i?"<svg>":"",o=j;for(let i=0;i<e;i++){const e=t[i];let a,h,c=-1,l=0;for(;l<e.length&&(o.lastIndex=l,h=o.exec(e),null!==h);)l=o.lastIndex,o===j?"!--"===h[1]?o=B:void 0!==h[1]?o=P:void 0!==h[2]?(K.test(h[2])&&(n=RegExp("</"+h[2],"g")),o=D):void 0!==h[3]&&(o=D):o===D?">"===h[0]?(o=null!=n?n:j,c=-1):void 0===h[1]?c=-2:(c=o.lastIndex-h[2].length,a=h[1],o=void 0===h[3]?D:'"'===h[3]?H:I):o===H||o===I?o=D:o===B||o===P?o=j:(o=D,n=void 0);const u=o===D&&t[i+1].startsWith("/>")?" ":"";r+=o===j?e+M:c>=0?(s.push(a),e.slice(0,c)+C+e.slice(c)+U+u):e+U+(-2===c?(s.push(void 0),i):u)}const a=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==A?A.createHTML(a):a,s]};class X{constructor({strings:t,_$litType$:i},e){let s;this.parts=[];let n=0,r=0;const o=t.length-1,a=this.parts,[h,c]=J(t,i);if(this.el=X.createElement(h,e),q.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(s=q.nextNode())&&a.length<o;){if(1===s.nodeType){if(s.hasAttributes()){const t=[];for(const i of s.getAttributeNames())if(i.endsWith(C)||i.startsWith(U)){const e=c[r++];if(t.push(i),void 0!==e){const t=s.getAttribute(e.toLowerCase()+C).split(U),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?it:"?"===i[1]?st:"@"===i[1]?nt:tt})}else a.push({type:6,index:n})}for(const i of t)s.removeAttribute(i)}if(K.test(s.tagName)){const t=s.textContent.split(U),i=t.length-1;if(i>0){s.textContent=N?N.emptyScript:"";for(let e=0;e<i;e++)s.append(t[e],_()),q.nextNode(),a.push({type:2,index:++n});s.append(t[i],_())}}}else if(8===s.nodeType)if(s.data===T)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=s.data.indexOf(U,t+1));)a.push({type:7,index:n}),t+=U.length-1}n++}}static createElement(t,i){const e=L.createElement("template");return e.innerHTML=t,e}}function Z(t,i,e=t,s){var n,r,o,a;if(i===G)return i;let h=void 0!==s?null===(n=e._$Co)||void 0===n?void 0:n[s]:e._$Cl;const c=F(i)?void 0:i._$litDirective$;return(null==h?void 0:h.constructor)!==c&&(null===(r=null==h?void 0:h._$AO)||void 0===r||r.call(h,!1),void 0===c?h=void 0:(h=new c(t),h._$AT(t,e,s)),void 0!==s?(null!==(o=(a=e)._$Co)&&void 0!==o?o:a._$Co=[])[s]=h:e._$Cl=h),void 0!==h&&(i=Z(t,h._$AS(t,i.values),h,s)),i}class Y{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:s}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:L).importNode(e,!0);q.currentNode=n;let r=q.nextNode(),o=0,a=0,h=s[0];for(;void 0!==h;){if(o===h.index){let i;2===h.type?i=new Q(r,r.nextSibling,this,t):1===h.type?i=new h.ctor(r,h.name,h.strings,this,t):6===h.type&&(i=new rt(r,this,t)),this._$AV.push(i),h=s[++a]}o!==(null==h?void 0:h.index)&&(r=q.nextNode(),o++)}return n}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class Q{constructor(t,i,e,s){var n;this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=s,this._$Cp=null===(n=null==s?void 0:s.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=Z(this,t,i),F(t)?t===z||null==t||""===t?(this._$AH!==z&&this._$AR(),this._$AH=z):t!==this._$AH&&t!==G&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>k(t)||"function"==typeof(null==t?void 0: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!==z&&F(this._$AH)?this._$AA.nextSibling.data=t:this.$(L.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:s}=t,n="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=X.createElement(s.h,this.options)),s);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.v(e);else{const t=new Y(n,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=V.get(t.strings);return void 0===i&&V.set(t.strings,i=new X(t)),i}T(t){k(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,s=0;for(const n of t)s===i.length?i.push(e=new Q(this.k(_()),this.k(_()),this,this.options)):e=i[s],e._$AI(n),s++;s<i.length&&(this._$AR(e&&e._$AB.nextSibling,s),i.length=s)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class tt{constructor(t,i,e,s,n){this.type=1,this._$AH=z,this._$AN=void 0,this.element=t,this.name=i,this._$AM=s,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=z}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,s){const n=this.strings;let r=!1;if(void 0===n)t=Z(this,t,i,0),r=!F(t)||t!==this._$AH&&t!==G,r&&(this._$AH=t);else{const s=t;let o,a;for(t=n[0],o=0;o<n.length-1;o++)a=Z(this,s[e+o],i,o),a===G&&(a=this._$AH[o]),r||(r=!F(a)||a!==this._$AH[o]),a===z?t=z:t!==z&&(t+=(null!=a?a:"")+n[o+1]),this._$AH[o]=a}r&&!s&&this.j(t)}j(t){t===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class it extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===z?void 0:t}}const et=N?N.emptyScript:"";class st extends tt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==z?this.element.setAttribute(this.name,et):this.element.removeAttribute(this.name)}}class nt extends tt{constructor(t,i,e,s,n){super(t,i,e,s,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=Z(this,t,i,0))&&void 0!==e?e:z)===G)return;const s=this._$AH,n=t===z&&s!==z||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==z&&(s===z||n);n&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class rt{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Z(this,t)}}const ot=S.litHtmlPolyfillSupport;null==ot||ot(X,Q),(null!==(R=S.litHtmlVersions)&&void 0!==R?R:S.litHtmlVersions=[]).push("2.7.3");
44
+ var C;w.finalized=!0,w.elementProperties=new Map,w.elementStyles=[],w.shadowRootOptions={mode:"open"},null==O||O({ReactiveElement:w}),(null!==(y=g.reactiveElementVersions)&&void 0!==y?y:g.reactiveElementVersions=[]).push("1.6.1");const R=window,E=R.trustedTypes,U=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,x="$lit$",L=`lit$${(Math.random()+"").slice(9)}$`,I="?"+L,W=`<${I}>`,K=document,k=()=>K.createComment(""),A=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Z=Array.isArray,F="[ \t\n\f\r]",B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,D=/-->/g,M=/>/g,T=RegExp(`>|${F}(?:([^\\s"'>=/]+)(${F}*=${F}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),P=/'/g,z=/"/g,_=/^(?:script|style|textarea|title)$/i,$=(t=>(o,...r)=>({_$litType$:t,strings:o,values:r}))(1),G=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),H=new WeakMap,Y=K.createTreeWalker(K,129,null,!1),V=(t,o)=>{const r=t.length-1,e=[];let n,a=2===o?"<svg>":"",i=B;for(let o=0;o<r;o++){const r=t[o];let c,l,s=-1,f=0;for(;f<r.length&&(i.lastIndex=f,l=i.exec(r),null!==l);)f=i.lastIndex,i===B?"!--"===l[1]?i=D:void 0!==l[1]?i=M:void 0!==l[2]?(_.test(l[2])&&(n=RegExp("</"+l[2],"g")),i=T):void 0!==l[3]&&(i=T):i===T?">"===l[0]?(i=null!=n?n:B,s=-1):void 0===l[1]?s=-2:(s=i.lastIndex-l[2].length,c=l[1],i=void 0===l[3]?T:'"'===l[3]?z:P):i===z||i===P?i=T:i===D||i===M?i=B:(i=T,n=void 0);const p=i===T&&t[o+1].startsWith("/>")?" ":"";a+=i===B?r+W:s>=0?(e.push(c),r.slice(0,s)+x+r.slice(s)+L+p):r+L+(-2===s?(e.push(void 0),o):p)}const c=a+(t[r]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==U?U.createHTML(c):c,e]};class q{constructor({strings:t,_$litType$:o},r){let e;this.parts=[];let n=0,a=0;const i=t.length-1,c=this.parts,[l,s]=V(t,o);if(this.el=q.createElement(l,r),Y.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(e=Y.nextNode())&&c.length<i;){if(1===e.nodeType){if(e.hasAttributes()){const t=[];for(const o of e.getAttributeNames())if(o.endsWith(x)||o.startsWith(L)){const r=s[a++];if(t.push(o),void 0!==r){const t=e.getAttribute(r.toLowerCase()+x).split(L),o=/([.?@])?(.*)/.exec(r);c.push({type:1,index:n,name:o[2],strings:t,ctor:"."===o[1]?ot:"?"===o[1]?et:"@"===o[1]?nt:tt})}else c.push({type:6,index:n})}for(const o of t)e.removeAttribute(o)}if(_.test(e.tagName)){const t=e.textContent.split(L),o=t.length-1;if(o>0){e.textContent=E?E.emptyScript:"";for(let r=0;r<o;r++)e.append(t[r],k()),Y.nextNode(),c.push({type:2,index:++n});e.append(t[o],k())}}}else if(8===e.nodeType)if(e.data===I)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=e.data.indexOf(L,t+1));)c.push({type:7,index:n}),t+=L.length-1}n++}}static createElement(t,o){const r=K.createElement("template");return r.innerHTML=t,r}}function J(t,o,r=t,e){var n,a,i,c;if(o===G)return o;let l=void 0!==e?null===(n=r._$Co)||void 0===n?void 0:n[e]:r._$Cl;const s=A(o)?void 0:o._$litDirective$;return(null==l?void 0:l.constructor)!==s&&(null===(a=null==l?void 0:l._$AO)||void 0===a||a.call(l,!1),void 0===s?l=void 0:(l=new s(t),l._$AT(t,r,e)),void 0!==e?(null!==(i=(c=r)._$Co)&&void 0!==i?i:c._$Co=[])[e]=l:r._$Cl=l),void 0!==l&&(o=J(t,l._$AS(t,o.values),l,e)),o}class X{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:r},parts:e}=this._$AD,n=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:K).importNode(r,!0);Y.currentNode=n;let a=Y.nextNode(),i=0,c=0,l=e[0];for(;void 0!==l;){if(i===l.index){let o;2===l.type?o=new Q(a,a.nextSibling,this,t):1===l.type?o=new l.ctor(a,l.name,l.strings,this,t):6===l.type&&(o=new at(a,this,t)),this._$AV.push(o),l=e[++c]}i!==(null==l?void 0:l.index)&&(a=Y.nextNode(),i++)}return n}v(t){let o=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,o),o+=r.strings.length-2):r._$AI(t[o])),o++}}class Q{constructor(t,o,r,e){var n;this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=r,this.options=e,this._$Cp=null===(n=null==e?void 0:e.isConnected)||void 0===n||n}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=J(this,t,o),A(t)?t===j||null==t||""===t?(this._$AH!==j&&this._$AR(),this._$AH=j):t!==this._$AH&&t!==G&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Z(t)||"function"==typeof(null==t?void 0: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!==j&&A(this._$AH)?this._$AA.nextSibling.data=t:this.$(K.createTextNode(t)),this._$AH=t}g(t){var o;const{values:r,_$litType$:e}=t,n="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=q.createElement(e.h,this.options)),e);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===n)this._$AH.v(r);else{const t=new X(n,this),o=t.u(this.options);t.v(r),this.$(o),this._$AH=t}}_$AC(t){let o=H.get(t.strings);return void 0===o&&H.set(t.strings,o=new q(t)),o}T(t){Z(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,e=0;for(const n of t)e===o.length?o.push(r=new Q(this.k(k()),this.k(k()),this,this.options)):r=o[e],r._$AI(n),e++;e<o.length&&(this._$AR(r&&r._$AB.nextSibling,e),o.length=e)}_$AR(t=this._$AA.nextSibling,o){var r;for(null===(r=this._$AP)||void 0===r||r.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class tt{constructor(t,o,r,e,n){this.type=1,this._$AH=j,this._$AN=void 0,this.element=t,this.name=o,this._$AM=e,this.options=n,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=j}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,r,e){const n=this.strings;let a=!1;if(void 0===n)t=J(this,t,o,0),a=!A(t)||t!==this._$AH&&t!==G,a&&(this._$AH=t);else{const e=t;let i,c;for(t=n[0],i=0;i<n.length-1;i++)c=J(this,e[r+i],o,i),c===G&&(c=this._$AH[i]),a||(a=!A(c)||c!==this._$AH[i]),c===j?t=j:t!==j&&(t+=(null!=c?c:"")+n[i+1]),this._$AH[i]=c}a&&!e&&this.j(t)}j(t){t===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class ot extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===j?void 0:t}}const rt=E?E.emptyScript:"";class et extends tt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==j?this.element.setAttribute(this.name,rt):this.element.removeAttribute(this.name)}}class nt extends tt{constructor(t,o,r,e,n){super(t,o,r,e,n),this.type=5}_$AI(t,o=this){var r;if((t=null!==(r=J(this,t,o,0))&&void 0!==r?r:j)===G)return;const e=this._$AH,n=t===j&&e!==j||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,a=t!==j&&(e===j||n);n&&this.element.removeEventListener(this.name,this,e),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,r;"function"==typeof this._$AH?this._$AH.call(null!==(r=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==r?r:this.element,t):this._$AH.handleEvent(t)}}class at{constructor(t,o,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){J(this,t)}}const it=R.litHtmlPolyfillSupport;null==it||it(q,Q),(null!==(C=R.litHtmlVersions)&&void 0!==C?C:R.litHtmlVersions=[]).push("2.7.3");
45
45
  /**
46
46
  * @license
47
47
  * Copyright 2017 Google LLC
48
48
  * SPDX-License-Identifier: BSD-3-Clause
49
49
  */
50
- var at,ht;class ct extends O{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,i;const e=super.createRenderRoot();return null!==(t=(i=this.renderOptions).renderBefore)&&void 0!==t||(i.renderBefore=e.firstChild),e}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,i,e)=>{var s,n;const r=null!==(s=null==e?void 0:e.renderBefore)&&void 0!==s?s:i;let o=r._$litPart$;if(void 0===o){const t=null!==(n=null==e?void 0:e.renderBefore)&&void 0!==n?n:null;r._$litPart$=o=new Q(i.insertBefore(_(),t),t,void 0,null!=e?e:{})}return o._$AI(t),o})(i,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return G}}ct.finalized=!0,ct._$litElement$=!0,null===(at=globalThis.litElementHydrateSupport)||void 0===at||at.call(globalThis,{LitElement:ct});const lt=globalThis.litElementPolyfillSupport;null==lt||lt({LitElement:ct}),(null!==(ht=globalThis.litElementVersions)&&void 0!==ht?ht:globalThis.litElementVersions=[]).push("3.3.2");class ut{static create(t,i,e){let s=t=>u(null!=t?t:e),n=d`var(${u(t)}, ${s(e)})`;return n.name=t,n.category=i,n.defaultValue=e,n.defaultCssValue=s,n.get=i=>d`var(${u(t)}, ${s(i)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>e,n}static extend(t,i,e){let s=t=>i.get(null!=t?t:e),n=d`var(${u(t)}, ${s(e)})`;return n.name=t,n.category=i.category,n.fallbackVariable=i,n.defaultValue=e,n.defaultCssValue=s,n.get=i=>d`var(${u(t)}, ${s(i)})`,n.breadcrumb=()=>[i.name,...i.breadcrumb()],n.lastResortDefaultValue=()=>e,n}static external(t,i){let e=i=>t.fallbackVariable?t.fallbackVariable.get(null!=i?i:t.defaultValue):u(null!=i?i:t.defaultValue),s=d`var(${u(t.name)}, ${e(t.defaultValue)})`;return s.name=t.name,s.category=t.category,s.fallbackVariable=t.fallbackVariable,s.defaultValue=t.defaultValue,s.context=i,s.defaultCssValue=e,s.get=i=>d`var(${u(t.name)}, ${e(i)})`,s.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],s.lastResortDefaultValue=()=>{var i,e;return null!==(i=t.defaultValue)&&void 0!==i?i:null===(e=t.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()},s}}ut.create("--ft-color-primary","COLOR","#2196F3"),ut.create("--ft-color-primary-variant","COLOR","#1976D2"),ut.create("--ft-color-secondary","COLOR","#FFCC80"),ut.create("--ft-color-secondary-variant","COLOR","#F57C00"),ut.create("--ft-color-surface","COLOR","#FFFFFF"),ut.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),ut.create("--ft-color-error","COLOR","#B00020"),ut.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),ut.create("--ft-color-opacity-high","NUMBER","1"),ut.create("--ft-color-opacity-medium","NUMBER","0.74"),ut.create("--ft-color-opacity-disabled","NUMBER","0.38"),ut.create("--ft-color-on-primary","COLOR","#FFFFFF"),ut.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),ut.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),ut.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),ut.create("--ft-color-on-secondary","COLOR","#FFFFFF"),ut.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),ut.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),ut.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),ut.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),ut.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),ut.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),ut.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),ut.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),ut.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),ut.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),ut.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),ut.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),ut.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),ut.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),ut.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),ut.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),ut.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),ut.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),ut.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),ut.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),ut.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),ut.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),ut.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),ut.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),ut.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),ut.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),ut.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),ut.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),ut.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)"),ut.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)"),ut.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)"),ut.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)"),ut.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)"),ut.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)"),ut.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)"),ut.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)"),ut.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)"),ut.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)"),ut.create("--ft-border-radius-S","SIZE","4px"),ut.create("--ft-border-radius-M","SIZE","8px"),ut.create("--ft-border-radius-L","SIZE","12px"),ut.create("--ft-border-radius-XL","SIZE","16px"),ut.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),ut.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),ut.create("--ft-transition-duration","UNKNOWN","250ms"),ut.create("--ft-transition-timing-function","UNKNOWN","ease-in-out");class dt extends ct{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([i,e])=>t.registry.define(i,e))));const i={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(i);return f(e,t.elementStyles),e}}var ft,pt=function(t,i,e,s){for(var n,r=arguments.length,o=r<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s,a=t.length-1;a>=0;a--)(n=t[a])&&(o=(r<3?n(o):r>3?n(i,e,o):n(i,e))||o);return r>3&&o&&Object.defineProperty(i,e,o),o};const vt=Symbol("constructorPrototype"),bt=Symbol("constructorName"),wt=Symbol("exportpartsDebouncer");class yt extends dt{constructor(){super(),this[ft]=new i(5),this[bt]=this.constructor.name,this[vt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[bt]&&Object.setPrototypeOf(this,this[vt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var i,e;if((null!==(e=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[wt].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 i,e,s,n,r,o;const a=t=>null!=t&&t.trim().length>0,h=t.filter(a).map((t=>t.trim()));if(0===h.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const i=null!==(n=null===(s=t.getAttribute("part"))||void 0===s?void 0:s.split(" "))&&void 0!==n?n:[],e=null!==(o=null===(r=t.getAttribute("exportparts"))||void 0===r?void 0:r.split(",").map((t=>t.split(":")[1])))&&void 0!==o?o:[];new Array(...i,...e).filter(a).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const l=[...c.values()].flatMap((t=>h.map((i=>`${t}:${i}--${t}`))));this.setAttribute("exportparts",[...this.part,...l].join(", "))}}var mt,xt;ft=wt,pt([s()],yt.prototype,"exportpartsPrefix",void 0),pt([function(t,i){const e=()=>JSON.parse(JSON.stringify(t));return s({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,i)=>!r(t,i),...null!=i?i:{}})}([])],yt.prototype,"exportpartsPrefixes",void 0),pt([s()],yt.prototype,"customStylesheet",void 0),d`
50
+ var ct,lt;class st extends w{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const r=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=r.firstChild),r}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,r)=>{var e,n;const a=null!==(e=null==r?void 0:r.renderBefore)&&void 0!==e?e:o;let i=a._$litPart$;if(void 0===i){const t=null!==(n=null==r?void 0:r.renderBefore)&&void 0!==n?n:null;a._$litPart$=i=new Q(o.insertBefore(k(),t),t,void 0,null!=r?r:{})}return i._$AI(t),i})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return G}}st.finalized=!0,st._$litElement$=!0,null===(ct=globalThis.litElementHydrateSupport)||void 0===ct||ct.call(globalThis,{LitElement:st});const ft=globalThis.litElementPolyfillSupport;null==ft||ft({LitElement:st}),(null!==(lt=globalThis.litElementVersions)&&void 0!==lt?lt:globalThis.litElementVersions=[]).push("3.3.2");const pt=t=>"string"==typeof t?p(t):t;class dt{static create(t,o,r,e){const n=t=>pt(null!=t?t:e),a=d`var(${pt(t)}, ${n(e)})`;return a.name=t,a.description=t,a.category=r,a.defaultValue=e,a.defaultCssValue=n,a.get=o=>d`var(${pt(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>e,a}static extend(t,o,r,e){const n=t=>r.get(null!=t?t:e),a=d`var(${pt(t)}, ${n(e)})`;return a.name=t,a.description=o,a.category=r.category,a.fallbackVariable=r,a.defaultValue=e,a.defaultCssValue=n,a.get=o=>d`var(${pt(t)}, ${n(o)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=e?e:r.lastResortDefaultValue(),a}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):pt(null!=o?o:t.lastResortDefaultValue()),e=d`var(${pt(t.name)}, ${r(t.defaultValue)})`;return e.name=t.name,e.category=t.category,e.fallbackVariable=t.fallbackVariable,e.defaultValue=t.defaultValue,e.context=o,e.defaultCssValue=r,e.get=o=>d`var(${pt(t.name)}, ${r(o)})`,e.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],e.lastResortDefaultValue=()=>t.lastResortDefaultValue(),e}}const ht={colorWhite:dt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:dt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:dt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:dt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:dt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:dt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:dt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:dt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:dt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:dt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:dt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:dt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:dt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:dt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:dt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:dt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:dt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:dt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:dt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:dt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:dt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:dt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:dt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:dt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:dt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:dt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:dt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:dt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:dt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:dt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:dt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:dt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:dt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:dt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:dt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:dt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:dt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:dt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:dt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:dt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:dt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:dt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:dt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:dt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:dt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:dt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:dt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:dt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:dt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:dt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:dt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:dt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:dt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:dt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:dt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:dt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:dt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:dt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:dt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:dt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:dt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:dt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:dt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:dt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:dt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:dt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:dt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:dt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:dt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:dt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:dt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:dt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:dt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:dt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:dt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:dt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:dt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:dt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:dt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:dt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:dt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:dt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:dt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:dt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:dt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:dt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:dt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:dt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:dt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:dt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:dt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:dt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:dt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:dt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:dt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:dt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:dt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:dt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:dt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:dt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:dt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:dt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:dt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:dt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:dt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:dt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:dt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:dt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:dt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:dt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:dt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:dt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:dt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:dt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:dt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:dt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:dt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:dt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:dt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:dt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:dt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:dt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:dt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:dt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:dt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:dt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:dt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:dt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:dt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:dt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:dt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:dt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:dt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:dt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:dt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:dt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:dt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:dt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:dt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:dt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:dt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:dt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:dt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:dt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:dt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:dt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:dt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:dt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:dt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:dt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:dt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:dt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:dt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:dt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:dt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:dt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:dt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:dt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:dt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:dt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:dt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:dt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:dt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:dt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:dt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:dt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:dt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:dt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:dt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:dt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:dt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:dt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:dt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:dt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:dt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:dt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:dt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:dt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:dt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:dt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:dt.create("--ft-opacity-0","","NUMBER","0"),opacity8:dt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:dt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:dt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:dt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:dt.create("--ft-opacity-80","","NUMBER","0.8")};dt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),dt.create("--ft-typography-display-lineHeight","","SIZE","120%"),dt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),dt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),dt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-display-textCase","","UNKNOWN","none"),dt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),dt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),dt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),dt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),dt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),dt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),dt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),dt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),dt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),dt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),dt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),dt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),dt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),dt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),dt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),dt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),dt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),dt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),dt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),dt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),dt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),dt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),dt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),dt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),dt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),dt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),dt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),dt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),dt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),dt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),dt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),dt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),dt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),dt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),dt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),dt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),dt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),dt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),dt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),dt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),dt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),dt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),dt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),dt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),dt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),dt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),dt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),dt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),dt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),dt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),dt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),dt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),dt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),dt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),dt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),dt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),dt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),dt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),dt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),dt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),dt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),dt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),dt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),dt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),dt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),dt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),dt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),dt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),dt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),dt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),dt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),dt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),dt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),dt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),dt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),dt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),dt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),dt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),dt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),dt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),dt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),dt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),dt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),dt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),dt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),dt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),dt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),dt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),dt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),dt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),dt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),dt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),dt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),dt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),dt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),dt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),dt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),dt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),dt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),dt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),dt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),dt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),dt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),dt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),dt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),dt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),dt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),dt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),dt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),dt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none");const ut={backgroundActionPrimary:dt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ht.colorBrand0),backgroundErrorPrimary:dt.extend("--ft-background-error-primary","Used as background of error components.",ht.colorRed0),backgroundErrorSubtle:dt.extend("--ft-background-error-subtle","Used as background of subtle error components.",ht.colorRed10),backgroundInfoPrimary:dt.extend("--ft-background-info-primary","Used as background of information components.",ht.colorCyan200),backgroundInfoSubtle:dt.extend("--ft-background-info-subtle","Used as background of subtle information components.",ht.colorCyan10),backgroundWarningPrimary:dt.extend("--ft-background-warning-primary","Used as background of warning components.",ht.colorOrange300),backgroundWarningSubtle:dt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ht.colorOrange10),backgroundSuccessPrimary:dt.extend("--ft-background-success-primary","Used as background of success components.",ht.colorGreen200),backgroundSuccessSubtle:dt.extend("--ft-background-success-subtle","Used as background of subtle success components.",ht.colorGreen10),backgroundGlobalSurface:dt.extend("--ft-background-global-surface","Used as app background.",ht.colorWhite),backgroundGlobalOnSurface:dt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ht.colorGray10),backgroundGlobalOnSurfaceDark:dt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ht.colorGray30),contentActionPrimary:dt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ht.colorBrand0),contentWarningPrimary:dt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ht.colorOrange300),contentWarningIconOnly:dt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ht.colorOrange0),contentErrorPrimary:dt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ht.colorRed0),contentErrorIconOnly:dt.extend("--ft-content-error-icon-only","Used on error status icons alone",ht.colorRed0),contentInfoPrimary:dt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ht.colorCyan200),contentInfoIconOnly:dt.extend("--ft-content-info-icon-only","Used on info status icons alone",ht.colorCyan0),contentSuccessIconOnly:dt.extend("--ft-content-success-icon-only","Used on success status icons alone",ht.colorGreen0),contentSuccessPrimary:dt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ht.colorGreen200),contentGlobalPrimary:dt.extend("--ft-content-global-primary","Used for main content on the page.",ht.colorGray500),contentGlobalSecondary:dt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ht.colorGray200),contentGlobalSubtle:dt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ht.colorGray0),contentGlobalOnColor:dt.extend("--ft-content-global-on-color","Used for content on a dominant color.",ht.colorWhite),borderActionPrimary:dt.extend("--ft-border-action-primary","Used as border for primary action components.",ht.colorBrand0),borderActionFocusRing:dt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ht.colorCyan0),borderWarningPrimary:dt.extend("--ft-border-warning-primary","Used as border for warning components.",ht.colorOrange30),borderSuccessPrimary:dt.extend("--ft-border-success-primary","Used as border for success components.",ht.colorGreen30),borderErrorPrimary:dt.extend("--ft-border-error-primary","Used as border for error components.",ht.colorRed30),borderInfoPrimary:dt.extend("--ft-border-info-primary","Used as border for information components.",ht.colorCyan30),borderGlobalSubtle:dt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ht.colorGray30),borderGlobalPrimary:dt.extend("--ft-border-global-primary","Used as border for element like input.",ht.colorGray50),borderInputPrimary:dt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ht.colorGray80)};dt.create("--ft-button-large-height","","SIZE","40px"),dt.extend("--ft-button-large-horizontal-padding","",ht.spacing4),dt.extend("--ft-button-large-gap","",ht.spacing2),dt.extend("--ft-button-large-border-radius","",ht.borderRadiusS),dt.extend("--ft-button-large-icon-size","",ht.iconSize3),dt.create("--ft-button-large-border-width","","SIZE","1px"),dt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),dt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),dt.create("--ft-button-large-icon-only-width","","SIZE","40px"),dt.create("--ft-button-small-height","","SIZE","30px"),dt.extend("--ft-button-small-horizontal-padding","",ht.spacing3),dt.extend("--ft-button-small-gap","",ht.spacing2),dt.extend("--ft-button-small-border-radius","",ht.borderRadiusS),dt.extend("--ft-button-small-icon-size","",ht.iconSize2),dt.create("--ft-button-small-border-width","","SIZE","1px"),dt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),dt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),dt.create("--ft-button-small-icon-only-width","","SIZE","30px"),dt.extend("--ft-button-primary-background-color","",ut.backgroundActionPrimary),dt.extend("--ft-button-primary-color","",ut.contentGlobalOnColor),dt.extend("--ft-button-primary-icon-color","",ut.contentGlobalOnColor),dt.extend("--ft-button-primary-state-layer-color","",ut.contentGlobalOnColor),dt.extend("--ft-button-primary-state-layer-opacity-hover","",ht.opacity16),dt.extend("--ft-button-primary-state-layer-opacity-focus","",ht.opacity16),dt.extend("--ft-button-primary-state-layer-opacity-active","",ht.opacity24),dt.extend("--ft-button-primary-component-opacity-disabled","",ht.opacity40),dt.extend("--ft-button-focus-focus-ring-color","",ut.borderActionFocusRing),dt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),dt.extend("--ft-button-tertiary-color","",ut.contentActionPrimary),dt.extend("--ft-button-tertiary-icon-color","",ut.contentActionPrimary),dt.extend("--ft-button-tertiary-state-layer-color","",ut.contentActionPrimary),dt.extend("--ft-button-tertiary-state-layer-opacity-hover","",ht.opacity8),dt.extend("--ft-button-tertiary-state-layer-opacity-focus","",ht.opacity8),dt.extend("--ft-button-tertiary-state-layer-opacity-active","",ht.opacity16),dt.extend("--ft-button-tertiary-component-opacity-disabled","",ht.opacity40),dt.extend("--ft-button-secondary-background-color","",ht.colorWhite),dt.extend("--ft-button-secondary-color","",ut.contentActionPrimary),dt.extend("--ft-button-secondary-icon-color","",ut.contentActionPrimary),dt.extend("--ft-button-secondary-state-layer-color","",ut.contentActionPrimary),dt.extend("--ft-button-secondary-state-layer-opacity-hover","",ht.opacity8),dt.extend("--ft-button-secondary-state-layer-opacity-focus","",ht.opacity8),dt.extend("--ft-button-secondary-state-layer-opacity-active","",ht.opacity16),dt.extend("--ft-button-secondary-component-opacity-disabled","",ht.opacity40),dt.extend("--ft-button-secondary-border-color","",ut.borderActionPrimary),dt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),dt.extend("--ft-button-neutral-icon-color","",ut.contentGlobalSecondary),dt.extend("--ft-button-neutral-color","",ut.contentGlobalSecondary),dt.extend("--ft-button-neutral-state-layer-color","",ut.contentGlobalSecondary),dt.extend("--ft-button-neutral-state-layer-opacity-hover","",ht.opacity8),dt.extend("--ft-button-neutral-state-layer-opacity-focus","",ht.opacity8),dt.extend("--ft-button-neutral-state-layer-opacity-active","",ht.opacity16),dt.extend("--ft-button-neutral-component-opacity-disabled","",ht.opacity40),dt.extend("--ft-tabs-top-left-border-radius","",ht.borderRadiusS),dt.extend("--ft-tabs-top-right-border-radius","",ht.borderRadiusS),dt.extend("--ft-tabs-label-horizontal-padding","",ht.spacing4),dt.extend("--ft-tabs-label-vertical-padding","",ht.spacing3),dt.extend("--ft-tabs-label-gap","",ht.spacing1),dt.extend("--ft-switch-group-horizontal-padding","",ht.spacing1),dt.extend("--ft-switch-group-vertical-padding","",ht.spacing1),dt.extend("--ft-switch-group-gap","",ht.spacing1),dt.extend("--ft-switch-group-background-color","",ut.backgroundGlobalSurface),dt.extend("--ft-switch-group-border-color","",ut.borderGlobalSubtle),dt.create("--ft-switch-group-border-radius","","SIZE","6px"),dt.extend("--ft-switch-label-horizontal-padding","",ht.spacing2),dt.extend("--ft-switch-label-vertical-padding","",ht.spacing1),dt.extend("--ft-switch-icon-horizontal-padding","",ht.spacing1),dt.extend("--ft-switch-icon-vertical-padding","",ht.spacing1),dt.create("--ft-switch-focus-outline-width","","SIZE","2px"),dt.extend("--ft-switch-focus-focus-ring-color","",ut.borderActionFocusRing),dt.extend("--ft-switch-option-border-radius","",ht.borderRadiusS),dt.extend("--ft-switch-off-state-layer-opacity-hover","",ht.opacity8),dt.extend("--ft-switch-off-state-layer-opacity-focus","",ht.opacity8),dt.extend("--ft-switch-off-state-layer-opacity-active","",ht.opacity16),dt.extend("--ft-switch-off-component-opacity-disabled","",ht.opacity40),dt.extend("--ft-switch-off-color","",ut.contentGlobalSubtle),dt.extend("--ft-switch-off-state-layer-color","",ut.contentGlobalSubtle),dt.extend("--ft-chart-1-light","for area color charts",ht.colorBrand40),dt.extend("--ft-chart-1-base","for line charts",ht.colorBrand0),dt.extend("--ft-chart-2-light","for area color charts",ht.colorYellow60),dt.extend("--ft-chart-2-base","for line charts",ht.colorYellow100),dt.extend("--ft-chart-3-light","",ht.colorUltramarine40),dt.extend("--ft-chart-3-base","",ht.colorUltramarine70),dt.extend("--ft-chart-4-light","",ht.colorCyan50),dt.extend("--ft-chart-4-base","",ht.colorCyan100),dt.extend("--ft-chart-5-light","",ht.colorRed40),dt.extend("--ft-chart-5-base","",ht.colorRed60),dt.extend("--ft-chart-6-light","",ht.colorGreen40),dt.extend("--ft-chart-6-base","",ht.colorGreen70),dt.extend("--ft-chart-7-light","",ht.colorOrange70),dt.extend("--ft-chart-7-base","",ht.colorOrange100),dt.extend("--ft-chart-8-light","",ht.colorAvocado70),dt.extend("--ft-chart-8-base","",ht.colorAvocado200),dt.extend("--ft-chart-9-light","",ht.colorBrown50),dt.extend("--ft-chart-9-base","",ht.colorBrown200),dt.extend("--ft-chart-10-light","",ht.colorGray50),dt.extend("--ft-chart-10-base","",ht.colorGray80),dt.extend("--ft-chart-monochrome-10","",ht.colorBrand10),dt.extend("--ft-chart-monochrome-20","",ht.colorBrand20),dt.extend("--ft-chart-monochrome-30","",ht.colorBrand40),dt.extend("--ft-chart-monochrome-40","",ht.colorBrand60),dt.extend("--ft-chart-monochrome-50","",ht.colorBrand0),dt.extend("--ft-chart-monochrome-60","",ht.colorBrand200),dt.extend("--ft-chip-large-horizontal-padding","",ht.spacing4),dt.extend("--ft-chip-large-vertical-padding","",ht.spacing2),dt.extend("--ft-chip-large-gap","",ht.spacing1),dt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),dt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),dt.extend("--ft-chip-large-border-radius","",ht.borderRadiusPill),dt.create("--ft-chip-large-border-width","","SIZE","1px"),dt.extend("--ft-chip-large-icon-size","",ht.iconSize3),dt.extend("--ft-chip-medium-horizontal-padding","",ht.spacing3),dt.extend("--ft-chip-medium-vertical-padding","",ht.spacing1),dt.extend("--ft-chip-medium-gap","",ht.spacing1),dt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),dt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),dt.extend("--ft-chip-medium-border-radius","",ht.borderRadiusPill),dt.create("--ft-chip-medium-border-width","","SIZE","1px"),dt.extend("--ft-chip-medium-icon-size","",ht.iconSize2),dt.extend("--ft-chip-small-horizontal-padding","",ht.spacing2),dt.extend("--ft-chip-small-vertical-padding","",ht.spacing05),dt.extend("--ft-chip-small-gap","",ht.spacing1),dt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),dt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),dt.extend("--ft-chip-small-border-radius","",ht.borderRadiusPill),dt.create("--ft-chip-small-border-width","","SIZE","1px"),dt.extend("--ft-chip-small-icon-size","",ht.iconSize1),dt.extend("--ft-chip-neutral-background-color","",ut.backgroundGlobalOnSurface),dt.extend("--ft-chip-neutral-color","",ut.contentGlobalPrimary),dt.extend("--ft-chip-neutral-border-color","",ut.borderGlobalSubtle),dt.extend("--ft-chip-info-background-color","",ut.backgroundInfoSubtle),dt.extend("--ft-chip-info-color","",ut.contentInfoPrimary),dt.extend("--ft-chip-info-border-color","",ut.borderInfoPrimary),dt.extend("--ft-chip-success-background-color","",ut.backgroundSuccessSubtle),dt.extend("--ft-chip-success-color","",ut.contentSuccessPrimary),dt.extend("--ft-chip-success-border-color","",ut.borderSuccessPrimary),dt.extend("--ft-chip-warning-background-color","",ut.backgroundWarningSubtle),dt.extend("--ft-chip-warning-color","",ut.contentWarningPrimary),dt.extend("--ft-chip-warning-border-color","",ut.borderWarningPrimary),dt.extend("--ft-chip-error-background-color","",ut.backgroundErrorSubtle),dt.extend("--ft-chip-error-color","",ut.contentErrorPrimary),dt.extend("--ft-chip-error-border-color","",ut.borderErrorPrimary),dt.create("--ft-notice-border-width","","SIZE","1px"),dt.extend("--ft-notice-horizontal-padding","",ht.spacing2),dt.extend("--ft-notice-vertical-padding","",ht.spacing1),dt.extend("--ft-notice-border-radius","",ht.borderRadiusS),dt.extend("--ft-notice-gap","",ht.spacing2),dt.extend("--ft-notice-icon-size","",ht.iconSize3),dt.extend("--ft-notice-info-background-color","",ut.backgroundInfoSubtle),dt.extend("--ft-notice-info-border-color","",ut.borderInfoPrimary),dt.extend("--ft-notice-info-color","",ut.contentInfoPrimary),dt.extend("--ft-notice-warning-background-color","",ut.backgroundWarningSubtle),dt.extend("--ft-notice-warning-border-color","",ut.borderWarningPrimary),dt.extend("--ft-notice-warning-color","",ut.contentWarningPrimary),dt.extend("--ft-checkbox-label-color","",ut.contentGlobalPrimary),dt.extend("--ft-checkbox-checked-background-color","",ut.contentActionPrimary),dt.extend("--ft-checkbox-checked-state-layer-color","",ut.contentActionPrimary),dt.extend("--ft-checkbox-checked-color","",ut.contentGlobalOnColor),dt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",ht.opacity16),dt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",ht.opacity16),dt.extend("--ft-checkbox-checked-state-layer-opacity-active","",ht.opacity24),dt.extend("--ft-checkbox-checked-component-opacity-disabled","",ht.opacity40),dt.extend("--ft-checkbox-unchecked-border-color","",ht.colorGray80),dt.extend("--ft-checkbox-unchecked-state-layer-color","",ht.colorGray80),dt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",ht.opacity16),dt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",ht.opacity16),dt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",ht.opacity24),dt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",ht.opacity40),dt.extend("--ft-checkbox-focus-focus-ring-color","",ut.borderActionFocusRing),dt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),dt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),dt.extend("--ft-checkbox-gap","",ht.spacing3),dt.extend("--ft-toggle-off-state-layer-opacity-hover","",ht.opacity16),dt.extend("--ft-toggle-off-state-layer-opacity-focus","",ht.opacity16),dt.extend("--ft-toggle-off-state-layer-opacity-active","",ht.opacity24),dt.extend("--ft-toggle-off-component-opacity-disabled","",ht.opacity40),dt.extend("--ft-toggle-off-background-color","",ut.contentGlobalSubtle),dt.extend("--ft-toggle-off-icon-color","",ut.contentGlobalSubtle),dt.extend("--ft-toggle-off-state-layer-color","",ut.contentGlobalSubtle),dt.extend("--ft-toggle-on-state-layer-opacity-hover","",ht.opacity16),dt.extend("--ft-toggle-on-state-layer-opacity-focus","",ht.opacity16),dt.extend("--ft-toggle-on-state-layer-opacity-active","",ht.opacity24),dt.extend("--ft-toggle-on-component-opacity-disabled","",ht.opacity40),dt.extend("--ft-toggle-on-background-color","",ut.contentActionPrimary),dt.extend("--ft-toggle-on-icon-color","",ut.contentActionPrimary),dt.extend("--ft-toggle-on-state-layer-color","",ut.contentActionPrimary),dt.extend("--ft-toggle-label-color","",ut.contentGlobalPrimary),dt.extend("--ft-toggle-focus-focus-ring-color","",ut.borderActionFocusRing),dt.extend("--ft-toggle-gap","",ht.spacing3),dt.extend("--ft-radio-label-color","",ut.contentGlobalPrimary),dt.extend("--ft-radio-selected-color","",ut.contentActionPrimary),dt.extend("--ft-radio-selected-state-layer-color","",ut.contentActionPrimary),dt.extend("--ft-radio-selected-state-layer-opacity-hover","",ht.opacity16),dt.extend("--ft-radio-selected-state-layer-opacity-focus","",ht.opacity16),dt.extend("--ft-radio-selected-state-layer-opacity-active","",ht.opacity24),dt.extend("--ft-radio-selected-component-opacity-disabled","",ht.opacity40),dt.extend("--ft-radio-unselected-state-layer-color","",ht.colorGray80),dt.extend("--ft-radio-unselected-state-layer-opacity-hover","",ht.opacity16),dt.extend("--ft-radio-unselected-state-layer-opacity-focus","",ht.opacity16),dt.extend("--ft-radio-unselected-state-layer-opacity-active","",ht.opacity24),dt.extend("--ft-radio-unselected-component-opacity-disabled","",ht.opacity40),dt.extend("--ft-radio-focus-focus-ring-color","",ut.borderActionFocusRing),dt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),dt.create("--ft-radio-focus-outline-width","","SIZE","2px"),dt.extend("--ft-radio-gap","",ht.spacing3),dt.extend("--ft-notification-icon-size","",ht.iconSize4),dt.extend("--ft-notification-horizontal-padding","",ht.spacing4),dt.extend("--ft-notification-vertical-padding","",ht.spacing4),dt.extend("--ft-notification-info-background-color","",ut.backgroundInfoSubtle),dt.extend("--ft-notification-info-color","",ut.contentInfoPrimary),dt.extend("--ft-notification-info-border-color","",ut.borderInfoPrimary),dt.extend("--ft-notification-success-background-color","",ut.backgroundSuccessSubtle),dt.extend("--ft-notification-success-color","",ut.contentSuccessPrimary),dt.extend("--ft-notification-success-border-color","",ut.borderSuccessPrimary),dt.extend("--ft-notification-warning-background-color","",ut.backgroundWarningSubtle),dt.extend("--ft-notification-warning-color","",ut.contentWarningPrimary),dt.extend("--ft-notification-warning-border-color","",ut.borderWarningPrimary),dt.extend("--ft-notification-error-background-color","",ut.backgroundErrorSubtle),dt.extend("--ft-notification-error-color","",ut.contentErrorPrimary),dt.extend("--ft-notification-error-border-color","",ut.borderErrorPrimary),dt.extend("--ft-notification-border-radius","",ht.borderRadiusPill),dt.create("--ft-notification-border-width","","SIZE","1px"),dt.extend("--ft-notification-gap-leading","",ht.spacing2),dt.extend("--ft-notification-gap-trailing","",ht.spacing8),dt.create("--ft-color-primary","","COLOR","#2196F3"),dt.create("--ft-color-primary-variant","","COLOR","#1976D2"),dt.create("--ft-color-secondary","","COLOR","#FFCC80"),dt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),dt.create("--ft-color-surface","","COLOR","#FFFFFF"),dt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),dt.create("--ft-color-error","","COLOR","#B00020"),dt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),dt.create("--ft-color-opacity-high","","NUMBER","1"),dt.create("--ft-color-opacity-medium","","NUMBER","0.74"),dt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),dt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),dt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),dt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),dt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),dt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),dt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),dt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),dt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),dt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),dt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),dt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),dt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),dt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),dt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),dt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),dt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),dt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),dt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),dt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),dt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),dt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),dt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),dt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),dt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),dt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),dt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),dt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),dt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),dt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),dt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),dt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),dt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),dt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),dt.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)"),dt.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)"),dt.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)"),dt.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)"),dt.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)"),dt.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)"),dt.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)"),dt.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)"),dt.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)"),dt.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)"),dt.create("--ft-border-radius-S","","SIZE","4px"),dt.create("--ft-border-radius-M","","SIZE","8px"),dt.create("--ft-border-radius-L","","SIZE","12px"),dt.create("--ft-border-radius-XL","","SIZE","16px"),dt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),dt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),dt.create("--ft-transition-duration","","UNKNOWN","250ms"),dt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out");class yt extends st{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,r])=>t.registry.define(o,r))));const o={...t.shadowRootOptions,customElements:t.registry},r=this.renderOptions.creationScope=this.attachShadow(o);return h(r,t.elementStyles),r}}var gt,bt=function(t,o,r,e){for(var n,a=arguments.length,i=a<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,c=t.length-1;c>=0;c--)(n=t[c])&&(i=(a<3?n(i):a>3?n(o,r,i):n(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i};const mt=Symbol("constructorPrototype"),Ot=Symbol("constructorName"),Nt=Symbol("exportpartsDebouncer");class vt extends yt{constructor(){super(),this[gt]=new o(5),this[Ot]=this.constructor.name,this[mt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ot]&&Object.setPrototypeOf(this,this[mt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,r;if((null!==(r=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==r?r:[]).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[Nt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,r,e,n,a,i;const c=t=>null!=t&&t.trim().length>0,l=t.filter(c).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const s=new Set;for(let t of null!==(r=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==r?r:[]){const o=null!==(n=null===(e=t.getAttribute("part"))||void 0===e?void 0:e.split(" "))&&void 0!==n?n:[],r=null!==(i=null===(a=t.getAttribute("exportparts"))||void 0===a?void 0:a.split(",").map((t=>t.split(":")[1])))&&void 0!==i?i:[];new Array(...o,...r).filter(c).map((t=>t.trim())).forEach((t=>s.add(t)))}if(0===s.size)return void this.removeAttribute("exportparts");const f=[...s.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}var St,wt;gt=Nt,bt([e()],vt.prototype,"exportpartsPrefix",void 0),bt([function(t,o){const r=()=>JSON.parse(JSON.stringify(t));return e({type:Object,converter:{fromAttribute:t=>{if(null==t)return r();try{return JSON.parse(t)}catch{return r()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!a(t,o),...null!=o?o:{}})}([])],vt.prototype,"exportpartsPrefixes",void 0),bt([e()],vt.prototype,"customStylesheet",void 0),d`
51
51
  .ft-no-text-select {
52
52
  -webkit-touch-callout: none;
53
53
  -webkit-user-select: none;
@@ -79,13 +79,13 @@ var at,ht;class ct extends O{constructor(){super(...arguments),this.renderOption
79
79
  display: inline-block;
80
80
  width: 0;
81
81
  }
82
- `,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(xt=null===(mt=window.safari)||void 0===mt?void 0:mt.pushNotification)||void 0===xt||xt.toString());const gt=d`
82
+ `,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(wt=null===(St=window.safari)||void 0===St?void 0:St.pushNotification)||void 0===wt||wt.toString());const Ct=d`
83
83
  a {
84
84
  color: inherit;
85
85
  text-decoration: inherit;
86
86
  }
87
- `;var Et,Ot,Rt,St,Nt,At,Ct,Ut,Tt,Mt,Lt,_t;!function(t){!function(i){var e={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(e.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=ArrayBuffer.isView||function(t){return t&&s.indexOf(Object.prototype.toString.call(t))>-1};function r(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 o(t){return"string"!=typeof t&&(t=String(t)),t}function a(t){var i={next:function(){var i=t.shift();return{done:void 0===i,value:i}}};return e.iterable&&(i[Symbol.iterator]=function(){return i}),i}function h(t){this.map={},t instanceof h?t.forEach((function(t,i){this.append(i,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(i){this.append(i,t[i])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function l(t){return new Promise((function(i,e){t.onload=function(){i(t.result)},t.onerror=function(){e(t.error)}}))}function u(t){var i=new FileReader,e=l(i);return i.readAsArrayBuffer(t),e}function d(t){if(t.slice)return t.slice(0);var i=new Uint8Array(t.byteLength);return i.set(new Uint8Array(t)),i.buffer}function f(){return this.bodyUsed=!1,this._initBody=function(t){var i;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((i=t)&&DataView.prototype.isPrototypeOf(i))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(u)}),this.text=function(){var t,i,e,s=c(this);if(s)return s;if(this._bodyBlob)return t=this._bodyBlob,i=new FileReader,e=l(i),i.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var i=new Uint8Array(t),e=new Array(i.length),s=0;s<i.length;s++)e[s]=String.fromCharCode(i[s]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}h.prototype.append=function(t,i){t=r(t),i=o(i);var e=this.map[t];this.map[t]=e?e+", "+i:i},h.prototype.delete=function(t){delete this.map[r(t)]},h.prototype.get=function(t){return t=r(t),this.has(t)?this.map[t]:null},h.prototype.has=function(t){return this.map.hasOwnProperty(r(t))},h.prototype.set=function(t,i){this.map[r(t)]=o(i)},h.prototype.forEach=function(t,i){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(i,this.map[e],e,this)},h.prototype.keys=function(){var t=[];return this.forEach((function(i,e){t.push(e)})),a(t)},h.prototype.values=function(){var t=[];return this.forEach((function(i){t.push(i)})),a(t)},h.prototype.entries=function(){var t=[];return this.forEach((function(i,e){t.push([e,i])})),a(t)},e.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);var p=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function v(t,i){var e,s,n=(i=i||{}).body;if(t instanceof v){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,i.headers||(this.headers=new h(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=i.credentials||this.credentials||"same-origin",!i.headers&&this.headers||(this.headers=new h(i.headers)),this.method=(e=i.method||this.method||"GET",s=e.toUpperCase(),p.indexOf(s)>-1?s:e),this.mode=i.mode||this.mode||null,this.signal=i.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function b(t){var i=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),s=e.shift().replace(/\+/g," "),n=e.join("=").replace(/\+/g," ");i.append(decodeURIComponent(s),decodeURIComponent(n))}})),i}function w(t,i){i||(i={}),this.type="default",this.status=void 0===i.status?200:i.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in i?i.statusText:"OK",this.headers=new h(i.headers),this.url=i.url||"",this._initBody(t)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},f.call(v.prototype),f.call(w.prototype),w.prototype.clone=function(){return new w(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},w.error=function(){var t=new w(null,{status:0,statusText:""});return t.type="error",t};var y=[301,302,303,307,308];w.redirect=function(t,i){if(-1===y.indexOf(i))throw new RangeError("Invalid status code");return new w(null,{status:i,headers:{location:t}})},i.DOMException=t.DOMException;try{new i.DOMException}catch(t){i.DOMException=function(t,i){this.message=t,this.name=i;var e=Error(t);this.stack=e.stack},i.DOMException.prototype=Object.create(Error.prototype),i.DOMException.prototype.constructor=i.DOMException}function m(t,s){return new Promise((function(n,r){var o=new v(t,s);if(o.signal&&o.signal.aborted)return r(new i.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;function c(){a.abort()}a.onload=function(){var t,i,e={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",i=new h,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),s=e.shift().trim();if(s){var n=e.join(":").trim();i.append(s,n)}})),i)};e.url="responseURL"in a?a.responseURL:e.headers.get("X-Request-URL");var s="response"in a?a.response:a.responseText;n(new w(s,e))},a.onerror=function(){r(new TypeError("Network request failed"))},a.ontimeout=function(){r(new TypeError("Network request failed"))},a.onabort=function(){r(new i.DOMException("Aborted","AbortError"))},a.open(o.method,o.url,!0),"include"===o.credentials?a.withCredentials=!0:"omit"===o.credentials&&(a.withCredentials=!1),"responseType"in a&&e.blob&&(a.responseType="blob"),o.headers.forEach((function(t,i){a.setRequestHeader(i,t)})),o.signal&&(o.signal.addEventListener("abort",c),a.onreadystatechange=function(){4===a.readyState&&o.signal.removeEventListener("abort",c)}),a.send(void 0===o._bodyInit?null:o._bodyInit)}))}m.polyfill=!0,t.fetch||(t.fetch=m,t.Headers=h,t.Request=v,t.Response=w),i.Headers=h,i.Request=v,i.Response=w,i.fetch=m,Object.defineProperty(i,"i",{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"}(Et||(Et={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Ot||(Ot={})),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"}(Rt||(Rt={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(St||(St={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Nt||(Nt={})),function(t){t.ASC="ASC",t.DESC="DESC"}(At||(At={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Ct||(Ct={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK"}(Ut||(Ut={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Tt||(Tt={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Mt||(Mt={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Lt||(Lt={})),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"}(_t||(_t={})),_t.PERSONAL_BOOK_SHARE_USER,_t.PERSONAL_BOOK_USER,_t.HTML_EXPORT_USER,_t.PERSONAL_BOOK_USER,_t.PDF_EXPORT_USER,_t.PERSONAL_BOOK_USER,_t.KHUB_ADMIN,_t.CONTENT_PUBLISHER,_t.ADMIN,_t.KHUB_ADMIN,_t.USERS_ADMIN,_t.PORTAL_ADMIN,_t.DEVELOPER,_t.BETA_USER,_t.DEBUG_USER;var Ft,kt=function(t,i,e,s){for(var n,r=arguments.length,o=r<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s,a=t.length-1;a>=0;a--)(n=t[a])&&(o=(r<3?n(o):r>3?n(i,e,o):n(i,e))||o);return r>3&&o&&Object.defineProperty(i,e,o),o};class $t extends CustomEvent{constructor(t,i){super("ft-search-result-click",{detail:{result:t,rank:i},bubbles:!0,composed:!0})}}class jt extends yt{constructor(){super(...arguments),this.index=0,this.registeredComponents=[]}render(){return W`
87
+ `;var Rt,Et,Ut,xt,Lt,It,Wt,Kt,kt,At,Zt,Ft;!function(t){!function(o){var r={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(r.arrayBuffer)var e=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=ArrayBuffer.isView||function(t){return t&&e.indexOf(Object.prototype.toString.call(t))>-1};function a(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 i(t){return"string"!=typeof t&&(t=String(t)),t}function c(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return r.iterable&&(o[Symbol.iterator]=function(){return o}),o}function l(t){this.map={},t instanceof l?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function s(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(o,r){t.onload=function(){o(t.result)},t.onerror=function(){r(t.error)}}))}function p(t){var o=new FileReader,r=f(o);return o.readAsArrayBuffer(t),r}function d(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function h(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:r.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:r.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:r.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():r.arrayBuffer&&r.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):r.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r.blob&&(this.blob=function(){var t=s(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?s(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t,o,r,e=s(this);if(e)return e;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,r=f(o),o.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),r=new Array(o.length),e=0;e<o.length;e++)r[e]=String.fromCharCode(o[e]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},r.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,o){t=a(t),o=i(o);var r=this.map[t];this.map[t]=r?r+", "+o:o},l.prototype.delete=function(t){delete this.map[a(t)]},l.prototype.get=function(t){return t=a(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(a(t))},l.prototype.set=function(t,o){this.map[a(t)]=i(o)},l.prototype.forEach=function(t,o){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(o,this.map[r],r,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(o,r){t.push(r)})),c(t)},l.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),c(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(o,r){t.push([r,o])})),c(t)},r.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var r,e,n=(o=o||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new l(o.headers)),this.method=(r=o.method||this.method||"GET",e=r.toUpperCase(),u.indexOf(e)>-1?e:r),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function g(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),e=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");o.append(decodeURIComponent(e),decodeURIComponent(n))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new l(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},h.call(y.prototype),h.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var r=Error(t);this.stack=r.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function O(t,e){return new Promise((function(n,a){var i=new y(t,e);if(i.signal&&i.signal.aborted)return a(new o.DOMException("Aborted","AbortError"));var c=new XMLHttpRequest;function s(){c.abort()}c.onload=function(){var t,o,r={status:c.status,statusText:c.statusText,headers:(t=c.getAllResponseHeaders()||"",o=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var r=t.split(":"),e=r.shift().trim();if(e){var n=r.join(":").trim();o.append(e,n)}})),o)};r.url="responseURL"in c?c.responseURL:r.headers.get("X-Request-URL");var e="response"in c?c.response:c.responseText;n(new b(e,r))},c.onerror=function(){a(new TypeError("Network request failed"))},c.ontimeout=function(){a(new TypeError("Network request failed"))},c.onabort=function(){a(new o.DOMException("Aborted","AbortError"))},c.open(i.method,i.url,!0),"include"===i.credentials?c.withCredentials=!0:"omit"===i.credentials&&(c.withCredentials=!1),"responseType"in c&&r.blob&&(c.responseType="blob"),i.headers.forEach((function(t,o){c.setRequestHeader(o,t)})),i.signal&&(i.signal.addEventListener("abort",s),c.onreadystatechange=function(){4===c.readyState&&i.signal.removeEventListener("abort",s)}),c.send(void 0===i._bodyInit?null:i._bodyInit)}))}O.polyfill=!0,t.fetch||(t.fetch=O,t.Headers=l,t.Request=y,t.Response=b),o.Headers=l,o.Request=y,o.Response=b,o.fetch=O,Object.defineProperty(o,"i",{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"}(Rt||(Rt={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Et||(Et={})),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"}(Ut||(Ut={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(xt||(xt={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Lt||(Lt={})),function(t){t.ASC="ASC",t.DESC="DESC"}(It||(It={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Wt||(Wt={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK"}(Kt||(Kt={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(kt||(kt={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(At||(At={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Zt||(Zt={})),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"}(Ft||(Ft={})),Ft.PERSONAL_BOOK_SHARE_USER,Ft.PERSONAL_BOOK_USER,Ft.HTML_EXPORT_USER,Ft.PERSONAL_BOOK_USER,Ft.PDF_EXPORT_USER,Ft.PERSONAL_BOOK_USER,Ft.KHUB_ADMIN,Ft.CONTENT_PUBLISHER,Ft.ADMIN,Ft.KHUB_ADMIN,Ft.USERS_ADMIN,Ft.PORTAL_ADMIN,Ft.DEVELOPER,Ft.BETA_USER,Ft.DEBUG_USER;var Bt,Dt=function(t,o,r,e){for(var n,a=arguments.length,i=a<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,c=t.length-1;c>=0;c--)(n=t[c])&&(i=(a<3?n(i):a>3?n(o,r,i):n(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i};class Mt extends CustomEvent{constructor(t,o){super("ft-search-result-click",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}}class Tt extends vt{constructor(){super(...arguments),this.index=0,this.registeredComponents=[]}render(){return $`
88
88
  <a href="${this.url}" @click=${this.onResultClick}>
89
89
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
90
90
  </a>
91
- `}get url(){var t;switch(null===(t=this.result)||void 0===t?void 0:t.type){case Lt.MAP:return this.result.map.readerUrl;case Lt.DOCUMENT:return this.result.document.viewerUrl;case Lt.TOPIC:return this.result.topic.readerUrl}return""}onResultClick(){this.dispatchEvent(new $t(this.result,this.index+1))}registerComponent(t){t.stopPropagation();const i=t.composedPath()[0];this.register(i)}register(t){this.registeredComponents.push(t),t.result=this.result}update(t){super.update(t),t.has("result")&&this.registeredComponents.forEach((t=>t.result=this.result))}disconnectedCallback(){super.disconnectedCallback(),this.registeredComponents=[]}}jt.elementDefinitions={},jt.styles=gt,kt([s({attribute:!1})],jt.prototype,"result",void 0),kt([s()],jt.prototype,"index",void 0),(Ft="ft-search-result-context",t=>{window.customElements.get(Ft)||window.customElements.define(Ft,t)})(jt),t.FtSearchResultContext=jt,t.FtSearchResultContextCssVariables={},t.SearchResultClickEvent=$t,t.styles=gt}({});
91
+ `}get url(){var t;switch(null===(t=this.result)||void 0===t?void 0:t.type){case Zt.MAP:return this.result.map.readerUrl;case Zt.DOCUMENT:return this.result.document.viewerUrl;case Zt.TOPIC:return this.result.topic.readerUrl}return""}onResultClick(){this.dispatchEvent(new Mt(this.result,this.index+1))}registerComponent(t){t.stopPropagation();const o=t.composedPath()[0];this.register(o)}register(t){this.registeredComponents.push(t),t.result=this.result}update(t){super.update(t),t.has("result")&&this.registeredComponents.forEach((t=>t.result=this.result))}disconnectedCallback(){super.disconnectedCallback(),this.registeredComponents=[]}}Tt.elementDefinitions={},Tt.styles=Ct,Dt([e({attribute:!1})],Tt.prototype,"result",void 0),Dt([e()],Tt.prototype,"index",void 0),(Bt="ft-search-result-context",t=>{window.customElements.get(Bt)||window.customElements.define(Bt,t)})(Tt),t.FtSearchResultContext=Tt,t.FtSearchResultContextCssVariables={},t.SearchResultClickEvent=Mt,t.styles=Ct}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-search-result-context",
3
- "version": "1.0.59",
3
+ "version": "1.0.60",
4
4
  "description": "Search result context for integrated search component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,11 +19,11 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-wc-utils": "1.0.59",
22
+ "@fluid-topics/ft-wc-utils": "1.0.60",
23
23
  "lit": "2.7.2"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@fluid-topics/public-api": "1.0.45"
27
27
  },
28
- "gitHead": "9412dc7c29ebc722b1b133bba63b1744f4bfdf60"
28
+ "gitHead": "8eb7c2ef052f5d3f61ed0bf150fcaee093805450"
29
29
  }