@fluid-topics/ft-search-selected-facets 1.0.60 → 1.0.62

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,54 +14,65 @@
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,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,l=new WeakMap;let s;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=i.prototype.attributeChangedCallback,s=new Set(i.observedAttributes||[]);h(i,s,l);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let f=e.call(r,t);f||(f=p(t),o.call(r,t,f)),this===window.customElements&&(a.set(i,c),c.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=s;if(o)return s=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=l.get(o)?.getRootNode()||document)}return o.customElements},p=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=f(e)||window.customElements,i=r._getDefinition(o);return i?u(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),s=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&l.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.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,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0!==i.get(e).formAssociated)throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`);r?.call(this,...o)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(Qi){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class o extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class e extends Promise{constructor(t){super(((e,r)=>t((t=>{this.isCanceled?r(new o("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?r(new o("Promise has been canceled",void 0,t)):r(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class r{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof e&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,(async()=>o)),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,(async()=>o)),this.content[t]=o}async get(t,o,r){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const i=(t=>new e(((o,e)=>t.then(o).catch(e))))(o());return this.content[t]=i,i.then((o=>(this.content[t]=o,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),o)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);p(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let f=o.call(i,t);f||(f=h(t),e.call(i,t,f)),this===window.customElements&&(a.set(r,c),c.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){b.push(this),i.upgrade.apply(i,arguments),b.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!c(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=f(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},p=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t||"HTMLElement"===o?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const g=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),b.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const v=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){b.push(this),o.set.call(this,t),b.pop()}})};if(v(Element,"innerHTML"),v(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0!==r.get(o).formAssociated)throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`);i?.call(this,...e)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Sn){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}class e extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class o extends Promise{constructor(t){super(((o,i)=>t((t=>{this.isCanceled?i(new e("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?i(new e("Promise has been canceled",void 0,t)):i(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const i=t=>new o(((e,o)=>t.then(e).catch(o)));class r{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof o&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,o){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=i(e());return this.content[t]=r,r.then((e=>(this.content[t]=e,null!=o&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),o)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class n{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
- */const n=(t,o)=>"method"===o.kind&&o.descriptor&&!("value"in o.descriptor)?{...o,finisher(e){e.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(e){e.createProperty(o.key,t)}};function a(t){return(o,e)=>void 0!==e?((t,o,e)=>{o.constructor.createProperty(e,t)})(t,o,e):n(t,o)
22
+ */const a=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(o){o.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(o){o.createProperty(e.key,t)}};function s(t){return(e,o)=>void 0!==o?((t,e,o)=>{e.constructor.createProperty(o,t)})(t,e,o):a(t,e)
23
23
  /**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */}function l(t){return a({...t,state:!0})}
27
+ */}function l(t){return s({...t,state:!0})}
28
28
  /**
29
29
  * @license
30
30
  * Copyright 2017 Google LLC
31
31
  * SPDX-License-Identifier: BSD-3-Clause
32
- */const s=({finisher:t,descriptor:o})=>(e,r)=>{var i;if(void 0===r){const r=null!==(i=e.originalKey)&&void 0!==i?i:e.key,n=null!=o?{kind:"method",placement:"prototype",key:r,descriptor:o(e.key)}:{...e,key:r};return null!=t&&(n.finisher=function(o){t(o,r)}),n}{const i=e.constructor;void 0!==o&&Object.defineProperty(e,r,o(r)),null==t||t(i,r)}}
32
+ */const c=({finisher:t,descriptor:e})=>(o,i)=>{var r;if(void 0===i){const i=null!==(r=o.originalKey)&&void 0!==r?r:o.key,n=null!=e?{kind:"method",placement:"prototype",key:i,descriptor:e(o.key)}:{...o,key:i};return null!=t&&(n.finisher=function(e){t(e,i)}),n}{const r=o.constructor;void 0!==e&&Object.defineProperty(o,i,e(i)),null==t||t(r,i)}}
33
33
  /**
34
34
  * @license
35
35
  * Copyright 2017 Google LLC
36
36
  * SPDX-License-Identifier: BSD-3-Clause
37
- */;function c(t,o){return s({descriptor:e=>{const r={get(){var o,e;return null!==(e=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(t))&&void 0!==e?e:null},enumerable:!0,configurable:!0};if(o){const o="symbol"==typeof e?Symbol():"__"+e;r.get=function(){var e,r;return void 0===this[o]&&(this[o]=null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==r?r:null),this[o]}}return r}})}
37
+ */;function f(t,e){return c({descriptor:o=>{const i={get(){var e,o;return null!==(o=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==o?o:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof o?Symbol():"__"+o;i.get=function(){var o,i;return void 0===this[e]&&(this[e]=null!==(i=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(t))&&void 0!==i?i:null),this[e]}}return i}})}
38
+ /**
39
+ * @license
40
+ * Copyright 2017 Google LLC
41
+ * SPDX-License-Identifier: BSD-3-Clause
42
+ */
38
43
  /**
39
44
  * @license
40
45
  * Copyright 2021 Google LLC
41
46
  * SPDX-License-Identifier: BSD-3-Clause
42
- */var f;const p=null!=(null===(f=window.HTMLSlotElement)||void 0===f?void 0:f.prototype.assignedElements)?(t,o)=>t.assignedElements(o):(t,o)=>t.assignedNodes(o).filter((t=>t.nodeType===Node.ELEMENT_NODE));function h(t,o){return t.flatMap((t=>[t,...h(o(t),o)]))}function d(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!d(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!d(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];if(!d(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const u=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function y(t,o){const e=()=>JSON.parse(JSON.stringify(t));return a({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!d(t,o),...null!=o?o:{}})}
47
+ */
48
+ var h;const p=null!=(null===(h=window.HTMLSlotElement)||void 0===h?void 0:h.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function d(t){const{slot:e,selector:o}=null!=t?t:{};return c({descriptor:i=>({get(){var i;const r="slot"+(e?`[name=${e}]`:":not([name])"),n=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(r),a=null!=n?p(n,t):[];return o?a.filter((t=>t.matches(o))):a},enumerable:!0,configurable:!0})})}
49
+ /**
50
+ * @license
51
+ * Copyright 2017 Google LLC
52
+ * SPDX-License-Identifier: BSD-3-Clause
53
+ */const u=t=>new Promise((e=>setTimeout(e,t)));function y(t,e){return t.flatMap((t=>[t,...y(e(t),e)]))}function b(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!b(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!b(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!b(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const g=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function v(t,e){const o=()=>JSON.parse(JSON.stringify(t));return s({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!b(t,e),...null!=e?e:{}})}
43
54
  /**
44
55
  * @license
45
56
  * Copyright 2019 Google LLC
46
57
  * SPDX-License-Identifier: BSD-3-Clause
47
- */const g=window,b=g.ShadowRoot&&(void 0===g.ShadyCSS||g.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,m=Symbol(),v=new WeakMap;let x=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==m)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(b&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=v.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&v.set(o,t))}return t}toString(){return this.cssText}};const O=t=>new x("string"==typeof t?t:t+"",void 0,m),w=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new x(e,t,m)},S=(t,o)=>{b?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=g.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))},N=b?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return O(o)})(t):t
58
+ */const m=window,x=m.ShadowRoot&&(void 0===m.ShadyCSS||m.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,O=Symbol(),w=new WeakMap;let S=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==O)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(x&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=w.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&w.set(e,t))}return t}toString(){return this.cssText}};const N=t=>new S("string"==typeof t?t:t+"",void 0,O),$=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1]),t[0]);return new S(o,t,O)},C=(t,e)=>{x?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=m.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))},E=x?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return N(e)})(t):t
48
59
  /**
49
60
  * @license
50
61
  * Copyright 2017 Google LLC
51
62
  * SPDX-License-Identifier: BSD-3-Clause
52
- */;var C;const $=window,E=$.trustedTypes,R=E?E.emptyScript:"",k=$.reactiveElementPolyfillSupport,I={toAttribute(t,o){switch(o){case Boolean:t=t?R:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},U=(t,o)=>o!==t&&(o==o||t==t),L={attribute:!0,type:String,converter:I,reflect:!1,hasChanged:U};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,e)=>{const r=this._$Ep(e,o);void 0!==r&&(this._$Ev.set(r,e),t.push(r))})),t}static createProperty(t,o=L){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(t,o),!o.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){return{get(){return this[o]},set(r){const i=this[t];this[o]=r,this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||L}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 e of o)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(N(t))}else void 0!==t&&o.push(N(t));return o}static _$Ep(t,o){const e=o.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 o,e;(null!==(o=this._$ES)&&void 0!==o?o:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.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 S(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,e){this._$AK(t,e)}_$EO(t,o,e=L){var r;const i=this.constructor._$Ep(t,e);if(void 0!==i&&!0===e.reflect){const n=(void 0!==(null===(r=e.converter)||void 0===r?void 0:r.toAttribute)?e.converter:I).toAttribute(o,e.type);this._$El=t,null==n?this.removeAttribute(i):this.setAttribute(i,n),this._$El=null}}_$AK(t,o){var e;const r=this.constructor,i=r._$Ev.get(t);if(void 0!==i&&this._$El!==i){const t=r.getPropertyOptions(i),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(e=t.converter)||void 0===e?void 0:e.fromAttribute)?t.converter:I;this._$El=i,this[i]=n.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,e){let r=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||U)(this[t],o)?(this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,e))):r=!1),!this.isUpdatePending&&r&&(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 e=this._$AL;try{o=this.shouldUpdate(e),o?(this.willUpdate(e),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(e)):this._$Ek()}catch(t){throw o=!1,this._$Ek(),t}o&&this._$AE(e)}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){}};
63
+ */;var k;const R=window,I=R.trustedTypes,U=I?I.emptyScript:"",L=R.reactiveElementPolyfillSupport,W={toAttribute(t,e){switch(e){case Boolean:t=t?U:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},A=(t,e)=>e!==t&&(e==e||t==t),j={attribute:!0,type:String,converter:W,reflect:!1,hasChanged:A};let F=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,o)=>{const i=this._$Ep(o,e);void 0!==i&&(this._$Ev.set(i,o),t.push(i))})),t}static createProperty(t,e=j){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const o="symbol"==typeof t?Symbol():"__"+t,i=this.getPropertyDescriptor(t,o,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){return{get(){return this[e]},set(i){const r=this[t];this[e]=i,this.requestUpdate(t,r,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||j}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,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const o of e)this.createProperty(o,t[o])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(E(t))}else void 0!==t&&e.push(E(t));return e}static _$Ep(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"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 e,o;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(o=t.hostConnected)||void 0===o||o.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return C(e,this.constructor.elementStyles),e}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 e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e,o=j){var i;const r=this.constructor._$Ep(t,o);if(void 0!==r&&!0===o.reflect){const n=(void 0!==(null===(i=o.converter)||void 0===i?void 0:i.toAttribute)?o.converter:W).toAttribute(e,o.type);this._$El=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$El=null}}_$AK(t,e){var o;const i=this.constructor,r=i._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=i.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(o=t.converter)||void 0===o?void 0:o.fromAttribute)?t.converter:W;this._$El=r,this[r]=n.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,o){let i=!0;void 0!==t&&(((o=o||this.constructor.getPropertyOptions(t)).hasChanged||A)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,o))):i=!1),!this.isUpdatePending&&i&&(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,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(o)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(o)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.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,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
53
64
  /**
54
65
  * @license
55
66
  * Copyright 2017 Google LLC
56
67
  * SPDX-License-Identifier: BSD-3-Clause
57
68
  */
58
- var j;W.finalized=!0,W.elementProperties=new Map,W.elementStyles=[],W.shadowRootOptions={mode:"open"},null==k||k({ReactiveElement:W}),(null!==(C=$.reactiveElementVersions)&&void 0!==C?C:$.reactiveElementVersions=[]).push("1.6.1");const K=window,z=K.trustedTypes,F=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",A=`lit$${(Math.random()+"").slice(9)}$`,B="?"+A,M=`<${B}>`,D=document,P=()=>D.createComment(""),H=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,_=t=>T(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),G="[ \t\n\f\r]",V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,q=/-->/g,Y=/>/g,J=RegExp(`>|${G}(?:([^\\s"'>=/]+)(${G}*=${G}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),X=/'/g,Q=/"/g,tt=/^(?:script|style|textarea|title)$/i,ot=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),et=Symbol.for("lit-noChange"),rt=Symbol.for("lit-nothing"),it=new WeakMap,nt=D.createTreeWalker(D,129,null,!1),at=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=V;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===V?"!--"===s[1]?a=q:void 0!==s[1]?a=Y:void 0!==s[2]?(tt.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=J):void 0!==s[3]&&(a=J):a===J?">"===s[0]?(a=null!=i?i:V,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?J:'"'===s[3]?Q:X):a===Q||a===X?a=J:a===q||a===Y?a=V:(a=J,i=void 0);const p=a===J&&t[o+1].startsWith("/>")?" ":"";n+=a===V?e+M:c>=0?(r.push(l),e.slice(0,c)+Z+e.slice(c)+A+p):e+A+(-2===c?(r.push(void 0),o):p)}const l=n+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==F?F.createHTML(l):l,r]};class lt{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[s,c]=at(t,o);if(this.el=lt.createElement(s,e),nt.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=nt.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(Z)||o.startsWith(A)){const e=c[n++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+Z).split(A),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?ht:"?"===o[1]?ut:"@"===o[1]?yt:pt})}else l.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(tt.test(r.tagName)){const t=r.textContent.split(A),o=t.length-1;if(o>0){r.textContent=z?z.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],P()),nt.nextNode(),l.push({type:2,index:++i});r.append(t[o],P())}}}else if(8===r.nodeType)if(r.data===B)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(A,t+1));)l.push({type:7,index:i}),t+=A.length-1}i++}}static createElement(t,o){const e=D.createElement("template");return e.innerHTML=t,e}}function st(t,o,e=t,r){var i,n,a,l;if(o===et)return o;let s=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const c=H(o)?void 0:o._$litDirective$;return(null==s?void 0:s.constructor)!==c&&(null===(n=null==s?void 0:s._$AO)||void 0===n||n.call(s,!1),void 0===c?s=void 0:(s=new c(t),s._$AT(t,e,r)),void 0!==r?(null!==(a=(l=e)._$Co)&&void 0!==a?a:l._$Co=[])[r]=s:e._$Cl=s),void 0!==s&&(o=st(t,s._$AS(t,o.values),s,r)),o}let ct=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:r}=this._$AD,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:D).importNode(e,!0);nt.currentNode=i;let n=nt.nextNode(),a=0,l=0,s=r[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new ft(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new gt(n,this,t)),this._$AV.push(o),s=r[++l]}a!==(null==s?void 0:s.index)&&(n=nt.nextNode(),a++)}return i}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},ft=class t{constructor(t,o,e,r){var i;this.type=2,this._$AH=rt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}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=st(this,t,o),H(t)?t===rt||null==t||""===t?(this._$AH!==rt&&this._$AR(),this._$AH=rt):t!==this._$AH&&t!==et&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):_(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!==rt&&H(this._$AH)?this._$AA.nextSibling.data=t:this.$(D.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=lt.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.v(e);else{const t=new ct(i,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=it.get(t.strings);return void 0===o&&it.set(t.strings,o=new lt(t)),o}T(o){T(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(P()),this.k(P()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.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))}},pt=class{constructor(t,o,e,r,i){this.type=1,this._$AH=rt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=rt}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=st(this,t,o,0),n=!H(t)||t!==this._$AH&&t!==et,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=st(this,r[e+a],o,a),l===et&&(l=this._$AH[a]),n||(n=!H(l)||l!==this._$AH[a]),l===rt?t=rt:t!==rt&&(t+=(null!=l?l:"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.j(t)}j(t){t===rt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},ht=class extends pt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===rt?void 0:t}};const dt=z?z.emptyScript:"";let ut=class extends pt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==rt?this.element.setAttribute(this.name,dt):this.element.removeAttribute(this.name)}},yt=class extends pt{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=st(this,t,o,0))&&void 0!==e?e:rt)===et)return;const r=this._$AH,i=t===rt&&r!==rt||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==rt&&(r===rt||i);i&&this.element.removeEventListener(this.name,this,r),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}},gt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){st(this,t)}};const bt={O:Z,P:A,A:B,C:1,M:at,L:ct,D:_,R:st,I:ft,V:pt,H:ut,N:yt,U:ht,F:gt},mt=K.litHtmlPolyfillSupport;null==mt||mt(lt,ft),(null!==(j=K.litHtmlVersions)&&void 0!==j?j:K.litHtmlVersions=[]).push("2.7.3");
69
+ var z;F.finalized=!0,F.elementProperties=new Map,F.elementStyles=[],F.shadowRootOptions={mode:"open"},null==L||L({ReactiveElement:F}),(null!==(k=R.reactiveElementVersions)&&void 0!==k?k:R.reactiveElementVersions=[]).push("1.6.1");const B=window,D=B.trustedTypes,K=D?D.createPolicy("lit-html",{createHTML:t=>t}):void 0,P="$lit$",M=`lit$${(Math.random()+"").slice(9)}$`,T="?"+M,Z=`<${T}>`,_=document,H=()=>_.createComment(""),G=t=>null===t||"object"!=typeof t&&"function"!=typeof t,V=Array.isArray,q=t=>V(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),Y="[ \t\n\f\r]",X=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,J=/-->/g,Q=/>/g,tt=RegExp(`>|${Y}(?:([^\\s"'>=/]+)(${Y}*=${Y}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),et=/'/g,ot=/"/g,it=/^(?:script|style|textarea|title)$/i,rt=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),nt=Symbol.for("lit-noChange"),at=Symbol.for("lit-nothing"),st=new WeakMap,lt=_.createTreeWalker(_,129,null,!1),ct=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=X;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===X?"!--"===l[1]?a=J:void 0!==l[1]?a=Q:void 0!==l[2]?(it.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=tt):void 0!==l[3]&&(a=tt):a===tt?">"===l[0]?(a=null!=r?r:X,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?tt:'"'===l[3]?ot:et):a===ot||a===et?a=tt:a===J||a===Q?a=X:(a=tt,r=void 0);const h=a===tt&&t[e+1].startsWith("/>")?" ":"";n+=a===X?o+Z:c>=0?(i.push(s),o.slice(0,c)+P+o.slice(c)+M+h):o+M+(-2===c?(i.push(void 0),e):h)}const s=n+(t[o]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==K?K.createHTML(s):s,i]};class ft{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=ct(t,e);if(this.el=ft.createElement(l,o),lt.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(i=lt.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const e of i.getAttributeNames())if(e.endsWith(P)||e.startsWith(M)){const o=c[n++];if(t.push(e),void 0!==o){const t=i.getAttribute(o.toLowerCase()+P).split(M),e=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?yt:"?"===e[1]?gt:"@"===e[1]?vt:ut})}else s.push({type:6,index:r})}for(const e of t)i.removeAttribute(e)}if(it.test(i.tagName)){const t=i.textContent.split(M),e=t.length-1;if(e>0){i.textContent=D?D.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],H()),lt.nextNode(),s.push({type:2,index:++r});i.append(t[e],H())}}}else if(8===i.nodeType)if(i.data===T)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(M,t+1));)s.push({type:7,index:r}),t+=M.length-1}r++}}static createElement(t,e){const o=_.createElement("template");return o.innerHTML=t,o}}function ht(t,e,o=t,i){var r,n,a,s;if(e===nt)return e;let l=void 0!==i?null===(r=o._$Co)||void 0===r?void 0:r[i]:o._$Cl;const c=G(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,o,i)),void 0!==i?(null!==(a=(s=o)._$Co)&&void 0!==a?a:s._$Co=[])[i]=l:o._$Cl=l),void 0!==l&&(e=ht(t,l._$AS(t,e.values),l,i)),e}let pt=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:o},parts:i}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:_).importNode(o,!0);lt.currentNode=r;let n=lt.nextNode(),a=0,s=0,l=i[0];for(;void 0!==l;){if(a===l.index){let e;2===l.type?e=new dt(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new mt(n,this,t)),this._$AV.push(e),l=i[++s]}a!==(null==l?void 0:l.index)&&(n=lt.nextNode(),a++)}return r}v(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},dt=class t{constructor(t,e,o,i){var r;this.type=2,this._$AH=at,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cp=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ht(this,t,e),G(t)?t===at||null==t||""===t?(this._$AH!==at&&this._$AR(),this._$AH=at):t!==this._$AH&&t!==nt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):q(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!==at&&G(this._$AH)?this._$AA.nextSibling.data=t:this.$(_.createTextNode(t)),this._$AH=t}g(t){var e;const{values:o,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=ft.createElement(i.h,this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.v(o);else{const t=new pt(r,this),e=t.u(this.options);t.v(o),this.$(e),this._$AH=t}}_$AC(t){let e=st.get(t.strings);return void 0===e&&st.set(t.strings,e=new ft(t)),e}T(e){V(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(H()),this.k(H()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,e){var o;for(null===(o=this._$AP)||void 0===o||o.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}},ut=class{constructor(t,e,o,i,r){this.type=1,this._$AH=at,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=at}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=ht(this,t,e,0),n=!G(t)||t!==this._$AH&&t!==nt,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=ht(this,i[o+a],e,a),s===nt&&(s=this._$AH[a]),n||(n=!G(s)||s!==this._$AH[a]),s===at?t=at:t!==at&&(t+=(null!=s?s:"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.j(t)}j(t){t===at?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},yt=class extends ut{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===at?void 0:t}};const bt=D?D.emptyScript:"";let gt=class extends ut{constructor(){super(...arguments),this.type=4}j(t){t&&t!==at?this.element.setAttribute(this.name,bt):this.element.removeAttribute(this.name)}},vt=class extends ut{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){var o;if((t=null!==(o=ht(this,t,e,0))&&void 0!==o?o:at)===nt)return;const i=this._$AH,r=t===at&&i!==at||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==at&&(i===at||r);r&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,o;"function"==typeof this._$AH?this._$AH.call(null!==(o=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==o?o:this.element,t):this._$AH.handleEvent(t)}},mt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ht(this,t)}};const xt={O:P,P:M,A:T,C:1,M:ct,L:pt,D:q,R:ht,I:dt,V:ut,H:gt,N:vt,U:yt,F:mt},Ot=B.litHtmlPolyfillSupport;null==Ot||Ot(ft,dt),(null!==(z=B.litHtmlVersions)&&void 0!==z?z:B.litHtmlVersions=[]).push("2.7.3");
59
70
  /**
60
71
  * @license
61
72
  * Copyright 2017 Google LLC
62
73
  * SPDX-License-Identifier: BSD-3-Clause
63
74
  */
64
- var vt,xt;let Ot=class extends W{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const e=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=e.firstChild),e}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{var r,i;const n=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:o;let a=n._$litPart$;if(void 0===a){const t=null!==(i=null==e?void 0:e.renderBefore)&&void 0!==i?i:null;n._$litPart$=a=new ft(o.insertBefore(P(),t),t,void 0,null!=e?e:{})}return a._$AI(t),a})(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 et}};Ot.finalized=!0,Ot._$litElement$=!0,null===(vt=globalThis.litElementHydrateSupport)||void 0===vt||vt.call(globalThis,{LitElement:Ot});const wt=globalThis.litElementPolyfillSupport;null==wt||wt({LitElement:Ot}),(null!==(xt=globalThis.litElementVersions)&&void 0!==xt?xt:globalThis.litElementVersions=[]).push("3.3.2");const St=t=>"string"==typeof t?O(t):t;class Nt{static create(t,o,e,r){const i=t=>St(null!=t?t:r),n=w`var(${St(t)}, ${i(r)})`;return n.name=t,n.description=t,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>w`var(${St(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=w`var(${St(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>w`var(${St(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):St(null!=o?o:t.lastResortDefaultValue()),r=w`var(${St(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>w`var(${St(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Ct(t,o){return St(`${t.name}: ${o}`)}const $t={colorWhite:Nt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Nt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Nt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Nt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Nt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Nt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Nt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Nt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Nt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Nt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Nt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Nt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Nt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Nt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Nt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Nt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Nt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Nt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Nt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Nt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Nt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Nt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Nt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Nt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Nt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Nt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Nt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Nt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Nt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Nt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Nt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Nt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Nt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Nt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Nt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Nt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Nt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Nt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Nt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Nt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Nt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Nt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Nt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Nt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Nt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Nt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Nt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Nt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Nt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Nt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Nt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Nt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Nt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Nt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Nt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Nt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Nt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Nt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Nt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Nt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Nt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Nt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Nt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Nt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Nt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Nt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Nt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Nt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Nt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Nt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Nt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Nt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Nt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Nt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Nt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Nt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Nt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Nt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Nt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Nt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Nt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Nt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Nt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Nt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Nt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Nt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Nt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Nt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Nt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Nt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Nt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Nt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Nt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Nt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Nt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Nt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Nt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Nt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Nt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Nt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Nt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Nt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Nt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Nt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Nt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Nt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Nt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Nt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Nt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Nt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Nt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Nt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Nt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Nt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Nt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Nt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Nt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Nt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Nt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Nt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Nt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Nt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Nt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Nt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Nt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Nt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Nt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Nt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Nt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Nt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Nt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Nt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Nt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Nt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Nt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Nt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Nt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Nt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Nt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Nt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Nt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Nt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Nt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Nt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Nt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Nt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Nt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Nt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Nt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Nt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Nt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Nt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Nt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Nt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Nt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Nt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Nt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Nt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Nt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Nt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Nt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Nt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Nt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Nt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Nt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Nt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Nt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Nt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Nt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Nt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Nt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Nt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Nt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Nt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Nt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Nt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Nt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Nt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Nt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Nt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Nt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Nt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Nt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Nt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Nt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Nt.create("--ft-opacity-80","","NUMBER","0.8")},Et={display:{fontFamily:Nt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Nt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Nt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Nt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Nt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Nt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Nt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Nt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Nt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Nt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Nt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Nt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Nt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Nt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Nt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Nt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Nt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Nt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Nt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Nt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Nt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Nt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Nt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Nt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Nt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Nt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Nt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Nt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Nt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Nt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Nt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Nt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Nt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Nt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Nt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Nt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Nt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Nt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Nt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Nt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Nt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Nt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Nt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Nt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Nt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Nt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Nt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Nt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Nt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Nt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Nt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Nt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Nt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Nt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Nt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Nt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Nt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Nt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Nt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Nt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Nt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Nt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Nt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Nt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Nt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Nt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Nt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Nt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Nt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Nt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Nt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Nt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Nt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Nt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Nt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Nt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Nt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Nt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Nt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Nt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Nt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Nt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Nt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Nt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Nt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Nt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Nt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Nt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Nt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Nt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Nt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Nt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Nt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Nt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Nt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Nt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Nt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Nt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Nt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Nt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Nt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Nt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Nt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Nt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Nt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Nt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Nt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Nt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Nt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Nt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Nt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Nt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Nt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Nt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Nt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Nt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Nt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Rt={backgroundActionPrimary:Nt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",$t.colorBrand0),backgroundErrorPrimary:Nt.extend("--ft-background-error-primary","Used as background of error components.",$t.colorRed0),backgroundErrorSubtle:Nt.extend("--ft-background-error-subtle","Used as background of subtle error components.",$t.colorRed10),backgroundInfoPrimary:Nt.extend("--ft-background-info-primary","Used as background of information components.",$t.colorCyan200),backgroundInfoSubtle:Nt.extend("--ft-background-info-subtle","Used as background of subtle information components.",$t.colorCyan10),backgroundWarningPrimary:Nt.extend("--ft-background-warning-primary","Used as background of warning components.",$t.colorOrange300),backgroundWarningSubtle:Nt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",$t.colorOrange10),backgroundSuccessPrimary:Nt.extend("--ft-background-success-primary","Used as background of success components.",$t.colorGreen200),backgroundSuccessSubtle:Nt.extend("--ft-background-success-subtle","Used as background of subtle success components.",$t.colorGreen10),backgroundGlobalSurface:Nt.extend("--ft-background-global-surface","Used as app background.",$t.colorWhite),backgroundGlobalOnSurface:Nt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",$t.colorGray10),backgroundGlobalOnSurfaceDark:Nt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",$t.colorGray30),contentActionPrimary:Nt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",$t.colorBrand0),contentWarningPrimary:Nt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",$t.colorOrange300),contentWarningIconOnly:Nt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",$t.colorOrange0),contentErrorPrimary:Nt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",$t.colorRed0),contentErrorIconOnly:Nt.extend("--ft-content-error-icon-only","Used on error status icons alone",$t.colorRed0),contentInfoPrimary:Nt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",$t.colorCyan200),contentInfoIconOnly:Nt.extend("--ft-content-info-icon-only","Used on info status icons alone",$t.colorCyan0),contentSuccessIconOnly:Nt.extend("--ft-content-success-icon-only","Used on success status icons alone",$t.colorGreen0),contentSuccessPrimary:Nt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",$t.colorGreen200),contentGlobalPrimary:Nt.extend("--ft-content-global-primary","Used for main content on the page.",$t.colorGray500),contentGlobalSecondary:Nt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",$t.colorGray200),contentGlobalSubtle:Nt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",$t.colorGray0),contentGlobalOnColor:Nt.extend("--ft-content-global-on-color","Used for content on a dominant color.",$t.colorWhite),borderActionPrimary:Nt.extend("--ft-border-action-primary","Used as border for primary action components.",$t.colorBrand0),borderActionFocusRing:Nt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",$t.colorCyan0),borderWarningPrimary:Nt.extend("--ft-border-warning-primary","Used as border for warning components.",$t.colorOrange30),borderSuccessPrimary:Nt.extend("--ft-border-success-primary","Used as border for success components.",$t.colorGreen30),borderErrorPrimary:Nt.extend("--ft-border-error-primary","Used as border for error components.",$t.colorRed30),borderInfoPrimary:Nt.extend("--ft-border-info-primary","Used as border for information components.",$t.colorCyan30),borderGlobalSubtle:Nt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",$t.colorGray30),borderGlobalPrimary:Nt.extend("--ft-border-global-primary","Used as border for element like input.",$t.colorGray50),borderInputPrimary:Nt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",$t.colorGray80)},kt={largeHeight:Nt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Nt.extend("--ft-button-large-horizontal-padding","",$t.spacing4),largeGap:Nt.extend("--ft-button-large-gap","",$t.spacing2),largeBorderRadius:Nt.extend("--ft-button-large-border-radius","",$t.borderRadiusS),largeIconSize:Nt.extend("--ft-button-large-icon-size","",$t.iconSize3),largeBorderWidth:Nt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Nt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Nt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Nt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Nt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Nt.extend("--ft-button-small-horizontal-padding","",$t.spacing3),smallGap:Nt.extend("--ft-button-small-gap","",$t.spacing2),smallBorderRadius:Nt.extend("--ft-button-small-border-radius","",$t.borderRadiusS),smallIconSize:Nt.extend("--ft-button-small-icon-size","",$t.iconSize2),smallBorderWidth:Nt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Nt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Nt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Nt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Nt.extend("--ft-button-primary-background-color","",Rt.backgroundActionPrimary),primaryColor:Nt.extend("--ft-button-primary-color","",Rt.contentGlobalOnColor),primaryIconColor:Nt.extend("--ft-button-primary-icon-color","",Rt.contentGlobalOnColor),primaryStateLayerColor:Nt.extend("--ft-button-primary-state-layer-color","",Rt.contentGlobalOnColor),primaryStateLayerOpacityHover:Nt.extend("--ft-button-primary-state-layer-opacity-hover","",$t.opacity16),primaryStateLayerOpacityFocus:Nt.extend("--ft-button-primary-state-layer-opacity-focus","",$t.opacity16),primaryStateLayerOpacityActive:Nt.extend("--ft-button-primary-state-layer-opacity-active","",$t.opacity24),primaryComponentOpacityDisabled:Nt.extend("--ft-button-primary-component-opacity-disabled","",$t.opacity40),focusFocusRingColor:Nt.extend("--ft-button-focus-focus-ring-color","",Rt.borderActionFocusRing),tertiaryBackgroundColor:Nt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Nt.extend("--ft-button-tertiary-color","",Rt.contentActionPrimary),tertiaryIconColor:Nt.extend("--ft-button-tertiary-icon-color","",Rt.contentActionPrimary),tertiaryStateLayerColor:Nt.extend("--ft-button-tertiary-state-layer-color","",Rt.contentActionPrimary),tertiaryStateLayerOpacityHover:Nt.extend("--ft-button-tertiary-state-layer-opacity-hover","",$t.opacity8),tertiaryStateLayerOpacityFocus:Nt.extend("--ft-button-tertiary-state-layer-opacity-focus","",$t.opacity8),tertiaryStateLayerOpacityActive:Nt.extend("--ft-button-tertiary-state-layer-opacity-active","",$t.opacity16),tertiaryComponentOpacityDisabled:Nt.extend("--ft-button-tertiary-component-opacity-disabled","",$t.opacity40),secondaryBackgroundColor:Nt.extend("--ft-button-secondary-background-color","",$t.colorWhite),secondaryColor:Nt.extend("--ft-button-secondary-color","",Rt.contentActionPrimary),secondaryIconColor:Nt.extend("--ft-button-secondary-icon-color","",Rt.contentActionPrimary),secondaryStateLayerColor:Nt.extend("--ft-button-secondary-state-layer-color","",Rt.contentActionPrimary),secondaryStateLayerOpacityHover:Nt.extend("--ft-button-secondary-state-layer-opacity-hover","",$t.opacity8),secondaryStateLayerOpacityFocus:Nt.extend("--ft-button-secondary-state-layer-opacity-focus","",$t.opacity8),secondaryStateLayerOpacityActive:Nt.extend("--ft-button-secondary-state-layer-opacity-active","",$t.opacity16),secondaryComponentOpacityDisabled:Nt.extend("--ft-button-secondary-component-opacity-disabled","",$t.opacity40),secondaryBorderColor:Nt.extend("--ft-button-secondary-border-color","",Rt.borderActionPrimary),neutralBackgroundColor:Nt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Nt.extend("--ft-button-neutral-icon-color","",Rt.contentGlobalSecondary),neutralColor:Nt.extend("--ft-button-neutral-color","",Rt.contentGlobalSecondary),neutralStateLayerColor:Nt.extend("--ft-button-neutral-state-layer-color","",Rt.contentGlobalSecondary),neutralStateLayerOpacityHover:Nt.extend("--ft-button-neutral-state-layer-opacity-hover","",$t.opacity8),neutralStateLayerOpacityFocus:Nt.extend("--ft-button-neutral-state-layer-opacity-focus","",$t.opacity8),neutralStateLayerOpacityActive:Nt.extend("--ft-button-neutral-state-layer-opacity-active","",$t.opacity16),neutralComponentOpacityDisabled:Nt.extend("--ft-button-neutral-component-opacity-disabled","",$t.opacity40)};Nt.extend("--ft-tabs-top-left-border-radius","",$t.borderRadiusS),Nt.extend("--ft-tabs-top-right-border-radius","",$t.borderRadiusS),Nt.extend("--ft-tabs-label-horizontal-padding","",$t.spacing4),Nt.extend("--ft-tabs-label-vertical-padding","",$t.spacing3),Nt.extend("--ft-tabs-label-gap","",$t.spacing1),Nt.extend("--ft-switch-group-horizontal-padding","",$t.spacing1),Nt.extend("--ft-switch-group-vertical-padding","",$t.spacing1),Nt.extend("--ft-switch-group-gap","",$t.spacing1),Nt.extend("--ft-switch-group-background-color","",Rt.backgroundGlobalSurface),Nt.extend("--ft-switch-group-border-color","",Rt.borderGlobalSubtle),Nt.create("--ft-switch-group-border-radius","","SIZE","6px"),Nt.extend("--ft-switch-label-horizontal-padding","",$t.spacing2),Nt.extend("--ft-switch-label-vertical-padding","",$t.spacing1),Nt.extend("--ft-switch-icon-horizontal-padding","",$t.spacing1),Nt.extend("--ft-switch-icon-vertical-padding","",$t.spacing1),Nt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Nt.extend("--ft-switch-focus-focus-ring-color","",Rt.borderActionFocusRing),Nt.extend("--ft-switch-option-border-radius","",$t.borderRadiusS),Nt.extend("--ft-switch-off-state-layer-opacity-hover","",$t.opacity8),Nt.extend("--ft-switch-off-state-layer-opacity-focus","",$t.opacity8),Nt.extend("--ft-switch-off-state-layer-opacity-active","",$t.opacity16),Nt.extend("--ft-switch-off-component-opacity-disabled","",$t.opacity40),Nt.extend("--ft-switch-off-color","",Rt.contentGlobalSubtle),Nt.extend("--ft-switch-off-state-layer-color","",Rt.contentGlobalSubtle),Nt.extend("--ft-chart-1-light","for area color charts",$t.colorBrand40),Nt.extend("--ft-chart-1-base","for line charts",$t.colorBrand0),Nt.extend("--ft-chart-2-light","for area color charts",$t.colorYellow60),Nt.extend("--ft-chart-2-base","for line charts",$t.colorYellow100),Nt.extend("--ft-chart-3-light","",$t.colorUltramarine40),Nt.extend("--ft-chart-3-base","",$t.colorUltramarine70),Nt.extend("--ft-chart-4-light","",$t.colorCyan50),Nt.extend("--ft-chart-4-base","",$t.colorCyan100),Nt.extend("--ft-chart-5-light","",$t.colorRed40),Nt.extend("--ft-chart-5-base","",$t.colorRed60),Nt.extend("--ft-chart-6-light","",$t.colorGreen40),Nt.extend("--ft-chart-6-base","",$t.colorGreen70),Nt.extend("--ft-chart-7-light","",$t.colorOrange70),Nt.extend("--ft-chart-7-base","",$t.colorOrange100),Nt.extend("--ft-chart-8-light","",$t.colorAvocado70),Nt.extend("--ft-chart-8-base","",$t.colorAvocado200),Nt.extend("--ft-chart-9-light","",$t.colorBrown50),Nt.extend("--ft-chart-9-base","",$t.colorBrown200),Nt.extend("--ft-chart-10-light","",$t.colorGray50),Nt.extend("--ft-chart-10-base","",$t.colorGray80),Nt.extend("--ft-chart-monochrome-10","",$t.colorBrand10),Nt.extend("--ft-chart-monochrome-20","",$t.colorBrand20),Nt.extend("--ft-chart-monochrome-30","",$t.colorBrand40),Nt.extend("--ft-chart-monochrome-40","",$t.colorBrand60),Nt.extend("--ft-chart-monochrome-50","",$t.colorBrand0),Nt.extend("--ft-chart-monochrome-60","",$t.colorBrand200),Nt.extend("--ft-chip-large-horizontal-padding","",$t.spacing4),Nt.extend("--ft-chip-large-vertical-padding","",$t.spacing2),Nt.extend("--ft-chip-large-gap","",$t.spacing1),Nt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Nt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Nt.extend("--ft-chip-large-border-radius","",$t.borderRadiusPill),Nt.create("--ft-chip-large-border-width","","SIZE","1px"),Nt.extend("--ft-chip-large-icon-size","",$t.iconSize3),Nt.extend("--ft-chip-medium-horizontal-padding","",$t.spacing3),Nt.extend("--ft-chip-medium-vertical-padding","",$t.spacing1),Nt.extend("--ft-chip-medium-gap","",$t.spacing1),Nt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Nt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Nt.extend("--ft-chip-medium-border-radius","",$t.borderRadiusPill),Nt.create("--ft-chip-medium-border-width","","SIZE","1px"),Nt.extend("--ft-chip-medium-icon-size","",$t.iconSize2),Nt.extend("--ft-chip-small-horizontal-padding","",$t.spacing2),Nt.extend("--ft-chip-small-vertical-padding","",$t.spacing05),Nt.extend("--ft-chip-small-gap","",$t.spacing1),Nt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Nt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Nt.extend("--ft-chip-small-border-radius","",$t.borderRadiusPill),Nt.create("--ft-chip-small-border-width","","SIZE","1px"),Nt.extend("--ft-chip-small-icon-size","",$t.iconSize1),Nt.extend("--ft-chip-neutral-background-color","",Rt.backgroundGlobalOnSurface),Nt.extend("--ft-chip-neutral-color","",Rt.contentGlobalPrimary),Nt.extend("--ft-chip-neutral-border-color","",Rt.borderGlobalSubtle),Nt.extend("--ft-chip-info-background-color","",Rt.backgroundInfoSubtle),Nt.extend("--ft-chip-info-color","",Rt.contentInfoPrimary),Nt.extend("--ft-chip-info-border-color","",Rt.borderInfoPrimary),Nt.extend("--ft-chip-success-background-color","",Rt.backgroundSuccessSubtle),Nt.extend("--ft-chip-success-color","",Rt.contentSuccessPrimary),Nt.extend("--ft-chip-success-border-color","",Rt.borderSuccessPrimary),Nt.extend("--ft-chip-warning-background-color","",Rt.backgroundWarningSubtle),Nt.extend("--ft-chip-warning-color","",Rt.contentWarningPrimary),Nt.extend("--ft-chip-warning-border-color","",Rt.borderWarningPrimary),Nt.extend("--ft-chip-error-background-color","",Rt.backgroundErrorSubtle),Nt.extend("--ft-chip-error-color","",Rt.contentErrorPrimary),Nt.extend("--ft-chip-error-border-color","",Rt.borderErrorPrimary),Nt.create("--ft-notice-border-width","","SIZE","1px"),Nt.extend("--ft-notice-horizontal-padding","",$t.spacing2),Nt.extend("--ft-notice-vertical-padding","",$t.spacing1),Nt.extend("--ft-notice-border-radius","",$t.borderRadiusS),Nt.extend("--ft-notice-gap","",$t.spacing2),Nt.extend("--ft-notice-icon-size","",$t.iconSize3),Nt.extend("--ft-notice-info-background-color","",Rt.backgroundInfoSubtle),Nt.extend("--ft-notice-info-border-color","",Rt.borderInfoPrimary),Nt.extend("--ft-notice-info-color","",Rt.contentInfoPrimary),Nt.extend("--ft-notice-warning-background-color","",Rt.backgroundWarningSubtle),Nt.extend("--ft-notice-warning-border-color","",Rt.borderWarningPrimary),Nt.extend("--ft-notice-warning-color","",Rt.contentWarningPrimary),Nt.extend("--ft-checkbox-label-color","",Rt.contentGlobalPrimary),Nt.extend("--ft-checkbox-checked-background-color","",Rt.contentActionPrimary),Nt.extend("--ft-checkbox-checked-state-layer-color","",Rt.contentActionPrimary),Nt.extend("--ft-checkbox-checked-color","",Rt.contentGlobalOnColor),Nt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",$t.opacity16),Nt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",$t.opacity16),Nt.extend("--ft-checkbox-checked-state-layer-opacity-active","",$t.opacity24),Nt.extend("--ft-checkbox-checked-component-opacity-disabled","",$t.opacity40),Nt.extend("--ft-checkbox-unchecked-border-color","",$t.colorGray80),Nt.extend("--ft-checkbox-unchecked-state-layer-color","",$t.colorGray80),Nt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",$t.opacity16),Nt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",$t.opacity16),Nt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",$t.opacity24),Nt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",$t.opacity40),Nt.extend("--ft-checkbox-focus-focus-ring-color","",Rt.borderActionFocusRing),Nt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Nt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Nt.extend("--ft-checkbox-gap","",$t.spacing3),Nt.extend("--ft-toggle-off-state-layer-opacity-hover","",$t.opacity16),Nt.extend("--ft-toggle-off-state-layer-opacity-focus","",$t.opacity16),Nt.extend("--ft-toggle-off-state-layer-opacity-active","",$t.opacity24),Nt.extend("--ft-toggle-off-component-opacity-disabled","",$t.opacity40),Nt.extend("--ft-toggle-off-background-color","",Rt.contentGlobalSubtle),Nt.extend("--ft-toggle-off-icon-color","",Rt.contentGlobalSubtle),Nt.extend("--ft-toggle-off-state-layer-color","",Rt.contentGlobalSubtle),Nt.extend("--ft-toggle-on-state-layer-opacity-hover","",$t.opacity16),Nt.extend("--ft-toggle-on-state-layer-opacity-focus","",$t.opacity16),Nt.extend("--ft-toggle-on-state-layer-opacity-active","",$t.opacity24),Nt.extend("--ft-toggle-on-component-opacity-disabled","",$t.opacity40),Nt.extend("--ft-toggle-on-background-color","",Rt.contentActionPrimary),Nt.extend("--ft-toggle-on-icon-color","",Rt.contentActionPrimary),Nt.extend("--ft-toggle-on-state-layer-color","",Rt.contentActionPrimary),Nt.extend("--ft-toggle-label-color","",Rt.contentGlobalPrimary),Nt.extend("--ft-toggle-focus-focus-ring-color","",Rt.borderActionFocusRing),Nt.extend("--ft-toggle-gap","",$t.spacing3),Nt.extend("--ft-radio-label-color","",Rt.contentGlobalPrimary),Nt.extend("--ft-radio-selected-color","",Rt.contentActionPrimary),Nt.extend("--ft-radio-selected-state-layer-color","",Rt.contentActionPrimary),Nt.extend("--ft-radio-selected-state-layer-opacity-hover","",$t.opacity16),Nt.extend("--ft-radio-selected-state-layer-opacity-focus","",$t.opacity16),Nt.extend("--ft-radio-selected-state-layer-opacity-active","",$t.opacity24),Nt.extend("--ft-radio-selected-component-opacity-disabled","",$t.opacity40),Nt.extend("--ft-radio-unselected-state-layer-color","",$t.colorGray80),Nt.extend("--ft-radio-unselected-state-layer-opacity-hover","",$t.opacity16),Nt.extend("--ft-radio-unselected-state-layer-opacity-focus","",$t.opacity16),Nt.extend("--ft-radio-unselected-state-layer-opacity-active","",$t.opacity24),Nt.extend("--ft-radio-unselected-component-opacity-disabled","",$t.opacity40),Nt.extend("--ft-radio-focus-focus-ring-color","",Rt.borderActionFocusRing),Nt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Nt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Nt.extend("--ft-radio-gap","",$t.spacing3),Nt.extend("--ft-notification-icon-size","",$t.iconSize4),Nt.extend("--ft-notification-horizontal-padding","",$t.spacing4),Nt.extend("--ft-notification-vertical-padding","",$t.spacing4),Nt.extend("--ft-notification-info-background-color","",Rt.backgroundInfoSubtle),Nt.extend("--ft-notification-info-color","",Rt.contentInfoPrimary),Nt.extend("--ft-notification-info-border-color","",Rt.borderInfoPrimary),Nt.extend("--ft-notification-success-background-color","",Rt.backgroundSuccessSubtle),Nt.extend("--ft-notification-success-color","",Rt.contentSuccessPrimary),Nt.extend("--ft-notification-success-border-color","",Rt.borderSuccessPrimary),Nt.extend("--ft-notification-warning-background-color","",Rt.backgroundWarningSubtle),Nt.extend("--ft-notification-warning-color","",Rt.contentWarningPrimary),Nt.extend("--ft-notification-warning-border-color","",Rt.borderWarningPrimary),Nt.extend("--ft-notification-error-background-color","",Rt.backgroundErrorSubtle),Nt.extend("--ft-notification-error-color","",Rt.contentErrorPrimary),Nt.extend("--ft-notification-error-border-color","",Rt.borderErrorPrimary),Nt.extend("--ft-notification-border-radius","",$t.borderRadiusPill),Nt.create("--ft-notification-border-width","","SIZE","1px"),Nt.extend("--ft-notification-gap-leading","",$t.spacing2),Nt.extend("--ft-notification-gap-trailing","",$t.spacing8);const It={colorPrimary:Nt.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Nt.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Nt.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Nt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Nt.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Nt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Nt.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Nt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Nt.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Nt.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Nt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Nt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Nt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Nt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Nt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Nt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Nt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Nt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Nt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Nt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Nt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Nt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Nt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Nt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Nt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Nt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Nt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Nt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Nt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Nt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Nt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Nt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Nt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Nt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Nt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Nt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Nt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Nt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Nt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Nt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Nt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Nt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Nt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Nt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Nt.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Nt.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:Nt.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:Nt.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:Nt.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:Nt.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:Nt.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:Nt.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:Nt.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:Nt.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:Nt.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Nt.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Nt.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Nt.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Nt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Nt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Nt.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Nt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class Ut extends Ot{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return S(e,t.elementStyles),e}}var Lt,Wt=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const jt=Symbol("constructorPrototype"),Kt=Symbol("constructorName"),zt=Symbol("exportpartsDebouncer");class Ft extends Ut{constructor(){super(),this[Lt]=new i(5),this[Kt]=this.constructor.name,this[jt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Kt]&&Object.setPrototypeOf(this,this[jt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[zt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,a;const l=t=>null!=t&&t.trim().length>0,s=t.filter(l).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Lt=zt,Wt([a()],Ft.prototype,"exportpartsPrefix",void 0),Wt([y([])],Ft.prototype,"exportpartsPrefixes",void 0),Wt([a()],Ft.prototype,"customStylesheet",void 0);const Zt=w`
75
+ var wt,St;let Nt=class extends F{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const o=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=o.firstChild),o}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{var i,r;const n=null!==(i=null==o?void 0:o.renderBefore)&&void 0!==i?i:e;let a=n._$litPart$;if(void 0===a){const t=null!==(r=null==o?void 0:o.renderBefore)&&void 0!==r?r:null;n._$litPart$=a=new dt(e.insertBefore(H(),t),t,void 0,null!=o?o:{})}return a._$AI(t),a})(e,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 nt}};Nt.finalized=!0,Nt._$litElement$=!0,null===(wt=globalThis.litElementHydrateSupport)||void 0===wt||wt.call(globalThis,{LitElement:Nt});const $t=globalThis.litElementPolyfillSupport;null==$t||$t({LitElement:Nt}),(null!==(St=globalThis.litElementVersions)&&void 0!==St?St:globalThis.litElementVersions=[]).push("3.3.2");const Ct=t=>"string"==typeof t?N(t):t;class Et{static create(t,e,o,i){const r=t=>Ct(null!=t?t:i),n=$`var(${Ct(t)}, ${r(i)})`;return n.name=t,n.description=t,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>$`var(${Ct(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=$`var(${Ct(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>$`var(${Ct(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Ct(null!=e?e:t.lastResortDefaultValue()),i=$`var(${Ct(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>$`var(${Ct(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function kt(t,e){return Ct(`${t.name}: ${e}`)}const Rt={colorWhite:Et.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Et.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Et.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Et.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Et.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Et.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Et.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Et.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Et.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Et.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Et.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Et.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Et.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Et.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Et.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Et.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Et.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Et.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Et.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Et.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Et.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Et.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Et.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Et.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Et.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Et.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Et.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Et.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Et.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Et.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Et.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Et.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Et.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Et.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Et.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Et.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Et.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Et.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Et.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Et.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Et.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Et.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Et.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Et.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Et.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Et.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Et.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Et.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Et.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Et.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Et.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Et.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Et.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Et.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Et.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Et.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Et.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Et.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Et.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Et.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Et.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Et.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Et.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Et.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Et.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Et.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Et.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Et.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Et.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Et.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Et.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Et.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Et.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Et.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Et.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Et.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Et.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Et.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Et.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Et.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Et.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Et.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Et.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Et.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Et.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Et.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Et.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Et.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Et.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Et.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Et.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Et.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Et.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Et.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Et.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Et.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Et.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Et.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Et.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Et.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Et.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Et.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Et.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Et.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Et.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Et.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Et.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Et.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Et.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Et.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Et.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Et.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Et.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Et.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Et.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Et.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Et.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Et.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Et.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Et.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Et.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Et.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Et.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Et.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Et.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Et.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Et.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Et.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Et.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Et.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Et.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Et.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Et.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Et.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Et.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Et.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Et.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Et.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Et.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Et.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Et.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Et.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Et.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Et.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Et.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Et.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Et.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Et.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Et.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Et.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Et.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Et.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Et.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Et.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Et.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Et.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Et.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Et.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Et.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Et.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Et.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Et.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Et.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Et.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Et.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Et.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Et.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Et.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Et.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Et.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Et.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Et.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Et.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Et.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Et.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Et.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Et.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Et.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Et.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Et.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Et.create("--ft-opacity-0","","NUMBER","0"),opacity8:Et.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Et.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Et.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Et.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Et.create("--ft-opacity-80","","NUMBER","0.8")},It={display:{fontFamily:Et.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Et.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Et.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Et.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Et.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Et.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Et.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Et.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Et.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Et.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Et.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Et.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Et.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Et.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Et.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Et.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Et.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Et.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Et.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Et.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Et.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Et.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Et.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Et.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Et.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Et.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Et.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Et.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Et.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Et.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Et.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Et.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Et.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Et.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Et.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Et.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Et.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Et.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Et.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Et.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Et.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Et.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Et.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Et.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Et.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Et.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ut={backgroundActionPrimary:Et.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Rt.colorBrand0),backgroundErrorPrimary:Et.extend("--ft-background-error-primary","Used as background of error components.",Rt.colorRed0),backgroundErrorSubtle:Et.extend("--ft-background-error-subtle","Used as background of subtle error components.",Rt.colorRed10),backgroundInfoPrimary:Et.extend("--ft-background-info-primary","Used as background of information components.",Rt.colorCyan200),backgroundInfoSubtle:Et.extend("--ft-background-info-subtle","Used as background of subtle information components.",Rt.colorCyan10),backgroundWarningPrimary:Et.extend("--ft-background-warning-primary","Used as background of warning components.",Rt.colorOrange300),backgroundWarningSubtle:Et.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Rt.colorOrange10),backgroundSuccessPrimary:Et.extend("--ft-background-success-primary","Used as background of success components.",Rt.colorGreen200),backgroundSuccessSubtle:Et.extend("--ft-background-success-subtle","Used as background of subtle success components.",Rt.colorGreen10),backgroundGlobalSurface:Et.extend("--ft-background-global-surface","Used as app background.",Rt.colorWhite),backgroundGlobalOnSurface:Et.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Rt.colorGray10),backgroundGlobalOnSurfaceDark:Et.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Rt.colorGray30),contentActionPrimary:Et.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Rt.colorBrand0),contentWarningPrimary:Et.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Rt.colorOrange300),contentWarningIconOnly:Et.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Rt.colorOrange0),contentErrorPrimary:Et.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Rt.colorRed0),contentErrorIconOnly:Et.extend("--ft-content-error-icon-only","Used on error status icons alone",Rt.colorRed0),contentInfoPrimary:Et.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Rt.colorCyan200),contentInfoIconOnly:Et.extend("--ft-content-info-icon-only","Used on info status icons alone",Rt.colorCyan0),contentSuccessIconOnly:Et.extend("--ft-content-success-icon-only","Used on success status icons alone",Rt.colorGreen0),contentSuccessPrimary:Et.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Rt.colorGreen200),contentGlobalPrimary:Et.extend("--ft-content-global-primary","Used for main content on the page.",Rt.colorGray500),contentGlobalSecondary:Et.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Rt.colorGray200),contentGlobalSubtle:Et.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Rt.colorGray0),contentGlobalOnColor:Et.extend("--ft-content-global-on-color","Used for content on a dominant color.",Rt.colorWhite),borderActionPrimary:Et.extend("--ft-border-action-primary","Used as border for primary action components.",Rt.colorBrand0),borderActionFocusRing:Et.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Rt.colorCyan0),borderWarningPrimary:Et.extend("--ft-border-warning-primary","Used as border for warning components.",Rt.colorOrange30),borderSuccessPrimary:Et.extend("--ft-border-success-primary","Used as border for success components.",Rt.colorGreen30),borderErrorPrimary:Et.extend("--ft-border-error-primary","Used as border for error components.",Rt.colorRed30),borderInfoPrimary:Et.extend("--ft-border-info-primary","Used as border for information components.",Rt.colorCyan30),borderGlobalSubtle:Et.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Rt.colorGray30),borderGlobalPrimary:Et.extend("--ft-border-global-primary","Used as border for element like input.",Rt.colorGray50),borderInputPrimary:Et.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Rt.colorGray80)},Lt={largeHeight:Et.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Et.extend("--ft-button-large-horizontal-padding","",Rt.spacing4),largeGap:Et.extend("--ft-button-large-gap","",Rt.spacing2),largeBorderRadius:Et.extend("--ft-button-large-border-radius","",Rt.borderRadiusS),largeIconSize:Et.extend("--ft-button-large-icon-size","",Rt.iconSize3),largeBorderWidth:Et.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Et.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Et.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Et.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Et.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Et.extend("--ft-button-small-horizontal-padding","",Rt.spacing3),smallGap:Et.extend("--ft-button-small-gap","",Rt.spacing2),smallBorderRadius:Et.extend("--ft-button-small-border-radius","",Rt.borderRadiusS),smallIconSize:Et.extend("--ft-button-small-icon-size","",Rt.iconSize2),smallBorderWidth:Et.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Et.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Et.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Et.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Et.extend("--ft-button-primary-background-color","",Ut.backgroundActionPrimary),primaryColor:Et.extend("--ft-button-primary-color","",Ut.contentGlobalOnColor),primaryIconColor:Et.extend("--ft-button-primary-icon-color","",Ut.contentGlobalOnColor),primaryStateLayerColor:Et.extend("--ft-button-primary-state-layer-color","",Ut.contentGlobalOnColor),primaryStateLayerOpacityHover:Et.extend("--ft-button-primary-state-layer-opacity-hover","",Rt.opacity16),primaryStateLayerOpacityFocus:Et.extend("--ft-button-primary-state-layer-opacity-focus","",Rt.opacity16),primaryStateLayerOpacityActive:Et.extend("--ft-button-primary-state-layer-opacity-active","",Rt.opacity24),primaryComponentOpacityDisabled:Et.extend("--ft-button-primary-component-opacity-disabled","",Rt.opacity40),focusFocusRingColor:Et.extend("--ft-button-focus-focus-ring-color","",Ut.borderActionFocusRing),tertiaryBackgroundColor:Et.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Et.extend("--ft-button-tertiary-color","",Ut.contentActionPrimary),tertiaryIconColor:Et.extend("--ft-button-tertiary-icon-color","",Ut.contentActionPrimary),tertiaryStateLayerColor:Et.extend("--ft-button-tertiary-state-layer-color","",Ut.contentActionPrimary),tertiaryStateLayerOpacityHover:Et.extend("--ft-button-tertiary-state-layer-opacity-hover","",Rt.opacity8),tertiaryStateLayerOpacityFocus:Et.extend("--ft-button-tertiary-state-layer-opacity-focus","",Rt.opacity8),tertiaryStateLayerOpacityActive:Et.extend("--ft-button-tertiary-state-layer-opacity-active","",Rt.opacity16),tertiaryComponentOpacityDisabled:Et.extend("--ft-button-tertiary-component-opacity-disabled","",Rt.opacity40),secondaryBackgroundColor:Et.extend("--ft-button-secondary-background-color","",Rt.colorWhite),secondaryColor:Et.extend("--ft-button-secondary-color","",Ut.contentActionPrimary),secondaryIconColor:Et.extend("--ft-button-secondary-icon-color","",Ut.contentActionPrimary),secondaryStateLayerColor:Et.extend("--ft-button-secondary-state-layer-color","",Ut.contentActionPrimary),secondaryStateLayerOpacityHover:Et.extend("--ft-button-secondary-state-layer-opacity-hover","",Rt.opacity8),secondaryStateLayerOpacityFocus:Et.extend("--ft-button-secondary-state-layer-opacity-focus","",Rt.opacity8),secondaryStateLayerOpacityActive:Et.extend("--ft-button-secondary-state-layer-opacity-active","",Rt.opacity16),secondaryComponentOpacityDisabled:Et.extend("--ft-button-secondary-component-opacity-disabled","",Rt.opacity40),secondaryBorderColor:Et.extend("--ft-button-secondary-border-color","",Ut.borderActionPrimary),neutralBackgroundColor:Et.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Et.extend("--ft-button-neutral-icon-color","",Ut.contentGlobalSecondary),neutralColor:Et.extend("--ft-button-neutral-color","",Ut.contentGlobalSecondary),neutralStateLayerColor:Et.extend("--ft-button-neutral-state-layer-color","",Ut.contentGlobalSecondary),neutralStateLayerOpacityHover:Et.extend("--ft-button-neutral-state-layer-opacity-hover","",Rt.opacity8),neutralStateLayerOpacityFocus:Et.extend("--ft-button-neutral-state-layer-opacity-focus","",Rt.opacity8),neutralStateLayerOpacityActive:Et.extend("--ft-button-neutral-state-layer-opacity-active","",Rt.opacity16),neutralComponentOpacityDisabled:Et.extend("--ft-button-neutral-component-opacity-disabled","",Rt.opacity40)};Et.extend("--ft-tabs-top-left-border-radius","",Rt.borderRadiusS),Et.extend("--ft-tabs-top-right-border-radius","",Rt.borderRadiusS),Et.extend("--ft-tabs-label-horizontal-padding","",Rt.spacing4),Et.extend("--ft-tabs-label-vertical-padding","",Rt.spacing3),Et.extend("--ft-tabs-label-gap","",Rt.spacing1),Et.extend("--ft-switch-group-horizontal-padding","",Rt.spacing1),Et.extend("--ft-switch-group-vertical-padding","",Rt.spacing1),Et.extend("--ft-switch-group-gap","",Rt.spacing1),Et.extend("--ft-switch-group-background-color","",Ut.backgroundGlobalSurface),Et.extend("--ft-switch-group-border-color","",Ut.borderGlobalSubtle),Et.create("--ft-switch-group-border-radius","","SIZE","6px"),Et.extend("--ft-switch-label-horizontal-padding","",Rt.spacing2),Et.extend("--ft-switch-label-vertical-padding","",Rt.spacing1),Et.extend("--ft-switch-icon-horizontal-padding","",Rt.spacing1),Et.extend("--ft-switch-icon-vertical-padding","",Rt.spacing1),Et.create("--ft-switch-focus-outline-width","","SIZE","2px"),Et.extend("--ft-switch-focus-focus-ring-color","",Ut.borderActionFocusRing),Et.extend("--ft-switch-option-border-radius","",Rt.borderRadiusS),Et.extend("--ft-switch-off-state-layer-opacity-hover","",Rt.opacity8),Et.extend("--ft-switch-off-state-layer-opacity-focus","",Rt.opacity8),Et.extend("--ft-switch-off-state-layer-opacity-active","",Rt.opacity16),Et.extend("--ft-switch-off-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-switch-off-color","",Ut.contentGlobalSubtle),Et.extend("--ft-switch-off-state-layer-color","",Ut.contentGlobalSubtle),Et.extend("--ft-chart-1-light","for area color charts",Rt.colorBrand40),Et.extend("--ft-chart-1-base","for line charts",Rt.colorBrand0),Et.extend("--ft-chart-2-light","for area color charts",Rt.colorYellow60),Et.extend("--ft-chart-2-base","for line charts",Rt.colorYellow100),Et.extend("--ft-chart-3-light","",Rt.colorUltramarine40),Et.extend("--ft-chart-3-base","",Rt.colorUltramarine70),Et.extend("--ft-chart-4-light","",Rt.colorCyan50),Et.extend("--ft-chart-4-base","",Rt.colorCyan100),Et.extend("--ft-chart-5-light","",Rt.colorRed40),Et.extend("--ft-chart-5-base","",Rt.colorRed60),Et.extend("--ft-chart-6-light","",Rt.colorGreen40),Et.extend("--ft-chart-6-base","",Rt.colorGreen70),Et.extend("--ft-chart-7-light","",Rt.colorOrange70),Et.extend("--ft-chart-7-base","",Rt.colorOrange100),Et.extend("--ft-chart-8-light","",Rt.colorAvocado70),Et.extend("--ft-chart-8-base","",Rt.colorAvocado200),Et.extend("--ft-chart-9-light","",Rt.colorBrown50),Et.extend("--ft-chart-9-base","",Rt.colorBrown200),Et.extend("--ft-chart-10-light","",Rt.colorGray50),Et.extend("--ft-chart-10-base","",Rt.colorGray80),Et.extend("--ft-chart-monochrome-10","",Rt.colorBrand10),Et.extend("--ft-chart-monochrome-20","",Rt.colorBrand20),Et.extend("--ft-chart-monochrome-30","",Rt.colorBrand40),Et.extend("--ft-chart-monochrome-40","",Rt.colorBrand60),Et.extend("--ft-chart-monochrome-50","",Rt.colorBrand0),Et.extend("--ft-chart-monochrome-60","",Rt.colorBrand200),Et.extend("--ft-chip-large-horizontal-padding","",Rt.spacing4),Et.extend("--ft-chip-large-vertical-padding","",Rt.spacing2),Et.extend("--ft-chip-large-gap","",Rt.spacing1),Et.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Et.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Et.extend("--ft-chip-large-border-radius","",Rt.borderRadiusPill),Et.create("--ft-chip-large-border-width","","SIZE","1px"),Et.extend("--ft-chip-large-icon-size","",Rt.iconSize3),Et.extend("--ft-chip-medium-horizontal-padding","",Rt.spacing3),Et.extend("--ft-chip-medium-vertical-padding","",Rt.spacing1),Et.extend("--ft-chip-medium-gap","",Rt.spacing1),Et.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Et.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Et.extend("--ft-chip-medium-border-radius","",Rt.borderRadiusPill),Et.create("--ft-chip-medium-border-width","","SIZE","1px"),Et.extend("--ft-chip-medium-icon-size","",Rt.iconSize2),Et.extend("--ft-chip-small-horizontal-padding","",Rt.spacing2),Et.extend("--ft-chip-small-vertical-padding","",Rt.spacing05),Et.extend("--ft-chip-small-gap","",Rt.spacing1),Et.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Et.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Et.extend("--ft-chip-small-border-radius","",Rt.borderRadiusPill),Et.create("--ft-chip-small-border-width","","SIZE","1px"),Et.extend("--ft-chip-small-icon-size","",Rt.iconSize1),Et.extend("--ft-chip-neutral-background-color","",Ut.backgroundGlobalOnSurface),Et.extend("--ft-chip-neutral-color","",Ut.contentGlobalPrimary),Et.extend("--ft-chip-neutral-border-color","",Ut.borderGlobalSubtle),Et.extend("--ft-chip-info-background-color","",Ut.backgroundInfoSubtle),Et.extend("--ft-chip-info-color","",Ut.contentInfoPrimary),Et.extend("--ft-chip-info-border-color","",Ut.borderInfoPrimary),Et.extend("--ft-chip-success-background-color","",Ut.backgroundSuccessSubtle),Et.extend("--ft-chip-success-color","",Ut.contentSuccessPrimary),Et.extend("--ft-chip-success-border-color","",Ut.borderSuccessPrimary),Et.extend("--ft-chip-warning-background-color","",Ut.backgroundWarningSubtle),Et.extend("--ft-chip-warning-color","",Ut.contentWarningPrimary),Et.extend("--ft-chip-warning-border-color","",Ut.borderWarningPrimary),Et.extend("--ft-chip-error-background-color","",Ut.backgroundErrorSubtle),Et.extend("--ft-chip-error-color","",Ut.contentErrorPrimary),Et.extend("--ft-chip-error-border-color","",Ut.borderErrorPrimary),Et.create("--ft-notice-border-width","","SIZE","1px"),Et.extend("--ft-notice-horizontal-padding","",Rt.spacing2),Et.extend("--ft-notice-vertical-padding","",Rt.spacing1),Et.extend("--ft-notice-border-radius","",Rt.borderRadiusS),Et.extend("--ft-notice-gap","",Rt.spacing2),Et.extend("--ft-notice-icon-size","",Rt.iconSize3),Et.extend("--ft-notice-info-background-color","",Ut.backgroundInfoSubtle),Et.extend("--ft-notice-info-border-color","",Ut.borderInfoPrimary),Et.extend("--ft-notice-info-color","",Ut.contentInfoPrimary),Et.extend("--ft-notice-warning-background-color","",Ut.backgroundWarningSubtle),Et.extend("--ft-notice-warning-border-color","",Ut.borderWarningPrimary),Et.extend("--ft-notice-warning-color","",Ut.contentWarningPrimary),Et.extend("--ft-checkbox-label-color","",Ut.contentGlobalPrimary),Et.extend("--ft-checkbox-checked-background-color","",Ut.contentActionPrimary),Et.extend("--ft-checkbox-checked-state-layer-color","",Ut.contentActionPrimary),Et.extend("--ft-checkbox-checked-color","",Ut.contentGlobalOnColor),Et.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-checkbox-checked-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-checkbox-checked-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-checkbox-unchecked-border-color","",Rt.colorGray80),Et.extend("--ft-checkbox-unchecked-state-layer-color","",Rt.colorGray80),Et.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-checkbox-focus-focus-ring-color","",Ut.borderActionFocusRing),Et.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Et.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Et.extend("--ft-checkbox-gap","",Rt.spacing3),Et.extend("--ft-toggle-off-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-toggle-off-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-toggle-off-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-toggle-off-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-toggle-off-background-color","",Ut.contentGlobalSubtle),Et.extend("--ft-toggle-off-icon-color","",Ut.contentGlobalSubtle),Et.extend("--ft-toggle-off-state-layer-color","",Ut.contentGlobalSubtle),Et.extend("--ft-toggle-on-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-toggle-on-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-toggle-on-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-toggle-on-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-toggle-on-background-color","",Ut.contentActionPrimary),Et.extend("--ft-toggle-on-icon-color","",Ut.contentActionPrimary),Et.extend("--ft-toggle-on-state-layer-color","",Ut.contentActionPrimary),Et.extend("--ft-toggle-label-color","",Ut.contentGlobalPrimary),Et.extend("--ft-toggle-focus-focus-ring-color","",Ut.borderActionFocusRing),Et.extend("--ft-toggle-gap","",Rt.spacing3),Et.extend("--ft-radio-label-color","",Ut.contentGlobalPrimary),Et.extend("--ft-radio-selected-color","",Ut.contentActionPrimary),Et.extend("--ft-radio-selected-state-layer-color","",Ut.contentActionPrimary),Et.extend("--ft-radio-selected-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-radio-selected-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-radio-selected-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-radio-selected-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-radio-unselected-state-layer-color","",Rt.colorGray80),Et.extend("--ft-radio-unselected-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-radio-unselected-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-radio-unselected-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-radio-unselected-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-radio-focus-focus-ring-color","",Ut.borderActionFocusRing),Et.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Et.create("--ft-radio-focus-outline-width","","SIZE","2px"),Et.extend("--ft-radio-gap","",Rt.spacing3),Et.extend("--ft-notification-icon-size","",Rt.iconSize4),Et.extend("--ft-notification-horizontal-padding","",Rt.spacing4),Et.extend("--ft-notification-vertical-padding","",Rt.spacing4),Et.extend("--ft-notification-info-background-color","",Ut.backgroundInfoSubtle),Et.extend("--ft-notification-info-color","",Ut.contentInfoPrimary),Et.extend("--ft-notification-info-border-color","",Ut.borderInfoPrimary),Et.extend("--ft-notification-success-background-color","",Ut.backgroundSuccessSubtle),Et.extend("--ft-notification-success-color","",Ut.contentSuccessPrimary),Et.extend("--ft-notification-success-border-color","",Ut.borderSuccessPrimary),Et.extend("--ft-notification-warning-background-color","",Ut.backgroundWarningSubtle),Et.extend("--ft-notification-warning-color","",Ut.contentWarningPrimary),Et.extend("--ft-notification-warning-border-color","",Ut.borderWarningPrimary),Et.extend("--ft-notification-error-background-color","",Ut.backgroundErrorSubtle),Et.extend("--ft-notification-error-color","",Ut.contentErrorPrimary),Et.extend("--ft-notification-error-border-color","",Ut.borderErrorPrimary),Et.extend("--ft-notification-border-radius","",Rt.borderRadiusPill),Et.create("--ft-notification-border-width","","SIZE","1px"),Et.extend("--ft-notification-gap-leading","",Rt.spacing2),Et.extend("--ft-notification-gap-trailing","",Rt.spacing8);const Wt={colorPrimary:Et.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Et.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Et.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Et.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Et.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Et.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Et.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Et.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Et.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Et.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Et.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Et.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Et.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Et.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Et.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Et.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Et.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Et.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Et.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Et.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Et.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Et.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Et.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Et.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Et.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Et.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Et.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Et.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Et.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Et.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Et.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Et.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Et.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Et.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Et.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Et.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Et.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Et.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Et.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Et.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Et.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Et.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Et.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Et.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Et.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Et.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:Et.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:Et.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:Et.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:Et.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:Et.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:Et.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:Et.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:Et.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:Et.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Et.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Et.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Et.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Et.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Et.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Et.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Et.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class At extends Nt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return C(o,t.elementStyles),o}}var jt,Ft=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const zt=Symbol("constructorPrototype"),Bt=Symbol("constructorName"),Dt=Symbol("exportpartsDebouncer");class Kt extends At{constructor(){super(),this[jt]=new n(5),this[Bt]=this.constructor.name,this[zt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Bt]&&Object.setPrototypeOf(this,this[zt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Dt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}jt=Dt,Ft([s()],Kt.prototype,"exportpartsPrefix",void 0),Ft([v([])],Kt.prototype,"exportpartsPrefixes",void 0),Ft([s()],Kt.prototype,"customStylesheet",void 0);const Pt=$`
65
76
  .ft-no-text-select {
66
77
  -webkit-touch-callout: none;
67
78
  -webkit-user-select: none;
@@ -70,7 +81,7 @@ var vt,xt;let Ot=class extends W{constructor(){super(...arguments),this.renderOp
70
81
  -ms-user-select: none;
71
82
  user-select: none;
72
83
  }
73
- `;w`
84
+ `;$`
74
85
  .ft-word-wrap {
75
86
  white-space: normal;
76
87
  word-wrap: break-word;
@@ -82,7 +93,7 @@ var vt,xt;let Ot=class extends W{constructor(){super(...arguments),this.renderOp
82
93
  -webkit-hyphens: auto;
83
94
  hyphens: auto
84
95
  }
85
- `;const At=w`
96
+ `;const Mt=$`
86
97
  .ft-safari-ellipsis-fix {
87
98
  margin-right: 0;
88
99
 
@@ -93,36 +104,36 @@ var vt,xt;let Ot=class extends W{constructor(){super(...arguments),this.renderOp
93
104
  display: inline-block;
94
105
  width: 0;
95
106
  }
96
- `;class Bt{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let i=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>i=i.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),i}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}function Mt(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Dt,Pt,Ht;const Tt=Symbol("internalReduxEventsUnsubscribers"),_t=Symbol("internalStoresUnsubscribers"),Gt=Symbol("internalStores");class Vt extends Ft{constructor(){super(...arguments),this[Dt]=new Map,this[Pt]=new Map,this[Ht]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[Gt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Gt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Gt].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Mt(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Gt].delete(o)}setupStore(t,o){this[Gt].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Gt].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[_t].has(t.store):this[_t].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[_t].set(t,o.subscribe((()=>this.updateFromStores()))),Mt(o)&&o.eventBus&&(null===(e=this.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[Tt].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[_t].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Tt].forEach((t=>t())),this[Tt]=[]}unsubscribeFromStore(t){this[_t].has(t)&&this[_t].get(t)(),this[_t].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function qt(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Yt(t){return!!t&&!!t[Fo]}function Jt(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Zo}(t)||Array.isArray(t)||!!t[zo]||!!(null===(o=t.constructor)||void 0===o?void 0:o[zo])||ro(t)||io(t))}function Xt(t,o,e){void 0===e&&(e=!1),0===Qt(t)?(e?Object.keys:Ao)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function Qt(t){var o=t[Fo];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:ro(t)?2:io(t)?3:0}function to(t,o){return 2===Qt(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function oo(t,o,e){var r=Qt(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function eo(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function ro(t){return Lo&&t instanceof Map}function io(t){return Wo&&t instanceof Set}function no(t){return t.o||t.t}function ao(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Bo(t);delete o[Fo];for(var e=Ao(o),r=0;r<e.length;r++){var i=e[r],n=o[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(o[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),o)}function lo(t,o){return void 0===o&&(o=!1),co(t)||Yt(t)||!Jt(t)||(Qt(t)>1&&(t.set=t.add=t.clear=t.delete=so),Object.freeze(t),o&&Xt(t,(function(t,o){return lo(o,!0)}),!0)),t}function so(){qt(2)}function co(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function fo(t){var o=Mo[t];return o||qt(18,t),o}function po(){return Io}function ho(t,o){o&&(fo("Patches"),t.u=[],t.s=[],t.v=o)}function uo(t){yo(t),t.p.forEach(bo),t.p=null}function yo(t){t===Io&&(Io=t.l)}function go(t){return Io={p:[],l:Io,h:t,m:!0,_:0}}function bo(t){var o=t[Fo];0===o.i||1===o.i?o.j():o.g=!0}function mo(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||fo("ES5").S(o,t,r),r?(e[Fo].P&&(uo(o),qt(4)),Jt(t)&&(t=vo(o,t),o.l||Oo(o,t)),o.u&&fo("Patches").M(e[Fo].t,t,o.u,o.s)):t=vo(o,e,[]),uo(o),o.u&&o.v(o.u,o.s),t!==Ko?t:void 0}function vo(t,o,e){if(co(o))return o;var r=o[Fo];if(!r)return Xt(o,(function(i,n){return xo(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Oo(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=ao(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),Xt(n,(function(o,n){return xo(t,r,i,o,n,e,a)})),Oo(t,i,!1),e&&t.u&&fo("Patches").N(r,e,t.u,t.s)}return r.o}function xo(t,o,e,r,i,n,a){if(Yt(i)){var l=vo(t,i,n&&o&&3!==o.i&&!to(o.R,r)?n.concat(r):void 0);if(oo(e,r,l),!Yt(l))return;t.m=!1}else a&&e.add(i);if(Jt(i)&&!co(i)){if(!t.h.D&&t._<1)return;vo(t,i),o&&o.A.l||Oo(t,i)}}function Oo(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&lo(o,e)}function wo(t,o){var e=t[Fo];return(e?no(e):t)[o]}function So(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function No(t){t.P||(t.P=!0,t.l&&No(t.l))}function Co(t){t.o||(t.o=ao(t.t))}function $o(t,o,e){var r=ro(o)?fo("MapSet").F(o,e):io(o)?fo("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:po(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=Do;e&&(i=[r],n=Po);var a=Proxy.revocable(i,n),l=a.revoke,s=a.proxy;return r.k=s,r.j=l,s}(o,e):fo("ES5").J(o,e);return(e?e.A:po()).p.push(r),r}function Eo(t){return Yt(t)||qt(22,t),function t(o){if(!Jt(o))return o;var e,r=o[Fo],i=Qt(o);if(r){if(!r.P&&(r.i<4||!fo("ES5").K(r)))return r.t;r.I=!0,e=Ro(o,i),r.I=!1}else e=Ro(o,i);return Xt(e,(function(o,i){r&&function(t,o){return 2===Qt(t)?t.get(o):t[o]}(r.t,o)===i||oo(e,o,t(i))})),3===i?new Set(e):e}(t)}function Ro(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return ao(t)}Dt=_t,Pt=Gt,Ht=Tt;var ko,Io,Uo="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Lo="undefined"!=typeof Map,Wo="undefined"!=typeof Set,jo="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ko=Uo?Symbol.for("immer-nothing"):((ko={})["immer-nothing"]=!0,ko),zo=Uo?Symbol.for("immer-draftable"):"__$immer_draftable",Fo=Uo?Symbol.for("immer-state"):"__$immer_state",Zo=""+Object.prototype.constructor,Ao="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Bo=Object.getOwnPropertyDescriptors||function(t){var o={};return Ao(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Mo={},Do={get:function(t,o){if(o===Fo)return t;var e=no(t);if(!to(e,o))return function(t,o,e){var r,i=So(o,e);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!Jt(r)?r:r===wo(t.t,o)?(Co(t),t.o[o]=$o(t.A.h,r,t)):r},has:function(t,o){return o in no(t)},ownKeys:function(t){return Reflect.ownKeys(no(t))},set:function(t,o,e){var r=So(no(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=wo(no(t),o),n=null==i?void 0:i[Fo];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(eo(e,i)&&(void 0!==e||to(t.t,o)))return!0;Co(t),No(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==wo(t.t,o)||o in t.t?(t.R[o]=!1,Co(t),No(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=no(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){qt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){qt(12)}},Po={};Xt(Do,(function(t,o){Po[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Po.deleteProperty=function(t,o){return Po.set.call(this,t,o,void 0)},Po.set=function(t,o,e){return Do.set.call(this,t[0],o,e,t[0])};var Ho=function(){function t(t){var o=this;this.O=jo,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var i=e;e=t;var n=o;return function(t){var o=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&qt(6),void 0!==r&&"function"!=typeof r&&qt(7),Jt(t)){var l=go(o),s=$o(o,t,void 0),c=!0;try{a=e(s),c=!1}finally{c?uo(l):yo(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return ho(l,r),mo(t,l)}),(function(t){throw uo(l),t})):(ho(l,r),mo(a,l))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Ko&&(a=void 0),o.D&&lo(a,!0),r){var f=[],p=[];fo("Patches").M(t,a,f,p),r(f,p)}return a}qt(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(i))}))};var r,i,n=o.produce(t,e,(function(t,o){r=t,i=o}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){Jt(t)||qt(8),Yt(t)&&(t=Eo(t));var o=go(this),e=$o(this,t,void 0);return e[Fo].C=!0,yo(o),e},o.finishDraft=function(t,o){var e=(t&&t[Fo]).A;return ho(e,o),mo(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!jo&&qt(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var i=fo("Patches").$;return Yt(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),To=new Ho,_o=To.produce;function Go(t){return Go="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Go(t)}function Vo(t){var o=function(t,o){if("object"!==Go(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==Go(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Go(o)?o:String(o)}function qo(t,o,e){return(o=Vo(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function Yo(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function Jo(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?Yo(Object(e),!0).forEach((function(o){qo(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Yo(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function Xo(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}To.produceWithPatches.bind(To),To.setAutoFreeze.bind(To),To.setUseProxies.bind(To),To.applyPatches.bind(To),To.createDraft.bind(To),To.finishDraft.bind(To);var Qo="function"==typeof Symbol&&Symbol.observable||"@@observable",te=function(){return Math.random().toString(36).substring(7).split("").join(".")},oe={INIT:"@@redux/INIT"+te(),REPLACE:"@@redux/REPLACE"+te(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+te()}};function ee(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(Xo(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(Xo(1));return e(ee)(t,o)}if("function"!=typeof t)throw new Error(Xo(2));var i=t,n=o,a=[],l=a,s=!1;function c(){l===a&&(l=a.slice())}function f(){if(s)throw new Error(Xo(3));return n}function p(t){if("function"!=typeof t)throw new Error(Xo(4));if(s)throw new Error(Xo(5));var o=!0;return c(),l.push(t),function(){if(o){if(s)throw new Error(Xo(6));o=!1,c();var e=l.indexOf(t);l.splice(e,1),a=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(Xo(7));if(void 0===t.type)throw new Error(Xo(8));if(s)throw new Error(Xo(9));try{s=!0,n=i(n,t)}finally{s=!1}for(var o=a=l,e=0;e<o.length;e++){(0,o[e])()}return t}return h({type:oe.INIT}),(r={dispatch:h,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Xo(10));i=t,h({type:oe.REPLACE})}})[Qo]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Xo(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[Qo]=function(){return this},t},r}function re(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var i=o[r];"function"==typeof t[i]&&(e[i]=t[i])}var n,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:oe.INIT}))throw new Error(Xo(12));if(void 0===e(void 0,{type:oe.PROBE_UNKNOWN_ACTION()}))throw new Error(Xo(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},l=0;l<a.length;l++){var s=a[l],c=e[s],f=t[s],p=c(f,o);if(void 0===p)throw o&&o.type,new Error(Xo(14));i[s]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ie(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function ne(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(Xo(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=ie.apply(void 0,n)(e.dispatch),Jo(Jo({},e),{},{dispatch:r})}}}function ae(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(i){return"function"==typeof i?i(e,r,t):o(i)}}}}var le=ae();le.withExtraArgument=ae;var se,ce=le,fe=(se=function(t,o){return se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},se(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}se(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),pe=function(t,o){var e,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function l(n){return function(l){return function(n){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=o.call(t,a)}catch(t){n=[6,t],r=0}finally{e=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,l])}}},he=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},de=Object.defineProperty,ue=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,ve=function(t,o,e){return o in t?de(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},xe=function(t,o){for(var e in o||(o={}))be.call(o,e)&&ve(t,e,o[e]);if(ge)for(var r=0,i=ge(o);r<i.length;r++){e=i[r];me.call(o,e)&&ve(t,e,o[e])}return t},Oe=function(t,o){return ue(t,ye(o))},we="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ie:ie.apply(null,arguments)};var Se=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return fe(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,he([void 0],t[0].concat(this)))):new(o.bind.apply(o,he([void 0],t.concat(this))))},o}(Array),Ne=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return fe(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,he([void 0],t[0].concat(this)))):new(o.bind.apply(o,he([void 0],t.concat(this))))},o}(Array);function Ce(t){return Jt(t)?_o(t,(function(){})):t}function $e(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new Se;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(ce.withExtraArgument(e.extraArgument)):r.push(ce));return r}(t)}}function Ee(t){var o,e=$e(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,l=void 0===a?e():a,s=r.devTools,c=void 0===s||s,f=r.preloadedState,p=void 0===f?void 0:f,h=r.enhancers,d=void 0===h?void 0:h;if("function"==typeof n)o=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=re(n)}var u=l;"function"==typeof u&&(u=u(e));var y=ne.apply(void 0,u),g=ie;c&&(g=we(xe({trace:!1},"object"==typeof c&&c)));var b=new Ne(y),m=b;return Array.isArray(d)?m=he([y],d):"function"==typeof d&&(m=d(b)),ee(o,p,g.apply(void 0,m))}function Re(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return xe(xe({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function ke(t){var o,e={},r=[],i={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,i},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),i},addDefaultCase:function(t){return o=t,i}};return t(i),[e,r,o]}function Ie(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Ce(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},l={},s={};function c(){var o="function"==typeof t.extraReducers?ke(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,s=o[2],c=void 0===s?void 0:s,f=xe(xe({},i),l);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?ke(o):[o,e,r],a=n[0],l=n[1],s=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ce(t())};else{var c=Ce(t);i=function(){return c}}function f(t,o){void 0===t&&(t=i());var e=he([a[o.type]],l.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[s]),e.reduce((function(t,e){if(e){var r;if(Yt(t))return void 0===(r=e(t,o))?t:r;if(Jt(t))return _o(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var i=r[e];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var e,r,n=i[t],c=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,l[c]=e,s[t]=r?Re(c,r):Re(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:s,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var Ue=["name","message","stack","code"],Le=function(t,o){this.payload=t,this.meta=o},We=function(t,o){this.payload=t,this.meta=o},je=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ue;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function Ke(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=Re(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Oe(xe({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Re(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Oe(xe({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Re(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||je)(t||"Rejected"),meta:Oe(xe({},n||{}),{arg:r,requestId:o,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(l,s,c){var f,p=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),h=new a;function d(t){f=t,h.abort()}var u=function(){return a=this,u=null,y=function(){var a,u,y,g,b,m;return pe(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:s,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return h.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),l(i(p,t,null==(u=null==e?void 0:e.getPendingMeta)?void 0:u.call(e,{requestId:p,arg:t},{getState:s,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:l,getState:s,extra:c,requestId:p,signal:h.signal,abort:d,rejectWithValue:function(t,o){return new Le(t,o)},fulfillWithValue:function(t,o){return new We(t,o)}})).then((function(o){if(o instanceof Le)throw o;return o instanceof We?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Le?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(y)&&y.meta.condition||l(y),[2,y]}var x}))},new Promise((function(t,o){var e=function(t){try{i(y.next(t))}catch(t){o(t)}},r=function(t){try{i(y.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((y=y.apply(a,u)).next())}));var a,u,y}();return Object.assign(u,{abort:d,requestId:p,arg:t,unwrap:function(){return u.then(Ke)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var ze="listenerMiddleware";Re(ze+"/add"),Re(ze+"/removeAll"),Re(ze+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=i[t];return e?e.enumerable=o:i[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Fo];return Do.get(o,t)},set:function(o){var e=this[Fo];Do.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Fo];if(!i.P)switch(i.i){case 5:r(i)&&No(i);break;case 4:e(i)&&No(i)}}}function e(t){for(var o=t.t,e=t.k,r=Ao(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Fo){var a=o[n];if(void 0===a&&!to(o,n))return!0;var l=e[n],s=l&&l[Fo];if(s?s.t!==a:!eo(l,a))return!0}}var c=!!o[Fo];return r.length!==Ao(o).length+(c?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var i={};!function(t,o){Mo[t]||(Mo[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),i=function(o,e){if(o){for(var r=Array(e.length),i=0;i<e.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Bo(e);delete n[Fo];for(var a=Ao(n),l=0;l<a.length;l++){var s=a[l];n[s]=t(s,o||!!n[s].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:po(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Fo,{value:n,writable:!0}),i},S:function(t,e,i){i?Yt(e)&&e[Fo].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Fo];if(e){var i=e.t,n=e.k,a=e.R,l=e.i;if(4===l)Xt(n,(function(o){o!==Fo&&(void 0!==i[o]||to(i,o)?a[o]||t(n[o]):(a[o]=!0,No(e)))})),Xt(i,(function(t){void 0!==n[t]||to(n,t)||(a[t]=!1,No(e))}));else if(5===l){if(r(e)&&(No(e),a.length=!0),n.length<i.length)for(var s=n.length;s<i.length;s++)a[s]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Fe{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(Mt(i))return i;if(null==r)return;const n=Ie({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Ee({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return n.reducer(t,o)}}});return window.ftReduxStores[r.name]=new Fe(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,i=t[r];return i?(...t)=>{const o=i(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const Ze=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!d(t,o),attribute:!1,...o};a(i)(t,e);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}},Ae=Symbol("elementInternals");var Be,Me,De;const Pe=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(De=null===(Me=null===(Be=window.safari)||void 0===Be?void 0:Be.pushNotification)||void 0===Me?void 0:Me.toString())&&void 0!==De?De:""),He=1,Te=2,_e=t=>(...o)=>({_$litDirective$:t,values:o});
107
+ `;class Tt{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,i;t=this.resolvePluralKey(t,e);let r=null!==(i=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==i?i:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),r}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}function Zt(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var _t,Ht,Gt;const Vt=Symbol("internalReduxEventsUnsubscribers"),qt=Symbol("internalStoresUnsubscribers"),Yt=Symbol("internalStores");class Xt extends Kt{constructor(){super(...arguments),this[_t]=new Map,this[Ht]=new Map,this[Gt]=[]}update(t){var e;super.update(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[Yt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Yt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Yt].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Zt(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Yt].delete(e)}setupStore(t,e){this[Yt].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Yt].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[qt].has(t.store):this[qt].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[qt].set(t,e.subscribe((()=>this.updateFromStores()))),Zt(e)&&e.eventBus&&(null===(o=this.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[Vt].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qt].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Vt].forEach((t=>t())),this[Vt]=[]}unsubscribeFromStore(t){this[qt].has(t)&&this[qt].get(t)(),this[qt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Jt(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Qt(t){return!!t&&!!t[De]}function te(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Ke}(t)||Array.isArray(t)||!!t[Be]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Be])||ae(t)||se(t))}function ee(t,e,o){void 0===o&&(o=!1),0===oe(t)?(o?Object.keys:Pe)(t).forEach((function(i){o&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(o,i){return e(i,o,t)}))}function oe(t){var e=t[De];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ae(t)?2:se(t)?3:0}function ie(t,e){return 2===oe(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function re(t,e,o){var i=oe(t);2===i?t.set(e,o):3===i?t.add(o):t[e]=o}function ne(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function ae(t){return Ae&&t instanceof Map}function se(t){return je&&t instanceof Set}function le(t){return t.o||t.t}function ce(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Me(t);delete e[De];for(var o=Pe(e),i=0;i<o.length;i++){var r=o[i],n=e[r];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[r]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function fe(t,e){return void 0===e&&(e=!1),pe(t)||Qt(t)||!te(t)||(oe(t)>1&&(t.set=t.add=t.clear=t.delete=he),Object.freeze(t),e&&ee(t,(function(t,e){return fe(e,!0)}),!0)),t}function he(){Jt(2)}function pe(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function de(t){var e=Te[t];return e||Jt(18,t),e}function ue(){return Le}function ye(t,e){e&&(de("Patches"),t.u=[],t.s=[],t.v=e)}function be(t){ge(t),t.p.forEach(me),t.p=null}function ge(t){t===Le&&(Le=t.l)}function ve(t){return Le={p:[],l:Le,h:t,m:!0,_:0}}function me(t){var e=t[De];0===e.i||1===e.i?e.j():e.g=!0}function xe(t,e){e._=e.p.length;var o=e.p[0],i=void 0!==t&&t!==o;return e.h.O||de("ES5").S(e,t,i),i?(o[De].P&&(be(e),Jt(4)),te(t)&&(t=Oe(e,t),e.l||Se(e,t)),e.u&&de("Patches").M(o[De].t,t,e.u,e.s)):t=Oe(e,o,[]),be(e),e.u&&e.v(e.u,e.s),t!==ze?t:void 0}function Oe(t,e,o){if(pe(e))return e;var i=e[De];if(!i)return ee(e,(function(r,n){return we(t,i,e,r,n,o)}),!0),e;if(i.A!==t)return e;if(!i.P)return Se(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=ce(i.k):i.o,n=r,a=!1;3===i.i&&(n=new Set(r),r.clear(),a=!0),ee(n,(function(e,n){return we(t,i,r,e,n,o,a)})),Se(t,r,!1),o&&t.u&&de("Patches").N(i,o,t.u,t.s)}return i.o}function we(t,e,o,i,r,n,a){if(Qt(r)){var s=Oe(t,r,n&&e&&3!==e.i&&!ie(e.R,i)?n.concat(i):void 0);if(re(o,i,s),!Qt(s))return;t.m=!1}else a&&o.add(r);if(te(r)&&!pe(r)){if(!t.h.D&&t._<1)return;Oe(t,r),e&&e.A.l||Se(t,r)}}function Se(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&fe(e,o)}function Ne(t,e){var o=t[De];return(o?le(o):t)[e]}function $e(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var i=Object.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function Ce(t){t.P||(t.P=!0,t.l&&Ce(t.l))}function Ee(t){t.o||(t.o=ce(t.t))}function ke(t,e,o){var i=ae(e)?de("MapSet").F(e,o):se(e)?de("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),i={i:o?1:0,A:e?e.A:ue(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,n=Ze;o&&(r=[i],n=_e);var a=Proxy.revocable(r,n),s=a.revoke,l=a.proxy;return i.k=l,i.j=s,l}(e,o):de("ES5").J(e,o);return(o?o.A:ue()).p.push(i),i}function Re(t){return Qt(t)||Jt(22,t),function t(e){if(!te(e))return e;var o,i=e[De],r=oe(e);if(i){if(!i.P&&(i.i<4||!de("ES5").K(i)))return i.t;i.I=!0,o=Ie(e,r),i.I=!1}else o=Ie(e,r);return ee(o,(function(e,r){i&&function(t,e){return 2===oe(t)?t.get(e):t[e]}(i.t,e)===r||re(o,e,t(r))})),3===r?new Set(o):o}(t)}function Ie(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ce(t)}_t=qt,Ht=Yt,Gt=Vt;var Ue,Le,We="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ae="undefined"!=typeof Map,je="undefined"!=typeof Set,Fe="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,ze=We?Symbol.for("immer-nothing"):((Ue={})["immer-nothing"]=!0,Ue),Be=We?Symbol.for("immer-draftable"):"__$immer_draftable",De=We?Symbol.for("immer-state"):"__$immer_state",Ke=""+Object.prototype.constructor,Pe="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Me=Object.getOwnPropertyDescriptors||function(t){var e={};return Pe(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Te={},Ze={get:function(t,e){if(e===De)return t;var o=le(t);if(!ie(o,e))return function(t,e,o){var i,r=$e(e,o);return r?"value"in r?r.value:null===(i=r.get)||void 0===i?void 0:i.call(t.k):void 0}(t,o,e);var i=o[e];return t.I||!te(i)?i:i===Ne(t.t,e)?(Ee(t),t.o[e]=ke(t.A.h,i,t)):i},has:function(t,e){return e in le(t)},ownKeys:function(t){return Reflect.ownKeys(le(t))},set:function(t,e,o){var i=$e(le(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=Ne(le(t),e),n=null==r?void 0:r[De];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(ne(o,r)&&(void 0!==o||ie(t.t,e)))return!0;Ee(t),Ce(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Ne(t.t,e)||e in t.t?(t.R[e]=!1,Ee(t),Ce(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=le(t),i=Reflect.getOwnPropertyDescriptor(o,e);return i?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:i.enumerable,value:o[e]}:i},defineProperty:function(){Jt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Jt(12)}},_e={};ee(Ze,(function(t,e){_e[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),_e.deleteProperty=function(t,e){return _e.set.call(this,t,e,void 0)},_e.set=function(t,e,o){return Ze.set.call(this,t[0],e,o,t[0])};var He=function(){function t(t){var e=this;this.O=Fe,this.D=!0,this.produce=function(t,o,i){if("function"==typeof t&&"function"!=typeof o){var r=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var i=arguments.length,a=Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var i;return(i=o).call.apply(i,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Jt(6),void 0!==i&&"function"!=typeof i&&Jt(7),te(t)){var s=ve(e),l=ke(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?be(s):ge(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return ye(s,i),xe(t,s)}),(function(t){throw be(s),t})):(ye(s,i),xe(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===ze&&(a=void 0),e.D&&fe(a,!0),i){var f=[],h=[];de("Patches").M(t,a,f,h),i(f,h)}return a}Jt(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var i=arguments.length,r=Array(i>1?i-1:0),n=1;n<i;n++)r[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(r))}))};var i,r,n=e.produce(t,o,(function(t,e){i=t,r=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,i,r]})):[n,i,r]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){te(t)||Jt(8),Qt(t)&&(t=Re(t));var e=ve(this),o=ke(this,t,void 0);return o[De].C=!0,ge(e),o},e.finishDraft=function(t,e){var o=(t&&t[De]).A;return ye(o,e),xe(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Fe&&Jt(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var i=e[o];if(0===i.path.length&&"replace"===i.op){t=i.value;break}}o>-1&&(e=e.slice(o+1));var r=de("Patches").$;return Qt(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),Ge=new He,Ve=Ge.produce;function qe(t){return qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qe(t)}function Ye(t){var e=function(t,e){if("object"!==qe(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==qe(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===qe(e)?e:String(e)}function Xe(t,e,o){return(e=Ye(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Je(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function Qe(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Je(Object(o),!0).forEach((function(e){Xe(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Je(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function to(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Ge.produceWithPatches.bind(Ge),Ge.setAutoFreeze.bind(Ge),Ge.setUseProxies.bind(Ge),Ge.applyPatches.bind(Ge),Ge.createDraft.bind(Ge),Ge.finishDraft.bind(Ge);var eo="function"==typeof Symbol&&Symbol.observable||"@@observable",oo=function(){return Math.random().toString(36).substring(7).split("").join(".")},io={INIT:"@@redux/INIT"+oo(),REPLACE:"@@redux/REPLACE"+oo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+oo()}};function ro(t,e,o){var i;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(to(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(to(1));return o(ro)(t,e)}if("function"!=typeof t)throw new Error(to(2));var r=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(to(3));return n}function h(t){if("function"!=typeof t)throw new Error(to(4));if(l)throw new Error(to(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(to(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=null}}}function p(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(to(7));if(void 0===t.type)throw new Error(to(8));if(l)throw new Error(to(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return p({type:io.INIT}),(i={dispatch:p,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(to(10));r=t,p({type:io.REPLACE})}})[eo]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(to(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[eo]=function(){return this},t},i}function no(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var r=e[i];"function"==typeof t[r]&&(o[r]=t[r])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:io.INIT}))throw new Error(to(12));if(void 0===o(void 0,{type:io.PROBE_UNKNOWN_ACTION()}))throw new Error(to(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var i=!1,r={},s=0;s<a.length;s++){var l=a[s],c=o[l],f=t[l],h=c(f,e);if(void 0===h)throw e&&e.type,new Error(to(14));r[l]=h,i=i||h!==f}return(i=i||a.length!==Object.keys(t).length)?r:t}}function ao(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function so(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),i=function(){throw new Error(to(15))},r={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return i=ao.apply(void 0,n)(o.dispatch),Qe(Qe({},o),{},{dispatch:i})}}}function lo(t){return function(e){var o=e.dispatch,i=e.getState;return function(e){return function(r){return"function"==typeof r?r(o,i,t):e(r)}}}}var co=lo();co.withExtraArgument=lo;var fo,ho=co,po=(fo=function(t,e){return fo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},fo(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}fo(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),uo=function(t,e){var o,i,r,n,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,i&&(r=2&n[0]?i.return:n[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;switch(i=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,i=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){a.label=n[1];break}if(6===n[0]&&a.label<r[1]){a.label=r[1],r=n;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(n);break}r[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],i=0}finally{o=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},yo=function(t,e){for(var o=0,i=e.length,r=t.length;o<i;o++,r++)t[r]=e[o];return t},bo=Object.defineProperty,go=Object.defineProperties,vo=Object.getOwnPropertyDescriptors,mo=Object.getOwnPropertySymbols,xo=Object.prototype.hasOwnProperty,Oo=Object.prototype.propertyIsEnumerable,wo=function(t,e,o){return e in t?bo(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},So=function(t,e){for(var o in e||(e={}))xo.call(e,o)&&wo(t,o,e[o]);if(mo)for(var i=0,r=mo(e);i<r.length;i++){o=r[i];Oo.call(e,o)&&wo(t,o,e[o])}return t},No=function(t,e){return go(t,vo(e))},$o="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ao:ao.apply(null,arguments)};var Co=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return po(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,yo([void 0],t[0].concat(this)))):new(e.bind.apply(e,yo([void 0],t.concat(this))))},e}(Array),Eo=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return po(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,yo([void 0],t[0].concat(this)))):new(e.bind.apply(e,yo([void 0],t.concat(this))))},e}(Array);function ko(t){return te(t)?Ve(t,(function(){})):t}function Ro(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var i=new Co;o&&(!function(t){return"boolean"==typeof t}(o)?i.push(ho.withExtraArgument(o.extraArgument)):i.push(ho));return i}(t)}}function Io(t){var e,o=Ro(),i=t||{},r=i.reducer,n=void 0===r?void 0:r,a=i.middleware,s=void 0===a?o():a,l=i.devTools,c=void 0===l||l,f=i.preloadedState,h=void 0===f?void 0:f,p=i.enhancers,d=void 0===p?void 0:p;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=no(n)}var u=s;"function"==typeof u&&(u=u(o));var y=so.apply(void 0,u),b=ao;c&&(b=$o(So({trace:!1},"object"==typeof c&&c)));var g=new Eo(y),v=g;return Array.isArray(d)?v=yo([y],d):"function"==typeof d&&(v=d(g)),ro(e,h,b.apply(void 0,v))}function Uo(t,e){function o(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(e){var r=e.apply(void 0,o);if(!r)throw new Error("prepareAction did not return an object");return So(So({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Lo(t){var e,o={},i=[],r={addCase:function(t,e){var i="string"==typeof t?t:t.type;if(i in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[i]=e,r},addMatcher:function(t,e){return i.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[o,i,e]}function Wo(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,i="function"==typeof t.initialState?t.initialState:ko(t.initialState),r=t.reducers||{},n=Object.keys(r),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?Lo(t.extraReducers):[t.extraReducers],o=e[0],r=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,f=So(So({},r),s);return function(t,e,o,i){void 0===o&&(o=[]);var r,n="function"==typeof e?Lo(e):[e,o,i],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return ko(t())};else{var c=ko(t);r=function(){return c}}function f(t,e){void 0===t&&(t=r());var o=yo([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var i;if(Qt(t))return void 0===(i=o(t,e))?t:i;if(te(t))return Ve(t,(function(t){return o(t,e)}));if(void 0===(i=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return t}),t)}return f.getInitialState=r,f}(i,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,i=a;o<i.length;o++){var r=i[o];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,i,n=r[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,i=n.prepare):o=n,a[t]=o,s[c]=o,l[t]=i?Uo(c,i):Uo(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Ao=["name","message","stack","code"],jo=function(t,e){this.payload=t,this.meta=e},Fo=function(t,e){this.payload=t,this.meta=e},zo=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,i=Ao;o<i.length;o++){var r=i[o];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function Bo(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var i=Uo(t+"/fulfilled",(function(t,e,o,i){return{payload:t,meta:No(So({},i||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),r=Uo(t+"/pending",(function(t,e,o){return{payload:void 0,meta:No(So({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Uo(t+"/rejected",(function(t,e,i,r,n){return{payload:r,error:(o&&o.serializeError||zo)(t||"Rejected"),meta:No(So({},n||{}),{arg:i,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,l,c){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),p=new a;function d(t){f=t,p.abort()}var u=function(){return a=this,u=null,y=function(){var a,u,y,b,g,v;return uo(this,(function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),b=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:l,extra:c}),null===(x=b)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,b];case 1:b=m.sent(),m.label=2;case 2:if(!1===b||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return g=new Promise((function(t,e){return p.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(r(h,t,null==(u=null==o?void 0:o.getPendingMeta)?void 0:u.call(o,{requestId:h,arg:t},{getState:l,extra:c}))),[4,Promise.race([g,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:h,signal:p.signal,abort:d,rejectWithValue:function(t,e){return new jo(t,e)},fulfillWithValue:function(t,e){return new Fo(t,e)}})).then((function(e){if(e instanceof jo)throw e;return e instanceof Fo?i(e.payload,h,t,e.meta):i(e,h,t)}))])];case 3:return y=m.sent(),[3,5];case 4:return v=m.sent(),y=v instanceof jo?n(null,h,t,v.payload,v.meta):n(v,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,e){var o=function(t){try{r(y.next(t))}catch(t){e(t)}},i=function(t){try{r(y.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,i)};r((y=y.apply(a,u)).next())}));var a,u,y}();return Object.assign(u,{abort:d,requestId:h,arg:t,unwrap:function(){return u.then(Bo)}})}}),{pending:r,rejected:n,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var Do="listenerMiddleware";Uo(Do+"/add"),Uo(Do+"/removeAll"),Uo(Do+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=r[t];return o?o.enumerable=e:r[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[De];return Ze.get(e,t)},set:function(e){var o=this[De];Ze.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][De];if(!r.P)switch(r.i){case 5:i(r)&&Ce(r);break;case 4:o(r)&&Ce(r)}}}function o(t){for(var e=t.t,o=t.k,i=Pe(o),r=i.length-1;r>=0;r--){var n=i[r];if(n!==De){var a=e[n];if(void 0===a&&!ie(e,n))return!0;var s=o[n],l=s&&s[De];if(l?l.t!==a:!ne(s,a))return!0}}var c=!!e[De];return i.length!==Pe(e).length+(c?0:1)}function i(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var i=0;i<e.length;i++)if(!e.hasOwnProperty(i))return!0;return!1}var r={};!function(t,e){Te[t]||(Te[t]=e)}("ES5",{J:function(e,o){var i=Array.isArray(e),r=function(e,o){if(e){for(var i=Array(o.length),r=0;r<o.length;r++)Object.defineProperty(i,""+r,t(r,!0));return i}var n=Me(o);delete n[De];for(var a=Pe(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(i,e),n={i:i?5:4,A:o?o.A:ue(),P:!1,I:!1,R:{},l:o,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,De,{value:n,writable:!0}),r},S:function(t,o,r){r?Qt(o)&&o[De].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[De];if(o){var r=o.t,n=o.k,a=o.R,s=o.i;if(4===s)ee(n,(function(e){e!==De&&(void 0!==r[e]||ie(r,e)?a[e]||t(n[e]):(a[e]=!0,Ce(o)))})),ee(r,(function(t){void 0!==n[t]||ie(n,t)||(a[t]=!1,Ce(o))}));else if(5===s){if(i(o)&&(Ce(o),a.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)a[l]=!1;else for(var c=r.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,r.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):i(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ko{static get(t){var e;const o="string"==typeof t?t:t.name,i="string"==typeof t?void 0:t,r=window.ftReduxStores[o];if(Zt(r))return r;if(null==i)return;const n=Wo({...i,reducers:null!==(e=i.reducers)&&void 0!==e?e:{}}),a=Io({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[i.name]=new Ko(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const i=e,r=t[i];return r?(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[i]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const Po=t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!b(t,e),attribute:!1,...e};s(r)(t,o);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(o,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[o],store:e.store})}},Mo=Symbol("elementInternals");var To,Zo,_o;const Ho=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(_o=null===(Zo=null===(To=window.safari)||void 0===To?void 0:To.pushNotification)||void 0===Zo?void 0:Zo.toString())&&void 0!==_o?_o:""),Go=1,Vo=2,qo=t=>(...e)=>({_$litDirective$:t,values:e});
97
108
  /**
98
109
  * @license
99
110
  * Copyright 2017 Google LLC
100
111
  * SPDX-License-Identifier: BSD-3-Clause
101
- */class Ge{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}}
112
+ */class Yo{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
102
113
  /**
103
114
  * @license
104
115
  * Copyright 2020 Google LLC
105
116
  * SPDX-License-Identifier: BSD-3-Clause
106
- */const{I:Ve}=bt,qe=()=>document.createComment(""),Ye=(t,o,e)=>{var r;const i=t._$AA.parentNode,n=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=i.insertBefore(qe(),n),r=i.insertBefore(qe(),n);e=new Ve(o,r,t,t.options)}else{const o=e._$AB.nextSibling,a=e._$AM,l=a!==t;if(l){let o;null===(r=e._$AQ)||void 0===r||r.call(e,t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==a._$AU&&e._$AP(o)}if(o!==n||l){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;i.insertBefore(t,n),t=o}}}return e},Je=(t,o,e=t)=>(t._$AI(o,e),t),Xe={},Qe=t=>{var o;null===(o=t._$AP)||void 0===o||o.call(t,!1,!0);let e=t._$AA;const r=t._$AB.nextSibling;for(;e!==r;){const t=e.nextSibling;e.remove(),e=t}},tr=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},or=_e(class extends Ge{constructor(t){if(super(t),t.type!==Te)throw Error("repeat() can only be used in text expressions")}dt(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const i=[],n=[];let a=0;for(const o of t)i[a]=r?r(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:i}}render(t,o,e){return this.dt(t,o,e).values}update(t,[o,e,r]){var i;const n=(t=>t._$AH)(t),{values:a,keys:l}=this.dt(o,e,r);if(!Array.isArray(n))return this.ht=l,a;const s=null!==(i=this.ht)&&void 0!==i?i:this.ht=[],c=[];let f,p,h=0,d=n.length-1,u=0,y=a.length-1;for(;h<=d&&u<=y;)if(null===n[h])h++;else if(null===n[d])d--;else if(s[h]===l[u])c[u]=Je(n[h],a[u]),h++,u++;else if(s[d]===l[y])c[y]=Je(n[d],a[y]),d--,y--;else if(s[h]===l[y])c[y]=Je(n[h],a[y]),Ye(t,c[y+1],n[h]),h++,y--;else if(s[d]===l[u])c[u]=Je(n[d],a[u]),Ye(t,n[h],n[d]),d--,u++;else if(void 0===f&&(f=tr(l,u,y),p=tr(s,h,d)),f.has(s[h]))if(f.has(s[d])){const o=p.get(l[u]),e=void 0!==o?n[o]:null;if(null===e){const o=Ye(t,n[h]);Je(o,a[u]),c[u]=o}else c[u]=Je(e,a[u]),Ye(t,n[h],e),n[o]=null;u++}else Qe(n[d]),d--;else Qe(n[h]),h++;for(;u<=y;){const o=Ye(t,c[y+1]);Je(o,a[u]),c[u++]=o}for(;h<=d;){const t=n[h++];null!==t&&Qe(t)}return this.ht=l,((t,o=Xe)=>{t._$AH=o})(t,c),et}}),er={spacing:Nt.create("--ft-search-selected-facets-spacing","","SIZE","8px")},rr=w`
117
+ */const{I:Xo}=xt,Jo=()=>document.createComment(""),Qo=(t,e,o)=>{var i;const r=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(Jo(),n),i=r.insertBefore(Jo(),n);o=new Xo(e,i,t,t.options)}else{const e=o._$AB.nextSibling,a=o._$AM,s=a!==t;if(s){let e;null===(i=o._$AQ)||void 0===i||i.call(o,t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==a._$AU&&o._$AP(e)}if(e!==n||s){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;r.insertBefore(t,n),t=e}}}return o},ti=(t,e,o=t)=>(t._$AI(e,o),t),ei={},oi=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let o=t._$AA;const i=t._$AB.nextSibling;for(;o!==i;){const t=o.nextSibling;o.remove(),o=t}},ii=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},ri=qo(class extends Yo{constructor(t){if(super(t),t.type!==Vo)throw Error("repeat() can only be used in text expressions")}dt(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.dt(t,e,o).values}update(t,[e,o,i]){var r;const n=(t=>t._$AH)(t),{values:a,keys:s}=this.dt(e,o,i);if(!Array.isArray(n))return this.ht=s,a;const l=null!==(r=this.ht)&&void 0!==r?r:this.ht=[],c=[];let f,h,p=0,d=n.length-1,u=0,y=a.length-1;for(;p<=d&&u<=y;)if(null===n[p])p++;else if(null===n[d])d--;else if(l[p]===s[u])c[u]=ti(n[p],a[u]),p++,u++;else if(l[d]===s[y])c[y]=ti(n[d],a[y]),d--,y--;else if(l[p]===s[y])c[y]=ti(n[p],a[y]),Qo(t,c[y+1],n[p]),p++,y--;else if(l[d]===s[u])c[u]=ti(n[d],a[u]),Qo(t,n[p],n[d]),d--,u++;else if(void 0===f&&(f=ii(s,u,y),h=ii(l,p,d)),f.has(l[p]))if(f.has(l[d])){const e=h.get(s[u]),o=void 0!==e?n[e]:null;if(null===o){const e=Qo(t,n[p]);ti(e,a[u]),c[u]=e}else c[u]=ti(o,a[u]),Qo(t,n[p],o),n[e]=null;u++}else oi(n[d]),d--;else oi(n[p]),p++;for(;u<=y;){const e=Qo(t,c[y+1]);ti(e,a[u]),c[u++]=e}for(;p<=d;){const t=n[p++];null!==t&&oi(t)}return this.ht=s,((t,e=ei)=>{t._$AH=e})(t,c),nt}}),ni={spacing:Et.create("--ft-search-selected-facets-spacing","","SIZE","8px")},ai=$`
107
118
  .ft-search-selected-facets--container {
108
119
  display: flex;
109
120
  flex-wrap: wrap;
110
- gap: ${er.spacing};
121
+ gap: ${ni.spacing};
111
122
  }
112
- `,ir=w`
113
- `,nr=Fe.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});
123
+ `,si={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload}};
114
124
  /**
115
125
  * @license
116
126
  * Copyright 2017 Google LLC
117
127
  * SPDX-License-Identifier: BSD-3-Clause
118
- */class ar{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=nr.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?ar.build(t):null!==(o=ar.API)&&void 0!==o?o:ar.API=ar.build()}static await(t){return new Promise((o=>{let e=ar.get(t);if(e)o(e);else{const r=nr.subscribe((()=>{e=ar.get(t),e&&(r(),o(e))}))}}))}}var lr;const sr=Symbol("clearAfterUnitTest");class cr{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[lr]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=nr.getState().uiLocale,nr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=nr.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var e;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(e=this.defaultMessages[t])&&void 0!==e?e:{},...o};d(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...e){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Bt(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(o,...e)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(o=0,new Promise((t=>setTimeout(t,o)))).then((()=>t())).catch((()=>null));var o})))}}lr=sr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new cr((async(t,o)=>(await ar.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new cr((async(t,o)=>(await ar.await()).getCustomMessageContext(t,o))));const fr=window.FluidTopicsI18nService;var pr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class hr extends Ft{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>ar.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return ot`
128
+ */var li,ci,fi,hi,pi,di,ui,yi,bi,gi,vi,mi,xi,Oi;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=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(h)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),i=0;i<e.length;i++)o[i]=String.fromCharCode(e[i]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=a(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,i,r=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),u.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function b(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),i=o.shift().replace(/\+/g," "),r=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(r))}})),e}function g(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},d.call(y.prototype),d.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},g.error=function(){var t=new g(null,{status:0,statusText:""});return t.type="error",t};var v=[301,302,303,307,308];g.redirect=function(t,e){if(-1===v.indexOf(e))throw new RangeError("Invalid status code");return new g(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function m(t,i){return new Promise((function(r,n){var a=new y(t,i);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),i=o.shift().trim();if(i){var r=o.join(":").trim();e.append(i,r)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new g(i,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}m.polyfill=!0,t.fetch||(t.fetch=m,t.Headers=l,t.Request=y,t.Response=g),e.Headers=l,e.Request=y,e.Response=g,e.fetch=m,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(li||(li={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(ci||(ci={})),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"}(fi||(fi={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(hi||(hi={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(pi||(pi={})),function(t){t.ASC="ASC",t.DESC="DESC"}(di||(di={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(ui||(ui={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(yi||(yi={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(bi||(bi={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(gi||(gi={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(vi||(vi={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(mi||(mi={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(xi||(xi={})),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"}(Oi||(Oi={})),Oi.PERSONAL_BOOK_SHARE_USER,Oi.PERSONAL_BOOK_USER,Oi.HTML_EXPORT_USER,Oi.PERSONAL_BOOK_USER,Oi.PDF_EXPORT_USER,Oi.PERSONAL_BOOK_USER,Oi.KHUB_ADMIN,Oi.CONTENT_PUBLISHER,Oi.ADMIN,Oi.KHUB_ADMIN,Oi.USERS_ADMIN,Oi.PORTAL_ADMIN,Oi.DEVELOPER,Oi.BETA_USER,Oi.DEBUG_USER;const wi=$`
129
+ `,Si=Ko.get({name:"ft-app-info",reducers:{setBaseUrl:(t,e)=>{t.baseUrl=e.payload},setApiIntegrationIdentifier:(t,e)=>{t.apiIntegrationIdentifier=e.payload},setUiLocale:(t,e)=>{t.uiLocale=e.payload},setAvailableUiLocales:(t,e)=>{t.availableUiLocales=e.payload},setEditorMode:(t,e)=>{t.editorMode=e.payload},setNoCustom:(t,e)=>{t.noCustom=e.payload},setNoCustomComponent:(t,e)=>{t.noCustomComponent=e.payload},setSession:(t,e)=>{t.session=e.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class Ni{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Si.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static get(t){var e;return null!=t?Ni.build(t):null!==(e=Ni.API)&&void 0!==e?e:Ni.API=Ni.build()}static await(t){return new Promise((e=>{let o=Ni.get(t);if(o)e(o);else{const i=Si.subscribe((()=>{o=Ni.get(t),o&&(i(),e(o))}))}}))}}var $i;const Ci=Symbol("clearAfterUnitTest");class Ei{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[$i]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=Si.getState().uiLocale,Si.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Si.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};b(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var i,r,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(r=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==r?r:{};return new Tt(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>u(0).then((()=>t())).catch((()=>null)))))}}$i=Ci,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Ei((async(t,e)=>(await Ni.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Ei((async(t,e)=>(await Ni.await()).getCustomMessageContext(t,e))));const ki=window.FluidTopicsI18nService,Ri=window.FluidTopicsCustomI18nService;var Ii=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ui extends Kt{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Ni.get(),this.cache=new r,this.cleanSessionDebouncer=new n}render(){return rt`
119
130
  <slot></slot>
120
- `}update(t){super.update(t),t.has("baseUrl")&&nr.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&nr.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&nr.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&nr.actions.setNoCustom(this.noCustom),t.has("editorMode")&&nr.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&nr.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&nr.actions.setSession(this.session),t.has("availableUiLocales")&&nr.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>fr.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}hr.elementDefinitions={},hr.styles=ir,pr([a()],hr.prototype,"baseUrl",void 0),pr([a()],hr.prototype,"apiIntegrationIdentifier",void 0),pr([a()],hr.prototype,"uiLocale",void 0),pr([y([])],hr.prototype,"availableUiLocales",void 0),pr([a({type:Boolean})],hr.prototype,"editorMode",void 0),pr([a({type:Boolean})],hr.prototype,"noCustom",void 0),pr([a({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],hr.prototype,"noCustomComponent",void 0),pr([a({type:Boolean})],hr.prototype,"withManualResources",void 0),pr([y([])],hr.prototype,"messageContexts",void 0),pr([y(void 0)],hr.prototype,"session",void 0),pr([a({type:Object})],hr.prototype,"apiProvider",void 0);class dr{async listMySearches(){var t;return(null===(t=nr.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await ar.await()).listMySearches(nr.getState().session.profile.userId):[]}}const ur=new r;class yr{async listMyBookmarks(){return ur.get("bookmarks",(async()=>(await ar.await()).listMyBookmarks(nr.getState().session.profile.userId)))}clearCache(){ur.clear("bookmarks")}}const gr=Fe.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=nr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new yr,nr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=nr.getState();d(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){gr.actions.savedSearches(void 0)}clearMyBookmarks(){gr.actions.bookmarks(void 0)}async reloadMySearches(){const t=new dr,o=await t.listMySearches();gr.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;gr.actions.bookmarks(o)}}},u("ft-app-context")(hr);class br extends Event{constructor(){super(br.eventName)}}br.eventName="search-context-clear-all-filters";var mr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class vr extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const xr=Symbol("registerInterval");class Or extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[xr]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[xr]):this.dispatchEvent(new vr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=xr,mr([l()],e.prototype,"stateManager",void 0),e}(Vt)){}
131
+ `}update(t){super.update(t),t.has("baseUrl")&&Si.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Si.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Si.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Si.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Si.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Si.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Si.actions.setSession(this.session),t.has("availableUiLocales")&&Si.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>ki.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const e=await t.getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),e.idleTimeoutInMillis),e}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Ui.elementDefinitions={},Ui.styles=wi,Ii([s()],Ui.prototype,"baseUrl",void 0),Ii([s()],Ui.prototype,"apiIntegrationIdentifier",void 0),Ii([s()],Ui.prototype,"uiLocale",void 0),Ii([v([])],Ui.prototype,"availableUiLocales",void 0),Ii([s({type:Boolean})],Ui.prototype,"editorMode",void 0),Ii([s({type:Boolean})],Ui.prototype,"noCustom",void 0),Ii([s({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Ui.prototype,"noCustomComponent",void 0),Ii([s({type:Boolean})],Ui.prototype,"withManualResources",void 0),Ii([v([])],Ui.prototype,"messageContexts",void 0),Ii([v(void 0)],Ui.prototype,"session",void 0),Ii([s({type:Object})],Ui.prototype,"apiProvider",void 0);class Li{async listMySearches(){var t;return(null===(t=Si.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Ni.await()).listMySearches(Si.getState().session.profile.userId):[]}}const Wi=new r;class Ai{async listMyBookmarks(){return Wi.get("bookmarks",(async()=>(await Ni.await()).listMyBookmarks(Si.getState().session.profile.userId)))}clearCache(){Wi.clear("bookmarks")}}const ji=Ko.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Fi=new class{constructor(){this.currentSession=Si.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ai,Si.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Si.getState();b(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){ji.actions.savedSearches(void 0)}clearMyBookmarks(){ji.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Li,e=await t.listMySearches();ji.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;ji.actions.bookmarks(e)}}};g("ft-app-context")(Ui);class zi{static async build(){return new zi(await Ni.await())}constructor(t){this.api=t,this.cache=new r,this.cache.registerFinal("available-locales",(()=>this.api.getAvailableSearchLocales()))}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}}const Bi=t=>t.request.virtualField===yi.TITLE_ONLY&&t.request.scope===xi.DOCUMENTS;class Di extends Event{constructor(){super(Di.eventName)}}Di.eventName="search-context-clear-all-filters";class Ki{static build(t){return new Ki((t=>Ko.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:si}))(t.trim()||"context"),zi.build)}constructor(t,e){this.store=t,this.serviceProvider=e,this.searchDebouncer=new n(100),this.suggestDebouncer=new n(300)}async initService(){return this.service=await this.serviceProvider(),this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}async awaitService(){for(;null==this.service;)await u(5);return this.service}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let e=this.store.getState().locales,o=this.store.getState().request.contentLocale;if(t!=o){if(e){const i=t=>e.some((e=>e.lang==t));i(t)||(t=i(o)?o:e[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){const e=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(e),this.store.actions.setPageNumber(1),e.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(yi.TITLE_ONLY),this.store.actions.setRequestScope(xi.DOCUMENTS)):(this.store.actions.setRequestVirtualField(yi.EVERYWHERE),this.store.actions.setRequestScope(xi.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return Bi(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Di)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,e){let o=this.facetIds.filter((e=>e!=t));e&&o.push(e),this.facetIds=o,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let e=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(e)}setFilter(t,e){let o=this.store.getState().request.filters,i={key:t,values:e,negative:!1},r=[...o.filter((e=>e.key!==t)),i];this.setFilters(r)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}async launchSearch(){return await this.awaitService(),this.searchDebouncer.run((()=>this.fetchSearchData()))}async launchSuggest(){await this.awaitService(),this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,o;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel(),this.cancelableSearch=i(this.service.launchSearch(this.store.getState().request));const e=await this.cancelableSearch;if(e.paging.currentPage<=1)this.store.actions.setResults(e.results),this.store.actions.setFacets(e.facets),this.store.actions.setSpellcheck(e.spellcheck);else{let t=(null!==(o=this.store.getState().results)&&void 0!==o?o:[]).concat(e.results);this.store.actions.setResults(t)}this.store.actions.setPaging(e.paging)}catch(t){t instanceof e||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{let e={input:this.store.getState().liveQuery,filters:this.store.getState().request.filters,sort:this.store.getState().request.sort,contentLocale:this.store.getState().request.contentLocale};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=i(this.service.launchSuggest(e));let o=await this.cancelableSuggest;this.store.actions.setSuggestResults(o.suggestions)}catch(t){t instanceof e||!this.errorHandler||this.errorHandler(t)}}}var Pi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Mi extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Ti=Symbol("registerInterval");class Zi extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Ti]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Ti]):this.dispatchEvent(new Mi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Ti,Pi([l()],o.prototype,"stateManager",void 0),o}(Xt)){}
121
132
  /**
122
133
  * @license
123
134
  * Copyright 2018 Google LLC
124
135
  * SPDX-License-Identifier: BSD-3-Clause
125
- */const wr=_e(class extends Ge{constructor(t){var o;if(super(t),t.type!==He||"class"!==t.name||(null===(o=t.strings)||void 0===o?void 0:o.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){var e,r;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!(null===(e=this.nt)||void 0===e?void 0:e.has(t))&&this.it.add(t);return this.render(o)}const i=t.element.classList;this.it.forEach((t=>{t in o||(i.remove(t),this.it.delete(t))}));for(const t in o){const e=!!o[t];e===this.it.has(t)||(null===(r=this.nt)||void 0===r?void 0:r.has(t))||(e?(i.add(t),this.it.add(t)):(i.remove(t),this.it.delete(t)))}return et}}),Sr=Nt.extend("--ft-ripple-color","",It.colorContent),Nr={color:Sr,backgroundColor:Nt.extend("--ft-ripple-background-color","",Sr),opacityContentOnSurfacePressed:Nt.external(It.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Nt.external(It.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Nt.external(It.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Nt.external(It.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Nt.create("--ft-ripple-border-radius","","SIZE","0px")},Cr=Nt.extend("--ft-ripple-color","",It.colorPrimary),$r=Cr,Er=Nt.extend("--ft-ripple-background-color","",Cr),Rr=Nt.extend("--ft-ripple-color","",It.colorSecondary),kr=Rr,Ir=Nt.extend("--ft-ripple-background-color","",Rr),Ur=w`
136
+ */const _i=qo(class extends Yo{constructor(t){var e;if(super(t),t.type!==Go||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var o,i;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(o=this.nt)||void 0===o?void 0:o.has(t))&&this.it.add(t);return this.render(e)}const r=t.element.classList;this.it.forEach((t=>{t in e||(r.remove(t),this.it.delete(t))}));for(const t in e){const o=!!e[t];o===this.it.has(t)||(null===(i=this.nt)||void 0===i?void 0:i.has(t))||(o?(r.add(t),this.it.add(t)):(r.remove(t),this.it.delete(t)))}return nt}}),Hi=Et.extend("--ft-ripple-color","",Wt.colorContent),Gi={color:Hi,backgroundColor:Et.extend("--ft-ripple-background-color","",Hi),opacityContentOnSurfacePressed:Et.external(Wt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Et.external(Wt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Et.external(Wt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Et.external(Wt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Et.create("--ft-ripple-border-radius","","SIZE","0px")},Vi=Et.extend("--ft-ripple-color","",Wt.colorPrimary),qi=Vi,Yi=Et.extend("--ft-ripple-background-color","",Vi),Xi=Et.extend("--ft-ripple-color","",Wt.colorSecondary),Ji=Xi,Qi=Et.extend("--ft-ripple-background-color","",Xi),tr=$`
126
137
  :host {
127
138
  display: contents;
128
139
  }
@@ -135,7 +146,7 @@ var vt,xt;let Ot=class extends W{constructor(){super(...arguments),this.renderOp
135
146
 
136
147
  .ft-ripple:not(.ft-ripple--unbounded) {
137
148
  overflow: hidden;
138
- border-radius: ${Nr.borderRadius};
149
+ border-radius: ${Gi.borderRadius};
139
150
  }
140
151
 
141
152
  .ft-ripple .ft-ripple--background,
@@ -169,27 +180,27 @@ var vt,xt;let Ot=class extends W{constructor(){super(...arguments),this.renderOp
169
180
  }
170
181
 
171
182
  .ft-ripple .ft-ripple--background {
172
- background-color: ${Nr.backgroundColor};
183
+ background-color: ${Gi.backgroundColor};
173
184
  }
174
185
 
175
186
  .ft-ripple .ft-ripple--effect {
176
- background-color: ${Nr.color};
187
+ background-color: ${Gi.color};
177
188
  }
178
189
 
179
190
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
180
- background-color: ${Ir};
191
+ background-color: ${Qi};
181
192
  }
182
193
 
183
194
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
184
- background-color: ${kr};
195
+ background-color: ${Ji};
185
196
  }
186
197
 
187
198
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
188
- background-color: ${Er};
199
+ background-color: ${Yi};
189
200
  }
190
201
 
191
202
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
192
- background-color: ${$r};
203
+ background-color: ${qi};
193
204
  }
194
205
 
195
206
  .ft-ripple .ft-ripple--background {
@@ -219,154 +230,156 @@ var vt,xt;let Ot=class extends W{constructor(){super(...arguments),this.renderOp
219
230
  }
220
231
 
221
232
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
222
- opacity: ${Nr.opacityContentOnSurfaceHover};
233
+ opacity: ${Gi.opacityContentOnSurfaceHover};
223
234
  }
224
235
 
225
236
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
226
- opacity: ${Nr.opacityContentOnSurfaceSelected};
237
+ opacity: ${Gi.opacityContentOnSurfaceSelected};
227
238
  }
228
239
 
229
240
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
230
- opacity: ${Nr.opacityContentOnSurfaceFocused};
241
+ opacity: ${Gi.opacityContentOnSurfaceFocused};
231
242
  }
232
243
 
233
244
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
234
- opacity: ${Nr.opacityContentOnSurfacePressed};
245
+ opacity: ${Gi.opacityContentOnSurfacePressed};
235
246
  transform: translate(-50%, -50%) scale(1);
236
247
  }
237
- `;var Lr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Wr extends Ft{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new i(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new i(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ot`
248
+ `;var er=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class or extends Kt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new n(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new n(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return rt`
238
249
  <style>
239
250
  .ft-ripple .ft-ripple--effect {
240
251
  left: ${this.originX}px;
241
252
  top: ${this.originY}px;
242
253
  }
243
254
  </style>
244
- <div class="${wr(t)}">
255
+ <div class="${_i(t)}">
245
256
  <div class="ft-ripple--background"></div>
246
257
  <div class="ft-ripple--effect"></div>
247
258
  </div>
248
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Wr.elementDefinitions={},Wr.styles=Ur,Lr([a({type:Boolean})],Wr.prototype,"primary",void 0),Lr([a({type:Boolean})],Wr.prototype,"secondary",void 0),Lr([a({type:Boolean})],Wr.prototype,"unbounded",void 0),Lr([a({type:Boolean})],Wr.prototype,"activated",void 0),Lr([a({type:Boolean})],Wr.prototype,"selected",void 0),Lr([a({type:Boolean})],Wr.prototype,"disabled",void 0),Lr([l()],Wr.prototype,"hovered",void 0),Lr([l()],Wr.prototype,"focused",void 0),Lr([l()],Wr.prototype,"pressed",void 0),Lr([l()],Wr.prototype,"rippling",void 0),Lr([l()],Wr.prototype,"originX",void 0),Lr([l()],Wr.prototype,"originY",void 0),Lr([c(".ft-ripple")],Wr.prototype,"ripple",void 0),Lr([c(".ft-ripple--effect")],Wr.prototype,"rippleEffect",void 0),u("ft-ripple")(Wr);
259
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",o),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",o),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}or.elementDefinitions={},or.styles=tr,er([s({type:Boolean})],or.prototype,"primary",void 0),er([s({type:Boolean})],or.prototype,"secondary",void 0),er([s({type:Boolean})],or.prototype,"unbounded",void 0),er([s({type:Boolean})],or.prototype,"activated",void 0),er([s({type:Boolean})],or.prototype,"selected",void 0),er([s({type:Boolean})],or.prototype,"disabled",void 0),er([l()],or.prototype,"hovered",void 0),er([l()],or.prototype,"focused",void 0),er([l()],or.prototype,"pressed",void 0),er([l()],or.prototype,"rippling",void 0),er([l()],or.prototype,"originX",void 0),er([l()],or.prototype,"originY",void 0),er([f(".ft-ripple")],or.prototype,"ripple",void 0),er([f(".ft-ripple--effect")],or.prototype,"rippleEffect",void 0),g("ft-ripple")(or);
249
260
  /**
250
261
  * @license
251
262
  * Copyright 2020 Google LLC
252
263
  * SPDX-License-Identifier: BSD-3-Clause
253
264
  */
254
- const jr=Symbol.for(""),Kr=t=>{if((null==t?void 0:t.r)===jr)return null==t?void 0:t._$litStatic$},zr=t=>({_$litStatic$:t,r:jr}),Fr=new Map,Zr=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let s,c=0,f=!1;for(;c<r;){for(s=o[c];c<r&&void 0!==(n=e[c],i=Kr(n));)s+=i+o[++c],f=!0;c!==r&&l.push(n),a.push(s),c++}if(c===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=Fr.get(t))&&(a.raw=a,Fr.set(t,o=a)),e=l}return t(o,...e)})(ot);var Ar;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Ar||(Ar={}));const Br=Nt.extend("--ft-typography-font-family","",It.titleFont),Mr=Nt.extend("--ft-typography-font-family","",It.contentFont),Dr={fontFamily:Mr,fontSize:Nt.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Nt.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Nt.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Nt.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Nt.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Pr=Nt.extend("--ft-typography-title-font-family","",Br),Hr=Nt.extend("--ft-typography-title-font-size","",Dr.fontSize,"20px"),Tr=Nt.extend("--ft-typography-title-font-weight","",Dr.fontWeight,"normal"),_r=Nt.extend("--ft-typography-title-letter-spacing","",Dr.letterSpacing,"0.15px"),Gr=Nt.extend("--ft-typography-title-line-height","",Dr.lineHeight,"1.2"),Vr=Nt.extend("--ft-typography-title-text-transform","",Dr.textTransform,"inherit"),qr=Nt.extend("--ft-typography-title-dense-font-family","",Br),Yr=Nt.extend("--ft-typography-title-dense-font-size","",Dr.fontSize,"14px"),Jr=Nt.extend("--ft-typography-title-dense-font-weight","",Dr.fontWeight,"normal"),Xr=Nt.extend("--ft-typography-title-dense-letter-spacing","",Dr.letterSpacing,"0.105px"),Qr=Nt.extend("--ft-typography-title-dense-line-height","",Dr.lineHeight,"1.7"),ti=Nt.extend("--ft-typography-title-dense-text-transform","",Dr.textTransform,"inherit"),oi=Nt.extend("--ft-typography-subtitle1-font-family","",Mr),ei=Nt.extend("--ft-typography-subtitle1-font-size","",Dr.fontSize,"16px"),ri=Nt.extend("--ft-typography-subtitle1-font-weight","",Dr.fontWeight,"600"),ii=Nt.extend("--ft-typography-subtitle1-letter-spacing","",Dr.letterSpacing,"0.144px"),ni=Nt.extend("--ft-typography-subtitle1-line-height","",Dr.lineHeight,"1.5"),ai=Nt.extend("--ft-typography-subtitle1-text-transform","",Dr.textTransform,"inherit"),li=Nt.extend("--ft-typography-subtitle2-font-family","",Mr),si=Nt.extend("--ft-typography-subtitle2-font-size","",Dr.fontSize,"14px"),ci=Nt.extend("--ft-typography-subtitle2-font-weight","",Dr.fontWeight,"normal"),fi=Nt.extend("--ft-typography-subtitle2-letter-spacing","",Dr.letterSpacing,"0.098px"),pi=Nt.extend("--ft-typography-subtitle2-line-height","",Dr.lineHeight,"1.7"),hi=Nt.extend("--ft-typography-subtitle2-text-transform","",Dr.textTransform,"inherit"),di=Nt.extend("--ft-typography-body1-font-family","",Mr),ui=Nt.extend("--ft-typography-body1-font-size","",Dr.fontSize,"16px"),yi=Nt.extend("--ft-typography-body1-font-weight","",Dr.fontWeight,"normal"),gi=Nt.extend("--ft-typography-body1-letter-spacing","",Dr.letterSpacing,"0.496px"),bi=Nt.extend("--ft-typography-body1-line-height","",Dr.lineHeight,"1.5"),mi=Nt.extend("--ft-typography-body1-text-transform","",Dr.textTransform,"inherit"),vi={fontFamily:Nt.extend("--ft-typography-body2-font-family","",Mr),fontSize:Nt.extend("--ft-typography-body2-font-size","",Dr.fontSize,"14px"),fontWeight:Nt.extend("--ft-typography-body2-font-weight","",Dr.fontWeight,"normal"),letterSpacing:Nt.extend("--ft-typography-body2-letter-spacing","",Dr.letterSpacing,"0.252px"),lineHeight:Nt.extend("--ft-typography-body2-line-height","",Dr.lineHeight,"1.4"),textTransform:Nt.extend("--ft-typography-body2-text-transform","",Dr.textTransform,"inherit")},xi=Nt.extend("--ft-typography-caption-font-family","",Mr),Oi=Nt.extend("--ft-typography-caption-font-size","",Dr.fontSize,"12px"),wi=Nt.extend("--ft-typography-caption-font-weight","",Dr.fontWeight,"normal"),Si=Nt.extend("--ft-typography-caption-letter-spacing","",Dr.letterSpacing,"0.396px"),Ni=Nt.extend("--ft-typography-caption-line-height","",Dr.lineHeight,"1.33"),Ci=Nt.extend("--ft-typography-caption-text-transform","",Dr.textTransform,"inherit"),$i=Nt.extend("--ft-typography-breadcrumb-font-family","",Mr),Ei=Nt.extend("--ft-typography-breadcrumb-font-size","",Dr.fontSize,"10px"),Ri=Nt.extend("--ft-typography-breadcrumb-font-weight","",Dr.fontWeight,"normal"),ki=Nt.extend("--ft-typography-breadcrumb-letter-spacing","",Dr.letterSpacing,"0.33px"),Ii=Nt.extend("--ft-typography-breadcrumb-line-height","",Dr.lineHeight,"1.6"),Ui=Nt.extend("--ft-typography-breadcrumb-text-transform","",Dr.textTransform,"inherit"),Li=Nt.extend("--ft-typography-overline-font-family","",Mr),Wi=Nt.extend("--ft-typography-overline-font-size","",Dr.fontSize,"10px"),ji=Nt.extend("--ft-typography-overline-font-weight","",Dr.fontWeight,"normal"),Ki=Nt.extend("--ft-typography-overline-letter-spacing","",Dr.letterSpacing,"1.5px"),zi=Nt.extend("--ft-typography-overline-line-height","",Dr.lineHeight,"1.6"),Fi=Nt.extend("--ft-typography-overline-text-transform","",Dr.textTransform,"uppercase"),Zi={fontFamily:Nt.extend("--ft-typography-button-font-family","",Mr),fontSize:Nt.extend("--ft-typography-button-font-size","",Dr.fontSize,"14px"),fontWeight:Nt.extend("--ft-typography-button-font-weight","",Dr.fontWeight,"600"),letterSpacing:Nt.extend("--ft-typography-button-letter-spacing","",Dr.letterSpacing,"1.246px"),lineHeight:Nt.extend("--ft-typography-button-line-height","",Dr.lineHeight,"1.15"),textTransform:Nt.extend("--ft-typography-button-text-transform","",Dr.textTransform,"uppercase")},Ai=w`
265
+ const ir=Symbol.for(""),rr=t=>{if((null==t?void 0:t.r)===ir)return null==t?void 0:t._$litStatic$},nr=t=>({_$litStatic$:t,r:ir}),ar=new Map,sr=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,f=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=rr(n));)l+=r+e[++c],f=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=ar.get(t))&&(a.raw=a,ar.set(t,e=a)),o=s}return t(e,...o)})(rt);var lr;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(lr||(lr={}));const cr=Et.extend("--ft-typography-font-family","",Wt.titleFont),fr=Et.extend("--ft-typography-font-family","",Wt.contentFont),hr={fontFamily:fr,fontSize:Et.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Et.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Et.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Et.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Et.create("--ft-typography-text-transform","","UNKNOWN","inherit")},pr=Et.extend("--ft-typography-title-font-family","",cr),dr=Et.extend("--ft-typography-title-font-size","",hr.fontSize,"20px"),ur=Et.extend("--ft-typography-title-font-weight","",hr.fontWeight,"normal"),yr=Et.extend("--ft-typography-title-letter-spacing","",hr.letterSpacing,"0.15px"),br=Et.extend("--ft-typography-title-line-height","",hr.lineHeight,"1.2"),gr=Et.extend("--ft-typography-title-text-transform","",hr.textTransform,"inherit"),vr=Et.extend("--ft-typography-title-dense-font-family","",cr),mr=Et.extend("--ft-typography-title-dense-font-size","",hr.fontSize,"14px"),xr=Et.extend("--ft-typography-title-dense-font-weight","",hr.fontWeight,"normal"),Or=Et.extend("--ft-typography-title-dense-letter-spacing","",hr.letterSpacing,"0.105px"),wr=Et.extend("--ft-typography-title-dense-line-height","",hr.lineHeight,"1.7"),Sr=Et.extend("--ft-typography-title-dense-text-transform","",hr.textTransform,"inherit"),Nr=Et.extend("--ft-typography-subtitle1-font-family","",fr),$r=Et.extend("--ft-typography-subtitle1-font-size","",hr.fontSize,"16px"),Cr=Et.extend("--ft-typography-subtitle1-font-weight","",hr.fontWeight,"600"),Er=Et.extend("--ft-typography-subtitle1-letter-spacing","",hr.letterSpacing,"0.144px"),kr=Et.extend("--ft-typography-subtitle1-line-height","",hr.lineHeight,"1.5"),Rr=Et.extend("--ft-typography-subtitle1-text-transform","",hr.textTransform,"inherit"),Ir=Et.extend("--ft-typography-subtitle2-font-family","",fr),Ur=Et.extend("--ft-typography-subtitle2-font-size","",hr.fontSize,"14px"),Lr=Et.extend("--ft-typography-subtitle2-font-weight","",hr.fontWeight,"normal"),Wr=Et.extend("--ft-typography-subtitle2-letter-spacing","",hr.letterSpacing,"0.098px"),Ar=Et.extend("--ft-typography-subtitle2-line-height","",hr.lineHeight,"1.7"),jr=Et.extend("--ft-typography-subtitle2-text-transform","",hr.textTransform,"inherit"),Fr=Et.extend("--ft-typography-body1-font-family","",fr),zr=Et.extend("--ft-typography-body1-font-size","",hr.fontSize,"16px"),Br=Et.extend("--ft-typography-body1-font-weight","",hr.fontWeight,"normal"),Dr=Et.extend("--ft-typography-body1-letter-spacing","",hr.letterSpacing,"0.496px"),Kr=Et.extend("--ft-typography-body1-line-height","",hr.lineHeight,"1.5"),Pr=Et.extend("--ft-typography-body1-text-transform","",hr.textTransform,"inherit"),Mr={fontFamily:Et.extend("--ft-typography-body2-font-family","",fr),fontSize:Et.extend("--ft-typography-body2-font-size","",hr.fontSize,"14px"),fontWeight:Et.extend("--ft-typography-body2-font-weight","",hr.fontWeight,"normal"),letterSpacing:Et.extend("--ft-typography-body2-letter-spacing","",hr.letterSpacing,"0.252px"),lineHeight:Et.extend("--ft-typography-body2-line-height","",hr.lineHeight,"1.4"),textTransform:Et.extend("--ft-typography-body2-text-transform","",hr.textTransform,"inherit")},Tr=Et.extend("--ft-typography-caption-font-family","",fr),Zr=Et.extend("--ft-typography-caption-font-size","",hr.fontSize,"12px"),_r=Et.extend("--ft-typography-caption-font-weight","",hr.fontWeight,"normal"),Hr=Et.extend("--ft-typography-caption-letter-spacing","",hr.letterSpacing,"0.396px"),Gr=Et.extend("--ft-typography-caption-line-height","",hr.lineHeight,"1.33"),Vr=Et.extend("--ft-typography-caption-text-transform","",hr.textTransform,"inherit"),qr=Et.extend("--ft-typography-breadcrumb-font-family","",fr),Yr=Et.extend("--ft-typography-breadcrumb-font-size","",hr.fontSize,"10px"),Xr=Et.extend("--ft-typography-breadcrumb-font-weight","",hr.fontWeight,"normal"),Jr=Et.extend("--ft-typography-breadcrumb-letter-spacing","",hr.letterSpacing,"0.33px"),Qr=Et.extend("--ft-typography-breadcrumb-line-height","",hr.lineHeight,"1.6"),tn=Et.extend("--ft-typography-breadcrumb-text-transform","",hr.textTransform,"inherit"),en=Et.extend("--ft-typography-overline-font-family","",fr),on=Et.extend("--ft-typography-overline-font-size","",hr.fontSize,"10px"),rn=Et.extend("--ft-typography-overline-font-weight","",hr.fontWeight,"normal"),nn=Et.extend("--ft-typography-overline-letter-spacing","",hr.letterSpacing,"1.5px"),an=Et.extend("--ft-typography-overline-line-height","",hr.lineHeight,"1.6"),sn=Et.extend("--ft-typography-overline-text-transform","",hr.textTransform,"uppercase"),ln={fontFamily:Et.extend("--ft-typography-button-font-family","",fr),fontSize:Et.extend("--ft-typography-button-font-size","",hr.fontSize,"14px"),fontWeight:Et.extend("--ft-typography-button-font-weight","",hr.fontWeight,"600"),letterSpacing:Et.extend("--ft-typography-button-letter-spacing","",hr.letterSpacing,"1.246px"),lineHeight:Et.extend("--ft-typography-button-line-height","",hr.lineHeight,"1.15"),textTransform:Et.extend("--ft-typography-button-text-transform","",hr.textTransform,"uppercase")},cn=$`
255
266
  .ft-typography--title {
256
- font-family: ${Pr};
257
- font-size: ${Hr};
258
- font-weight: ${Tr};
259
- letter-spacing: ${_r};
260
- line-height: ${Gr};
261
- text-transform: ${Vr};
267
+ font-family: ${pr};
268
+ font-size: ${dr};
269
+ font-weight: ${ur};
270
+ letter-spacing: ${yr};
271
+ line-height: ${br};
272
+ text-transform: ${gr};
262
273
  }
263
- `,Bi=w`
274
+ `,fn=$`
264
275
  .ft-typography--title-dense {
265
- font-family: ${qr};
266
- font-size: ${Yr};
267
- font-weight: ${Jr};
268
- letter-spacing: ${Xr};
269
- line-height: ${Qr};
270
- text-transform: ${ti};
276
+ font-family: ${vr};
277
+ font-size: ${mr};
278
+ font-weight: ${xr};
279
+ letter-spacing: ${Or};
280
+ line-height: ${wr};
281
+ text-transform: ${Sr};
271
282
  }
272
- `,Mi=w`
283
+ `,hn=$`
273
284
  .ft-typography--subtitle1 {
274
- font-family: ${oi};
275
- font-size: ${ei};
276
- font-weight: ${ri};
277
- letter-spacing: ${ii};
278
- line-height: ${ni};
279
- text-transform: ${ai};
280
- }
281
- `,Di=w`
285
+ font-family: ${Nr};
286
+ font-size: ${$r};
287
+ font-weight: ${Cr};
288
+ letter-spacing: ${Er};
289
+ line-height: ${kr};
290
+ text-transform: ${Rr};
291
+ }
292
+ `,pn=$`
282
293
  .ft-typography--subtitle2 {
283
- font-family: ${li};
284
- font-size: ${si};
285
- font-weight: ${ci};
286
- letter-spacing: ${fi};
287
- line-height: ${pi};
288
- text-transform: ${hi};
294
+ font-family: ${Ir};
295
+ font-size: ${Ur};
296
+ font-weight: ${Lr};
297
+ letter-spacing: ${Wr};
298
+ line-height: ${Ar};
299
+ text-transform: ${jr};
289
300
  }
290
301
 
291
- `,Pi=w`
302
+ `,dn=$`
292
303
  .ft-typography--body1 {
293
- font-family: ${di};
294
- font-size: ${ui};
295
- font-weight: ${yi};
296
- letter-spacing: ${gi};
297
- line-height: ${bi};
298
- text-transform: ${mi};
299
- }
300
- `,Hi=w`
304
+ font-family: ${Fr};
305
+ font-size: ${zr};
306
+ font-weight: ${Br};
307
+ letter-spacing: ${Dr};
308
+ line-height: ${Kr};
309
+ text-transform: ${Pr};
310
+ }
311
+ `,un=$`
301
312
  .ft-typography--body2 {
302
- font-family: ${vi.fontFamily};
303
- font-size: ${vi.fontSize};
304
- font-weight: ${vi.fontWeight};
305
- letter-spacing: ${vi.letterSpacing};
306
- line-height: ${vi.lineHeight};
307
- text-transform: ${vi.textTransform};
308
- }
309
- `,Ti=w`
313
+ font-family: ${Mr.fontFamily};
314
+ font-size: ${Mr.fontSize};
315
+ font-weight: ${Mr.fontWeight};
316
+ letter-spacing: ${Mr.letterSpacing};
317
+ line-height: ${Mr.lineHeight};
318
+ text-transform: ${Mr.textTransform};
319
+ }
320
+ `,yn=$`
310
321
  .ft-typography--caption {
311
- font-family: ${xi};
312
- font-size: ${Oi};
313
- font-weight: ${wi};
314
- letter-spacing: ${Si};
315
- line-height: ${Ni};
316
- text-transform: ${Ci};
317
- }
318
- `,_i=w`
322
+ font-family: ${Tr};
323
+ font-size: ${Zr};
324
+ font-weight: ${_r};
325
+ letter-spacing: ${Hr};
326
+ line-height: ${Gr};
327
+ text-transform: ${Vr};
328
+ }
329
+ `,bn=$`
319
330
  .ft-typography--breadcrumb {
320
- font-family: ${$i};
321
- font-size: ${Ei};
322
- font-weight: ${Ri};
323
- letter-spacing: ${ki};
324
- line-height: ${Ii};
325
- text-transform: ${Ui};
326
- }
327
- `,Gi=w`
331
+ font-family: ${qr};
332
+ font-size: ${Yr};
333
+ font-weight: ${Xr};
334
+ letter-spacing: ${Jr};
335
+ line-height: ${Qr};
336
+ text-transform: ${tn};
337
+ }
338
+ `,gn=$`
328
339
  .ft-typography--overline {
329
- font-family: ${Li};
330
- font-size: ${Wi};
331
- font-weight: ${ji};
332
- letter-spacing: ${Ki};
333
- line-height: ${zi};
334
- text-transform: ${Fi};
335
- }
336
- `,Vi=w`
340
+ font-family: ${en};
341
+ font-size: ${on};
342
+ font-weight: ${rn};
343
+ letter-spacing: ${nn};
344
+ line-height: ${an};
345
+ text-transform: ${sn};
346
+ }
347
+ `,vn=$`
337
348
  .ft-typography--button {
338
- font-family: ${Zi.fontFamily};
339
- font-size: ${Zi.fontSize};
340
- font-weight: ${Zi.fontWeight};
341
- letter-spacing: ${Zi.letterSpacing};
342
- line-height: ${Zi.lineHeight};
343
- text-transform: ${Zi.textTransform};
344
- }
345
- `,qi=w`
349
+ font-family: ${ln.fontFamily};
350
+ font-size: ${ln.fontSize};
351
+ font-weight: ${ln.fontWeight};
352
+ letter-spacing: ${ln.letterSpacing};
353
+ line-height: ${ln.lineHeight};
354
+ text-transform: ${ln.textTransform};
355
+ }
356
+ `,mn=$`
346
357
  .ft-typography {
347
358
  vertical-align: inherit;
348
359
  }
349
- `,Yi=[Object.keys(Et).map((t=>function(t){const o=Et[t];return w`
350
- font-family: ${o.fontFamily};
351
- font-size: ${o.fontSize};
352
- font-weight: ${o.fontWeight};
353
- letter-spacing: ${o.letterSpacing};
354
- line-height: ${o.lineHeight};
355
- text-transform: ${o.textCase};
356
- `}(t)))];var Ji=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Xi extends Ft{constructor(){super(...arguments),this.variant=Ar.body1}render(){return this.element?Zr`
357
- <${zr(this.element)}
360
+ `,xn=[Object.keys(It).map((t=>function(t){const e=It[t];return $`
361
+ .ft-typography--${N(t)} {
362
+ font-family: ${e.fontFamily};
363
+ font-size: ${e.fontSize};
364
+ font-weight: ${e.fontWeight};
365
+ letter-spacing: ${e.letterSpacing};
366
+ line-height: ${e.lineHeight};
367
+ text-transform: ${e.textCase};
368
+ }
369
+ `}(t)))];var On=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class wn extends Kt{constructor(){super(...arguments),this.variant=lr.body1}render(){return this.element?sr`
370
+ <${nr(this.element)}
358
371
  class="ft-typography ft-typography--${this.variant}">
359
372
  <slot></slot>
360
- </${zr(this.element)}>
361
- `:Zr`
373
+ </${nr(this.element)}>
374
+ `:sr`
362
375
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
363
- `}}Xi.styles=[Ai,Bi,Mi,Di,Pi,Hi,Ti,_i,Gi,Vi,qi,...Yi],Ji([a()],Xi.prototype,"element",void 0),Ji([a()],Xi.prototype,"variant",void 0),u("ft-typography")(Xi);
376
+ `}}wn.styles=[cn,fn,hn,pn,dn,un,yn,bn,gn,vn,mn,...xn],On([s()],wn.prototype,"element",void 0),On([s()],wn.prototype,"variant",void 0),g("ft-typography")(wn);
364
377
  /**
365
378
  * @license
366
379
  * Copyright 2017 Google LLC
367
380
  * SPDX-License-Identifier: BSD-3-Clause
368
381
  */
369
- class Qi extends Ge{constructor(t){if(super(t),this.et=rt,t.type!==Te)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===rt||null==t)return this.ft=void 0,this.et=t;if(t===et)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const o=[t];return o.raw=o,this.ft={_$litType$:this.constructor.resultType,strings:o,values:[]}}}Qi.directiveName="unsafeHTML",Qi.resultType=1;const tn=_e(Qi);var on,en;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(on||(on={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(en||(en={})),new Map([...["abw"].map((t=>[t,en.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,en.AUDIO])),...["avi"].map((t=>[t,en.AVI])),...["chm","xhs"].map((t=>[t,en.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,en.CODE])),...["csv"].map((t=>[t,en.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,en.DITA])),...["epub"].map((t=>[t,en.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,en.EXCEL])),...["flac"].map((t=>[t,en.FLAC])),...["gif"].map((t=>[t,en.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,en.GZIP])),...["html","htm","xhtml"].map((t=>[t,en.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,en.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,en.JPEG])),...["json"].map((t=>[t,en.JSON])),...["m4a","m4p"].map((t=>[t,en.M4A])),...["mov","qt"].map((t=>[t,en.MOV])),...["mp3"].map((t=>[t,en.MP3])),...["mp4","m4v"].map((t=>[t,en.MP4])),...["ogg","oga"].map((t=>[t,en.OGG])),...["pdf","ps"].map((t=>[t,en.PDF])),...["png"].map((t=>[t,en.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,en.POWERPOINT])),...["rar"].map((t=>[t,en.RAR])),...["stp"].map((t=>[t,en.STP])),...["txt","rtf","md","mdown"].map((t=>[t,en.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,en.VIDEO])),...["wav"].map((t=>[t,en.WAV])),...["wma"].map((t=>[t,en.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,en.WORD])),...["xml","xsl","rdf"].map((t=>[t,en.XML])),...["yaml","yml","x-yaml"].map((t=>[t,en.YAML])),...["zip"].map((t=>[t,en.ZIP]))]);const rn={size:Nt.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Nt.extend("--ft-icon-fluid-topics-font-family","",Nt.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Nt.extend("--ft-icon-file-format-font-family","",Nt.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Nt.extend("--ft-icon-material-font-family","",Nt.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Nt.create("--ft-icon-vertical-align","","UNKNOWN","unset")},nn=w`
382
+ class Sn extends Yo{constructor(t){if(super(t),this.et=at,t.type!==Vo)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===at||null==t)return this.ft=void 0,this.et=t;if(t===nt)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Sn.directiveName="unsafeHTML",Sn.resultType=1;const Nn=qo(Sn);var $n,Cn;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}($n||($n={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Cn||(Cn={})),new Map([...["abw"].map((t=>[t,Cn.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Cn.AUDIO])),...["avi"].map((t=>[t,Cn.AVI])),...["chm","xhs"].map((t=>[t,Cn.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Cn.CODE])),...["csv"].map((t=>[t,Cn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Cn.DITA])),...["epub"].map((t=>[t,Cn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Cn.EXCEL])),...["flac"].map((t=>[t,Cn.FLAC])),...["gif"].map((t=>[t,Cn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Cn.GZIP])),...["html","htm","xhtml"].map((t=>[t,Cn.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Cn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Cn.JPEG])),...["json"].map((t=>[t,Cn.JSON])),...["m4a","m4p"].map((t=>[t,Cn.M4A])),...["mov","qt"].map((t=>[t,Cn.MOV])),...["mp3"].map((t=>[t,Cn.MP3])),...["mp4","m4v"].map((t=>[t,Cn.MP4])),...["ogg","oga"].map((t=>[t,Cn.OGG])),...["pdf","ps"].map((t=>[t,Cn.PDF])),...["png"].map((t=>[t,Cn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Cn.POWERPOINT])),...["rar"].map((t=>[t,Cn.RAR])),...["stp"].map((t=>[t,Cn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Cn.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Cn.VIDEO])),...["wav"].map((t=>[t,Cn.WAV])),...["wma"].map((t=>[t,Cn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Cn.WORD])),...["xml","xsl","rdf"].map((t=>[t,Cn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Cn.YAML])),...["zip"].map((t=>[t,Cn.ZIP]))]);const En={size:Et.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Et.extend("--ft-icon-fluid-topics-font-family","",Et.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Et.extend("--ft-icon-file-format-font-family","",Et.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Et.extend("--ft-icon-material-font-family","",Et.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Et.create("--ft-icon-vertical-align","","UNKNOWN","unset")},kn=$`
370
383
  :host, i.ft-icon {
371
384
  display: inline-flex;
372
385
  align-items: center;
@@ -375,14 +388,14 @@ class Qi extends Ge{constructor(t){if(super(t),this.et=rt,t.type!==Te)throw Erro
375
388
  }
376
389
 
377
390
  :host {
378
- width: ${rn.size};
379
- height: ${rn.size};
391
+ width: ${En.size};
392
+ height: ${En.size};
380
393
  }
381
394
 
382
395
  i.ft-icon {
383
396
  width: 100%;
384
397
  height: 100%;
385
- font-size: ${rn.size};
398
+ font-size: ${En.size};
386
399
  line-height: 1;
387
400
  font-weight: normal;
388
401
  text-transform: none;
@@ -393,33 +406,33 @@ class Qi extends Ge{constructor(t){if(super(t),this.et=rt,t.type!==Te)throw Erro
393
406
  text-rendering: auto;
394
407
  -webkit-font-smoothing: antialiased;
395
408
  -moz-osx-font-smoothing: grayscale;
396
- vertical-align: ${rn.verticalAlign};
409
+ vertical-align: ${En.verticalAlign};
397
410
  }
398
411
 
399
412
  i.ft-icon.ft-icon--fluid-topics {
400
- font-family: ${rn.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
413
+ font-family: ${En.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
401
414
 
402
415
  /* Ugly fix because font is broken */
403
- font-size: calc(0.75 * ${rn.size});
404
- line-height: ${rn.size};
416
+ font-size: calc(0.75 * ${En.size});
417
+ line-height: ${En.size};
405
418
  position: relative;
406
419
  top: -4%;
407
420
  justify-content: center;
408
421
  }
409
422
 
410
423
  .ft-icon--file-format {
411
- font-family: ${rn.fileFormatFontFamily}, ft-mime, sans-serif;
424
+ font-family: ${En.fileFormatFontFamily}, ft-mime, sans-serif;
412
425
  }
413
426
 
414
427
  .ft-icon--material {
415
- font-family: ${rn.materialFontFamily}, "Material Icons", sans-serif;
428
+ font-family: ${En.materialFontFamily}, "Material Icons", sans-serif;
416
429
  }
417
- `;var an;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(an||(an={}));var ln=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class sn extends Ft{constructor(){super(...arguments),this.resolvedIcon=rt}render(){const t=this.variant&&Object.values(an).includes(this.variant)?this.variant:an.fluid_topics,o=t!==an.material||!!this.value;return ot`
430
+ `;var Rn;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Rn||(Rn={}));var In=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Un extends Kt{constructor(){super(...arguments),this.resolvedIcon=at}render(){const t=this.variant&&Object.values(Rn).includes(this.variant)?this.variant:Rn.fluid_topics,e=t!==Rn.material||!!this.value;return rt`
418
431
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
419
- ${tn(this.resolvedIcon)}
420
- <slot ?hidden=${o}></slot>
432
+ ${Nn(this.resolvedIcon)}
433
+ <slot ?hidden=${e}></slot>
421
434
  </i>
422
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case an.file_format:this.resolvedIcon=null!==(t=en[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case an.material:this.resolvedIcon=this.value||rt;break;default:this.resolvedIcon=null!==(o=on[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}sn.elementDefinitions={},sn.styles=nn,ln([a()],sn.prototype,"variant",void 0),ln([a()],sn.prototype,"value",void 0),ln([l()],sn.prototype,"resolvedIcon",void 0),ln([c("slot")],sn.prototype,"slottedContent",void 0),u("ft-icon")(sn);const cn={color:Nt.extend("--ft-loader-color","",It.colorPrimary),size:Nt.create("--ft-loader-size","","SIZE","80px")},fn=w`
435
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case Rn.file_format:this.resolvedIcon=null!==(t=Cn[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Rn.material:this.resolvedIcon=this.value||at;break;default:this.resolvedIcon=null!==(e=$n[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Un.elementDefinitions={},Un.styles=kn,In([s()],Un.prototype,"variant",void 0),In([s()],Un.prototype,"value",void 0),In([l()],Un.prototype,"resolvedIcon",void 0),In([f("slot")],Un.prototype,"slottedContent",void 0),g("ft-icon")(Un);const Ln={color:Et.extend("--ft-loader-color","",Wt.colorPrimary),size:Et.create("--ft-loader-size","","SIZE","80px")},Wn=$`
423
436
  :host {
424
437
  line-height: 0;
425
438
  }
@@ -428,8 +441,8 @@ class Qi extends Ge{constructor(t){if(super(t),this.et=rt,t.type!==Te)throw Erro
428
441
  display: inline-block;
429
442
  position: relative;
430
443
 
431
- width: ${cn.size};
432
- height: ${cn.size};
444
+ width: ${Ln.size};
445
+ height: ${Ln.size};
433
446
  }
434
447
 
435
448
  .ft-loader div {
@@ -438,7 +451,7 @@ class Qi extends Ge{constructor(t){if(super(t),this.et=rt,t.type!==Te)throw Erro
438
451
  width: 25%;
439
452
  height: 25%;
440
453
  border-radius: 50%;
441
- background: ${cn.color};
454
+ background: ${Ln.color};
442
455
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
443
456
  }
444
457
 
@@ -485,10 +498,10 @@ class Qi extends Ge{constructor(t){if(super(t),this.et=rt,t.type!==Te)throw Erro
485
498
  transform: translate(0, 0);
486
499
  }
487
500
  100% {
488
- transform: translate(calc(0.35 * ${cn.size}), 0);
501
+ transform: translate(calc(0.35 * ${Ln.size}), 0);
489
502
  }
490
503
  }
491
- `,pn=Nt.extend("--ft-button-color","",It.colorPrimary),hn={backgroundColor:Nt.extend("--ft-button-background-color","",It.colorSurface),borderRadius:Nt.extend("--ft-button-border-radius","",It.borderRadiusL),color:pn,fontSize:Nt.extend("--ft-button-font-size","",Zi.fontSize),iconSize:Nt.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Nt.extend("--ft-button-ripple-color","",pn),verticalPadding:Nt.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Nt.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Nt.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Nt.external(It.colorOpacityDisabled,"Design system")},dn=Nt.extend("--ft-button-primary-color","",Nt.extend("--ft-button-color","",It.colorOnPrimary)),un={backgroundColor:Nt.extend("--ft-button-primary-background-color","",Nt.extend("--ft-button-background-color","",It.colorPrimary)),color:dn,rippleColor:Nt.extend("--ft-button-primary-ripple-color","",dn)},yn=Nt.extend("--ft-button-dense-border-radius","",Nt.extend("--ft-button-border-radius","",It.borderRadiusM)),gn=Nt.create("--ft-button-dense-vertical-padding","","SIZE","2px"),bn=Nt.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),mn=Nt.create("--ft-button-dense-icon-padding","","SIZE","4px"),vn=[w`
504
+ `,An=Et.extend("--ft-button-color","",Wt.colorPrimary),jn={backgroundColor:Et.extend("--ft-button-background-color","",Wt.colorSurface),borderRadius:Et.extend("--ft-button-border-radius","",Wt.borderRadiusL),color:An,fontSize:Et.extend("--ft-button-font-size","",ln.fontSize),iconSize:Et.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Et.extend("--ft-button-ripple-color","",An),verticalPadding:Et.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Et.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Et.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Et.external(Wt.colorOpacityDisabled,"Design system")},Fn=Et.extend("--ft-button-primary-color","",Et.extend("--ft-button-color","",Wt.colorOnPrimary)),zn={backgroundColor:Et.extend("--ft-button-primary-background-color","",Et.extend("--ft-button-background-color","",Wt.colorPrimary)),color:Fn,rippleColor:Et.extend("--ft-button-primary-ripple-color","",Fn)},Bn=Et.extend("--ft-button-dense-border-radius","",Et.extend("--ft-button-border-radius","",Wt.borderRadiusM)),Dn=Et.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Kn=Et.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Pn=Et.create("--ft-button-dense-icon-padding","","SIZE","4px"),Mn=[$`
492
505
  :host {
493
506
  display: inline-block;
494
507
  max-width: 100%;
@@ -499,7 +512,7 @@ class Qi extends Ge{constructor(t){if(super(t),this.et=rt,t.type!==Te)throw Erro
499
512
  box-shadow: 0px 0px 0px transparent;
500
513
  border: 0px solid transparent;
501
514
  text-shadow: 0px 0px 0px transparent;
502
- font-size: ${hn.fontSize};
515
+ font-size: ${jn.fontSize};
503
516
  }
504
517
 
505
518
  button:hover {
@@ -528,31 +541,31 @@ class Qi extends Ge{constructor(t){if(super(t),this.et=rt,t.type!==Te)throw Erro
528
541
  border: none;
529
542
  pointer-events: auto;
530
543
 
531
- --ft-button-internal-line-height: max(calc(${hn.fontSize} + 2px), ${hn.iconSize});
532
- --ft-button-internal-color: ${hn.color};
533
- ${Ct(rn.size,hn.iconSize)};
534
- ${Ct(Nr.color,hn.rippleColor)};
544
+ --ft-button-internal-line-height: max(calc(${jn.fontSize} + 2px), ${jn.iconSize});
545
+ --ft-button-internal-color: ${jn.color};
546
+ ${kt(En.size,jn.iconSize)};
547
+ ${kt(Gi.color,jn.rippleColor)};
535
548
 
536
- border-radius: ${hn.borderRadius};
537
- padding: ${hn.verticalPadding} ${hn.horizontalPadding};
538
- background-color: ${hn.backgroundColor};
549
+ border-radius: ${jn.borderRadius};
550
+ padding: ${jn.verticalPadding} ${jn.horizontalPadding};
551
+ background-color: ${jn.backgroundColor};
539
552
  color: var(--ft-button-internal-color);
540
553
  -webkit-mask-image: radial-gradient(white, black);
541
554
  }
542
555
 
543
556
  .ft-button.ft-button--outlined {
544
557
  border: 1px solid var(--ft-button-internal-color);
545
- padding: calc(${hn.verticalPadding} - 1px) calc(${hn.horizontalPadding} - 1px);
558
+ padding: calc(${jn.verticalPadding} - 1px) calc(${jn.horizontalPadding} - 1px);
546
559
  }
547
560
 
548
561
  .ft-button.ft-button--dense {
549
- padding: ${gn} ${bn};
550
- border-radius: ${yn};
551
- gap: ${mn};
562
+ padding: ${Dn} ${Kn};
563
+ border-radius: ${Bn};
564
+ gap: ${Pn};
552
565
  }
553
566
 
554
567
  .ft-button.ft-button--dense.ft-button--outlined {
555
- padding: calc(${gn} - 1px) calc(${bn} - 1px);
568
+ padding: calc(${Dn} - 1px) calc(${Kn} - 1px);
556
569
  }
557
570
 
558
571
  .ft-button:not([disabled]):hover {
@@ -560,22 +573,22 @@ class Qi extends Ge{constructor(t){if(super(t),this.et=rt,t.type!==Te)throw Erro
560
573
  }
561
574
 
562
575
  .ft-button--round {
563
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${hn.verticalPadding});
576
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${jn.verticalPadding});
564
577
  }
565
578
 
566
579
  .ft-button--round.ft-button--dense {
567
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${gn});
580
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Dn});
568
581
  }
569
582
 
570
583
  .ft-button[disabled] {
571
584
  filter: grayscale(1);
572
- opacity: ${hn.opacityDisabled};
585
+ opacity: ${jn.opacityDisabled};
573
586
  }
574
587
 
575
588
  .ft-button.ft-button--primary {
576
- background-color: ${un.backgroundColor};
577
- --ft-button-internal-color: ${un.color};
578
- ${Ct(Nr.color,un.rippleColor)};
589
+ background-color: ${zn.backgroundColor};
590
+ --ft-button-internal-color: ${zn.color};
591
+ ${kt(Gi.color,zn.rippleColor)};
579
592
  }
580
593
 
581
594
  .ft-button:focus {
@@ -588,13 +601,13 @@ class Qi extends Ge{constructor(t){if(super(t),this.et=rt,t.type!==Te)throw Erro
588
601
  white-space: nowrap;
589
602
  text-overflow: ellipsis;
590
603
  display: block;
591
- margin: 0 ${hn.iconPadding};
592
- ${Ct(Zi.fontSize,"1em")};
593
- ${Ct(Zi.lineHeight,"var(--ft-button-internal-line-height)")};
604
+ margin: 0 ${jn.iconPadding};
605
+ ${kt(ln.fontSize,"1em")};
606
+ ${kt(ln.lineHeight,"var(--ft-button-internal-line-height)")};
594
607
  }
595
608
 
596
609
  .ft-button--dense .ft-button--label {
597
- margin: 0 ${mn};
610
+ margin: 0 ${Pn};
598
611
  }
599
612
 
600
613
  .ft-button--label[hidden] {
@@ -607,13 +620,13 @@ class Qi extends Ge{constructor(t){if(super(t),this.et=rt,t.type!==Te)throw Erro
607
620
  }
608
621
 
609
622
  .ft-button--label[hidden] + ft-icon {
610
- margin: 0 calc(${hn.horizontalPadding} * -1);
611
- padding: 0 ${hn.verticalPadding};
623
+ margin: 0 calc(${jn.horizontalPadding} * -1);
624
+ padding: 0 ${jn.verticalPadding};
612
625
  }
613
626
 
614
627
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
615
- margin: 0 calc(${bn} * -1);
616
- padding: 0 ${gn};
628
+ margin: 0 calc(${Kn} * -1);
629
+ padding: 0 ${Dn};
617
630
  }
618
631
 
619
632
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -622,10 +635,10 @@ class Qi extends Ge{constructor(t){if(super(t),this.et=rt,t.type!==Te)throw Erro
622
635
  }
623
636
 
624
637
  ft-loader {
625
- ${Ct(cn.size,hn.iconSize)};
626
- ${Ct(cn.color,"var(--ft-button-internal-color)")};
638
+ ${kt(Ln.size,jn.iconSize)};
639
+ ${kt(Ln.color,"var(--ft-button-internal-color)")};
627
640
  }
628
- `,Zt],xn=Nt.create("--ft-tooltip-distance","","SIZE","4px"),On=Nt.create("--ft-tooltip-color","","COLOR","#FFFFFF"),wn=Nt.create("--ft-tooltip-background-color","","COLOR","#666666"),Sn=Nt.create("--ft-tooltip-z-index","","NUMBER","100"),Nn=Nt.external(It.borderRadiusS,"Design system"),Cn=Nt.create("--ft-tooltip-max-width","","SIZE","150px"),$n=w`
641
+ `,Pt],Tn=Et.create("--ft-tooltip-distance","","SIZE","4px"),Zn=Et.create("--ft-tooltip-color","","COLOR","#FFFFFF"),_n=Et.create("--ft-tooltip-background-color","","COLOR","#666666"),Hn=Et.create("--ft-tooltip-z-index","","NUMBER","100"),Gn=Et.external(Wt.borderRadiusS,"Design system"),Vn=Et.create("--ft-tooltip-max-width","","SIZE","150px"),qn=$`
629
642
  .ft-tooltip--container {
630
643
  display: block;
631
644
  }
@@ -640,21 +653,21 @@ class Qi extends Ge{constructor(t){if(super(t),this.et=rt,t.type!==Te)throw Erro
640
653
  box-sizing: border-box;
641
654
  overflow: hidden;
642
655
  width: max-content;
643
- max-width: ${Cn};
656
+ max-width: ${Vn};
644
657
  text-align: center;
645
- padding: ${xn};
646
- z-index: ${Sn};
658
+ padding: ${Tn};
659
+ z-index: ${Hn};
647
660
  }
648
661
 
649
662
  .ft-tooltip--content {
650
663
  padding: 4px 8px;
651
- border-radius: ${Nn};
652
- background-color: ${wn};
653
- color: ${On};
664
+ border-radius: ${Gn};
665
+ background-color: ${_n};
666
+ color: ${Zn};
654
667
  position: relative;
655
668
  word-break: break-word;
656
669
  }
657
- `;var En=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Rn extends Ft{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new i,this.revealDebouncer=new i}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ot`
670
+ `;var Yn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Xn extends Kt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new n,this.revealDebouncer=new n}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return rt`
658
671
  <div part="container"
659
672
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
660
673
  @mouseenter=${this.onHover}
@@ -672,43 +685,37 @@ class Qi extends Ge{constructor(t){if(super(t),this.et=rt,t.type!==Te)throw Erro
672
685
  </div>
673
686
  </div>
674
687
  </div>
675
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,r=(t.offsetHeight-e)/2,i=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+r-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+r-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=n+"px",l.top=a+"px";const s=this.tooltip.getBoundingClientRect();let c=-s.x,f=s.x+s.width-window.innerWidth;l.left=n+Math.round(this.correctOutOfWindowPixels(c,f))+"px";let p=-s.y,h=s.y+s.height-window.innerHeight;l.top=a+Math.round(this.correctOutOfWindowPixels(p,h))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${Cn})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Rn.elementDefinitions={"ft-typography":Xi},Rn.styles=$n,En([a()],Rn.prototype,"text",void 0),En([a({type:Boolean})],Rn.prototype,"manual",void 0),En([a({type:Boolean})],Rn.prototype,"inline",void 0),En([a({type:Number})],Rn.prototype,"delay",void 0),En([a()],Rn.prototype,"position",void 0),En([
676
- /**
677
- * @license
678
- * Copyright 2017 Google LLC
679
- * SPDX-License-Identifier: BSD-3-Clause
680
- */
681
- function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},e?function(t){const{slot:o,selector:e}=null!=t?t:{};return s({descriptor:r=>({get(){var r;const i="slot"+(o?`[name=${o}]`:":not([name])"),n=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(i),a=null!=n?p(n,t):[];return e?a.filter((t=>t.matches(e))):a},enumerable:!0,configurable:!0})})}({slot:i,flatten:o,selector:e}):s({descriptor:t=>({get(){var t,o;const e="slot"+(i?`[name=${i}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(o=null==n?void 0:n.assignedNodes(r))&&void 0!==o?o:[]},enumerable:!0,configurable:!0})})}("",!0)],Rn.prototype,"slotNodes",void 0),En([c(".ft-tooltip--container")],Rn.prototype,"container",void 0),En([c(".ft-tooltip")],Rn.prototype,"tooltip",void 0),En([c(".ft-tooltip--content")],Rn.prototype,"tooltipContent",void 0),En([l()],Rn.prototype,"visible",void 0),u("ft-tooltip")(Rn);class kn extends Ft{render(){return ot`
688
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,o=this.tooltip.offsetHeight,i=(t.offsetHeight-o)/2,r=(t.offsetWidth-e)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-o-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,f=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,f))+"px";let h=-l.y,p=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(h,p))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${Vn})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Xn.elementDefinitions={"ft-typography":wn},Xn.styles=qn,Yn([s()],Xn.prototype,"text",void 0),Yn([s({type:Boolean})],Xn.prototype,"manual",void 0),Yn([s({type:Boolean})],Xn.prototype,"inline",void 0),Yn([s({type:Number})],Xn.prototype,"delay",void 0),Yn([s()],Xn.prototype,"position",void 0),Yn([function(t,e,o){let i,r=t;return"object"==typeof t?(r=t.slot,i=t):i={flatten:e},o?d({slot:r,flatten:e,selector:o}):c({descriptor:t=>({get(){var t,e;const o="slot"+(r?`[name=${r}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(o);return null!==(e=null==n?void 0:n.assignedNodes(i))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],Xn.prototype,"slotNodes",void 0),Yn([f(".ft-tooltip--container")],Xn.prototype,"container",void 0),Yn([f(".ft-tooltip")],Xn.prototype,"tooltip",void 0),Yn([f(".ft-tooltip--content")],Xn.prototype,"tooltipContent",void 0),Yn([l()],Xn.prototype,"visible",void 0),g("ft-tooltip")(Xn);class Jn extends Kt{render(){return rt`
682
689
  <div class="ft-loader">
683
690
  <div></div>
684
691
  <div></div>
685
692
  <div></div>
686
693
  <div></div>
687
694
  </div>
688
- `}}kn.styles=fn,u("ft-loader")(kn);var In=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Un extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Ae].form}constructor(...t){super(t),this[Ae]=this.attachInternals(),this[Ae].role=o}setFormValue(t){this[Ae].setFormValue(t)}}}(Ft,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(ot`
695
+ `}}Jn.styles=Wn,g("ft-loader")(Jn);var Qn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ta extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Mo].form}constructor(...t){super(t),this[Mo]=this.attachInternals(),this[Mo].role=e}setFormValue(t){this[Mo].setFormValue(t)}}}(Kt,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(rt`
689
696
  <button part="button"
690
- class="${wr(this.buttonClasses)}"
697
+ class="${_i(this.buttonClasses)}"
691
698
  aria-label="${this.getLabel()}"
692
699
  ?disabled=${this.isDisabled()}>
693
700
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
694
701
  <ft-typography part="label"
695
702
  variant=${this.typographyVariant}
696
703
  element="span"
697
- class="ft-button--label ${Pe?"ft-safari-ellipsis-fix":""}"
704
+ class="ft-button--label ${Ho?"ft-safari-ellipsis-fix":""}"
698
705
  ?hidden=${!this.hasTextContent()}>
699
706
  <slot @slotchange=${this.onSlotchange}></slot>
700
707
  </ft-typography>
701
708
  ${this.resolveIcon()}
702
709
  </button>
703
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?ot`
710
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?rt`
704
711
  <ft-tooltip part="tooltip"
705
712
  text="${this.getLabel()}"
706
713
  position="${this.tooltipPosition}">
707
714
  ${t}
708
715
  </ft-tooltip>
709
- `:t}resolveIcon(){return this.loading?ot`
710
- <ft-loader part="loader icon"></ft-loader> `:this.icon?ot`
711
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:rt}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Un.elementDefinitions={"ft-ripple":Wr,"ft-tooltip":Rn,"ft-typography":Xi,"ft-icon":sn,"ft-loader":kn},In([a({type:String,reflect:!0})],Un.prototype,"role",void 0),In([a()],Un.prototype,"type",void 0),In([a({type:Boolean})],Un.prototype,"disabled",void 0),In([a()],Un.prototype,"label",void 0),In([a()],Un.prototype,"icon",void 0),In([a()],Un.prototype,"iconVariant",void 0),In([a({type:Boolean})],Un.prototype,"trailingIcon",void 0),In([a({type:Boolean})],Un.prototype,"loading",void 0),In([a()],Un.prototype,"tooltipPosition",void 0),In([a({type:Boolean})],Un.prototype,"hideTooltip",void 0),In([a({type:Boolean})],Un.prototype,"forceTooltip",void 0),In([c(".ft-button")],Un.prototype,"button",void 0),In([c(".ft-button--label slot")],Un.prototype,"slottedContent",void 0);var Ln=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Wn extends Un{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Wn.styles=[At,vn],Ln([a({type:Boolean})],Wn.prototype,"primary",void 0),Ln([a({type:Boolean})],Wn.prototype,"outlined",void 0),Ln([a({type:Boolean})],Wn.prototype,"disabled",void 0),Ln([a({type:Boolean})],Wn.prototype,"dense",void 0),Ln([a({type:Boolean})],Wn.prototype,"round",void 0);const jn=[w`
716
+ `:t}resolveIcon(){return this.loading?rt`
717
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?rt`
718
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:at}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}ta.elementDefinitions={"ft-ripple":or,"ft-tooltip":Xn,"ft-typography":wn,"ft-icon":Un,"ft-loader":Jn},Qn([s({type:String,reflect:!0})],ta.prototype,"role",void 0),Qn([s()],ta.prototype,"type",void 0),Qn([s({type:Boolean})],ta.prototype,"disabled",void 0),Qn([s()],ta.prototype,"label",void 0),Qn([s()],ta.prototype,"icon",void 0),Qn([s()],ta.prototype,"iconVariant",void 0),Qn([s({type:Boolean})],ta.prototype,"trailingIcon",void 0),Qn([s({type:Boolean})],ta.prototype,"loading",void 0),Qn([s()],ta.prototype,"tooltipPosition",void 0),Qn([s({type:Boolean})],ta.prototype,"hideTooltip",void 0),Qn([s({type:Boolean})],ta.prototype,"forceTooltip",void 0),Qn([f(".ft-button")],ta.prototype,"button",void 0),Qn([f(".ft-button--label slot")],ta.prototype,"slottedContent",void 0);var ea=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class oa extends ta{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}oa.styles=[Mt,Mn],ea([s({type:Boolean})],oa.prototype,"primary",void 0),ea([s({type:Boolean})],oa.prototype,"outlined",void 0),ea([s({type:Boolean})],oa.prototype,"dense",void 0),ea([s({type:Boolean})],oa.prototype,"round",void 0);const ia=[$`
712
719
  :host {
713
720
  display: inline-block;
714
721
  max-width: 100%;
@@ -758,7 +765,7 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
758
765
  }
759
766
 
760
767
  .ft-button:focus-visible {
761
- outline-color: ${kt.focusFocusRingColor};
768
+ outline-color: ${Lt.focusFocusRingColor};
762
769
  outline-style: solid;
763
770
  }
764
771
 
@@ -787,146 +794,146 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
787
794
  /** Primary styles **/
788
795
 
789
796
  .ft-button--primary {
790
- ${Ct(cn.color,kt.primaryIconColor)};
797
+ ${kt(Ln.color,Lt.primaryIconColor)};
791
798
 
792
- ${Ct(Nr.color,kt.primaryStateLayerColor)};
793
- ${Ct(Nr.opacityContentOnSurfaceHover,kt.primaryStateLayerOpacityHover)};
794
- ${Ct(Nr.opacityContentOnSurfaceFocused,kt.primaryStateLayerOpacityFocus)};
795
- ${Ct(Nr.opacityContentOnSurfaceSelected,kt.primaryStateLayerOpacityActive)};
796
- ${Ct(Nr.opacityContentOnSurfacePressed,kt.primaryStateLayerOpacityActive)};
799
+ ${kt(Gi.color,Lt.primaryStateLayerColor)};
800
+ ${kt(Gi.opacityContentOnSurfaceHover,Lt.primaryStateLayerOpacityHover)};
801
+ ${kt(Gi.opacityContentOnSurfaceFocused,Lt.primaryStateLayerOpacityFocus)};
802
+ ${kt(Gi.opacityContentOnSurfaceSelected,Lt.primaryStateLayerOpacityActive)};
803
+ ${kt(Gi.opacityContentOnSurfacePressed,Lt.primaryStateLayerOpacityActive)};
797
804
 
798
- background-color: ${kt.primaryBackgroundColor};
799
- color: ${kt.primaryColor};
805
+ background-color: ${Lt.primaryBackgroundColor};
806
+ color: ${Lt.primaryColor};
800
807
  border-style: none;
801
808
  }
802
809
 
803
810
  .ft-button--primary[disabled] {
804
- opacity: ${kt.primaryComponentOpacityDisabled};
811
+ opacity: ${Lt.primaryComponentOpacityDisabled};
805
812
  }
806
813
 
807
814
  .ft-button--primary ft-icon {
808
- color: ${kt.primaryIconColor};
815
+ color: ${Lt.primaryIconColor};
809
816
  }
810
817
 
811
818
  /** Secondary styles **/
812
819
 
813
820
  .ft-button--secondary {
814
- ${Ct(cn.color,kt.secondaryIconColor)};
821
+ ${kt(Ln.color,Lt.secondaryIconColor)};
815
822
 
816
- ${Ct(Nr.color,kt.secondaryStateLayerColor)};
817
- ${Ct(Nr.opacityContentOnSurfaceHover,kt.secondaryStateLayerOpacityHover)};
818
- ${Ct(Nr.opacityContentOnSurfaceFocused,kt.secondaryStateLayerOpacityFocus)};
819
- ${Ct(Nr.opacityContentOnSurfaceSelected,kt.secondaryStateLayerOpacityActive)};
820
- ${Ct(Nr.opacityContentOnSurfacePressed,kt.secondaryStateLayerOpacityActive)};
823
+ ${kt(Gi.color,Lt.secondaryStateLayerColor)};
824
+ ${kt(Gi.opacityContentOnSurfaceHover,Lt.secondaryStateLayerOpacityHover)};
825
+ ${kt(Gi.opacityContentOnSurfaceFocused,Lt.secondaryStateLayerOpacityFocus)};
826
+ ${kt(Gi.opacityContentOnSurfaceSelected,Lt.secondaryStateLayerOpacityActive)};
827
+ ${kt(Gi.opacityContentOnSurfacePressed,Lt.secondaryStateLayerOpacityActive)};
821
828
 
822
- background-color: ${kt.secondaryBackgroundColor};
823
- color: ${kt.secondaryColor};
824
- border-color: ${kt.secondaryBorderColor};
829
+ background-color: ${Lt.secondaryBackgroundColor};
830
+ color: ${Lt.secondaryColor};
831
+ border-color: ${Lt.secondaryBorderColor};
825
832
  border-style: solid;
826
833
  }
827
834
 
828
835
  .ft-button--secondary[disabled] {
829
- opacity: ${kt.secondaryComponentOpacityDisabled};
836
+ opacity: ${Lt.secondaryComponentOpacityDisabled};
830
837
  }
831
838
 
832
839
  .ft-button--secondary ft-icon {
833
- color: ${kt.secondaryIconColor};
840
+ color: ${Lt.secondaryIconColor};
834
841
  }
835
842
 
836
843
  /** Tertiary styles **/
837
844
 
838
845
  .ft-button--tertiary {
839
- ${Ct(cn.color,kt.tertiaryIconColor)};
846
+ ${kt(Ln.color,Lt.tertiaryIconColor)};
840
847
 
841
- ${Ct(Nr.color,kt.tertiaryStateLayerColor)};
842
- ${Ct(Nr.opacityContentOnSurfaceHover,kt.tertiaryStateLayerOpacityHover)};
843
- ${Ct(Nr.opacityContentOnSurfaceFocused,kt.tertiaryStateLayerOpacityFocus)};
844
- ${Ct(Nr.opacityContentOnSurfaceSelected,kt.tertiaryStateLayerOpacityActive)};
845
- ${Ct(Nr.opacityContentOnSurfacePressed,kt.tertiaryStateLayerOpacityActive)};
848
+ ${kt(Gi.color,Lt.tertiaryStateLayerColor)};
849
+ ${kt(Gi.opacityContentOnSurfaceHover,Lt.tertiaryStateLayerOpacityHover)};
850
+ ${kt(Gi.opacityContentOnSurfaceFocused,Lt.tertiaryStateLayerOpacityFocus)};
851
+ ${kt(Gi.opacityContentOnSurfaceSelected,Lt.tertiaryStateLayerOpacityActive)};
852
+ ${kt(Gi.opacityContentOnSurfacePressed,Lt.tertiaryStateLayerOpacityActive)};
846
853
 
847
- background-color: ${kt.tertiaryBackgroundColor};
848
- color: ${kt.tertiaryColor};
854
+ background-color: ${Lt.tertiaryBackgroundColor};
855
+ color: ${Lt.tertiaryColor};
849
856
  border-style: none;
850
857
  }
851
858
 
852
859
  .ft-button--tertiary[disabled] {
853
- opacity: ${kt.tertiaryComponentOpacityDisabled};
860
+ opacity: ${Lt.tertiaryComponentOpacityDisabled};
854
861
  }
855
862
 
856
863
  .ft-button--tertiary ft-icon {
857
- color: ${kt.tertiaryIconColor};
864
+ color: ${Lt.tertiaryIconColor};
858
865
  }
859
866
 
860
867
  /** Neutral styles **/
861
868
 
862
869
  .ft-button--neutral {
863
- ${Ct(cn.color,kt.neutralIconColor)};
870
+ ${kt(Ln.color,Lt.neutralIconColor)};
864
871
 
865
- ${Ct(Nr.backgroundColor,kt.neutralStateLayerColor)};
866
- ${Ct(Nr.opacityContentOnSurfaceHover,kt.neutralStateLayerOpacityHover)};
867
- ${Ct(Nr.opacityContentOnSurfaceFocused,kt.neutralStateLayerOpacityFocus)};
868
- ${Ct(Nr.opacityContentOnSurfaceSelected,kt.neutralStateLayerOpacityActive)};
869
- ${Ct(Nr.opacityContentOnSurfacePressed,kt.neutralStateLayerOpacityActive)};
872
+ ${kt(Gi.backgroundColor,Lt.neutralStateLayerColor)};
873
+ ${kt(Gi.opacityContentOnSurfaceHover,Lt.neutralStateLayerOpacityHover)};
874
+ ${kt(Gi.opacityContentOnSurfaceFocused,Lt.neutralStateLayerOpacityFocus)};
875
+ ${kt(Gi.opacityContentOnSurfaceSelected,Lt.neutralStateLayerOpacityActive)};
876
+ ${kt(Gi.opacityContentOnSurfacePressed,Lt.neutralStateLayerOpacityActive)};
870
877
 
871
- background-color: ${kt.neutralBackgroundColor};
872
- color: ${kt.neutralColor};
878
+ background-color: ${Lt.neutralBackgroundColor};
879
+ color: ${Lt.neutralColor};
873
880
  border-style: none;
874
881
  }
875
882
 
876
883
  .ft-button--neutral[disabled] {
877
- opacity: ${kt.neutralComponentOpacityDisabled};
884
+ opacity: ${Lt.neutralComponentOpacityDisabled};
878
885
  }
879
886
 
880
887
  .ft-button--neutral ft-icon {
881
- color: ${kt.neutralIconColor};
888
+ color: ${Lt.neutralIconColor};
882
889
  }
883
890
 
884
891
  /** Large styles **/
885
892
 
886
893
  .ft-button--large {
887
- ${Ct(rn.size,kt.largeIconSize)};
888
- ${Ct(cn.size,kt.largeIconSize)};
894
+ ${kt(En.size,Lt.largeIconSize)};
895
+ ${kt(Ln.size,Lt.largeIconSize)};
889
896
 
890
- height: ${kt.largeHeight};
891
- padding: 0 ${kt.largeHorizontalPadding};
892
- gap: ${kt.largeGap};
893
- border-radius: ${kt.largeBorderRadius};
894
- border-width: ${kt.largeBorderWidth};
897
+ height: ${Lt.largeHeight};
898
+ padding: 0 ${Lt.largeHorizontalPadding};
899
+ gap: ${Lt.largeGap};
900
+ border-radius: ${Lt.largeBorderRadius};
901
+ border-width: ${Lt.largeBorderWidth};
895
902
  }
896
903
 
897
904
  .ft-button--large:focus-visible {
898
- outline-width: ${kt.largeFocusOutlineWidth};
899
- outline-offset: ${kt.largeFocusOutlineOffset};
905
+ outline-width: ${Lt.largeFocusOutlineWidth};
906
+ outline-offset: ${Lt.largeFocusOutlineOffset};
900
907
  }
901
908
 
902
909
  .ft-button--large.ft-button--icon-only {
903
- width: ${kt.largeIconOnlyWidth};
910
+ width: ${Lt.largeIconOnlyWidth};
904
911
  padding: unset;
905
912
  }
906
913
 
907
914
  /** Small styles **/
908
915
 
909
916
  .ft-button--small {
910
- ${Ct(rn.size,kt.smallIconSize)};
911
- ${Ct(cn.size,kt.smallIconSize)};
917
+ ${kt(En.size,Lt.smallIconSize)};
918
+ ${kt(Ln.size,Lt.smallIconSize)};
912
919
 
913
- height: ${kt.smallHeight};
914
- padding: 0 ${kt.smallHorizontalPadding};
915
- gap: ${kt.smallGap};
916
- border-radius: ${kt.smallBorderRadius};
917
- border-width: ${kt.smallBorderWidth};
920
+ height: ${Lt.smallHeight};
921
+ padding: 0 ${Lt.smallHorizontalPadding};
922
+ gap: ${Lt.smallGap};
923
+ border-radius: ${Lt.smallBorderRadius};
924
+ border-width: ${Lt.smallBorderWidth};
918
925
  }
919
926
 
920
927
  .ft-button--small:focus-visible {
921
- outline-width: ${kt.smallFocusOutlineWidth};
922
- outline-offset: ${kt.smallFocusOutlineOffset};
928
+ outline-width: ${Lt.smallFocusOutlineWidth};
929
+ outline-offset: ${Lt.smallFocusOutlineOffset};
923
930
  }
924
931
 
925
932
  .ft-button--small.ft-button--icon-only {
926
- width: ${kt.smallIconOnlyWidth};
933
+ width: ${Lt.smallIconOnlyWidth};
927
934
  padding: unset;
928
935
  }
929
- `,Zt];var Kn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class zn extends Un{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Ar.caption1medium:Ar.body2medium}}zn.styles=[At,jn],Kn([a({type:Boolean})],zn.prototype,"primary",void 0),Kn([a({type:Boolean})],zn.prototype,"secondary",void 0),Kn([a({type:Boolean})],zn.prototype,"tertiary",void 0),Kn([a({type:Boolean})],zn.prototype,"neutral",void 0),Kn([a({type:Boolean})],zn.prototype,"small",void 0),u("ft-button")(Wn),u("ftds-button")(zn);const Fn=Nt.extend("--ft-chip-color","",It.colorOnSurface),Zn={backgroundColor:Nt.extend("--ft-chip-background-color","",It.colorSurface),color:Fn,fontSize:Nt.extend("--ft-chip-font-size","",vi.fontSize),iconSize:Nt.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:Nt.extend("--ft-chip-ripple-color","",Fn),horizontalPadding:Nt.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:Nt.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:Nt.external(It.colorOutline,"Design system"),opacityDisabled:Nt.external(It.colorOpacityDisabled,"Design system")},An=Nt.extend("--ft-chip-highlighted-color","",Nt.extend("--ft-chip-color","",It.colorOnPrimary)),Bn={backgroundColor:Nt.extend("--ft-chip-highlighted-background-color","",Nt.extend("--ft-chip-background-color","",It.colorPrimary)),color:An,rippleColor:Nt.extend("--ft-chip-highlighted-ripple-color","",An)},Mn=Nt.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),Dn=Nt.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Pn=[Zt,w`
936
+ `,Pt];var ra=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class na extends ta{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?lr.caption1medium:lr.body2medium}}na.styles=[Mt,ia],ra([s({type:Boolean})],na.prototype,"primary",void 0),ra([s({type:Boolean})],na.prototype,"secondary",void 0),ra([s({type:Boolean})],na.prototype,"tertiary",void 0),ra([s({type:Boolean})],na.prototype,"neutral",void 0),ra([s({type:Boolean})],na.prototype,"small",void 0),g("ft-button")(oa),g("ftds-button")(na);const aa=Et.extend("--ft-chip-color","",Wt.colorOnSurface),sa={backgroundColor:Et.extend("--ft-chip-background-color","",Wt.colorSurface),color:aa,fontSize:Et.extend("--ft-chip-font-size","",Mr.fontSize),iconSize:Et.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:Et.extend("--ft-chip-ripple-color","",aa),horizontalPadding:Et.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:Et.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:Et.external(Wt.colorOutline,"Design system"),opacityDisabled:Et.external(Wt.colorOpacityDisabled,"Design system")},la=Et.extend("--ft-chip-highlighted-color","",Et.extend("--ft-chip-color","",Wt.colorOnPrimary)),ca={backgroundColor:Et.extend("--ft-chip-highlighted-background-color","",Et.extend("--ft-chip-background-color","",Wt.colorPrimary)),color:la,rippleColor:Et.extend("--ft-chip-highlighted-ripple-color","",la)},fa=Et.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),ha=Et.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),pa=[Pt,$`
930
937
  :host {
931
938
  display: inline-block;
932
939
  max-width: 100%;
@@ -942,20 +949,20 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
942
949
  box-sizing: border-box;
943
950
  pointer-events: auto;
944
951
 
945
- --ft-chip-internal-font-size: ${Zn.fontSize};
952
+ --ft-chip-internal-font-size: ${sa.fontSize};
946
953
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
947
- ${Ct(rn.size,Zn.iconSize)};
948
- --ft-chip-internal-vertical-padding: ${Zn.verticalPadding};
949
- --ft-chip-internal-horizontal-padding: ${Zn.horizontalPadding};
954
+ ${kt(En.size,sa.iconSize)};
955
+ --ft-chip-internal-vertical-padding: ${sa.verticalPadding};
956
+ --ft-chip-internal-horizontal-padding: ${sa.horizontalPadding};
950
957
  --ft-chip-internal-icon-padding: 3px;
951
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Zn.iconSize});
958
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${sa.iconSize});
952
959
 
953
- border: 1px solid ${Zn.colorOutline};
954
- color: ${Zn.color};
955
- ${Ct(Nr.color,Zn.rippleColor)};
960
+ border: 1px solid ${sa.colorOutline};
961
+ color: ${sa.color};
962
+ ${kt(Gi.color,sa.rippleColor)};
956
963
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
957
964
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
958
- background-color: ${Zn.backgroundColor};
965
+ background-color: ${sa.backgroundColor};
959
966
  line-height: var(--ft-chip-internal-content-height);
960
967
  }
961
968
 
@@ -965,8 +972,8 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
965
972
 
966
973
  .ft-chip--dense {
967
974
  --ft-chip-internal-icon-padding: 3px;
968
- --ft-chip-internal-vertical-padding: ${Dn};
969
- --ft-chip-internal-horizontal-padding: ${Mn};
975
+ --ft-chip-internal-vertical-padding: ${ha};
976
+ --ft-chip-internal-horizontal-padding: ${fa};
970
977
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
971
978
  }
972
979
 
@@ -978,15 +985,15 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
978
985
  cursor: default;
979
986
  pointer-events: none;
980
987
  filter: grayscale(1);
981
- opacity: ${Zn.opacityDisabled};
988
+ opacity: ${sa.opacityDisabled};
982
989
  }
983
990
 
984
991
  .ft-chip--highlighted {
985
992
  border: none;
986
993
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
987
- background-color: ${Bn.backgroundColor};
988
- ${Ct(Nr.color,Bn.rippleColor)};
989
- color: ${Bn.color};
994
+ background-color: ${ca.backgroundColor};
995
+ ${kt(Gi.color,ca.rippleColor)};
996
+ color: ${ca.color};
990
997
  }
991
998
 
992
999
  .ft-chip--clickable {
@@ -1016,9 +1023,9 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
1016
1023
  }
1017
1024
 
1018
1025
  .ft-chip--icon-button {
1019
- ${Ct(hn.iconSize,Zn.iconSize)};
1020
- ${Ct(hn.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1021
- ${Ct(hn.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1026
+ ${kt(jn.iconSize,sa.iconSize)};
1027
+ ${kt(jn.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1028
+ ${kt(jn.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1022
1029
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
1023
1030
  }
1024
1031
 
@@ -1026,8 +1033,8 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
1026
1033
  vertical-align: bottom;
1027
1034
  display: block;
1028
1035
  margin: 0 var(--ft-chip-internal-horizontal-padding);
1029
- ${Ct(vi.fontSize,"var(--ft-chip-internal-font-size)")};
1030
- ${Ct(vi.lineHeight,"var(--ft-chip-internal-content-height)")};
1036
+ ${kt(Mr.fontSize,"var(--ft-chip-internal-font-size)")};
1037
+ ${kt(Mr.lineHeight,"var(--ft-chip-internal-content-height)")};
1031
1038
  }
1032
1039
 
1033
1040
  .ft-chip--safari-fix .ft-chip--label {
@@ -1063,8 +1070,8 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
1063
1070
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
1064
1071
  order: -1;
1065
1072
  }
1066
- `];var Hn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Tn extends CustomEvent{constructor(){super("icon-click")}}class _n extends Ft{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Pe};return ot`
1067
- <div class="${wr(t)}"
1073
+ `];var da=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ua extends CustomEvent{constructor(){super("icon-click")}}class ya extends Kt{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Ho};return rt`
1074
+ <div class="${_i(t)}"
1068
1075
  aria-label="${this.getLabel()}"
1069
1076
  tabindex="${this.interactionsOnChip?0:-1}"
1070
1077
  @keyup=${this.onKeyUp}>
@@ -1074,7 +1081,7 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
1074
1081
  </ft-typography>
1075
1082
  ${this.internalIcon?this.renderIcon():null}
1076
1083
  </div>
1077
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?ot`
1084
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?rt`
1078
1085
  <ft-button round
1079
1086
  class="ft-chip--icon-button"
1080
1087
  @click=${this.onIconClick}
@@ -1082,30 +1089,740 @@ function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},
1082
1089
  icon="${this.internalIcon}"
1083
1090
  label="${this.iconLabel}"
1084
1091
  ></ft-button>
1085
- `:ot`
1092
+ `:rt`
1086
1093
  <div class="ft-chip--icon-container ft-no-text-select">
1087
1094
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
1088
1095
  </div>
1089
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Tn))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Tn))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}_n.elementDefinitions={"ft-ripple":Wr,"ft-typography":Xi,"ft-icon":sn,"ft-button":Wn},_n.styles=Pn,Hn([a({type:Boolean})],_n.prototype,"highlighted",void 0),Hn([a({type:Boolean})],_n.prototype,"removable",void 0),Hn([a({type:Boolean})],_n.prototype,"disabled",void 0),Hn([a({type:Boolean})],_n.prototype,"clickable",void 0),Hn([a({type:Boolean})],_n.prototype,"iconClickable",void 0),Hn([a({type:Boolean})],_n.prototype,"dense",void 0),Hn([a({type:Boolean})],_n.prototype,"multiLine",void 0),Hn([a()],_n.prototype,"label",void 0),Hn([a()],_n.prototype,"iconLabel",void 0),Hn([a()],_n.prototype,"icon",void 0),Hn([a()],_n.prototype,"iconVariant",void 0),Hn([a({type:Boolean})],_n.prototype,"trailingIcon",void 0),Hn([c("ft-typography slot")],_n.prototype,"slottedContent",void 0),u("ft-chip")(_n);var Gn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Vn extends Or{constructor(){super(),this.editorMode=!1,this.addStore(nr)}render(){return this.editorMode?this.renderDummyFacet():null==this.facets||0===this.facets.length?rt:ot`
1096
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new ua))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new ua))}getLabel(){return this.label||this.textContent}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}ya.elementDefinitions={"ft-ripple":or,"ft-typography":wn,"ft-icon":Un,"ft-button":oa},ya.styles=pa,da([s({type:Boolean})],ya.prototype,"highlighted",void 0),da([s({type:Boolean})],ya.prototype,"removable",void 0),da([s({type:Boolean})],ya.prototype,"disabled",void 0),da([s({type:Boolean})],ya.prototype,"clickable",void 0),da([s({type:Boolean})],ya.prototype,"iconClickable",void 0),da([s({type:Boolean})],ya.prototype,"dense",void 0),da([s({type:Boolean})],ya.prototype,"multiLine",void 0),da([s()],ya.prototype,"label",void 0),da([s()],ya.prototype,"iconLabel",void 0),da([s()],ya.prototype,"icon",void 0),da([s()],ya.prototype,"iconVariant",void 0),da([s({type:Boolean})],ya.prototype,"trailingIcon",void 0),da([f("ft-typography slot")],ya.prototype,"slottedContent",void 0),g("ft-chip")(ya);const ba=$`
1097
+ `;var ga=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const va=Symbol("i18nProperties"),ma=Symbol("i18nUnsubs");function xa(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Ri:ki}i18n(t,e,...o){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var e;null===(e=this[va])||void 0===e||e.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var e;super.update(t),null===(e=this[va])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[va]&&new Set([...this[va].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[ma].has(t)||this[ma].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages(t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[ma].forEach((t=>t())),this[ma].clear()}}return e=ma,ga([s({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Oa extends(xa(Kt)){}class wa extends(xa(Xt)){}var Sa=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Na extends wa{constructor(){super(),this.editorMode=!1,this.addStore(Si)}render(){return this.key&&this.context?rt`
1098
+ <span class="ft-i18n">
1099
+ ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1100
+ </span>
1101
+ `:this.editorMode?"Select a context and a label key.":at}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Na.elementDefinitions={},Na.styles=ba,Sa([Po()],Na.prototype,"editorMode",void 0),Sa([s()],Na.prototype,"context",void 0),Sa([s()],Na.prototype,"key",void 0),Sa([v([])],Na.prototype,"args",void 0),Sa([s()],Na.prototype,"defaultMessage",void 0);class $a{static build(t){return new $a(t)}static fromGwt(t){return new $a(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>ki.resolveMessage(this.name,e,...t)})}}g("ft-i18n")(Na);const Ca=$`
1102
+ `;var Ea=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ka extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class Ra extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class Ia extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class Ua extends Xt{get stateManager(){return null==this._stateManager&&(this._stateManager=Ki.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0")),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")),this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.filters=[],this.sort=[],this.addStore(Si)}render(){return rt`
1103
+ <slot @register-ft-search-component=${this.registerComponent}></slot>
1104
+ `}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&void 0!==this.searchInDocumentTitlesOnly&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new Ra(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new Ia(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();const e=t.composedPath()[0];this.register(e)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new ka(t))}reloadSavedSearches(){Fi.clearMySearches()}}Ua.elementDefinitions={},Ua.styles=Ca,Ea([s()],Ua.prototype,"query",void 0),Ea([s()],Ua.prototype,"contentLocale",void 0),Ea([s({type:Number})],Ua.prototype,"pageSize",void 0),Ea([s({type:Boolean})],Ua.prototype,"searchInDocumentTitlesOnly",void 0),Ea([v([])],Ua.prototype,"filters",void 0),Ea([v([])],Ua.prototype,"sort",void 0),Ea([Po({store:"search"})],Ua.prototype,"request",void 0),Ea([Po({store:"search"})],Ua.prototype,"paging",void 0),Ea([Po({store:"search",selector:t=>t.spellcheck})],Ua.prototype,"autocorrect",void 0),Ea([Po({store:Si.name})],Ua.prototype,"session",void 0),g("ft-search-context")(Ua);const La=$`
1105
+ `,Wa=Et.extend("--ft-checkbox-text-color","",Wt.colorOnSurfaceHigh),Aa=Et.external(Wt.colorPrimary,"Design system"),ja=Et.external(Wt.colorOnPrimary,"Design system"),Fa=Et.extend("--ft-checkbox-border-color","",Wt.colorOnSurfaceMedium),za=Et.external(Wt.colorOnSurfaceDisabled,"Design system"),Ba=$`
1106
+ * {
1107
+ box-sizing: border-box;
1108
+ }
1109
+
1110
+ .ft-checkbox {
1111
+ box-sizing: border-box;
1112
+ color: ${Wa};
1113
+
1114
+ display: inline-flex;
1115
+ align-items: center;
1116
+ gap: 4px;
1117
+ }
1118
+
1119
+ .ft-checkbox--disabled {
1120
+ color: ${za};
1121
+ }
1122
+
1123
+ input {
1124
+ opacity: 0;
1125
+ position: absolute;
1126
+ width: 40px;
1127
+ height: 40px;
1128
+ margin: 0;
1129
+ }
1130
+
1131
+ .ft-checkbox--box-container {
1132
+ position: relative;
1133
+ width: 40px;
1134
+ height: 40px;
1135
+
1136
+ display: flex;
1137
+ justify-content: center;
1138
+ align-items: center;
1139
+ flex-shrink: 0;
1140
+ }
1141
+
1142
+ .ft-checkbox--box {
1143
+ display: flex;
1144
+ border: 2px solid ${Fa};
1145
+ border-radius: 2px;
1146
+
1147
+ width: 18px;
1148
+ height: 18px;
1149
+
1150
+ color: ${ja};
1151
+ }
1152
+
1153
+
1154
+ .ft-checkbox--checked .ft-checkbox--box,
1155
+ .ft-checkbox--indeterminate .ft-checkbox--box {
1156
+ border-color: ${Aa};
1157
+ background-color: ${Aa};
1158
+ }
1159
+
1160
+ .ft-checkbox--disabled .ft-checkbox--box {
1161
+ border-color: ${za};
1162
+ background-color: transparent;
1163
+ color: ${za};
1164
+ }
1165
+
1166
+ .ft-checkbox--checkmark {
1167
+ transition: opacity 180ms cubic-bezier(0, 0, 0.2, 1) 0ms, transform 180ms cubic-bezier(0, 0, 0.2, 1) 0ms;
1168
+ opacity: 0;
1169
+ }
1170
+
1171
+ .ft-checkbox--checkmark-path {
1172
+ stroke-dashoffset: 0;
1173
+ stroke: currentcolor;
1174
+ stroke-width: 3px;
1175
+ stroke-dasharray: 30;
1176
+ }
1177
+
1178
+ .ft-checkbox--checked .ft-checkbox--checkmark,
1179
+ .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1180
+ opacity: 1;
1181
+ }
1182
+ `;var Da=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ka extends Kt{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return rt`
1183
+ <label class="${_i(t)}" for="checkbox-input">
1184
+ <div class="ft-checkbox--box-container">
1185
+ <ft-ripple
1186
+ ?disabled=${this.disabled}
1187
+ ?primary=${this.checked||this.indeterminate}
1188
+ unbounded>
1189
+ </ft-ripple>
1190
+ <div class="ft-checkbox--box">
1191
+ <svg class="ft-checkbox--checkmark" viewBox="0 0 24 24">
1192
+ <path class="ft-checkbox--checkmark-path" fill="none"
1193
+ d=${this.indeterminate&&!this.checked?"M2,12 22,12":"M1.73,12.91 8.1,19.28 22.79,4.59"}></path>
1194
+ </svg>
1195
+ </div>
1196
+ <input type="checkbox"
1197
+ id="checkbox-input"
1198
+ name="${this.name}"
1199
+ .checked=${this.checked}
1200
+ .disabled=${this.disabled}
1201
+ @change=${this.onChange}
1202
+ >
1203
+ </div>
1204
+ <ft-typography variant="body2">
1205
+ <slot></slot>
1206
+ </ft-typography>
1207
+ </label>
1208
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}Ka.elementDefinitions={"ft-ripple":or,"ft-typography":wn},Ka.styles=Ba,Da([s()],Ka.prototype,"name",void 0),Da([s({type:Boolean,reflect:!0})],Ka.prototype,"checked",void 0),Da([s({type:Boolean})],Ka.prototype,"indeterminate",void 0),Da([s({type:Boolean})],Ka.prototype,"disabled",void 0),Da([f(".ft-checkbox")],Ka.prototype,"container",void 0),Da([f("ft-ripple")],Ka.prototype,"ripple",void 0),g("ft-checkbox")(Ka);const Pa=Et.extend("--ft-radio-text-color","",Wt.colorOnSurfaceHigh),Ma=Et.external(Wt.colorPrimary,"Design system"),Ta=(Et.external(Wt.colorOnPrimary,"Design system"),Et.extend("--ft-radio-border-color","",Wt.colorOnSurfaceMedium)),Za=Et.external(Wt.colorOnSurfaceDisabled,"Design system"),_a=$`
1209
+ * {
1210
+ box-sizing: border-box;
1211
+ }
1212
+
1213
+ .ft-radio {
1214
+ box-sizing: border-box;
1215
+ color: ${Pa};
1216
+
1217
+ display: inline-flex;
1218
+ align-items: center;
1219
+ gap: 4px;
1220
+ }
1221
+
1222
+ .ft-radio--disabled {
1223
+ color: ${Za};
1224
+ }
1225
+
1226
+ input {
1227
+ opacity: 0;
1228
+ position: absolute;
1229
+ width: 40px;
1230
+ height: 40px;
1231
+ margin: 0;
1232
+ }
1233
+
1234
+ .ft-radio--box-container {
1235
+ position: relative;
1236
+ width: 40px;
1237
+ height: 40px;
1238
+
1239
+ display: flex;
1240
+ justify-content: center;
1241
+ align-items: center;
1242
+ flex-shrink: 0;
1243
+ }
1244
+
1245
+ .ft-radio--box {
1246
+ border: 2px solid ${Ta};
1247
+ border-radius: 50%;
1248
+
1249
+ display: flex;
1250
+ justify-content: center;
1251
+ align-items: center;
1252
+
1253
+ width: 20px;
1254
+ height: 20px;
1255
+ }
1256
+
1257
+ .ft-radio--box:after {
1258
+ content: " ";
1259
+ background-color: ${Ma};
1260
+
1261
+ border-radius: 50%;
1262
+
1263
+ width: 12px;
1264
+ height: 12px;
1265
+
1266
+ transform: scale(0);
1267
+ transition: transform 100ms ease;
1268
+ }
1269
+
1270
+ .ft-radio--checked .ft-radio--box {
1271
+ border-color: ${Ma};
1272
+ }
1273
+
1274
+
1275
+ .ft-radio--checked .ft-radio--box:after {
1276
+ transform: scale(1);
1277
+ }
1278
+
1279
+ .ft-radio--disabled .ft-radio--box {
1280
+ border-color: ${Za};
1281
+ background-color: transparent;
1282
+ }
1283
+
1284
+ .ft-radio--disabled .ft-radio--box:after {
1285
+ background-color: ${Za};
1286
+ }
1287
+ `;var Ha=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ga extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Va extends Kt{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return rt`
1288
+ <div class="${_i(t)}">
1289
+ <div class="ft-radio--box-container">
1290
+ <ft-ripple
1291
+ ?disabled=${this.disabled}
1292
+ ?primary=${this.checked}
1293
+ unbounded>
1294
+ </ft-ripple>
1295
+ <div class="ft-radio--box">
1296
+ </div>
1297
+ <input id="radio-button"
1298
+ type="radio"
1299
+ name="${this.name}"
1300
+ value="${this.value}"
1301
+ .checked=${this.checked}
1302
+ .disabled=${this.disabled}
1303
+ @change=${this.onChange}
1304
+ >
1305
+ </div>
1306
+ <label for="radio-button" @click=${t=>t.stopPropagation()}>
1307
+ <ft-typography variant="body2">
1308
+ <slot></slot>
1309
+ </ft-typography>
1310
+ </label>
1311
+ </div>
1312
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Ga(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Ga(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Va.elementDefinitions={"ft-ripple":or,"ft-typography":wn},Va.styles=_a,Ha([s()],Va.prototype,"value",void 0),Ha([s()],Va.prototype,"name",void 0),Ha([s({type:Boolean,reflect:!0})],Va.prototype,"checked",void 0),Ha([s({type:Boolean})],Va.prototype,"disabled",void 0),Ha([f(".ft-radio")],Va.prototype,"container",void 0),Ha([f("ft-ripple")],Va.prototype,"ripple",void 0),Ha([f("input")],Va.prototype,"input",void 0);const qa=$`
1313
+ :host {
1314
+ display: contents;
1315
+ }
1316
+ `;var Ya=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Xa extends Kt{constructor(){super(...arguments),this.name=""}render(){return rt`
1317
+ <slot @slotchange=${this.onSlotChange}
1318
+ @change=${this.onChange}
1319
+ @keydown=${this.onKeyDown}
1320
+ ></slot>
1321
+ `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),o=this.radioButtons.indexOf(e)-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Xa.elementDefinitions={},Xa.styles=qa,Ya([s()],Xa.prototype,"name",void 0),Ya([d()],Xa.prototype,"radioButtons",void 0),g("ft-radio")(Va),g("ft-radio-group")(Xa);const Ja={borderRadiusM:Et.external(Wt.borderRadiusM,"Design system"),colorOutline:Et.external(Wt.colorOutline,"Design system"),colorOnSurface:Et.external(Wt.colorOnSurface,"Design system"),colorOnSurfaceMedium:Et.external(Wt.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Et.external(Wt.colorOnSurfaceDisabled,"Design system"),colorPrimary:Et.external(Wt.colorPrimary,"Design system"),colorOnPrimary:Et.external(Wt.colorOnPrimary,"Design system"),fontFamily:Et.external(Mr.fontFamily,"Body2 typography"),fontSize:Et.external(Mr.fontSize,"Body2 typography"),fontWeight:Et.external(Mr.fontWeight,"Body2 typography"),letterSpacing:Et.external(Mr.letterSpacing,"Body2 typography"),lineHeight:Et.external(Mr.lineHeight,"Body2 typography"),textTransform:Et.external(Mr.textTransform,"Body2 typography")},Qa=$`
1322
+ .ft-filter-level--container {
1323
+ display: flex;
1324
+ flex-direction: column;
1325
+ }
1326
+
1327
+ .ft-filter-level--container > * {
1328
+ padding: 0 10px;
1329
+ }
1330
+
1331
+ .ft-filter-level--go-back {
1332
+ flex-shrink: 0;
1333
+ text-decoration: none;
1334
+ position: relative;
1335
+ border-radius: ${Ja.borderRadiusM};
1336
+ overflow: hidden;
1337
+ display: flex;
1338
+ align-items: center;
1339
+ padding: 4px 4px;
1340
+ gap: 4px;
1341
+ cursor: pointer;
1342
+ color: ${Ja.colorOnSurface};
1343
+ }
1344
+
1345
+ .ft-filter-level--go-back:focus {
1346
+ outline: none;
1347
+ }
1348
+
1349
+ .ft-filter-level--go-back ft-icon {
1350
+ flex-shrink: 0;
1351
+ }
1352
+
1353
+ .ft-filter-level--go-back ft-typography {
1354
+ display: block;
1355
+ flex-grow: 1;
1356
+ flex-shrink: 0;
1357
+ }
1358
+
1359
+ .ft-filter-level--option {
1360
+ display: flex;
1361
+ align-items: center;
1362
+ max-width: 100%;
1363
+ }
1364
+
1365
+ .ft-filter-level--option ft-button {
1366
+ margin-right: -10px;
1367
+ flex-shrink: 0;
1368
+ }
1369
+
1370
+ ft-button {
1371
+ ${kt(jn.color,Ja.colorOnSurface)};
1372
+ }
1373
+
1374
+ ft-radio, ft-checkbox {
1375
+ flex-shrink: 1;
1376
+ flex-grow: 1;
1377
+ display: flex;
1378
+ max-width: calc(100% + 10px);
1379
+ margin-left: -10px;
1380
+ word-break: break-word;
1381
+ }
1382
+
1383
+ .ft-filter-level--no-values {
1384
+ margin: 10px 0;
1385
+ color: ${Ja.colorOnSurfaceMedium};
1386
+ }
1387
+ `;var ts=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class es extends Kt{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return rt`
1388
+ <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1389
+ ${null==this.parent?null:rt`
1390
+ <div tabindex="0"
1391
+ part="controls go-back"
1392
+ class="ft-filter-level--go-back"
1393
+ ?disabled=${this.disabled}
1394
+ @keyup=${this.goBackOnKeyPress}
1395
+ @click=${this.goBackOnClick}>
1396
+ <ft-ripple></ft-ripple>
1397
+ <ft-icon>thin_arrow_left</ft-icon>
1398
+ <ft-typography variant="body2">${this.parent.label}</ft-typography>
1399
+ </div>
1400
+ `}
1401
+ ${0===this.options.length&&this.noValuesLabel?rt`
1402
+ <ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
1403
+ ${this.noValuesLabel}
1404
+ </ft-typography>
1405
+ `:at}
1406
+ ${ri(e,(t=>t.value),(t=>{var e;return rt`
1407
+ <div class="ft-filter-level--option" part="options">
1408
+ ${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
1409
+ ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?at:rt`
1410
+ <ft-button icon="thin_arrow_right"
1411
+ part="controls navigate-hierarchy"
1412
+ label="${t.label}"
1413
+ ?disabled=${this.disabled}
1414
+ tooltipPosition="left"
1415
+ @click=${()=>this.displayLevel(t)}></ft-button>
1416
+ `}
1417
+ </div>
1418
+ `}))}
1419
+ ${e.length<t.length?rt`
1420
+ <ft-button
1421
+ class="ft-filter-level--display-more"
1422
+ icon="thin_arrow"
1423
+ dense trailingIcon
1424
+ part="controls display-more"
1425
+ @click=${this.displayMore}>
1426
+ ${this.moreValuesButtonLabel}
1427
+ </ft-button>
1428
+ `:at}
1429
+ </div>
1430
+ `}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==t.key||this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var e;return rt`
1431
+ <ft-checkbox name="${this.filterId}"
1432
+ part="multivalued-option"
1433
+ data-value="${t.value}"
1434
+ .checked=${t.selected}
1435
+ .disabled=${this.disabled}
1436
+ .indeterminate=${y(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
1437
+ @change=${e=>this.optionsChanged(e,t)}>
1438
+ ${t.renderOption?t.renderOption:t.label}
1439
+ </ft-checkbox>
1440
+ `}buildMonoValuedOption(t){return rt`
1441
+ <ft-radio name="${this.filterId+Math.round(1e6*Math.random())}"
1442
+ part="monovalued-option"
1443
+ data-value="${t.value}"
1444
+ .checked=${t.selected}
1445
+ .disabled=${this.disabled}
1446
+ @click=${e=>this.optionsChanged(e,t)}
1447
+ @keyup=${e=>this.onRadioKeyUp(e,t)}
1448
+ @change=${t=>t.stopPropagation()}>
1449
+ ${t.renderOption?t.renderOption:t.label}
1450
+ </ft-radio>
1451
+ `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}es.elementDefinitions={"ft-button":oa,"ft-ripple":or,"ft-typography":wn,"ft-checkbox":Ka,"ft-icon":Un,"ft-radio":Va},es.styles=Qa,ts([s({type:String})],es.prototype,"filterId",void 0),ts([s({type:Object})],es.prototype,"parent",void 0),ts([s({type:Array})],es.prototype,"options",void 0),ts([s({type:Boolean})],es.prototype,"multivalued",void 0),ts([s({type:Boolean})],es.prototype,"disabled",void 0),ts([s({type:Boolean})],es.prototype,"hideSelectedOptions",void 0),ts([s({type:Boolean})],es.prototype,"preventNavigation",void 0),ts([s({type:String})],es.prototype,"filter",void 0),ts([s({type:String})],es.prototype,"moreValuesButtonLabel",void 0),ts([s({type:String})],es.prototype,"noValuesLabel",void 0),ts([s({type:Number})],es.prototype,"displayedValuesLimit",void 0),ts([f(".ft-filter-level--container")],es.prototype,"container",void 0),ts([l()],es.prototype,"displayedPages",void 0);const os={buttonsColor:Et.extend("--ft-snap-scroll-buttons-color","",Wt.colorPrimary),buttonsZIndex:Et.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Et.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Et.external(Wt.colorSurface,"Design system")},is=$`
1452
+ .ft-snap-scroll {
1453
+ box-sizing: border-box;
1454
+ position: relative;
1455
+ display: flex;
1456
+
1457
+ --ft-snap-scroll-transparent-color: transparent;
1458
+ }
1459
+
1460
+ .ft-snap-scroll.ft-snap-scroll--safari-fix {
1461
+ /* Safari handles "transparent" as rgba(0,0,0,0) so it's ugly in linear-gradiant with default --ft-color-surface */
1462
+ /* this value should be overridden with --ft-color-surface with alpha set to 0 when needed */
1463
+ --ft-snap-scroll-transparent-color: rgba(255, 255, 255, 0);
1464
+ }
1465
+
1466
+ .ft-snap-scroll,
1467
+ .ft-snap-scroll--content {
1468
+ overflow: hidden;
1469
+ }
1470
+
1471
+ .ft-snap-scroll--limit-size,
1472
+ .ft-snap-scroll--limit-size .ft-snap-scroll--content {
1473
+ width: 100%;
1474
+ height: 100%;
1475
+ }
1476
+
1477
+ .ft-snap-scroll--content {
1478
+ flex-grow: 1;
1479
+ flex-shrink: 1;
1480
+ box-sizing: border-box;
1481
+ scroll-snap-align: start;
1482
+ display: flex;
1483
+ flex-wrap: nowrap;
1484
+ align-items: flex-start;
1485
+ justify-content: flex-start;
1486
+ gap: ${os.gap};
1487
+ }
1488
+
1489
+ .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
1490
+ display: none;
1491
+ }
1492
+
1493
+ .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content {
1494
+ -ms-overflow-style: none;
1495
+ scrollbar-width: none;
1496
+ }
1497
+
1498
+ .ft-snap-scroll--content::slotted(*) {
1499
+ flex-shrink: 0;
1500
+ flex-grow: 1;
1501
+ max-height: 100%;
1502
+ max-width: 100%;
1503
+ }
1504
+
1505
+ .ft-snap-scroll--horizontal,
1506
+ .ft-snap-scroll--horizontal .ft-snap-scroll--content {
1507
+ width: 100%;
1508
+ }
1509
+
1510
+ .ft-snap-scroll--vertical,
1511
+ .ft-snap-scroll--vertical .ft-snap-scroll--content {
1512
+ height: 100%;
1513
+ }
1514
+
1515
+ .ft-snap-scroll--horizontal .ft-snap-scroll--content {
1516
+ flex-direction: row;
1517
+ overflow-x: auto;
1518
+ }
1519
+
1520
+ .ft-snap-scroll--vertical .ft-snap-scroll--content {
1521
+ flex-direction: column;
1522
+ overflow-y: auto;
1523
+ }
1524
+
1525
+ .ft-snap-scroll--previous,
1526
+ .ft-snap-scroll--next {
1527
+ position: absolute;
1528
+ display: flex;
1529
+ z-index: ${os.buttonsZIndex};
1530
+ opacity: 1;
1531
+ transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1532
+ ${kt(jn.backgroundColor,"transparent")};
1533
+ ${kt(jn.color,os.buttonsColor)};
1534
+ }
1535
+
1536
+ .ft-snap-scroll--previous[hidden],
1537
+ .ft-snap-scroll--next[hidden] {
1538
+ z-index: -1;
1539
+ opacity: 0;
1540
+ }
1541
+
1542
+ .ft-snap-scroll--horizontal .ft-snap-scroll--previous {
1543
+ top: 0;
1544
+ left: -1px;
1545
+ bottom: 0;
1546
+ background: linear-gradient(to right, ${os.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1547
+ }
1548
+
1549
+ .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1550
+ top: -1px;
1551
+ left: 0;
1552
+ right: 0;
1553
+ background: linear-gradient(to bottom, ${os.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1554
+ }
1555
+
1556
+ .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1557
+ top: 0;
1558
+ right: -1px;
1559
+ bottom: 0;
1560
+ background: linear-gradient(to left, ${os.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1561
+ }
1562
+
1563
+ .ft-snap-scroll--vertical .ft-snap-scroll--next {
1564
+ left: 0;
1565
+ right: 0;
1566
+ bottom: -1px;
1567
+ background: linear-gradient(to top, ${os.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1568
+ }
1569
+
1570
+ .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1571
+ .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1572
+ .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1573
+ .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1574
+ background-color: ${os.colorSurface};
1575
+ }
1576
+ `;var rs=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ns extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class as extends Kt{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new n(200),this.updateScrollDebouncer=new n(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=_i({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":Ho}),e=this.controls&&this.withScroll;return rt`
1577
+ <div part="container" class="${t}">
1578
+ <ft-button
1579
+ class="ft-snap-scroll--previous"
1580
+ part="controls"
1581
+ primary
1582
+ icon="${this.horizontal?"THIN_ARROW_LEFT":"THIN_ARROW_UP"}"
1583
+ ?hidden=${!e||this.startReached}
1584
+ ?disabled=${!e||this.startReached}
1585
+ @click=${this.previous}
1586
+ ></ft-button>
1587
+ <slot class="ft-snap-scroll--content"
1588
+ part="content"
1589
+ @slotchange=${this.onSlotChange}></slot>
1590
+ <ft-button
1591
+ class="ft-snap-scroll--next"
1592
+ part="controls"
1593
+ primary
1594
+ icon="${this.horizontal?"THIN_ARROW_RIGHT":"THIN_ARROW"}"
1595
+ ?hidden=${!e||this.endReached}
1596
+ ?disabled=${!e||this.endReached}
1597
+ @click=${this.next}
1598
+ ></ft-button>
1599
+ </div>
1600
+ `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new ns(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}as.elementDefinitions={"ft-button":oa},as.styles=is,rs([s({type:Boolean})],as.prototype,"horizontal",void 0),rs([s({type:Boolean})],as.prototype,"hideScrollbar",void 0),rs([s({type:Boolean})],as.prototype,"controls",void 0),rs([s({type:Boolean})],as.prototype,"limitSize",void 0),rs([l()],as.prototype,"elements",void 0),rs([l()],as.prototype,"currentElement",void 0),rs([l()],as.prototype,"withScroll",void 0),rs([l()],as.prototype,"startReached",void 0),rs([l()],as.prototype,"endReached",void 0),rs([f(".ft-snap-scroll--content")],as.prototype,"contentSlot",void 0),g("ft-snap-scroll")(as);const ss=Et.external(Wt.colorOutline,"Design system"),ls=Et.external(Wt.colorOnSurface,"Design system"),cs=Et.external(Wt.colorOnSurfaceMedium,"Design system"),fs=Et.external(Wt.colorPrimary,"Design system"),hs=Et.external(Wt.colorSurface,"Design system"),ps=Et.external(Wt.transitionDuration,"Design system"),ds=Et.external(Wt.transitionTimingFunction,"Design system"),us=[yn,$`
1601
+ :host {
1602
+ display: flex;
1603
+ max-height: 100%;
1604
+ max-width: 100%;
1605
+ }
1606
+
1607
+ .ft-filter--container {
1608
+ flex-grow: 1;
1609
+ display: flex;
1610
+ flex-direction: column;
1611
+ max-height: 100%;
1612
+ max-width: 100%;
1613
+ color: ${ls};
1614
+ }
1615
+
1616
+ .ft-filter--header {
1617
+ display: flex;
1618
+ flex-wrap: wrap;
1619
+ gap: 4px;
1620
+ flex-shrink: 0;
1621
+ padding: 0 10px;
1622
+ margin-bottom: 8px;
1623
+ ${kt(hr.fontSize,"14px")};
1624
+ }
1625
+
1626
+ .ft-filter--header ft-button {
1627
+ flex-shrink: 0;
1628
+ margin-left: auto;
1629
+ ${kt(jn.iconSize,"18px")};
1630
+ }
1631
+
1632
+ .ft-filter--label {
1633
+ display: block;
1634
+ flex-shrink: 1;
1635
+ flex-grow: 1;
1636
+ word-break: break-word;
1637
+ ${kt(hr.lineHeight,"22px")};
1638
+ ${kt(hr.fontWeight,"bold")};
1639
+ }
1640
+
1641
+ .ft-filter--filter {
1642
+ flex-shrink: 0;
1643
+ display: flex;
1644
+ margin: 0;
1645
+ margin-bottom: 8px;
1646
+ padding: 0 10px;
1647
+ overflow: hidden;
1648
+ height: 32px;
1649
+ transition: height ${ps} ${ds},
1650
+ margin ${ps} ${ds};
1651
+ transition-delay: 500ms;
1652
+ }
1653
+
1654
+ .ft-filter--filter[hidden] {
1655
+ height: 0;
1656
+ margin-bottom: 0;
1657
+ }
1658
+
1659
+ input {
1660
+ display: block;
1661
+ width: 100%;
1662
+ border-radius: 4px;
1663
+ border: 1px solid ${ss};
1664
+ padding: 4px;
1665
+ background-color: ${hs};
1666
+ color: ${ls};
1667
+ outline-color: ${fs};
1668
+ }
1669
+
1670
+ input::placeholder {
1671
+ color: ${cs};
1672
+ }
1673
+
1674
+ input:placeholder-shown {
1675
+ text-overflow: ellipsis;
1676
+ }
1677
+
1678
+ .ft-filter--values {
1679
+ flex-grow: 1;
1680
+ flex-shrink: 1;
1681
+ max-width: 100%;
1682
+ overflow-x: hidden;
1683
+ overflow-y: auto;
1684
+ }
1685
+
1686
+ .ft-filter--separator {
1687
+ border-top: 1px solid ${ss};
1688
+ margin: 4px 10px;
1689
+ }
1690
+
1691
+ .ft-filter--levels-container {
1692
+ position: relative;
1693
+ overflow: hidden;
1694
+ }
1695
+
1696
+ .ft-filter--levels {
1697
+ position: relative;
1698
+ overflow: hidden;
1699
+ }
1700
+
1701
+ ft-filter-level {
1702
+ width: 100%;
1703
+ }
1704
+
1705
+ .ft-filter--level-left {
1706
+ height: 0;
1707
+ }
1708
+
1709
+ slot:not([name]) {
1710
+ display: none;
1711
+ }
1712
+ `];var ys=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class bs extends CustomEvent{constructor(t){super("change",{detail:t})}}class gs extends Kt{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new n(300),this.changeDebouncer=new n(10),this.lastDispatchedValues=[]}get flatOptions(){return y(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.flatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),e=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=this.filterPlaceHolder.replace("{0}",this.label);return rt`
1713
+ <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1714
+ part="container">
1715
+ ${this.label||t?rt`
1716
+ <div class="ft-filter--header" part="header">
1717
+ <ft-typography class="ft-filter--label" variant="overline" part="label">
1718
+ ${this.label}
1719
+ </ft-typography>
1720
+ <slot name="label"></slot>
1721
+ ${t&&!this.hideClearButton?rt`
1722
+ <ft-button icon="close" dense @click=${this.clear} part="clear-button">
1723
+ ${this.clearButtonLabel}
1724
+ </ft-button>
1725
+ `:null}
1726
+ </div>
1727
+ `:null}
1728
+ <div class="ft-filter--filter" ?hidden=${!e}>
1729
+ <input type="search"
1730
+ part="input"
1731
+ class="ft-typography--caption"
1732
+ ?disabled=${!e}
1733
+ placeholder="${o}"
1734
+ size="${e?o.length:0}"
1735
+ @search=${this.onFilterChange}
1736
+ @keyup=${this.onFilterChange}>
1737
+ </div>
1738
+ <div class="ft-filter--values">
1739
+ ${this.renderLevels()}
1740
+ </div>
1741
+ <slot class="ft-filter--slot"
1742
+ @slotchange=${this.updateOptionsFromSlot}
1743
+ @option-change=${this.optionsChanged}></slot>
1744
+ </div>
1745
+ `}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((e=>t.has(e))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var e,o,i,r,n;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(e=this.levelsContainer)||void 0===e||e.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(o=this.levelsContainer)||void 0===o||o.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300)),this.lastLevelHasHiddenvalues=null!==(n=null===(r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===r?void 0:r.hasHiddenValues)&&void 0!==n&&n}renderLevels(){const t=this.flatOptions,e=t.filter((t=>t.selected)),o=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,i=o<0?"ft-filter--level-center":"ft-filter--level-left";return rt`
1746
+ ${this.raiseSelectedOptions&&e.length>0?rt`
1747
+ <ft-filter-level
1748
+ filterId="${this.id}"
1749
+ ?multivalued=${this.multivalued}
1750
+ ?disabled=${this.disabled}
1751
+ preventNavigation
1752
+ .options=${e}
1753
+ @change=${this.onChange}
1754
+ part="values selected-values"
1755
+ .exportpartsPrefixes=${["values","selected-values"]}
1756
+ ></ft-filter-level>
1757
+ <div class="ft-filter--separator">
1758
+ `:null}
1759
+ <ft-snap-scroll horizontal hideScrollbar
1760
+ class="ft-filter--levels"
1761
+ @current-element-change=${t=>this.levelsScrollDebouncer.run((()=>{for(;t.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()}))}>
1762
+ ${this.renderLevel(i,this.options)}
1763
+ ${this.displayedLevels.map((e=>t.find((t=>t.value===e)))).map(((t,e)=>{var i;const r=(null==t?void 0:t.value)===this.slideIn||(null==t?void 0:t.value)===this.slideOut?"ft-filter--level-right":e===o?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(r,null!==(i=null==t?void 0:t.subOptions)&&void 0!==i?i:[],t)}))}
1764
+ </ft-snap-scroll>
1765
+ `}renderLevel(t,e,o){return rt`
1766
+ <ft-filter-level
1767
+ class="${t}"
1768
+ filterId="${this.id}"
1769
+ .filter="${this.filter}"
1770
+ moreValuesButtonLabel="${this.moreValuesButtonLabel}"
1771
+ ?multivalued=${this.multivalued}
1772
+ ?disabled=${this.disabled||"ft-filter--level-center"!==t}
1773
+ ?hideSelectedOptions=${this.raiseSelectedOptions}
1774
+ .parent=${o}
1775
+ .options=${e}
1776
+ .displayedValuesLimit=${this.displayedValuesLimit}
1777
+ @change=${this.onChange}
1778
+ @go-back=${this.goBack}
1779
+ @display-level=${this.onDisplayLevel}
1780
+ part="values available-values"
1781
+ .exportpartsPrefixes=${["values","available-values"]}
1782
+ noValuesLabel="${this.noValuesLabel}"
1783
+ ></ft-filter-level>
1784
+ `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const i=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(i)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;b(this.lastDispatchedValues,t)||(this.dispatchEvent(new bs(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}gs.elementDefinitions={"ft-button":oa,"ft-filter-level":es,"ft-snap-scroll":as,"ft-typography":wn},gs.styles=us,ys([s({type:String})],gs.prototype,"id",void 0),ys([s({type:String})],gs.prototype,"label",void 0),ys([s({type:String})],gs.prototype,"filterPlaceHolder",void 0),ys([s({type:String})],gs.prototype,"clearButtonLabel",void 0),ys([s({type:String})],gs.prototype,"moreValuesButtonLabel",void 0),ys([s({type:String})],gs.prototype,"noValuesLabel",void 0),ys([v([])],gs.prototype,"options",void 0),ys([s({type:Boolean})],gs.prototype,"multivalued",void 0),ys([s({type:Boolean})],gs.prototype,"disabled",void 0),ys([s({type:Boolean})],gs.prototype,"raiseSelectedOptions",void 0),ys([s({type:Number})],gs.prototype,"displayedValuesLimit",void 0),ys([s({type:Boolean})],gs.prototype,"hideClearButton",void 0),ys([f(".ft-filter--slot")],gs.prototype,"slotElement",void 0),ys([f(".ft-filter--container")],gs.prototype,"container",void 0),ys([f(".ft-filter--values")],gs.prototype,"valuesContainer",void 0),ys([f(".ft-filter--levels")],gs.prototype,"levelsContainer",void 0),ys([l()],gs.prototype,"lastLevelHasHiddenvalues",void 0),ys([f(".ft-filter--filter input")],gs.prototype,"filterInput",void 0),ys([function(t){return c({descriptor:e=>({get(){var e,o;return null!==(o=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelectorAll(t))&&void 0!==o?o:[]},enumerable:!0,configurable:!0})})}(".ft-filter--levels ft-filter-level")],gs.prototype,"levels",void 0),ys([l()],gs.prototype,"withScroll",void 0),ys([l()],gs.prototype,"filter",void 0),ys([l()],gs.prototype,"slideIn",void 0),ys([l()],gs.prototype,"slideOut",void 0);var vs=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ms extends Kt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return rt`
1785
+ <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1786
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}ms.elementDefinitions={},vs([s({type:String})],ms.prototype,"label",void 0),vs([s({type:Object,converter:t=>t})],ms.prototype,"value",void 0),vs([s({type:Boolean,reflect:!0})],ms.prototype,"selected",void 0),vs([s({type:Object})],ms.prototype,"subOptions",void 0),vs([v({})],ms.prototype,"renderOption",void 0),vs([f(".ft-filter-option--slot")],ms.prototype,"slotElement",void 0),g("ft-filter")(gs),g("ft-filter-option")(ms);const xs=$a.build("designedSearchType"),Os={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var ws=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ss extends(xa(Zi)){constructor(){super(),this.addI18nContext(xs,Os)}render(){return rt`
1787
+ <ft-filter
1788
+ label=${xs.messages.label()}
1789
+ .options=${[{label:xs.messages.documentTitlesOnly(),value:t=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
1790
+ part="filter"
1791
+ .exportpartsPrefixes=${["filter"]}
1792
+ multivalued
1793
+ @change=${this.onSelected}
1794
+ ></ft-filter>
1795
+ `}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}Ss.elementDefinitions={"ft-filter":gs},Ss.styles=La,ws([Po({selector:Bi})],Ss.prototype,"searchInDocumentTitlesOnly",void 0),ws([f("ft-filter")],Ss.prototype,"filter",void 0),g("ft-search-type")(Ss);var Ns=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class $s extends(xa(Zi)){constructor(){super(),this.editorMode=!1,this.addStore(Si),this.addI18nContext(xs,Os)}render(){return this.editorMode?this.renderDummyFacet():null!=this.facets&&0!==this.facets.length||this.searchInDocumentTitlesOnly?rt`
1090
1796
 
1091
1797
  <div class="ft-search-selected-facets--container">
1092
- ${or(this.facets,(t=>t.key),(t=>{const o=this.getSelectedValues(t);return or(o,(o=>t.key+"-"+o),(e=>this.renderFacet(t.key,t.label,o,e)))}))}
1798
+ ${ri(this.facets||[],(t=>t.key),(t=>{const e=this.getSelectedValues(t);return ri(e,(e=>t.key+"-"+e),(o=>this.renderFacet(t.key,t.label,e,o)))}))}
1799
+ ${this.renderSearchInDocumentTitlesOnly()}
1093
1800
  </div>
1094
- `}renderDummyFacet(){return ot`
1801
+ `:at}renderDummyFacet(){return rt`
1095
1802
 
1096
1803
  <div class="ft-search-selected-facets--container">
1097
1804
  ${[this.renderFacet("placeholder","placeholder",["value1","value2","value3"],"value1"),this.renderFacet("placeholder","placeholder",["value1","value2","value3"],"value2"),this.renderFacet("placeholder","placeholder",["value1","value2","value3"],"value3")]}
1098
- </div>`}renderFacet(t,o,e,r){let i=o+": "+this.getBreadcrumbFromValue(r);const n=t.replace(":","-");return ot`
1099
- <ft-tooltip inline text="${i}"
1805
+ </div>`}renderFacet(t,e,o,i){let r=e+": "+this.getBreadcrumbFromValue(i);const n=t.replace(":","-");return rt`
1806
+ <ft-tooltip inline text="${r}"
1100
1807
  part="tooltips tooltip-${n}">
1101
1808
  <ft-chip
1102
1809
  part="ft-search-selected-facets ft-search-selected-facet-${n}"
1103
1810
  removable
1104
- label="${i}"
1105
- @icon-click=${()=>{var o;return null===(o=this.stateManager)||void 0===o?void 0:o.setFilter(t,e.filter((t=>t!==r)))}}
1811
+ label="${r}"
1812
+ @icon-click=${()=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setFilter(t,o.filter((t=>t!==i)))}}
1106
1813
  data-key="${t}"
1107
- data-value="${r}">
1108
- ${this.getLabelFromValue(r)}
1814
+ data-value="${i}">
1815
+ ${this.getLabelFromValue(i)}
1816
+ </ft-chip>
1817
+ </ft-tooltip>
1818
+ `}getSelectedValues(t){return y(t.rootNodes,(t=>t.selected?[]:t.childNodes)).filter((t=>t.selected)).map((t=>t.value))}getLabelFromValue(t){return this.unquote(t).split("|").pop()}getBreadcrumbFromValue(t){return this.unquote(t).split("|").join(" > ")}quote(t){return`"${t}"`}unquote(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}renderSearchInDocumentTitlesOnly(){return this.searchInDocumentTitlesOnly?rt`
1819
+ <ft-tooltip inline text="${xs.messages.documentTitlesOnly()}"
1820
+ part="tooltips tooltip-search-in-document-titles-only">
1821
+ <ft-chip
1822
+ part="ft-search-selected-facets ft-search-selected-facet-search-in-document-titles-only"
1823
+ removable
1824
+ @icon-click=${()=>{var t;return null===(t=this.stateManager)||void 0===t?void 0:t.setSearchInDocumentTitlesOnly(!1)}}>
1825
+ ${xs.messages.documentTitlesOnly()}
1109
1826
  </ft-chip>
1110
1827
  </ft-tooltip>
1111
- `}getSelectedValues(t){return h(t.rootNodes,(t=>t.selected?[]:t.childNodes)).filter((t=>t.selected)).map((t=>t.value))}getLabelFromValue(t){return this.unquote(t).split("|").pop()}getBreadcrumbFromValue(t){return this.unquote(t).split("|").join(" > ")}quote(t){return`"${t}"`}unquote(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}}Vn.elementDefinitions={"ft-chip":_n,"ft-tooltip":Rn},Vn.styles=rr,Gn([Ze({store:"search"})],Vn.prototype,"facets",void 0),Gn([Ze({store:nr.name})],Vn.prototype,"editorMode",void 0),u("ft-search-selected-facets")(Vn),t.FtSearchSelectedFacets=Vn,t.FtSearchSelectedFacetsCssVariables=er,t.styles=rr}({});
1828
+ `:at}}$s.elementDefinitions={"ft-chip":ya,"ft-tooltip":Xn},$s.styles=ai,Ns([Po({store:"search"})],$s.prototype,"facets",void 0),Ns([Po({store:"search",selector:Bi})],$s.prototype,"searchInDocumentTitlesOnly",void 0),Ns([Po({store:Si.name})],$s.prototype,"editorMode",void 0),g("ft-search-selected-facets")($s),t.FtSearchSelectedFacets=$s,t.FtSearchSelectedFacetsCssVariables=ni,t.styles=ai}({});