@fluid-topics/ft-search-bar 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,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||[]);f(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 h=o.call(i,t);h||(h=p(t),e.call(i,t,h)),this===window.customElements&&(a.set(r,c),c.standInClass=h);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 b=this._whenDefinedPromises.get(t);return void 0!==b&&(b.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=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,h=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=h(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)}},f=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?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.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},b=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=b.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const y=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(er){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{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}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let 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||[]);f(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 h=o.call(i,t);h||(h=p(t),e.call(i,t,h)),this===window.customElements&&(a.set(r,c),c.standInClass=h);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 b=this._whenDefinedPromises.get(t);return void 0!==b&&(b.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=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,h=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=h(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)}},f=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?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.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},b=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=b.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const y=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(or){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{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
@@ -81,7 +81,11 @@ let Oe=class extends Mt{constructor(){super(...arguments),this.renderOptions={ho
81
81
  * @license
82
82
  * Copyright 2019 Google LLC
83
83
  * SPDX-License-Identifier: BSD-3-Clause
84
- */class We extends Oe{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{ze?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Le.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Be,Fe=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 De=Symbol("constructorPrototype"),Ke=Symbol("constructorName"),Ze=Symbol("exportpartsDebouncer");class Me extends We{constructor(){super(),this[Be]=new e(5),this[Ke]=this.constructor.name,this[De]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ke]&&Object.setPrototypeOf(this,this[De])}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[Ze].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 h=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}Be=Ze,Fe([k()],Me.prototype,"exportpartsPrefix",void 0),Fe([z([])],Me.prototype,"exportpartsPrefixes",void 0),Fe([k()],Me.prototype,"customStylesheet",void 0);const Ae=St`
84
+ */class We extends Oe{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{ze?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Le.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Be,Fe=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 De=Symbol("constructorPrototype"),Ke=Symbol("constructorName"),Ze=Symbol("exportpartsDebouncer");class Me extends We{constructor(){super(),this[Be]=new e(5),this[Ke]=this.constructor.name,this[De]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ke]&&Object.setPrototypeOf(this,this[De])}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[Ze].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 h=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}Be=Ze,Fe([k()],Me.prototype,"exportpartsPrefix",void 0),Fe([z([])],Me.prototype,"exportpartsPrefixes",void 0),Fe([k()],Me.prototype,"customStylesheet",void 0);const Ae=ke.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");St`
85
+ .highlight-html-match {
86
+ background: ${Ae};
87
+ }
88
+ `;const Pe=St`
85
89
  .ft-no-text-select {
86
90
  -webkit-touch-callout: none;
87
91
  -webkit-user-select: none;
@@ -90,7 +94,7 @@ let Oe=class extends Mt{constructor(){super(...arguments),this.renderOptions={ho
90
94
  -ms-user-select: none;
91
95
  user-select: none;
92
96
  }
93
- `,Pe=St`
97
+ `,je=St`
94
98
  .ft-word-wrap {
95
99
  white-space: normal;
96
100
  word-wrap: break-word;
@@ -102,7 +106,7 @@ let Oe=class extends Mt{constructor(){super(...arguments),this.renderOptions={ho
102
106
  -webkit-hyphens: auto;
103
107
  hyphens: auto
104
108
  }
105
- `,je=St`
109
+ `,He=St`
106
110
  .ft-safari-ellipsis-fix {
107
111
  margin-right: 0;
108
112
 
@@ -113,22 +117,22 @@ let Oe=class extends Mt{constructor(){super(...arguments),this.renderOptions={ho
113
117
  display: inline-block;
114
118
  width: 0;
115
119
  }
116
- `;class He{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()}}}window.ftReduxStores||(window.ftReduxStores={});const Te=Symbol("elementInternals");var _e,Ve,Ge;const qe=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ge=null===(Ve=null===(_e=window.safari)||void 0===_e?void 0:_e.pushNotification)||void 0===Ve?void 0:Ve.toString())&&void 0!==Ge?Ge:""),Ye=1,Je=2,Xe=t=>(...e)=>({_$litDirective$:t,values:e});
120
+ `;class Te{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()}}}window.ftReduxStores||(window.ftReduxStores={});const _e=Symbol("elementInternals");var Ve,Ge,qe;const Ye=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(qe=null===(Ge=null===(Ve=window.safari)||void 0===Ve?void 0:Ve.pushNotification)||void 0===Ge?void 0:Ge.toString())&&void 0!==qe?qe:""),Je=1,Xe=2,Qe=t=>(...e)=>({_$litDirective$:t,values:e});
117
121
  /**
118
122
  * @license
119
123
  * Copyright 2017 Google LLC
120
124
  * SPDX-License-Identifier: BSD-3-Clause
121
- */let Qe=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
125
+ */let to=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
122
126
  /**
123
127
  * @license
124
128
  * Copyright 2020 Google LLC
125
129
  * SPDX-License-Identifier: BSD-3-Clause
126
- */const{D:to}=gt,eo=()=>document.createComment(""),oo=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(eo(),r),n=i.insertBefore(eo(),r);o=new to(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},io=(t,e,o=t)=>(t._$AI(e,o),t),ro={},no=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},ao=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},so=Xe(class extends Qe{constructor(t){if(super(t),t.type!==Je)throw Error("repeat() can only be used in text expressions")}ht(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.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,h,p=0,f=r.length-1,d=0,u=n.length-1;for(;p<=f&&d<=u;)if(null===r[p])p++;else if(null===r[f])f--;else if(s[p]===a[d])l[d]=io(r[p],n[d]),p++,d++;else if(s[f]===a[u])l[u]=io(r[f],n[u]),f--,u--;else if(s[p]===a[u])l[u]=io(r[p],n[u]),oo(t,l[u+1],r[p]),p++,u--;else if(s[f]===a[d])l[d]=io(r[f],n[d]),oo(t,r[p],r[f]),f--,d++;else if(void 0===c&&(c=ao(a,d,u),h=ao(s,p,f)),c.has(s[p]))if(c.has(s[f])){const e=h.get(a[d]),o=void 0!==e?r[e]:null;if(null===o){const e=oo(t,r[p]);io(e,n[d]),l[d]=e}else l[d]=io(o,n[d]),oo(t,r[p],o),r[e]=null;d++}else no(r[f]),f--;else no(r[p]),p++;for(;d<=u;){const e=oo(t,l[u+1]);io(e,n[d]),l[d++]=e}for(;p<=f;){const t=r[p++];null!==t&&no(t)}return this.dt=a,((t,e=ro)=>{t._$AH=e})(t,l),et}});
130
+ */const{D:eo}=gt,oo=()=>document.createComment(""),io=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(oo(),r),n=i.insertBefore(oo(),r);o=new eo(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},ro=(t,e,o=t)=>(t._$AI(e,o),t),no={},ao=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},so=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},lo=Qe(class extends to{constructor(t){if(super(t),t.type!==Xe)throw Error("repeat() can only be used in text expressions")}ht(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.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,h,p=0,f=r.length-1,d=0,u=n.length-1;for(;p<=f&&d<=u;)if(null===r[p])p++;else if(null===r[f])f--;else if(s[p]===a[d])l[d]=ro(r[p],n[d]),p++,d++;else if(s[f]===a[u])l[u]=ro(r[f],n[u]),f--,u--;else if(s[p]===a[u])l[u]=ro(r[p],n[u]),io(t,l[u+1],r[p]),p++,u--;else if(s[f]===a[d])l[d]=ro(r[f],n[d]),io(t,r[p],r[f]),f--,d++;else if(void 0===c&&(c=so(a,d,u),h=so(s,p,f)),c.has(s[p]))if(c.has(s[f])){const e=h.get(a[d]),o=void 0!==e?r[e]:null;if(null===o){const e=io(t,r[p]);ro(e,n[d]),l[d]=e}else l[d]=ro(o,n[d]),io(t,r[p],o),r[e]=null;d++}else ao(r[f]),f--;else ao(r[p]),p++;for(;d<=u;){const e=io(t,l[u+1]);ro(e,n[d]),l[d++]=e}for(;p<=f;){const t=r[p++];null!==t&&ao(t)}return this.dt=a,((t,e=no)=>{t._$AH=e})(t,l),et}});
127
131
  /**
128
132
  * @license
129
133
  * Copyright 2017 Google LLC
130
134
  * SPDX-License-Identifier: BSD-3-Clause
131
- */var lo;!function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(lo||(lo={}));const co=St`
135
+ */var co;!function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(co||(co={}));const ho=St`
132
136
  .ft-size-watcher--pixel {
133
137
  width: 0;
134
138
  height: 0;
@@ -147,64 +151,55 @@ let Oe=class extends Mt{constructor(){super(...arguments),this.renderOptions={ho
147
151
  .ft-size-watcher--local .ft-size-watcher--watcher {
148
152
  width: 100%;
149
153
  }
150
- `;var ho=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 po extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class fo extends Me{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=lo.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new e}render(){return ae`
154
+ `;var po=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 fo extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class uo extends Me{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=co.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new e}render(){return ae`
151
155
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
152
156
  <div class="ft-size-watcher--watcher"></div>
153
157
  </div>
154
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=lo.S:this.size<976?this.category=lo.M:this.size<1024?this.category=lo.L:this.size<1440?this.category=lo.XL:this.category=lo.XXL,this.dispatchEvent(new po(this.size,this.category)))}),this.debounceTimeout)}}fo.elementDefinitions={},fo.styles=co,ho([k({type:Number})],fo.prototype,"debounceTimeout",void 0),ho([k({type:Boolean})],fo.prototype,"local",void 0),ho([k({type:Number,reflect:!0})],fo.prototype,"size",void 0),ho([k({type:String,reflect:!0})],fo.prototype,"category",void 0),ho([E(".ft-size-watcher--watcher")],fo.prototype,"watcher",void 0),L("ft-size-watcher")(fo);
158
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=co.S:this.size<976?this.category=co.M:this.size<1024?this.category=co.L:this.size<1440?this.category=co.XL:this.category=co.XXL,this.dispatchEvent(new fo(this.size,this.category)))}),this.debounceTimeout)}}uo.elementDefinitions={},uo.styles=ho,po([k({type:Number})],uo.prototype,"debounceTimeout",void 0),po([k({type:Boolean})],uo.prototype,"local",void 0),po([k({type:Number,reflect:!0})],uo.prototype,"size",void 0),po([k({type:String,reflect:!0})],uo.prototype,"category",void 0),po([E(".ft-size-watcher--watcher")],uo.prototype,"watcher",void 0),L("ft-size-watcher")(uo);
155
159
  /**
156
160
  * @license
157
161
  * Copyright 2020 Google LLC
158
162
  * SPDX-License-Identifier: BSD-3-Clause
159
163
  */
160
- const uo=Symbol.for(""),bo=t=>{if(t?.r===uo)return t?._$litStatic$},go=t=>({_$litStatic$:t,r:uo}),yo=new Map,mo=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,h=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=bo(n));)l+=r+e[++c],h=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),h){const t=a.join("$$lit$$");void 0===(e=yo.get(t))&&(a.raw=a,yo.set(t,e=a)),o=s}return t(e,...o)})(tt);var vo;!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"}(vo||(vo={}));const xo=ke.extend("--ft-typography-font-family","",Ue.titleFont),$o=ke.extend("--ft-typography-font-family","",Ue.contentFont),Oo={fontFamily:$o,fontSize:ke.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:ke.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:ke.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:ke.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:ke.create("--ft-typography-text-transform","","UNKNOWN","inherit")},wo=ke.extend("--ft-typography-title-font-family","",xo),So=ke.extend("--ft-typography-title-font-size","",Oo.fontSize,"20px"),ko=ke.extend("--ft-typography-title-font-weight","",Oo.fontWeight,"normal"),No=ke.extend("--ft-typography-title-letter-spacing","",Oo.letterSpacing,"0.15px"),Co=ke.extend("--ft-typography-title-line-height","",Oo.lineHeight,"1.2"),Eo=ke.extend("--ft-typography-title-text-transform","",Oo.textTransform,"inherit"),Ro=ke.extend("--ft-typography-title-dense-font-family","",xo),Io=ke.extend("--ft-typography-title-dense-font-size","",Oo.fontSize,"14px"),Uo=ke.extend("--ft-typography-title-dense-font-weight","",Oo.fontWeight,"normal"),Lo=ke.extend("--ft-typography-title-dense-letter-spacing","",Oo.letterSpacing,"0.105px"),zo=ke.extend("--ft-typography-title-dense-line-height","",Oo.lineHeight,"1.7"),Wo=ke.extend("--ft-typography-title-dense-text-transform","",Oo.textTransform,"inherit"),Bo=ke.extend("--ft-typography-subtitle1-font-family","",$o),Fo=ke.extend("--ft-typography-subtitle1-font-size","",Oo.fontSize,"16px"),Do=ke.extend("--ft-typography-subtitle1-font-weight","",Oo.fontWeight,"600"),Ko=ke.extend("--ft-typography-subtitle1-letter-spacing","",Oo.letterSpacing,"0.144px"),Zo=ke.extend("--ft-typography-subtitle1-line-height","",Oo.lineHeight,"1.5"),Mo=ke.extend("--ft-typography-subtitle1-text-transform","",Oo.textTransform,"inherit"),Ao=ke.extend("--ft-typography-subtitle2-font-family","",$o),Po=ke.extend("--ft-typography-subtitle2-font-size","",Oo.fontSize,"14px"),jo=ke.extend("--ft-typography-subtitle2-font-weight","",Oo.fontWeight,"normal"),Ho=ke.extend("--ft-typography-subtitle2-letter-spacing","",Oo.letterSpacing,"0.098px"),To=ke.extend("--ft-typography-subtitle2-line-height","",Oo.lineHeight,"1.7"),_o=ke.extend("--ft-typography-subtitle2-text-transform","",Oo.textTransform,"inherit"),Vo={fontFamily:ke.extend("--ft-typography-body1-font-family","",$o),fontSize:ke.extend("--ft-typography-body1-font-size","",Oo.fontSize,"16px"),fontWeight:ke.extend("--ft-typography-body1-font-weight","",Oo.fontWeight,"normal"),letterSpacing:ke.extend("--ft-typography-body1-letter-spacing","",Oo.letterSpacing,"0.496px"),lineHeight:ke.extend("--ft-typography-body1-line-height","",Oo.lineHeight,"1.5"),textTransform:ke.extend("--ft-typography-body1-text-transform","",Oo.textTransform,"inherit")},Go={fontFamily:ke.extend("--ft-typography-body2-font-family","",$o),fontSize:ke.extend("--ft-typography-body2-font-size","",Oo.fontSize,"14px"),fontWeight:ke.extend("--ft-typography-body2-font-weight","",Oo.fontWeight,"normal"),letterSpacing:ke.extend("--ft-typography-body2-letter-spacing","",Oo.letterSpacing,"0.252px"),lineHeight:ke.extend("--ft-typography-body2-line-height","",Oo.lineHeight,"1.4"),textTransform:ke.extend("--ft-typography-body2-text-transform","",Oo.textTransform,"inherit")},qo={fontFamily:ke.extend("--ft-typography-caption-font-family","",$o),fontSize:ke.extend("--ft-typography-caption-font-size","",Oo.fontSize,"12px"),fontWeight:ke.extend("--ft-typography-caption-font-weight","",Oo.fontWeight,"normal"),letterSpacing:ke.extend("--ft-typography-caption-letter-spacing","",Oo.letterSpacing,"0.396px"),lineHeight:ke.extend("--ft-typography-caption-line-height","",Oo.lineHeight,"1.33"),textTransform:ke.extend("--ft-typography-caption-text-transform","",Oo.textTransform,"inherit")},Yo=ke.extend("--ft-typography-breadcrumb-font-family","",$o),Jo=ke.extend("--ft-typography-breadcrumb-font-size","",Oo.fontSize,"10px"),Xo=ke.extend("--ft-typography-breadcrumb-font-weight","",Oo.fontWeight,"normal"),Qo=ke.extend("--ft-typography-breadcrumb-letter-spacing","",Oo.letterSpacing,"0.33px"),ti=ke.extend("--ft-typography-breadcrumb-line-height","",Oo.lineHeight,"1.6"),ei=ke.extend("--ft-typography-breadcrumb-text-transform","",Oo.textTransform,"inherit"),oi=ke.extend("--ft-typography-overline-font-family","",$o),ii=ke.extend("--ft-typography-overline-font-size","",Oo.fontSize,"10px"),ri=ke.extend("--ft-typography-overline-font-weight","",Oo.fontWeight,"normal"),ni=ke.extend("--ft-typography-overline-letter-spacing","",Oo.letterSpacing,"1.5px"),ai=ke.extend("--ft-typography-overline-line-height","",Oo.lineHeight,"1.6"),si=ke.extend("--ft-typography-overline-text-transform","",Oo.textTransform,"uppercase"),li={fontFamily:ke.extend("--ft-typography-button-font-family","",$o),fontSize:ke.extend("--ft-typography-button-font-size","",Oo.fontSize,"14px"),fontWeight:ke.extend("--ft-typography-button-font-weight","",Oo.fontWeight,"600"),letterSpacing:ke.extend("--ft-typography-button-letter-spacing","",Oo.letterSpacing,"1.246px"),lineHeight:ke.extend("--ft-typography-button-line-height","",Oo.lineHeight,"1.15"),textTransform:ke.extend("--ft-typography-button-text-transform","",Oo.textTransform,"uppercase")},ci=St`
164
+ const bo=Symbol.for(""),go=t=>{if(t?.r===bo)return t?._$litStatic$},yo=t=>({_$litStatic$:t,r:bo}),mo=new Map,vo=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,h=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=go(n));)l+=r+e[++c],h=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),h){const t=a.join("$$lit$$");void 0===(e=mo.get(t))&&(a.raw=a,mo.set(t,e=a)),o=s}return t(e,...o)})(tt);var xo;!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"}(xo||(xo={}));const $o=ke.extend("--ft-typography-font-family","",Ue.titleFont),Oo=ke.extend("--ft-typography-font-family","",Ue.contentFont),wo={fontFamily:Oo,fontSize:ke.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:ke.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:ke.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:ke.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:ke.create("--ft-typography-text-transform","","UNKNOWN","inherit")},So=ke.extend("--ft-typography-title-font-family","",$o),ko=ke.extend("--ft-typography-title-font-size","",wo.fontSize,"20px"),No=ke.extend("--ft-typography-title-font-weight","",wo.fontWeight,"normal"),Co=ke.extend("--ft-typography-title-letter-spacing","",wo.letterSpacing,"0.15px"),Eo=ke.extend("--ft-typography-title-line-height","",wo.lineHeight,"1.2"),Ro=ke.extend("--ft-typography-title-text-transform","",wo.textTransform,"inherit"),Io=ke.extend("--ft-typography-title-dense-font-family","",$o),Uo=ke.extend("--ft-typography-title-dense-font-size","",wo.fontSize,"14px"),Lo=ke.extend("--ft-typography-title-dense-font-weight","",wo.fontWeight,"normal"),zo=ke.extend("--ft-typography-title-dense-letter-spacing","",wo.letterSpacing,"0.105px"),Wo=ke.extend("--ft-typography-title-dense-line-height","",wo.lineHeight,"1.7"),Bo=ke.extend("--ft-typography-title-dense-text-transform","",wo.textTransform,"inherit"),Fo=ke.extend("--ft-typography-subtitle1-font-family","",Oo),Do=ke.extend("--ft-typography-subtitle1-font-size","",wo.fontSize,"16px"),Ko=ke.extend("--ft-typography-subtitle1-font-weight","",wo.fontWeight,"600"),Zo=ke.extend("--ft-typography-subtitle1-letter-spacing","",wo.letterSpacing,"0.144px"),Mo=ke.extend("--ft-typography-subtitle1-line-height","",wo.lineHeight,"1.5"),Ao=ke.extend("--ft-typography-subtitle1-text-transform","",wo.textTransform,"inherit"),Po=ke.extend("--ft-typography-subtitle2-font-family","",Oo),jo=ke.extend("--ft-typography-subtitle2-font-size","",wo.fontSize,"14px"),Ho=ke.extend("--ft-typography-subtitle2-font-weight","",wo.fontWeight,"normal"),To=ke.extend("--ft-typography-subtitle2-letter-spacing","",wo.letterSpacing,"0.098px"),_o=ke.extend("--ft-typography-subtitle2-line-height","",wo.lineHeight,"1.7"),Vo=ke.extend("--ft-typography-subtitle2-text-transform","",wo.textTransform,"inherit"),Go={fontFamily:ke.extend("--ft-typography-body1-font-family","",Oo),fontSize:ke.extend("--ft-typography-body1-font-size","",wo.fontSize,"16px"),fontWeight:ke.extend("--ft-typography-body1-font-weight","",wo.fontWeight,"normal"),letterSpacing:ke.extend("--ft-typography-body1-letter-spacing","",wo.letterSpacing,"0.496px"),lineHeight:ke.extend("--ft-typography-body1-line-height","",wo.lineHeight,"1.5"),textTransform:ke.extend("--ft-typography-body1-text-transform","",wo.textTransform,"inherit")},qo={fontFamily:ke.extend("--ft-typography-body2-font-family","",Oo),fontSize:ke.extend("--ft-typography-body2-font-size","",wo.fontSize,"14px"),fontWeight:ke.extend("--ft-typography-body2-font-weight","",wo.fontWeight,"normal"),letterSpacing:ke.extend("--ft-typography-body2-letter-spacing","",wo.letterSpacing,"0.252px"),lineHeight:ke.extend("--ft-typography-body2-line-height","",wo.lineHeight,"1.4"),textTransform:ke.extend("--ft-typography-body2-text-transform","",wo.textTransform,"inherit")},Yo={fontFamily:ke.extend("--ft-typography-caption-font-family","",Oo),fontSize:ke.extend("--ft-typography-caption-font-size","",wo.fontSize,"12px"),fontWeight:ke.extend("--ft-typography-caption-font-weight","",wo.fontWeight,"normal"),letterSpacing:ke.extend("--ft-typography-caption-letter-spacing","",wo.letterSpacing,"0.396px"),lineHeight:ke.extend("--ft-typography-caption-line-height","",wo.lineHeight,"1.33"),textTransform:ke.extend("--ft-typography-caption-text-transform","",wo.textTransform,"inherit")},Jo=ke.extend("--ft-typography-breadcrumb-font-family","",Oo),Xo=ke.extend("--ft-typography-breadcrumb-font-size","",wo.fontSize,"10px"),Qo=ke.extend("--ft-typography-breadcrumb-font-weight","",wo.fontWeight,"normal"),ti=ke.extend("--ft-typography-breadcrumb-letter-spacing","",wo.letterSpacing,"0.33px"),ei=ke.extend("--ft-typography-breadcrumb-line-height","",wo.lineHeight,"1.6"),oi=ke.extend("--ft-typography-breadcrumb-text-transform","",wo.textTransform,"inherit"),ii=ke.extend("--ft-typography-overline-font-family","",Oo),ri=ke.extend("--ft-typography-overline-font-size","",wo.fontSize,"10px"),ni=ke.extend("--ft-typography-overline-font-weight","",wo.fontWeight,"normal"),ai=ke.extend("--ft-typography-overline-letter-spacing","",wo.letterSpacing,"1.5px"),si=ke.extend("--ft-typography-overline-line-height","",wo.lineHeight,"1.6"),li=ke.extend("--ft-typography-overline-text-transform","",wo.textTransform,"uppercase"),ci={fontFamily:ke.extend("--ft-typography-button-font-family","",Oo),fontSize:ke.extend("--ft-typography-button-font-size","",wo.fontSize,"14px"),fontWeight:ke.extend("--ft-typography-button-font-weight","",wo.fontWeight,"600"),letterSpacing:ke.extend("--ft-typography-button-letter-spacing","",wo.letterSpacing,"1.246px"),lineHeight:ke.extend("--ft-typography-button-line-height","",wo.lineHeight,"1.15"),textTransform:ke.extend("--ft-typography-button-text-transform","",wo.textTransform,"uppercase")},hi=St`
161
165
  .ft-typography--title {
162
- font-family: ${wo};
163
- font-size: ${So};
164
- font-weight: ${ko};
165
- letter-spacing: ${No};
166
- line-height: ${Co};
167
- text-transform: ${Eo};
168
- }
169
- `,hi=St`
170
- .ft-typography--title-dense {
171
- font-family: ${Ro};
172
- font-size: ${Io};
173
- font-weight: ${Uo};
174
- letter-spacing: ${Lo};
175
- line-height: ${zo};
176
- text-transform: ${Wo};
166
+ font-family: ${So};
167
+ font-size: ${ko};
168
+ font-weight: ${No};
169
+ letter-spacing: ${Co};
170
+ line-height: ${Eo};
171
+ text-transform: ${Ro};
177
172
  }
178
173
  `,pi=St`
179
- .ft-typography--subtitle1 {
180
- font-family: ${Bo};
181
- font-size: ${Fo};
182
- font-weight: ${Do};
183
- letter-spacing: ${Ko};
184
- line-height: ${Zo};
185
- text-transform: ${Mo};
174
+ .ft-typography--title-dense {
175
+ font-family: ${Io};
176
+ font-size: ${Uo};
177
+ font-weight: ${Lo};
178
+ letter-spacing: ${zo};
179
+ line-height: ${Wo};
180
+ text-transform: ${Bo};
186
181
  }
187
182
  `,fi=St`
188
- .ft-typography--subtitle2 {
189
- font-family: ${Ao};
190
- font-size: ${Po};
191
- font-weight: ${jo};
192
- letter-spacing: ${Ho};
193
- line-height: ${To};
194
- text-transform: ${_o};
183
+ .ft-typography--subtitle1 {
184
+ font-family: ${Fo};
185
+ font-size: ${Do};
186
+ font-weight: ${Ko};
187
+ letter-spacing: ${Zo};
188
+ line-height: ${Mo};
189
+ text-transform: ${Ao};
195
190
  }
196
-
197
191
  `,di=St`
198
- .ft-typography--body1 {
199
- font-family: ${Vo.fontFamily};
200
- font-size: ${Vo.fontSize};
201
- font-weight: ${Vo.fontWeight};
202
- letter-spacing: ${Vo.letterSpacing};
203
- line-height: ${Vo.lineHeight};
204
- text-transform: ${Vo.textTransform};
192
+ .ft-typography--subtitle2 {
193
+ font-family: ${Po};
194
+ font-size: ${jo};
195
+ font-weight: ${Ho};
196
+ letter-spacing: ${To};
197
+ line-height: ${_o};
198
+ text-transform: ${Vo};
205
199
  }
200
+
206
201
  `,ui=St`
207
- .ft-typography--body2 {
202
+ .ft-typography--body1 {
208
203
  font-family: ${Go.fontFamily};
209
204
  font-size: ${Go.fontSize};
210
205
  font-weight: ${Go.fontWeight};
@@ -213,7 +208,7 @@ const uo=Symbol.for(""),bo=t=>{if(t?.r===uo)return t?._$litStatic$},go=t=>({_$li
213
208
  text-transform: ${Go.textTransform};
214
209
  }
215
210
  `,bi=St`
216
- .ft-typography--caption {
211
+ .ft-typography--body2 {
217
212
  font-family: ${qo.fontFamily};
218
213
  font-size: ${qo.fontSize};
219
214
  font-weight: ${qo.fontWeight};
@@ -222,37 +217,46 @@ const uo=Symbol.for(""),bo=t=>{if(t?.r===uo)return t?._$litStatic$},go=t=>({_$li
222
217
  text-transform: ${qo.textTransform};
223
218
  }
224
219
  `,gi=St`
225
- .ft-typography--breadcrumb {
226
- font-family: ${Yo};
227
- font-size: ${Jo};
228
- font-weight: ${Xo};
229
- letter-spacing: ${Qo};
230
- line-height: ${ti};
231
- text-transform: ${ei};
220
+ .ft-typography--caption {
221
+ font-family: ${Yo.fontFamily};
222
+ font-size: ${Yo.fontSize};
223
+ font-weight: ${Yo.fontWeight};
224
+ letter-spacing: ${Yo.letterSpacing};
225
+ line-height: ${Yo.lineHeight};
226
+ text-transform: ${Yo.textTransform};
232
227
  }
233
228
  `,yi=St`
234
- .ft-typography--overline {
235
- font-family: ${oi};
236
- font-size: ${ii};
237
- font-weight: ${ri};
238
- letter-spacing: ${ni};
239
- line-height: ${ai};
240
- text-transform: ${si};
229
+ .ft-typography--breadcrumb {
230
+ font-family: ${Jo};
231
+ font-size: ${Xo};
232
+ font-weight: ${Qo};
233
+ letter-spacing: ${ti};
234
+ line-height: ${ei};
235
+ text-transform: ${oi};
241
236
  }
242
237
  `,mi=St`
243
- .ft-typography--button {
244
- font-family: ${li.fontFamily};
245
- font-size: ${li.fontSize};
246
- font-weight: ${li.fontWeight};
247
- letter-spacing: ${li.letterSpacing};
248
- line-height: ${li.lineHeight};
249
- text-transform: ${li.textTransform};
238
+ .ft-typography--overline {
239
+ font-family: ${ii};
240
+ font-size: ${ri};
241
+ font-weight: ${ni};
242
+ letter-spacing: ${ai};
243
+ line-height: ${si};
244
+ text-transform: ${li};
250
245
  }
251
246
  `,vi=St`
247
+ .ft-typography--button {
248
+ font-family: ${ci.fontFamily};
249
+ font-size: ${ci.fontSize};
250
+ font-weight: ${ci.fontWeight};
251
+ letter-spacing: ${ci.letterSpacing};
252
+ line-height: ${ci.lineHeight};
253
+ text-transform: ${ci.textTransform};
254
+ }
255
+ `,xi=St`
252
256
  .ft-typography {
253
257
  vertical-align: inherit;
254
258
  }
255
- `,xi=[Object.keys(Ee).map((t=>function(t){const e=Ee[t];return St`
259
+ `,$i=[Object.keys(Ee).map((t=>function(t){const e=Ee[t];return St`
256
260
  .ft-typography--${wt(t)} {
257
261
  font-family: ${e.fontFamily};
258
262
  font-size: ${e.fontSize};
@@ -261,14 +265,14 @@ const uo=Symbol.for(""),bo=t=>{if(t?.r===uo)return t?._$litStatic$},go=t=>({_$li
261
265
  line-height: ${e.lineHeight};
262
266
  text-transform: ${e.textCase};
263
267
  }
264
- `}(t)))];var $i=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 Oi extends Me{constructor(){super(...arguments),this.variant=vo.body1}render(){return this.element?mo`
265
- <${go(this.element)}
268
+ `}(t)))];var Oi=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 wi extends Me{constructor(){super(...arguments),this.variant=xo.body1}render(){return this.element?vo`
269
+ <${yo(this.element)}
266
270
  class="ft-typography ft-typography--${this.variant}">
267
271
  <slot></slot>
268
- </${go(this.element)}>
269
- `:mo`
272
+ </${yo(this.element)}>
273
+ `:vo`
270
274
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
271
- `}}function wi(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Si(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map((e=>Si(e,t.selected))),value:t.value}}function ki(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map((t=>Si(t,!1)))}}Oi.styles=[ci,hi,pi,fi,di,ui,bi,gi,yi,mi,vi,...xi],$i([k()],Oi.prototype,"element",void 0),$i([k()],Oi.prototype,"variant",void 0),L("ft-typography")(Oi);const Ni=ke.extend("--ft-ripple-color","",Ue.colorContent),Ci={color:Ni,backgroundColor:ke.extend("--ft-ripple-background-color","",Ni),opacityContentOnSurfacePressed:ke.external(Ue.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ke.external(Ue.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ke.external(Ue.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ke.external(Ue.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ke.create("--ft-ripple-border-radius","","SIZE","0px")},Ei=ke.extend("--ft-ripple-color","",Ue.colorPrimary),Ri=Ei,Ii=ke.extend("--ft-ripple-background-color","",Ei),Ui=ke.extend("--ft-ripple-color","",Ue.colorSecondary),Li=Ui,zi=ke.extend("--ft-ripple-background-color","",Ui),Wi=St`
275
+ `}}function Si(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function ki(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map((e=>ki(e,t.selected))),value:t.value}}function Ni(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map((t=>ki(t,!1)))}}wi.styles=[hi,pi,fi,di,ui,bi,gi,yi,mi,vi,xi,...$i],Oi([k()],wi.prototype,"element",void 0),Oi([k()],wi.prototype,"variant",void 0),L("ft-typography")(wi);const Ci=ke.extend("--ft-ripple-color","",Ue.colorContent),Ei={color:Ci,backgroundColor:ke.extend("--ft-ripple-background-color","",Ci),opacityContentOnSurfacePressed:ke.external(Ue.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ke.external(Ue.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ke.external(Ue.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ke.external(Ue.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ke.create("--ft-ripple-border-radius","","SIZE","0px")},Ri=ke.extend("--ft-ripple-color","",Ue.colorPrimary),Ii=Ri,Ui=ke.extend("--ft-ripple-background-color","",Ri),Li=ke.extend("--ft-ripple-color","",Ue.colorSecondary),zi=Li,Wi=ke.extend("--ft-ripple-background-color","",Li),Bi=St`
272
276
  :host {
273
277
  display: contents;
274
278
  }
@@ -281,7 +285,7 @@ const uo=Symbol.for(""),bo=t=>{if(t?.r===uo)return t?._$litStatic$},go=t=>({_$li
281
285
 
282
286
  .ft-ripple:not(.ft-ripple--unbounded) {
283
287
  overflow: hidden;
284
- border-radius: ${Ci.borderRadius};
288
+ border-radius: ${Ei.borderRadius};
285
289
  }
286
290
 
287
291
  .ft-ripple .ft-ripple--background,
@@ -315,27 +319,27 @@ const uo=Symbol.for(""),bo=t=>{if(t?.r===uo)return t?._$litStatic$},go=t=>({_$li
315
319
  }
316
320
 
317
321
  .ft-ripple .ft-ripple--background {
318
- background-color: ${Ci.backgroundColor};
322
+ background-color: ${Ei.backgroundColor};
319
323
  }
320
324
 
321
325
  .ft-ripple .ft-ripple--effect {
322
- background-color: ${Ci.color};
326
+ background-color: ${Ei.color};
323
327
  }
324
328
 
325
329
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
326
- background-color: ${zi};
330
+ background-color: ${Wi};
327
331
  }
328
332
 
329
333
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
330
- background-color: ${Li};
334
+ background-color: ${zi};
331
335
  }
332
336
 
333
337
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
334
- background-color: ${Ii};
338
+ background-color: ${Ui};
335
339
  }
336
340
 
337
341
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
338
- background-color: ${Ri};
342
+ background-color: ${Ii};
339
343
  }
340
344
 
341
345
  .ft-ripple .ft-ripple--background {
@@ -365,22 +369,22 @@ const uo=Symbol.for(""),bo=t=>{if(t?.r===uo)return t?._$litStatic$},go=t=>({_$li
365
369
  }
366
370
 
367
371
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
368
- opacity: ${Ci.opacityContentOnSurfaceHover};
372
+ opacity: ${Ei.opacityContentOnSurfaceHover};
369
373
  }
370
374
 
371
375
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
372
- opacity: ${Ci.opacityContentOnSurfaceSelected};
376
+ opacity: ${Ei.opacityContentOnSurfaceSelected};
373
377
  }
374
378
 
375
379
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
376
- opacity: ${Ci.opacityContentOnSurfaceFocused};
380
+ opacity: ${Ei.opacityContentOnSurfaceFocused};
377
381
  }
378
382
 
379
383
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
380
- opacity: ${Ci.opacityContentOnSurfacePressed};
384
+ opacity: ${Ei.opacityContentOnSurfacePressed};
381
385
  transform: translate(-50%, -50%) scale(1);
382
386
  }
383
- `,Bi={color:ke.extend("--ft-loader-color","",Ue.colorPrimary),size:ke.create("--ft-loader-size","","SIZE","80px")},Fi=St`
387
+ `,Fi={color:ke.extend("--ft-loader-color","",Ue.colorPrimary),size:ke.create("--ft-loader-size","","SIZE","80px")},Di=St`
384
388
  :host {
385
389
  line-height: 0;
386
390
  }
@@ -389,8 +393,8 @@ const uo=Symbol.for(""),bo=t=>{if(t?.r===uo)return t?._$litStatic$},go=t=>({_$li
389
393
  display: inline-block;
390
394
  position: relative;
391
395
 
392
- width: ${Bi.size};
393
- height: ${Bi.size};
396
+ width: ${Fi.size};
397
+ height: ${Fi.size};
394
398
  }
395
399
 
396
400
  .ft-loader div {
@@ -399,7 +403,7 @@ const uo=Symbol.for(""),bo=t=>{if(t?.r===uo)return t?._$litStatic$},go=t=>({_$li
399
403
  width: 25%;
400
404
  height: 25%;
401
405
  border-radius: 50%;
402
- background: ${Bi.color};
406
+ background: ${Fi.color};
403
407
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
404
408
  }
405
409
 
@@ -446,10 +450,10 @@ const uo=Symbol.for(""),bo=t=>{if(t?.r===uo)return t?._$litStatic$},go=t=>({_$li
446
450
  transform: translate(0, 0);
447
451
  }
448
452
  100% {
449
- transform: translate(calc(0.35 * ${Bi.size}), 0);
453
+ transform: translate(calc(0.35 * ${Fi.size}), 0);
450
454
  }
451
455
  }
452
- `,Di={size:ke.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ke.extend("--ft-icon-fluid-topics-font-family","",ke.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ke.extend("--ft-icon-file-format-font-family","",ke.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ke.extend("--ft-icon-material-font-family","",ke.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ke.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ki=St`
456
+ `,Ki={size:ke.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ke.extend("--ft-icon-fluid-topics-font-family","",ke.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ke.extend("--ft-icon-file-format-font-family","",ke.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ke.extend("--ft-icon-material-font-family","",ke.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ke.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Zi=St`
453
457
  :host, i.ft-icon {
454
458
  display: inline-flex;
455
459
  align-items: center;
@@ -458,14 +462,14 @@ const uo=Symbol.for(""),bo=t=>{if(t?.r===uo)return t?._$litStatic$},go=t=>({_$li
458
462
  }
459
463
 
460
464
  :host {
461
- width: ${Di.size};
462
- height: ${Di.size};
465
+ width: ${Ki.size};
466
+ height: ${Ki.size};
463
467
  }
464
468
 
465
469
  i.ft-icon {
466
470
  width: 100%;
467
471
  height: 100%;
468
- font-size: ${Di.size};
472
+ font-size: ${Ki.size};
469
473
  line-height: 1;
470
474
  font-weight: normal;
471
475
  text-transform: none;
@@ -476,28 +480,28 @@ const uo=Symbol.for(""),bo=t=>{if(t?.r===uo)return t?._$litStatic$},go=t=>({_$li
476
480
  text-rendering: auto;
477
481
  -webkit-font-smoothing: antialiased;
478
482
  -moz-osx-font-smoothing: grayscale;
479
- vertical-align: ${Di.verticalAlign};
483
+ vertical-align: ${Ki.verticalAlign};
480
484
  }
481
485
 
482
486
  i.ft-icon.ft-icon--fluid-topics {
483
- font-family: ${Di.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
487
+ font-family: ${Ki.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
484
488
 
485
489
  /* Ugly fix because font is broken */
486
- font-size: calc(0.75 * ${Di.size});
487
- line-height: ${Di.size};
490
+ font-size: calc(0.75 * ${Ki.size});
491
+ line-height: ${Ki.size};
488
492
  position: relative;
489
493
  top: -4%;
490
494
  justify-content: center;
491
495
  }
492
496
 
493
497
  .ft-icon--file-format {
494
- font-family: ${Di.fileFormatFontFamily}, ft-mime, sans-serif;
498
+ font-family: ${Ki.fileFormatFontFamily}, ft-mime, sans-serif;
495
499
  }
496
500
 
497
501
  .ft-icon--material {
498
- font-family: ${Di.materialFontFamily}, "Material Icons", sans-serif;
502
+ font-family: ${Ki.materialFontFamily}, "Material Icons", sans-serif;
499
503
  }
500
- `,Zi=ke.extend("--ft-button-color","",Ue.colorPrimary),Mi={backgroundColor:ke.extend("--ft-button-background-color","",Ue.colorSurface),borderRadius:ke.extend("--ft-button-border-radius","",Ue.borderRadiusL),color:Zi,fontSize:ke.extend("--ft-button-font-size","",li.fontSize),iconSize:ke.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:ke.extend("--ft-button-ripple-color","",Zi),verticalPadding:ke.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:ke.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:ke.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:ke.external(Ue.colorOpacityDisabled,"Design system")},Ai=ke.extend("--ft-button-primary-color","",ke.extend("--ft-button-color","",Ue.colorOnPrimary)),Pi={backgroundColor:ke.extend("--ft-button-primary-background-color","",ke.extend("--ft-button-background-color","",Ue.colorPrimary)),color:Ai,rippleColor:ke.extend("--ft-button-primary-ripple-color","",Ai)},ji=ke.extend("--ft-button-dense-border-radius","",ke.extend("--ft-button-border-radius","",Ue.borderRadiusM)),Hi=ke.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Ti=ke.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),_i=ke.create("--ft-button-dense-icon-padding","","SIZE","4px"),Vi=[St`
504
+ `,Mi=ke.extend("--ft-button-color","",Ue.colorPrimary),Ai={backgroundColor:ke.extend("--ft-button-background-color","",Ue.colorSurface),borderRadius:ke.extend("--ft-button-border-radius","",Ue.borderRadiusL),color:Mi,fontSize:ke.extend("--ft-button-font-size","",ci.fontSize),iconSize:ke.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:ke.extend("--ft-button-ripple-color","",Mi),verticalPadding:ke.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:ke.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:ke.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:ke.external(Ue.colorOpacityDisabled,"Design system")},Pi=ke.extend("--ft-button-primary-color","",ke.extend("--ft-button-color","",Ue.colorOnPrimary)),ji={backgroundColor:ke.extend("--ft-button-primary-background-color","",ke.extend("--ft-button-background-color","",Ue.colorPrimary)),color:Pi,rippleColor:ke.extend("--ft-button-primary-ripple-color","",Pi)},Hi=ke.extend("--ft-button-dense-border-radius","",ke.extend("--ft-button-border-radius","",Ue.borderRadiusM)),Ti=ke.create("--ft-button-dense-vertical-padding","","SIZE","2px"),_i=ke.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Vi=ke.create("--ft-button-dense-icon-padding","","SIZE","4px"),Gi=[St`
501
505
  :host {
502
506
  display: inline-block;
503
507
  max-width: 100%;
@@ -508,7 +512,7 @@ const uo=Symbol.for(""),bo=t=>{if(t?.r===uo)return t?._$litStatic$},go=t=>({_$li
508
512
  box-shadow: 0px 0px 0px transparent;
509
513
  border: 0px solid transparent;
510
514
  text-shadow: 0px 0px 0px transparent;
511
- font-size: ${Mi.fontSize};
515
+ font-size: ${Ai.fontSize};
512
516
  }
513
517
 
514
518
  button:hover {
@@ -537,31 +541,31 @@ const uo=Symbol.for(""),bo=t=>{if(t?.r===uo)return t?._$litStatic$},go=t=>({_$li
537
541
  border: none;
538
542
  pointer-events: auto;
539
543
 
540
- --ft-button-internal-line-height: max(calc(${Mi.fontSize} + 2px), ${Mi.iconSize});
541
- --ft-button-internal-color: ${Mi.color};
542
- ${Ne(Di.size,Mi.iconSize)};
543
- ${Ne(Ci.color,Mi.rippleColor)};
544
+ --ft-button-internal-line-height: max(calc(${Ai.fontSize} + 2px), ${Ai.iconSize});
545
+ --ft-button-internal-color: ${Ai.color};
546
+ ${Ne(Ki.size,Ai.iconSize)};
547
+ ${Ne(Ei.color,Ai.rippleColor)};
544
548
 
545
- border-radius: ${Mi.borderRadius};
546
- padding: ${Mi.verticalPadding} ${Mi.horizontalPadding};
547
- background-color: ${Mi.backgroundColor};
549
+ border-radius: ${Ai.borderRadius};
550
+ padding: ${Ai.verticalPadding} ${Ai.horizontalPadding};
551
+ background-color: ${Ai.backgroundColor};
548
552
  color: var(--ft-button-internal-color);
549
553
  -webkit-mask-image: radial-gradient(white, black);
550
554
  }
551
555
 
552
556
  .ft-button.ft-button--outlined {
553
557
  border: 1px solid var(--ft-button-internal-color);
554
- padding: calc(${Mi.verticalPadding} - 1px) calc(${Mi.horizontalPadding} - 1px);
558
+ padding: calc(${Ai.verticalPadding} - 1px) calc(${Ai.horizontalPadding} - 1px);
555
559
  }
556
560
 
557
561
  .ft-button.ft-button--dense {
558
- padding: ${Hi} ${Ti};
559
- border-radius: ${ji};
560
- gap: ${_i};
562
+ padding: ${Ti} ${_i};
563
+ border-radius: ${Hi};
564
+ gap: ${Vi};
561
565
  }
562
566
 
563
567
  .ft-button.ft-button--dense.ft-button--outlined {
564
- padding: calc(${Hi} - 1px) calc(${Ti} - 1px);
568
+ padding: calc(${Ti} - 1px) calc(${_i} - 1px);
565
569
  }
566
570
 
567
571
  .ft-button:not([disabled]):hover {
@@ -569,22 +573,22 @@ const uo=Symbol.for(""),bo=t=>{if(t?.r===uo)return t?._$litStatic$},go=t=>({_$li
569
573
  }
570
574
 
571
575
  .ft-button--round {
572
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Mi.verticalPadding});
576
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ai.verticalPadding});
573
577
  }
574
578
 
575
579
  .ft-button--round.ft-button--dense {
576
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Hi});
580
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ti});
577
581
  }
578
582
 
579
583
  .ft-button[disabled] {
580
584
  filter: grayscale(1);
581
- opacity: ${Mi.opacityDisabled};
585
+ opacity: ${Ai.opacityDisabled};
582
586
  }
583
587
 
584
588
  .ft-button.ft-button--primary {
585
- background-color: ${Pi.backgroundColor};
586
- --ft-button-internal-color: ${Pi.color};
587
- ${Ne(Ci.color,Pi.rippleColor)};
589
+ background-color: ${ji.backgroundColor};
590
+ --ft-button-internal-color: ${ji.color};
591
+ ${Ne(Ei.color,ji.rippleColor)};
588
592
  }
589
593
 
590
594
  .ft-button:focus {
@@ -597,13 +601,13 @@ const uo=Symbol.for(""),bo=t=>{if(t?.r===uo)return t?._$litStatic$},go=t=>({_$li
597
601
  white-space: nowrap;
598
602
  text-overflow: ellipsis;
599
603
  display: block;
600
- margin: 0 ${Mi.iconPadding};
601
- ${Ne(li.fontSize,"1em")};
602
- ${Ne(li.lineHeight,"var(--ft-button-internal-line-height)")};
604
+ margin: 0 ${Ai.iconPadding};
605
+ ${Ne(ci.fontSize,"1em")};
606
+ ${Ne(ci.lineHeight,"var(--ft-button-internal-line-height)")};
603
607
  }
604
608
 
605
609
  .ft-button--dense .ft-button--label {
606
- margin: 0 ${_i};
610
+ margin: 0 ${Vi};
607
611
  }
608
612
 
609
613
  .ft-button--label[hidden] {
@@ -616,13 +620,13 @@ const uo=Symbol.for(""),bo=t=>{if(t?.r===uo)return t?._$litStatic$},go=t=>({_$li
616
620
  }
617
621
 
618
622
  .ft-button--label[hidden] + ft-icon {
619
- margin: 0 calc(${Mi.horizontalPadding} * -1);
620
- padding: 0 ${Mi.verticalPadding};
623
+ margin: 0 calc(${Ai.horizontalPadding} * -1);
624
+ padding: 0 ${Ai.verticalPadding};
621
625
  }
622
626
 
623
627
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
624
- margin: 0 calc(${Ti} * -1);
625
- padding: 0 ${Hi};
628
+ margin: 0 calc(${_i} * -1);
629
+ padding: 0 ${Ti};
626
630
  }
627
631
 
628
632
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -631,21 +635,21 @@ const uo=Symbol.for(""),bo=t=>{if(t?.r===uo)return t?._$litStatic$},go=t=>({_$li
631
635
  }
632
636
 
633
637
  ft-loader {
634
- ${Ne(Bi.size,Mi.iconSize)};
635
- ${Ne(Bi.color,"var(--ft-button-internal-color)")};
638
+ ${Ne(Fi.size,Ai.iconSize)};
639
+ ${Ne(Fi.color,"var(--ft-button-internal-color)")};
636
640
  }
637
- `,Ae],Gi=Xe(class extends Qe{constructor(t){if(super(t),t.type!==Ye||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return et}});var qi=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 Yi extends Me{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 e(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 e(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 ae`
641
+ `,Pe],qi=Qe(class extends to{constructor(t){if(super(t),t.type!==Je||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return et}});var Yi=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 Ji extends Me{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 e(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 e(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 ae`
638
642
  <style>
639
643
  .ft-ripple .ft-ripple--effect {
640
644
  left: ${this.originX}px;
641
645
  top: ${this.originY}px;
642
646
  }
643
647
  </style>
644
- <div class="${Gi(t)}">
648
+ <div class="${qi(t)}">
645
649
  <div class="ft-ripple--background"></div>
646
650
  <div class="ft-ripple--effect"></div>
647
651
  </div>
648
- `}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()}}Yi.elementDefinitions={},Yi.styles=Wi,qi([k({type:Boolean})],Yi.prototype,"primary",void 0),qi([k({type:Boolean})],Yi.prototype,"secondary",void 0),qi([k({type:Boolean})],Yi.prototype,"unbounded",void 0),qi([k({type:Boolean})],Yi.prototype,"activated",void 0),qi([k({type:Boolean})],Yi.prototype,"selected",void 0),qi([k({type:Boolean})],Yi.prototype,"disabled",void 0),qi([N()],Yi.prototype,"hovered",void 0),qi([N()],Yi.prototype,"focused",void 0),qi([N()],Yi.prototype,"pressed",void 0),qi([N()],Yi.prototype,"rippling",void 0),qi([N()],Yi.prototype,"originX",void 0),qi([N()],Yi.prototype,"originY",void 0),qi([E(".ft-ripple")],Yi.prototype,"ripple",void 0),qi([E(".ft-ripple--effect")],Yi.prototype,"rippleEffect",void 0),L("ft-ripple")(Yi);const Ji={distance:ke.create("--ft-tooltip-distance","","SIZE","4px"),color:ke.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:ke.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:ke.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:ke.external(Ue.borderRadiusS,"Design system"),maxWidth:ke.create("--ft-tooltip-max-width","","SIZE","150px")},Xi=St`
652
+ `}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()}}Ji.elementDefinitions={},Ji.styles=Bi,Yi([k({type:Boolean})],Ji.prototype,"primary",void 0),Yi([k({type:Boolean})],Ji.prototype,"secondary",void 0),Yi([k({type:Boolean})],Ji.prototype,"unbounded",void 0),Yi([k({type:Boolean})],Ji.prototype,"activated",void 0),Yi([k({type:Boolean})],Ji.prototype,"selected",void 0),Yi([k({type:Boolean})],Ji.prototype,"disabled",void 0),Yi([N()],Ji.prototype,"hovered",void 0),Yi([N()],Ji.prototype,"focused",void 0),Yi([N()],Ji.prototype,"pressed",void 0),Yi([N()],Ji.prototype,"rippling",void 0),Yi([N()],Ji.prototype,"originX",void 0),Yi([N()],Ji.prototype,"originY",void 0),Yi([E(".ft-ripple")],Ji.prototype,"ripple",void 0),Yi([E(".ft-ripple--effect")],Ji.prototype,"rippleEffect",void 0),L("ft-ripple")(Ji);const Xi={distance:ke.create("--ft-tooltip-distance","","SIZE","4px"),color:ke.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:ke.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:ke.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:ke.external(Ue.borderRadiusS,"Design system"),maxWidth:ke.create("--ft-tooltip-max-width","","SIZE","150px")},Qi=St`
649
653
  .ft-tooltip--container {
650
654
  display: block;
651
655
  }
@@ -660,21 +664,21 @@ const uo=Symbol.for(""),bo=t=>{if(t?.r===uo)return t?._$litStatic$},go=t=>({_$li
660
664
  box-sizing: border-box;
661
665
  overflow: hidden;
662
666
  width: max-content;
663
- max-width: ${Ji.maxWidth};
667
+ max-width: ${Xi.maxWidth};
664
668
  text-align: center;
665
- padding: ${Ji.distance};
666
- z-index: ${Ji.zIndex};
669
+ padding: ${Xi.distance};
670
+ z-index: ${Xi.zIndex};
667
671
  }
668
672
 
669
673
  .ft-tooltip--content {
670
674
  padding: 4px 8px;
671
- border-radius: ${Ji.borderRadiusS};
672
- background-color: ${Ji.backgroundColor};
673
- color: ${Ji.color};
675
+ border-radius: ${Xi.borderRadiusS};
676
+ background-color: ${Xi.backgroundColor};
677
+ color: ${Xi.color};
674
678
  position: relative;
675
679
  word-break: break-word;
676
680
  }
677
- `;var Qi=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 tr extends Me{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 e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ae`
681
+ `;var tr=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 er extends Me{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 e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ae`
678
682
  <div part="container"
679
683
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
680
684
  @mouseenter=${this.onHover}
@@ -692,40 +696,40 @@ const uo=Symbol.for(""),bo=t=>{if(t?.r===uo)return t?._$litStatic$},go=t=>({_$li
692
696
  </div>
693
697
  </div>
694
698
  </div>
695
- `}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,h=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,h))+"px";let p=-l.y,f=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(p,f))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${Ji.maxWidth})`}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))}}tr.elementDefinitions={"ft-typography":Oi},tr.styles=Xi,Qi([k()],tr.prototype,"text",void 0),Qi([k({type:Boolean})],tr.prototype,"manual",void 0),Qi([k({type:Boolean})],tr.prototype,"inline",void 0),Qi([k({type:Number})],tr.prototype,"delay",void 0),Qi([k()],tr.prototype,"position",void 0),Qi([
699
+ `}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,h=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,h))+"px";let p=-l.y,f=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(p,f))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${Xi.maxWidth})`}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))}}er.elementDefinitions={"ft-typography":wi},er.styles=Qi,tr([k()],er.prototype,"text",void 0),tr([k({type:Boolean})],er.prototype,"manual",void 0),tr([k({type:Boolean})],er.prototype,"inline",void 0),tr([k({type:Number})],er.prototype,"delay",void 0),tr([k()],er.prototype,"position",void 0),tr([
696
700
  /**
697
701
  * @license
698
702
  * Copyright 2017 Google LLC
699
703
  * SPDX-License-Identifier: BSD-3-Clause
700
704
  */
701
- function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return C(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],tr.prototype,"slotNodes",void 0),Qi([E(".ft-tooltip--container")],tr.prototype,"container",void 0),Qi([E(".ft-tooltip")],tr.prototype,"tooltip",void 0),Qi([E(".ft-tooltip--content")],tr.prototype,"tooltipContent",void 0),Qi([N()],tr.prototype,"visible",void 0),L("ft-tooltip")(tr);
705
+ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return C(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],er.prototype,"slotNodes",void 0),tr([E(".ft-tooltip--container")],er.prototype,"container",void 0),tr([E(".ft-tooltip")],er.prototype,"tooltip",void 0),tr([E(".ft-tooltip--content")],er.prototype,"tooltipContent",void 0),tr([N()],er.prototype,"visible",void 0),L("ft-tooltip")(er);
702
706
  /**
703
707
  * @license
704
708
  * Copyright 2017 Google LLC
705
709
  * SPDX-License-Identifier: BSD-3-Clause
706
710
  */
707
- class er extends Qe{constructor(t){if(super(t),this.et=ot,t.type!==Je)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ot||null==t)return this.vt=void 0,this.et=t;if(t===et)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}er.directiveName="unsafeHTML",er.resultType=1;const or=Xe(er);var ir,rr;!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;"}(ir||(ir={})),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;"}(rr||(rr={}));const nr=new Map([...["abw"].map((t=>[t,rr.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,rr.AUDIO])),...["avi"].map((t=>[t,rr.AVI])),...["chm","xhs"].map((t=>[t,rr.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,rr.CODE])),...["csv"].map((t=>[t,rr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,rr.DITA])),...["epub"].map((t=>[t,rr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,rr.EXCEL])),...["flac"].map((t=>[t,rr.FLAC])),...["gif"].map((t=>[t,rr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,rr.GZIP])),...["html","htm","xhtml"].map((t=>[t,rr.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,rr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,rr.JPEG])),...["json"].map((t=>[t,rr.JSON])),...["m4a","m4p"].map((t=>[t,rr.M4A])),...["mov","qt"].map((t=>[t,rr.MOV])),...["mp3"].map((t=>[t,rr.MP3])),...["mp4","m4v"].map((t=>[t,rr.MP4])),...["ogg","oga"].map((t=>[t,rr.OGG])),...["pdf","ps"].map((t=>[t,rr.PDF])),...["png"].map((t=>[t,rr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,rr.POWERPOINT])),...["rar"].map((t=>[t,rr.RAR])),...["stp"].map((t=>[t,rr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,rr.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,rr.VIDEO])),...["wav"].map((t=>[t,rr.WAV])),...["wma"].map((t=>[t,rr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,rr.WORD])),...["xml","xsl","rdf"].map((t=>[t,rr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,rr.YAML])),...["zip"].map((t=>[t,rr.ZIP]))]),ar=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var sr;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(sr||(sr={}));var lr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class cr extends Me{constructor(){super(...arguments),this.resolvedIcon=le}render(){const t=this.variant&&Object.values(sr).includes(this.variant)?this.variant:sr.fluid_topics,e=t!==sr.material||!!this.value;return ae`
711
+ class or extends to{constructor(t){if(super(t),this.et=ot,t.type!==Xe)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ot||null==t)return this.vt=void 0,this.et=t;if(t===et)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}or.directiveName="unsafeHTML",or.resultType=1;const ir=Qe(or);var rr,nr;!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;"}(rr||(rr={})),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;"}(nr||(nr={}));const ar=new Map([...["abw"].map((t=>[t,nr.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,nr.AUDIO])),...["avi"].map((t=>[t,nr.AVI])),...["chm","xhs"].map((t=>[t,nr.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,nr.CODE])),...["csv"].map((t=>[t,nr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,nr.DITA])),...["epub"].map((t=>[t,nr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,nr.EXCEL])),...["flac"].map((t=>[t,nr.FLAC])),...["gif"].map((t=>[t,nr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,nr.GZIP])),...["html","htm","xhtml"].map((t=>[t,nr.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,nr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,nr.JPEG])),...["json"].map((t=>[t,nr.JSON])),...["m4a","m4p"].map((t=>[t,nr.M4A])),...["mov","qt"].map((t=>[t,nr.MOV])),...["mp3"].map((t=>[t,nr.MP3])),...["mp4","m4v"].map((t=>[t,nr.MP4])),...["ogg","oga"].map((t=>[t,nr.OGG])),...["pdf","ps"].map((t=>[t,nr.PDF])),...["png"].map((t=>[t,nr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,nr.POWERPOINT])),...["rar"].map((t=>[t,nr.RAR])),...["stp"].map((t=>[t,nr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,nr.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,nr.VIDEO])),...["wav"].map((t=>[t,nr.WAV])),...["wma"].map((t=>[t,nr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,nr.WORD])),...["xml","xsl","rdf"].map((t=>[t,nr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,nr.YAML])),...["zip"].map((t=>[t,nr.ZIP]))]),sr=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var lr;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(lr||(lr={}));var cr=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 hr extends Me{constructor(){super(...arguments),this.resolvedIcon=le}render(){const t=this.variant&&Object.values(lr).includes(this.variant)?this.variant:lr.fluid_topics,e=t!==lr.material||!!this.value;return ae`
708
712
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
709
- ${or(this.resolvedIcon)}
713
+ ${ir(this.resolvedIcon)}
710
714
  <slot ?hidden=${e}></slot>
711
715
  </i>
712
- `}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 sr.file_format:this.resolvedIcon=null!==(t=rr[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case sr.material:this.resolvedIcon=this.value||le;break;default:this.resolvedIcon=null!==(e=ir[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}cr.elementDefinitions={},cr.styles=Ki,lr([k()],cr.prototype,"variant",void 0),lr([k()],cr.prototype,"value",void 0),lr([N()],cr.prototype,"resolvedIcon",void 0),lr([E("slot")],cr.prototype,"slottedContent",void 0),L("ft-icon")(cr);class hr extends Me{render(){return ae`
716
+ `}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 lr.file_format:this.resolvedIcon=null!==(t=nr[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case lr.material:this.resolvedIcon=this.value||le;break;default:this.resolvedIcon=null!==(e=rr[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}hr.elementDefinitions={},hr.styles=Zi,cr([k()],hr.prototype,"variant",void 0),cr([k()],hr.prototype,"value",void 0),cr([N()],hr.prototype,"resolvedIcon",void 0),cr([E("slot")],hr.prototype,"slottedContent",void 0),L("ft-icon")(hr);class pr extends Me{render(){return ae`
713
717
  <div class="ft-loader">
714
718
  <div></div>
715
719
  <div></div>
716
720
  <div></div>
717
721
  <div></div>
718
722
  </div>
719
- `}}hr.styles=Fi,L("ft-loader")(hr);var pr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class fr extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Te].form}constructor(...t){super(t),this[Te]=this.attachInternals(),this[Te].role=e}setFormValue(t){this[Te].setFormValue(t)}}}(Me,"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(ae`
723
+ `}}pr.styles=Di,L("ft-loader")(pr);var fr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class dr extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[_e].form}constructor(...t){super(t),this[_e]=this.attachInternals(),this[_e].role=e}setFormValue(t){this[_e].setFormValue(t)}}}(Me,"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(ae`
720
724
  <button part="button"
721
- class="${Gi(this.buttonClasses)}"
725
+ class="${qi(this.buttonClasses)}"
722
726
  aria-label="${this.getLabel()}"
723
727
  ?disabled=${this.isDisabled()}>
724
728
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
725
729
  <ft-typography part="label"
726
730
  variant=${this.typographyVariant}
727
731
  element="span"
728
- class="ft-button--label ${qe?"ft-safari-ellipsis-fix":""}"
732
+ class="ft-button--label ${Ye?"ft-safari-ellipsis-fix":""}"
729
733
  ?hidden=${!this.hasTextContent()}>
730
734
  <slot @slotchange=${this.onSlotchange}></slot>
731
735
  </ft-typography>
@@ -739,7 +743,7 @@ class er extends Qe{constructor(t){if(super(t),this.et=ot,t.type!==Je)throw Erro
739
743
  </ft-tooltip>
740
744
  `:t}resolveIcon(){return this.loading?ae`
741
745
  <ft-loader part="loader icon"></ft-loader> `:this.icon?ae`
742
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:le}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}}fr.elementDefinitions={"ft-ripple":Yi,"ft-tooltip":tr,"ft-typography":Oi,"ft-icon":cr,"ft-loader":hr},pr([k({type:String,reflect:!0})],fr.prototype,"role",void 0),pr([k()],fr.prototype,"type",void 0),pr([k({type:Boolean})],fr.prototype,"disabled",void 0),pr([k()],fr.prototype,"label",void 0),pr([k()],fr.prototype,"icon",void 0),pr([k()],fr.prototype,"iconVariant",void 0),pr([k({type:Boolean})],fr.prototype,"trailingIcon",void 0),pr([k({type:Boolean})],fr.prototype,"loading",void 0),pr([k()],fr.prototype,"tooltipPosition",void 0),pr([k({type:Boolean})],fr.prototype,"hideTooltip",void 0),pr([k({type:Boolean})],fr.prototype,"forceTooltip",void 0),pr([E(".ft-button")],fr.prototype,"button",void 0),pr([E(".ft-button--label slot")],fr.prototype,"slottedContent",void 0);var dr=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 ur extends fr{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"}}ur.styles=[je,Vi],dr([k({type:Boolean})],ur.prototype,"primary",void 0),dr([k({type:Boolean})],ur.prototype,"outlined",void 0),dr([k({type:Boolean})],ur.prototype,"dense",void 0),dr([k({type:Boolean})],ur.prototype,"round",void 0);const br=[St`
746
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:le}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}}dr.elementDefinitions={"ft-ripple":Ji,"ft-tooltip":er,"ft-typography":wi,"ft-icon":hr,"ft-loader":pr},fr([k({type:String,reflect:!0})],dr.prototype,"role",void 0),fr([k()],dr.prototype,"type",void 0),fr([k({type:Boolean})],dr.prototype,"disabled",void 0),fr([k()],dr.prototype,"label",void 0),fr([k()],dr.prototype,"icon",void 0),fr([k()],dr.prototype,"iconVariant",void 0),fr([k({type:Boolean})],dr.prototype,"trailingIcon",void 0),fr([k({type:Boolean})],dr.prototype,"loading",void 0),fr([k()],dr.prototype,"tooltipPosition",void 0),fr([k({type:Boolean})],dr.prototype,"hideTooltip",void 0),fr([k({type:Boolean})],dr.prototype,"forceTooltip",void 0),fr([E(".ft-button")],dr.prototype,"button",void 0),fr([E(".ft-button--label slot")],dr.prototype,"slottedContent",void 0);var ur=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class br extends dr{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"}}br.styles=[He,Gi],ur([k({type:Boolean})],br.prototype,"primary",void 0),ur([k({type:Boolean})],br.prototype,"outlined",void 0),ur([k({type:Boolean})],br.prototype,"dense",void 0),ur([k({type:Boolean})],br.prototype,"round",void 0);const gr=[St`
743
747
  :host {
744
748
  display: inline-block;
745
749
  max-width: 100%;
@@ -818,13 +822,13 @@ class er extends Qe{constructor(t){if(super(t),this.et=ot,t.type!==Je)throw Erro
818
822
  /** Primary styles **/
819
823
 
820
824
  .ft-button--primary {
821
- ${Ne(Bi.color,Ie.primaryIconColor)};
825
+ ${Ne(Fi.color,Ie.primaryIconColor)};
822
826
 
823
- ${Ne(Ci.color,Ie.primaryStateLayerColor)};
824
- ${Ne(Ci.opacityContentOnSurfaceHover,Ie.primaryStateLayerOpacityHover)};
825
- ${Ne(Ci.opacityContentOnSurfaceFocused,Ie.primaryStateLayerOpacityFocus)};
826
- ${Ne(Ci.opacityContentOnSurfaceSelected,Ie.primaryStateLayerOpacityActive)};
827
- ${Ne(Ci.opacityContentOnSurfacePressed,Ie.primaryStateLayerOpacityActive)};
827
+ ${Ne(Ei.color,Ie.primaryStateLayerColor)};
828
+ ${Ne(Ei.opacityContentOnSurfaceHover,Ie.primaryStateLayerOpacityHover)};
829
+ ${Ne(Ei.opacityContentOnSurfaceFocused,Ie.primaryStateLayerOpacityFocus)};
830
+ ${Ne(Ei.opacityContentOnSurfaceSelected,Ie.primaryStateLayerOpacityActive)};
831
+ ${Ne(Ei.opacityContentOnSurfacePressed,Ie.primaryStateLayerOpacityActive)};
828
832
 
829
833
  background-color: ${Ie.primaryBackgroundColor};
830
834
  color: ${Ie.primaryColor};
@@ -842,13 +846,13 @@ class er extends Qe{constructor(t){if(super(t),this.et=ot,t.type!==Je)throw Erro
842
846
  /** Secondary styles **/
843
847
 
844
848
  .ft-button--secondary {
845
- ${Ne(Bi.color,Ie.secondaryIconColor)};
849
+ ${Ne(Fi.color,Ie.secondaryIconColor)};
846
850
 
847
- ${Ne(Ci.color,Ie.secondaryStateLayerColor)};
848
- ${Ne(Ci.opacityContentOnSurfaceHover,Ie.secondaryStateLayerOpacityHover)};
849
- ${Ne(Ci.opacityContentOnSurfaceFocused,Ie.secondaryStateLayerOpacityFocus)};
850
- ${Ne(Ci.opacityContentOnSurfaceSelected,Ie.secondaryStateLayerOpacityActive)};
851
- ${Ne(Ci.opacityContentOnSurfacePressed,Ie.secondaryStateLayerOpacityActive)};
851
+ ${Ne(Ei.color,Ie.secondaryStateLayerColor)};
852
+ ${Ne(Ei.opacityContentOnSurfaceHover,Ie.secondaryStateLayerOpacityHover)};
853
+ ${Ne(Ei.opacityContentOnSurfaceFocused,Ie.secondaryStateLayerOpacityFocus)};
854
+ ${Ne(Ei.opacityContentOnSurfaceSelected,Ie.secondaryStateLayerOpacityActive)};
855
+ ${Ne(Ei.opacityContentOnSurfacePressed,Ie.secondaryStateLayerOpacityActive)};
852
856
 
853
857
  background-color: ${Ie.secondaryBackgroundColor};
854
858
  color: ${Ie.secondaryColor};
@@ -867,13 +871,13 @@ class er extends Qe{constructor(t){if(super(t),this.et=ot,t.type!==Je)throw Erro
867
871
  /** Tertiary styles **/
868
872
 
869
873
  .ft-button--tertiary {
870
- ${Ne(Bi.color,Ie.tertiaryIconColor)};
874
+ ${Ne(Fi.color,Ie.tertiaryIconColor)};
871
875
 
872
- ${Ne(Ci.color,Ie.tertiaryStateLayerColor)};
873
- ${Ne(Ci.opacityContentOnSurfaceHover,Ie.tertiaryStateLayerOpacityHover)};
874
- ${Ne(Ci.opacityContentOnSurfaceFocused,Ie.tertiaryStateLayerOpacityFocus)};
875
- ${Ne(Ci.opacityContentOnSurfaceSelected,Ie.tertiaryStateLayerOpacityActive)};
876
- ${Ne(Ci.opacityContentOnSurfacePressed,Ie.tertiaryStateLayerOpacityActive)};
876
+ ${Ne(Ei.color,Ie.tertiaryStateLayerColor)};
877
+ ${Ne(Ei.opacityContentOnSurfaceHover,Ie.tertiaryStateLayerOpacityHover)};
878
+ ${Ne(Ei.opacityContentOnSurfaceFocused,Ie.tertiaryStateLayerOpacityFocus)};
879
+ ${Ne(Ei.opacityContentOnSurfaceSelected,Ie.tertiaryStateLayerOpacityActive)};
880
+ ${Ne(Ei.opacityContentOnSurfacePressed,Ie.tertiaryStateLayerOpacityActive)};
877
881
 
878
882
  background-color: ${Ie.tertiaryBackgroundColor};
879
883
  color: ${Ie.tertiaryColor};
@@ -891,13 +895,13 @@ class er extends Qe{constructor(t){if(super(t),this.et=ot,t.type!==Je)throw Erro
891
895
  /** Neutral styles **/
892
896
 
893
897
  .ft-button--neutral {
894
- ${Ne(Bi.color,Ie.neutralIconColor)};
898
+ ${Ne(Fi.color,Ie.neutralIconColor)};
895
899
 
896
- ${Ne(Ci.backgroundColor,Ie.neutralStateLayerColor)};
897
- ${Ne(Ci.opacityContentOnSurfaceHover,Ie.neutralStateLayerOpacityHover)};
898
- ${Ne(Ci.opacityContentOnSurfaceFocused,Ie.neutralStateLayerOpacityFocus)};
899
- ${Ne(Ci.opacityContentOnSurfaceSelected,Ie.neutralStateLayerOpacityActive)};
900
- ${Ne(Ci.opacityContentOnSurfacePressed,Ie.neutralStateLayerOpacityActive)};
900
+ ${Ne(Ei.backgroundColor,Ie.neutralStateLayerColor)};
901
+ ${Ne(Ei.opacityContentOnSurfaceHover,Ie.neutralStateLayerOpacityHover)};
902
+ ${Ne(Ei.opacityContentOnSurfaceFocused,Ie.neutralStateLayerOpacityFocus)};
903
+ ${Ne(Ei.opacityContentOnSurfaceSelected,Ie.neutralStateLayerOpacityActive)};
904
+ ${Ne(Ei.opacityContentOnSurfacePressed,Ie.neutralStateLayerOpacityActive)};
901
905
 
902
906
  background-color: ${Ie.neutralBackgroundColor};
903
907
  color: ${Ie.neutralColor};
@@ -915,8 +919,8 @@ class er extends Qe{constructor(t){if(super(t),this.et=ot,t.type!==Je)throw Erro
915
919
  /** Large styles **/
916
920
 
917
921
  .ft-button--large {
918
- ${Ne(Di.size,Ie.largeIconSize)};
919
- ${Ne(Bi.size,Ie.largeIconSize)};
922
+ ${Ne(Ki.size,Ie.largeIconSize)};
923
+ ${Ne(Fi.size,Ie.largeIconSize)};
920
924
 
921
925
  height: ${Ie.largeHeight};
922
926
  padding: 0 ${Ie.largeHorizontalPadding};
@@ -938,8 +942,8 @@ class er extends Qe{constructor(t){if(super(t),this.et=ot,t.type!==Je)throw Erro
938
942
  /** Small styles **/
939
943
 
940
944
  .ft-button--small {
941
- ${Ne(Di.size,Ie.smallIconSize)};
942
- ${Ne(Bi.size,Ie.smallIconSize)};
945
+ ${Ne(Ki.size,Ie.smallIconSize)};
946
+ ${Ne(Fi.size,Ie.smallIconSize)};
943
947
 
944
948
  height: ${Ie.smallHeight};
945
949
  padding: 0 ${Ie.smallHorizontalPadding};
@@ -957,14 +961,14 @@ class er extends Qe{constructor(t){if(super(t),this.et=ot,t.type!==Je)throw Erro
957
961
  width: ${Ie.smallIconOnlyWidth};
958
962
  padding: unset;
959
963
  }
960
- `,Ae];var gr=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 yr extends fr{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?vo.caption1medium:vo.body2medium}}yr.styles=[je,br],gr([k({type:Boolean})],yr.prototype,"primary",void 0),gr([k({type:Boolean})],yr.prototype,"secondary",void 0),gr([k({type:Boolean})],yr.prototype,"tertiary",void 0),gr([k({type:Boolean})],yr.prototype,"neutral",void 0),gr([k({type:Boolean})],yr.prototype,"small",void 0),L("ft-button")(ur),L("ftds-button")(yr);const mr=ke.extend("--ft-checkbox-text-color","",Ue.colorOnSurfaceHigh),vr=ke.external(Ue.colorPrimary,"Design system"),xr=ke.external(Ue.colorOnPrimary,"Design system"),$r=ke.extend("--ft-checkbox-border-color","",Ue.colorOnSurfaceMedium),Or=ke.external(Ue.colorOnSurfaceDisabled,"Design system"),wr=St`
964
+ `,Pe];var yr=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 mr extends dr{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?xo.caption1medium:xo.body2medium}}mr.styles=[He,gr],yr([k({type:Boolean})],mr.prototype,"primary",void 0),yr([k({type:Boolean})],mr.prototype,"secondary",void 0),yr([k({type:Boolean})],mr.prototype,"tertiary",void 0),yr([k({type:Boolean})],mr.prototype,"neutral",void 0),yr([k({type:Boolean})],mr.prototype,"small",void 0),L("ft-button")(br),L("ftds-button")(mr);const vr=ke.extend("--ft-checkbox-text-color","",Ue.colorOnSurfaceHigh),xr=ke.external(Ue.colorPrimary,"Design system"),$r=ke.external(Ue.colorOnPrimary,"Design system"),Or=ke.extend("--ft-checkbox-border-color","",Ue.colorOnSurfaceMedium),wr=ke.external(Ue.colorOnSurfaceDisabled,"Design system"),Sr=St`
961
965
  * {
962
966
  box-sizing: border-box;
963
967
  }
964
968
 
965
969
  .ft-checkbox {
966
970
  box-sizing: border-box;
967
- color: ${mr};
971
+ color: ${vr};
968
972
 
969
973
  display: inline-flex;
970
974
  align-items: center;
@@ -972,7 +976,7 @@ class er extends Qe{constructor(t){if(super(t),this.et=ot,t.type!==Je)throw Erro
972
976
  }
973
977
 
974
978
  .ft-checkbox--disabled {
975
- color: ${Or};
979
+ color: ${wr};
976
980
  }
977
981
 
978
982
  input {
@@ -996,26 +1000,26 @@ class er extends Qe{constructor(t){if(super(t),this.et=ot,t.type!==Je)throw Erro
996
1000
 
997
1001
  .ft-checkbox--box {
998
1002
  display: flex;
999
- border: 2px solid ${$r};
1003
+ border: 2px solid ${Or};
1000
1004
  border-radius: 2px;
1001
1005
 
1002
1006
  width: 18px;
1003
1007
  height: 18px;
1004
1008
 
1005
- color: ${xr};
1009
+ color: ${$r};
1006
1010
  }
1007
1011
 
1008
1012
 
1009
1013
  .ft-checkbox--checked .ft-checkbox--box,
1010
1014
  .ft-checkbox--indeterminate .ft-checkbox--box {
1011
- border-color: ${vr};
1012
- background-color: ${vr};
1015
+ border-color: ${xr};
1016
+ background-color: ${xr};
1013
1017
  }
1014
1018
 
1015
1019
  .ft-checkbox--disabled .ft-checkbox--box {
1016
- border-color: ${Or};
1020
+ border-color: ${wr};
1017
1021
  background-color: transparent;
1018
- color: ${Or};
1022
+ color: ${wr};
1019
1023
  }
1020
1024
 
1021
1025
  .ft-checkbox--checkmark {
@@ -1034,8 +1038,8 @@ class er extends Qe{constructor(t){if(super(t),this.et=ot,t.type!==Je)throw Erro
1034
1038
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1035
1039
  opacity: 1;
1036
1040
  }
1037
- `;var Sr=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 kr extends Me{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 ae`
1038
- <label class="${Gi(t)}" for="checkbox-input">
1041
+ `;var kr=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 Nr extends Me{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 ae`
1042
+ <label class="${qi(t)}" for="checkbox-input">
1039
1043
  <div class="ft-checkbox--box-container">
1040
1044
  <ft-ripple
1041
1045
  ?disabled=${this.disabled}
@@ -1060,14 +1064,14 @@ class er extends Qe{constructor(t){if(super(t),this.et=ot,t.type!==Je)throw Erro
1060
1064
  <slot></slot>
1061
1065
  </ft-typography>
1062
1066
  </label>
1063
- `}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)}}kr.elementDefinitions={"ft-ripple":Yi,"ft-typography":Oi},kr.styles=wr,Sr([k()],kr.prototype,"name",void 0),Sr([k({type:Boolean,reflect:!0})],kr.prototype,"checked",void 0),Sr([k({type:Boolean})],kr.prototype,"indeterminate",void 0),Sr([k({type:Boolean})],kr.prototype,"disabled",void 0),Sr([E(".ft-checkbox")],kr.prototype,"container",void 0),Sr([E("ft-ripple")],kr.prototype,"ripple",void 0),L("ft-checkbox")(kr);const Nr=ke.extend("--ft-radio-text-color","",Ue.colorOnSurfaceHigh),Cr=ke.external(Ue.colorPrimary,"Design system"),Er=(ke.external(Ue.colorOnPrimary,"Design system"),ke.extend("--ft-radio-border-color","",Ue.colorOnSurfaceMedium)),Rr=ke.external(Ue.colorOnSurfaceDisabled,"Design system"),Ir=St`
1067
+ `}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)}}Nr.elementDefinitions={"ft-ripple":Ji,"ft-typography":wi},Nr.styles=Sr,kr([k()],Nr.prototype,"name",void 0),kr([k({type:Boolean,reflect:!0})],Nr.prototype,"checked",void 0),kr([k({type:Boolean})],Nr.prototype,"indeterminate",void 0),kr([k({type:Boolean})],Nr.prototype,"disabled",void 0),kr([E(".ft-checkbox")],Nr.prototype,"container",void 0),kr([E("ft-ripple")],Nr.prototype,"ripple",void 0),L("ft-checkbox")(Nr);const Cr=ke.extend("--ft-radio-text-color","",Ue.colorOnSurfaceHigh),Er=ke.external(Ue.colorPrimary,"Design system"),Rr=(ke.external(Ue.colorOnPrimary,"Design system"),ke.extend("--ft-radio-border-color","",Ue.colorOnSurfaceMedium)),Ir=ke.external(Ue.colorOnSurfaceDisabled,"Design system"),Ur=St`
1064
1068
  * {
1065
1069
  box-sizing: border-box;
1066
1070
  }
1067
1071
 
1068
1072
  .ft-radio {
1069
1073
  box-sizing: border-box;
1070
- color: ${Nr};
1074
+ color: ${Cr};
1071
1075
 
1072
1076
  display: inline-flex;
1073
1077
  align-items: center;
@@ -1075,7 +1079,7 @@ class er extends Qe{constructor(t){if(super(t),this.et=ot,t.type!==Je)throw Erro
1075
1079
  }
1076
1080
 
1077
1081
  .ft-radio--disabled {
1078
- color: ${Rr};
1082
+ color: ${Ir};
1079
1083
  }
1080
1084
 
1081
1085
  input {
@@ -1098,7 +1102,7 @@ class er extends Qe{constructor(t){if(super(t),this.et=ot,t.type!==Je)throw Erro
1098
1102
  }
1099
1103
 
1100
1104
  .ft-radio--box {
1101
- border: 2px solid ${Er};
1105
+ border: 2px solid ${Rr};
1102
1106
  border-radius: 50%;
1103
1107
 
1104
1108
  display: flex;
@@ -1111,7 +1115,7 @@ class er extends Qe{constructor(t){if(super(t),this.et=ot,t.type!==Je)throw Erro
1111
1115
 
1112
1116
  .ft-radio--box:after {
1113
1117
  content: " ";
1114
- background-color: ${Cr};
1118
+ background-color: ${Er};
1115
1119
 
1116
1120
  border-radius: 50%;
1117
1121
 
@@ -1123,7 +1127,7 @@ class er extends Qe{constructor(t){if(super(t),this.et=ot,t.type!==Je)throw Erro
1123
1127
  }
1124
1128
 
1125
1129
  .ft-radio--checked .ft-radio--box {
1126
- border-color: ${Cr};
1130
+ border-color: ${Er};
1127
1131
  }
1128
1132
 
1129
1133
 
@@ -1132,15 +1136,15 @@ class er extends Qe{constructor(t){if(super(t),this.et=ot,t.type!==Je)throw Erro
1132
1136
  }
1133
1137
 
1134
1138
  .ft-radio--disabled .ft-radio--box {
1135
- border-color: ${Rr};
1139
+ border-color: ${Ir};
1136
1140
  background-color: transparent;
1137
1141
  }
1138
1142
 
1139
1143
  .ft-radio--disabled .ft-radio--box:after {
1140
- background-color: ${Rr};
1144
+ background-color: ${Ir};
1141
1145
  }
1142
- `;var Ur=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Lr extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class zr extends Me{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 ae`
1143
- <div class="${Gi(t)}">
1146
+ `;var Lr=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 zr extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Wr extends Me{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 ae`
1147
+ <div class="${qi(t)}">
1144
1148
  <div class="ft-radio--box-container">
1145
1149
  <ft-ripple
1146
1150
  ?disabled=${this.disabled}
@@ -1164,22 +1168,22 @@ class er extends Qe{constructor(t){if(super(t),this.et=ot,t.type!==Je)throw Erro
1164
1168
  </ft-typography>
1165
1169
  </label>
1166
1170
  </div>
1167
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Lr(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 Lr(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}zr.elementDefinitions={"ft-ripple":Yi,"ft-typography":Oi},zr.styles=Ir,Ur([k()],zr.prototype,"value",void 0),Ur([k()],zr.prototype,"name",void 0),Ur([k({type:Boolean,reflect:!0})],zr.prototype,"checked",void 0),Ur([k({type:Boolean})],zr.prototype,"disabled",void 0),Ur([E(".ft-radio")],zr.prototype,"container",void 0),Ur([E("ft-ripple")],zr.prototype,"ripple",void 0),Ur([E("input")],zr.prototype,"input",void 0);const Wr=St`
1171
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new zr(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 zr(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Wr.elementDefinitions={"ft-ripple":Ji,"ft-typography":wi},Wr.styles=Ur,Lr([k()],Wr.prototype,"value",void 0),Lr([k()],Wr.prototype,"name",void 0),Lr([k({type:Boolean,reflect:!0})],Wr.prototype,"checked",void 0),Lr([k({type:Boolean})],Wr.prototype,"disabled",void 0),Lr([E(".ft-radio")],Wr.prototype,"container",void 0),Lr([E("ft-ripple")],Wr.prototype,"ripple",void 0),Lr([E("input")],Wr.prototype,"input",void 0);const Br=St`
1168
1172
  :host {
1169
1173
  display: contents;
1170
1174
  }
1171
- `;var Br=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Fr extends Me{constructor(){super(...arguments),this.name=""}render(){return ae`
1175
+ `;var Fr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Dr extends Me{constructor(){super(...arguments),this.name=""}render(){return ae`
1172
1176
  <slot @slotchange=${this.onSlotChange}
1173
1177
  @change=${this.onChange}
1174
1178
  @keydown=${this.onKeyDown}
1175
1179
  ></slot>
1176
- `}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)}}Fr.elementDefinitions={},Fr.styles=Wr,Br([k()],Fr.prototype,"name",void 0),Br([
1180
+ `}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)}}Dr.elementDefinitions={},Dr.styles=Br,Fr([k()],Dr.prototype,"name",void 0),Fr([
1177
1181
  /**
1178
1182
  * @license
1179
1183
  * Copyright 2021 Google LLC
1180
1184
  * SPDX-License-Identifier: BSD-3-Clause
1181
1185
  */
1182
- function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return C(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}()],Fr.prototype,"radioButtons",void 0),L("ft-radio")(zr),L("ft-radio-group")(Fr);const Dr={borderRadiusM:ke.external(Ue.borderRadiusM,"Design system"),colorOutline:ke.external(Ue.colorOutline,"Design system"),colorOnSurface:ke.external(Ue.colorOnSurface,"Design system"),colorOnSurfaceMedium:ke.external(Ue.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ke.external(Ue.colorOnSurfaceDisabled,"Design system"),colorPrimary:ke.external(Ue.colorPrimary,"Design system"),colorOnPrimary:ke.external(Ue.colorOnPrimary,"Design system"),fontFamily:ke.external(Go.fontFamily,"Body2 typography"),fontSize:ke.external(Go.fontSize,"Body2 typography"),fontWeight:ke.external(Go.fontWeight,"Body2 typography"),letterSpacing:ke.external(Go.letterSpacing,"Body2 typography"),lineHeight:ke.external(Go.lineHeight,"Body2 typography"),textTransform:ke.external(Go.textTransform,"Body2 typography")},Kr=St`
1186
+ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return C(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}()],Dr.prototype,"radioButtons",void 0),L("ft-radio")(Wr),L("ft-radio-group")(Dr);const Kr={borderRadiusM:ke.external(Ue.borderRadiusM,"Design system"),colorOutline:ke.external(Ue.colorOutline,"Design system"),colorOnSurface:ke.external(Ue.colorOnSurface,"Design system"),colorOnSurfaceMedium:ke.external(Ue.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ke.external(Ue.colorOnSurfaceDisabled,"Design system"),colorPrimary:ke.external(Ue.colorPrimary,"Design system"),colorOnPrimary:ke.external(Ue.colorOnPrimary,"Design system"),fontFamily:ke.external(qo.fontFamily,"Body2 typography"),fontSize:ke.external(qo.fontSize,"Body2 typography"),fontWeight:ke.external(qo.fontWeight,"Body2 typography"),letterSpacing:ke.external(qo.letterSpacing,"Body2 typography"),lineHeight:ke.external(qo.lineHeight,"Body2 typography"),textTransform:ke.external(qo.textTransform,"Body2 typography")},Zr=St`
1183
1187
  .ft-filter-level--container {
1184
1188
  display: flex;
1185
1189
  flex-direction: column;
@@ -1193,14 +1197,14 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1193
1197
  flex-shrink: 0;
1194
1198
  text-decoration: none;
1195
1199
  position: relative;
1196
- border-radius: ${Dr.borderRadiusM};
1200
+ border-radius: ${Kr.borderRadiusM};
1197
1201
  overflow: hidden;
1198
1202
  display: flex;
1199
1203
  align-items: center;
1200
1204
  padding: 4px 4px;
1201
1205
  gap: 4px;
1202
1206
  cursor: pointer;
1203
- color: ${Dr.colorOnSurface};
1207
+ color: ${Kr.colorOnSurface};
1204
1208
  }
1205
1209
 
1206
1210
  .ft-filter-level--go-back:focus {
@@ -1229,7 +1233,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1229
1233
  }
1230
1234
 
1231
1235
  ft-button {
1232
- ${Ne(Mi.color,Dr.colorOnSurface)};
1236
+ ${Ne(Ai.color,Kr.colorOnSurface)};
1233
1237
  }
1234
1238
 
1235
1239
  ft-radio, ft-checkbox {
@@ -1243,9 +1247,9 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1243
1247
 
1244
1248
  .ft-filter-level--no-values {
1245
1249
  margin: 10px 0;
1246
- color: ${Dr.colorOnSurfaceMedium};
1250
+ color: ${Kr.colorOnSurfaceMedium};
1247
1251
  }
1248
- `;var Zr=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 Mr extends Me{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 ae`
1252
+ `;var Mr=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 Ar extends Me{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 ae`
1249
1253
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1250
1254
  ${null==this.parent?null:ae`
1251
1255
  <div tabindex="0"
@@ -1264,7 +1268,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1264
1268
  ${this.noValuesLabel}
1265
1269
  </ft-typography>
1266
1270
  `:le}
1267
- ${so(e,(t=>t.value),(t=>{var e;return ae`
1271
+ ${lo(e,(t=>t.value),(t=>{var e;return ae`
1268
1272
  <div class="ft-filter-level--option" part="options">
1269
1273
  ${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
1270
1274
  ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?le:ae`
@@ -1309,7 +1313,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1309
1313
  @change=${t=>t.stopPropagation()}>
1310
1314
  ${t.renderOption?t.renderOption:t.label}
1311
1315
  </ft-radio>
1312
- `}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}))}}Mr.elementDefinitions={"ft-button":ur,"ft-ripple":Yi,"ft-typography":Oi,"ft-checkbox":kr,"ft-icon":cr,"ft-radio":zr},Mr.styles=Kr,Zr([k({type:String})],Mr.prototype,"filterId",void 0),Zr([k({type:Object})],Mr.prototype,"parent",void 0),Zr([k({type:Array})],Mr.prototype,"options",void 0),Zr([k({type:Boolean})],Mr.prototype,"multivalued",void 0),Zr([k({type:Boolean})],Mr.prototype,"disabled",void 0),Zr([k({type:Boolean})],Mr.prototype,"hideSelectedOptions",void 0),Zr([k({type:Boolean})],Mr.prototype,"preventNavigation",void 0),Zr([k({type:String})],Mr.prototype,"filter",void 0),Zr([k({type:String})],Mr.prototype,"moreValuesButtonLabel",void 0),Zr([k({type:String})],Mr.prototype,"noValuesLabel",void 0),Zr([k({type:Number})],Mr.prototype,"displayedValuesLimit",void 0),Zr([E(".ft-filter-level--container")],Mr.prototype,"container",void 0),Zr([N()],Mr.prototype,"displayedPages",void 0);const Ar={buttonsColor:ke.extend("--ft-snap-scroll-buttons-color","",Ue.colorPrimary),buttonsZIndex:ke.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:ke.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:ke.external(Ue.colorSurface,"Design system")},Pr=St`
1316
+ `}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}))}}Ar.elementDefinitions={"ft-button":br,"ft-ripple":Ji,"ft-typography":wi,"ft-checkbox":Nr,"ft-icon":hr,"ft-radio":Wr},Ar.styles=Zr,Mr([k({type:String})],Ar.prototype,"filterId",void 0),Mr([k({type:Object})],Ar.prototype,"parent",void 0),Mr([k({type:Array})],Ar.prototype,"options",void 0),Mr([k({type:Boolean})],Ar.prototype,"multivalued",void 0),Mr([k({type:Boolean})],Ar.prototype,"disabled",void 0),Mr([k({type:Boolean})],Ar.prototype,"hideSelectedOptions",void 0),Mr([k({type:Boolean})],Ar.prototype,"preventNavigation",void 0),Mr([k({type:String})],Ar.prototype,"filter",void 0),Mr([k({type:String})],Ar.prototype,"moreValuesButtonLabel",void 0),Mr([k({type:String})],Ar.prototype,"noValuesLabel",void 0),Mr([k({type:Number})],Ar.prototype,"displayedValuesLimit",void 0),Mr([E(".ft-filter-level--container")],Ar.prototype,"container",void 0),Mr([N()],Ar.prototype,"displayedPages",void 0);const Pr={buttonsColor:ke.extend("--ft-snap-scroll-buttons-color","",Ue.colorPrimary),buttonsZIndex:ke.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:ke.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:ke.external(Ue.colorSurface,"Design system")},jr=St`
1313
1317
  .ft-snap-scroll {
1314
1318
  box-sizing: border-box;
1315
1319
  position: relative;
@@ -1344,7 +1348,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1344
1348
  flex-wrap: nowrap;
1345
1349
  align-items: flex-start;
1346
1350
  justify-content: flex-start;
1347
- gap: ${Ar.gap};
1351
+ gap: ${Pr.gap};
1348
1352
  }
1349
1353
 
1350
1354
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1387,11 +1391,11 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1387
1391
  .ft-snap-scroll--next {
1388
1392
  position: absolute;
1389
1393
  display: flex;
1390
- z-index: ${Ar.buttonsZIndex};
1394
+ z-index: ${Pr.buttonsZIndex};
1391
1395
  opacity: 1;
1392
1396
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1393
- ${Ne(Mi.backgroundColor,"transparent")};
1394
- ${Ne(Mi.color,Ar.buttonsColor)};
1397
+ ${Ne(Ai.backgroundColor,"transparent")};
1398
+ ${Ne(Ai.color,Pr.buttonsColor)};
1395
1399
  }
1396
1400
 
1397
1401
  .ft-snap-scroll--previous[hidden],
@@ -1404,37 +1408,37 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1404
1408
  top: 0;
1405
1409
  left: -1px;
1406
1410
  bottom: 0;
1407
- background: linear-gradient(to right, ${Ar.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1411
+ background: linear-gradient(to right, ${Pr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1408
1412
  }
1409
1413
 
1410
1414
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1411
1415
  top: -1px;
1412
1416
  left: 0;
1413
1417
  right: 0;
1414
- background: linear-gradient(to bottom, ${Ar.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1418
+ background: linear-gradient(to bottom, ${Pr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1415
1419
  }
1416
1420
 
1417
1421
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1418
1422
  top: 0;
1419
1423
  right: -1px;
1420
1424
  bottom: 0;
1421
- background: linear-gradient(to left, ${Ar.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1425
+ background: linear-gradient(to left, ${Pr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1422
1426
  }
1423
1427
 
1424
1428
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1425
1429
  left: 0;
1426
1430
  right: 0;
1427
1431
  bottom: -1px;
1428
- background: linear-gradient(to top, ${Ar.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1432
+ background: linear-gradient(to top, ${Pr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1429
1433
  }
1430
1434
 
1431
1435
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1432
1436
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1433
1437
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1434
1438
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1435
- background-color: ${Ar.colorSurface};
1439
+ background-color: ${Pr.colorSurface};
1436
1440
  }
1437
- `;var jr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Hr extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class Tr extends Me{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 e(200),this.updateScrollDebouncer=new e(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=Gi({"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":qe}),e=this.controls&&this.withScroll;return ae`
1441
+ `;var Hr=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 Tr extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class _r extends Me{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 e(200),this.updateScrollDebouncer=new e(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=qi({"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":Ye}),e=this.controls&&this.withScroll;return ae`
1438
1442
  <div part="container" class="${t}">
1439
1443
  <ft-button
1440
1444
  class="ft-snap-scroll--previous"
@@ -1458,7 +1462,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1458
1462
  @click=${this.next}
1459
1463
  ></ft-button>
1460
1464
  </div>
1461
- `}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 Hr(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)}}Tr.elementDefinitions={"ft-button":ur},Tr.styles=Pr,jr([k({type:Boolean})],Tr.prototype,"horizontal",void 0),jr([k({type:Boolean})],Tr.prototype,"hideScrollbar",void 0),jr([k({type:Boolean})],Tr.prototype,"controls",void 0),jr([k({type:Boolean})],Tr.prototype,"limitSize",void 0),jr([N()],Tr.prototype,"elements",void 0),jr([N()],Tr.prototype,"currentElement",void 0),jr([N()],Tr.prototype,"withScroll",void 0),jr([N()],Tr.prototype,"startReached",void 0),jr([N()],Tr.prototype,"endReached",void 0),jr([E(".ft-snap-scroll--content")],Tr.prototype,"contentSlot",void 0),L("ft-snap-scroll")(Tr);const _r=ke.external(Ue.colorOutline,"Design system"),Vr=ke.external(Ue.colorOnSurface,"Design system"),Gr=ke.external(Ue.colorOnSurfaceMedium,"Design system"),qr=ke.external(Ue.colorPrimary,"Design system"),Yr=ke.external(Ue.colorSurface,"Design system"),Jr=ke.external(Ue.transitionDuration,"Design system"),Xr=ke.external(Ue.transitionTimingFunction,"Design system"),Qr=[bi,St`
1465
+ `}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 Tr(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)}}_r.elementDefinitions={"ft-button":br},_r.styles=jr,Hr([k({type:Boolean})],_r.prototype,"horizontal",void 0),Hr([k({type:Boolean})],_r.prototype,"hideScrollbar",void 0),Hr([k({type:Boolean})],_r.prototype,"controls",void 0),Hr([k({type:Boolean})],_r.prototype,"limitSize",void 0),Hr([N()],_r.prototype,"elements",void 0),Hr([N()],_r.prototype,"currentElement",void 0),Hr([N()],_r.prototype,"withScroll",void 0),Hr([N()],_r.prototype,"startReached",void 0),Hr([N()],_r.prototype,"endReached",void 0),Hr([E(".ft-snap-scroll--content")],_r.prototype,"contentSlot",void 0),L("ft-snap-scroll")(_r);const Vr=ke.external(Ue.colorOutline,"Design system"),Gr=ke.external(Ue.colorOnSurface,"Design system"),qr=ke.external(Ue.colorOnSurfaceMedium,"Design system"),Yr=ke.external(Ue.colorPrimary,"Design system"),Jr=ke.external(Ue.colorSurface,"Design system"),Xr=ke.external(Ue.transitionDuration,"Design system"),Qr=ke.external(Ue.transitionTimingFunction,"Design system"),tn=[gi,St`
1462
1466
  :host {
1463
1467
  display: flex;
1464
1468
  max-height: 100%;
@@ -1471,7 +1475,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1471
1475
  flex-direction: column;
1472
1476
  max-height: 100%;
1473
1477
  max-width: 100%;
1474
- color: ${Vr};
1478
+ color: ${Gr};
1475
1479
  }
1476
1480
 
1477
1481
  .ft-filter--header {
@@ -1481,13 +1485,13 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1481
1485
  flex-shrink: 0;
1482
1486
  padding: 0 10px;
1483
1487
  margin-bottom: 8px;
1484
- ${Ne(Oo.fontSize,"14px")};
1488
+ ${Ne(wo.fontSize,"14px")};
1485
1489
  }
1486
1490
 
1487
1491
  .ft-filter--header ft-button {
1488
1492
  flex-shrink: 0;
1489
1493
  margin-left: auto;
1490
- ${Ne(Mi.iconSize,"18px")};
1494
+ ${Ne(Ai.iconSize,"18px")};
1491
1495
  }
1492
1496
 
1493
1497
  .ft-filter--label {
@@ -1495,8 +1499,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1495
1499
  flex-shrink: 1;
1496
1500
  flex-grow: 1;
1497
1501
  word-break: break-word;
1498
- ${Ne(Oo.lineHeight,"22px")};
1499
- ${Ne(Oo.fontWeight,"bold")};
1502
+ ${Ne(wo.lineHeight,"22px")};
1503
+ ${Ne(wo.fontWeight,"bold")};
1500
1504
  }
1501
1505
 
1502
1506
  .ft-filter--filter {
@@ -1507,8 +1511,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1507
1511
  padding: 0 10px;
1508
1512
  overflow: hidden;
1509
1513
  height: 32px;
1510
- transition: height ${Jr} ${Xr},
1511
- margin ${Jr} ${Xr};
1514
+ transition: height ${Xr} ${Qr},
1515
+ margin ${Xr} ${Qr};
1512
1516
  transition-delay: 500ms;
1513
1517
  }
1514
1518
 
@@ -1521,15 +1525,15 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1521
1525
  display: block;
1522
1526
  width: 100%;
1523
1527
  border-radius: 4px;
1524
- border: 1px solid ${_r};
1528
+ border: 1px solid ${Vr};
1525
1529
  padding: 4px;
1526
- background-color: ${Yr};
1527
- color: ${Vr};
1528
- outline-color: ${qr};
1530
+ background-color: ${Jr};
1531
+ color: ${Gr};
1532
+ outline-color: ${Yr};
1529
1533
  }
1530
1534
 
1531
1535
  input::placeholder {
1532
- color: ${Gr};
1536
+ color: ${qr};
1533
1537
  }
1534
1538
 
1535
1539
  input:placeholder-shown {
@@ -1545,7 +1549,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1545
1549
  }
1546
1550
 
1547
1551
  .ft-filter--separator {
1548
- border-top: 1px solid ${_r};
1552
+ border-top: 1px solid ${Vr};
1549
1553
  margin: 4px 10px;
1550
1554
  }
1551
1555
 
@@ -1570,7 +1574,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1570
1574
  slot:not([name]) {
1571
1575
  display: none;
1572
1576
  }
1573
- `];var tn=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 en extends CustomEvent{constructor(t){super("change",{detail:t})}}class on extends Me{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 e(300),this.changeDebouncer=new e(10),this.lastDispatchedValues=[]}get flatOptions(){return I(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 ae`
1577
+ `];var en=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 on extends CustomEvent{constructor(t){super("change",{detail:t})}}class rn extends Me{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 e(300),this.changeDebouncer=new e(10),this.lastDispatchedValues=[]}get flatOptions(){return I(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 ae`
1574
1578
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1575
1579
  part="container">
1576
1580
  ${this.label||t?ae`
@@ -1642,17 +1646,17 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1642
1646
  .exportpartsPrefixes=${["values","available-values"]}
1643
1647
  noValuesLabel="${this.noValuesLabel}"
1644
1648
  ></ft-filter-level>
1645
- `}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;U(this.lastDispatchedValues,t)||(this.dispatchEvent(new en(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)}}on.elementDefinitions={"ft-button":ur,"ft-filter-level":Mr,"ft-snap-scroll":Tr,"ft-typography":Oi},on.styles=Qr,tn([k({type:String})],on.prototype,"id",void 0),tn([k({type:String})],on.prototype,"label",void 0),tn([k({type:String})],on.prototype,"filterPlaceHolder",void 0),tn([k({type:String})],on.prototype,"clearButtonLabel",void 0),tn([k({type:String})],on.prototype,"moreValuesButtonLabel",void 0),tn([k({type:String})],on.prototype,"noValuesLabel",void 0),tn([z([])],on.prototype,"options",void 0),tn([k({type:Boolean})],on.prototype,"multivalued",void 0),tn([k({type:Boolean})],on.prototype,"disabled",void 0),tn([k({type:Boolean})],on.prototype,"raiseSelectedOptions",void 0),tn([k({type:Number})],on.prototype,"displayedValuesLimit",void 0),tn([k({type:Boolean})],on.prototype,"hideClearButton",void 0),tn([E(".ft-filter--slot")],on.prototype,"slotElement",void 0),tn([E(".ft-filter--container")],on.prototype,"container",void 0),tn([E(".ft-filter--values")],on.prototype,"valuesContainer",void 0),tn([E(".ft-filter--levels")],on.prototype,"levelsContainer",void 0),tn([N()],on.prototype,"lastLevelHasHiddenvalues",void 0),tn([E(".ft-filter--filter input")],on.prototype,"filterInput",void 0),tn([function(t){return(e,o)=>C(0,0,{get(){return(this.renderRoot??(R??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],on.prototype,"levels",void 0),tn([N()],on.prototype,"withScroll",void 0),tn([N()],on.prototype,"filter",void 0),tn([N()],on.prototype,"slideIn",void 0),tn([N()],on.prototype,"slideOut",void 0);var rn=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 nn extends Me{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return ae`
1649
+ `}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;U(this.lastDispatchedValues,t)||(this.dispatchEvent(new on(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)}}rn.elementDefinitions={"ft-button":br,"ft-filter-level":Ar,"ft-snap-scroll":_r,"ft-typography":wi},rn.styles=tn,en([k({type:String})],rn.prototype,"id",void 0),en([k({type:String})],rn.prototype,"label",void 0),en([k({type:String})],rn.prototype,"filterPlaceHolder",void 0),en([k({type:String})],rn.prototype,"clearButtonLabel",void 0),en([k({type:String})],rn.prototype,"moreValuesButtonLabel",void 0),en([k({type:String})],rn.prototype,"noValuesLabel",void 0),en([z([])],rn.prototype,"options",void 0),en([k({type:Boolean})],rn.prototype,"multivalued",void 0),en([k({type:Boolean})],rn.prototype,"disabled",void 0),en([k({type:Boolean})],rn.prototype,"raiseSelectedOptions",void 0),en([k({type:Number})],rn.prototype,"displayedValuesLimit",void 0),en([k({type:Boolean})],rn.prototype,"hideClearButton",void 0),en([E(".ft-filter--slot")],rn.prototype,"slotElement",void 0),en([E(".ft-filter--container")],rn.prototype,"container",void 0),en([E(".ft-filter--values")],rn.prototype,"valuesContainer",void 0),en([E(".ft-filter--levels")],rn.prototype,"levelsContainer",void 0),en([N()],rn.prototype,"lastLevelHasHiddenvalues",void 0),en([E(".ft-filter--filter input")],rn.prototype,"filterInput",void 0),en([function(t){return(e,o)=>C(0,0,{get(){return(this.renderRoot??(R??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],rn.prototype,"levels",void 0),en([N()],rn.prototype,"withScroll",void 0),en([N()],rn.prototype,"filter",void 0),en([N()],rn.prototype,"slideIn",void 0),en([N()],rn.prototype,"slideOut",void 0);var nn=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 an extends Me{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return ae`
1646
1650
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1647
- `}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}))}}nn.elementDefinitions={},rn([k({type:String})],nn.prototype,"label",void 0),rn([k({type:Object,converter:t=>t})],nn.prototype,"value",void 0),rn([k({type:Boolean,reflect:!0})],nn.prototype,"selected",void 0),rn([k({type:Object})],nn.prototype,"subOptions",void 0),rn([z({})],nn.prototype,"renderOption",void 0),rn([E(".ft-filter-option--slot")],nn.prototype,"slotElement",void 0),L("ft-filter")(on),L("ft-filter-option")(nn);const an=St`
1651
+ `}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}))}}an.elementDefinitions={},nn([k({type:String})],an.prototype,"label",void 0),nn([k({type:Object,converter:t=>t})],an.prototype,"value",void 0),nn([k({type:Boolean,reflect:!0})],an.prototype,"selected",void 0),nn([k({type:Object})],an.prototype,"subOptions",void 0),nn([z({})],an.prototype,"renderOption",void 0),nn([E(".ft-filter-option--slot")],an.prototype,"slotElement",void 0),L("ft-filter")(rn),L("ft-filter-option")(an);const sn=St`
1648
1652
  .ft-accordion {
1649
1653
  box-sizing: border-box;
1650
1654
  }
1651
- `;var sn=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 ln extends Me{constructor(){super(...arguments),this.multi=!1}render(){return ae`
1655
+ `;var ln=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 cn extends Me{constructor(){super(...arguments),this.multi=!1}render(){return ae`
1652
1656
  <div class="ft-accordion">
1653
1657
  <slot @activated=${this.onChange}></slot>
1654
1658
  </div>
1655
- `}onChange(t){t.stopPropagation(),this.multi||this.content.assignedElements().forEach((e=>e.active=e===t.target))}}ln.elementDefinitions={},ln.styles=an,sn([k({type:Boolean})],ln.prototype,"multi",void 0),sn([E("slot")],ln.prototype,"content",void 0);const cn=ke.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),hn=ke.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),pn=ke.external(Ue.colorOutline,"Design system"),fn=St`
1659
+ `}onChange(t){t.stopPropagation(),this.multi||this.content.assignedElements().forEach((e=>e.active=e===t.target))}}cn.elementDefinitions={},cn.styles=sn,ln([k({type:Boolean})],cn.prototype,"multi",void 0),ln([E("slot")],cn.prototype,"content",void 0);const hn=ke.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),pn=ke.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),fn=ke.external(Ue.colorOutline,"Design system"),dn=St`
1656
1660
  .ft-accordion-item {
1657
1661
  display: flex;
1658
1662
  flex-direction: column;
@@ -1665,8 +1669,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1665
1669
  display: flex;
1666
1670
  align-items: center;
1667
1671
  cursor: pointer;
1668
- padding: ${hn} ${cn};
1669
- gap: calc(${cn} / 2);
1672
+ padding: ${pn} ${hn};
1673
+ gap: calc(${hn} / 2);
1670
1674
  outline: none;
1671
1675
  }
1672
1676
 
@@ -1691,13 +1695,13 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1691
1695
  .ft-accordion-item--active .ft-accordion-item--content {
1692
1696
  height: initial;
1693
1697
  overflow: visible;
1694
- padding: ${hn} ${cn};
1698
+ padding: ${pn} ${hn};
1695
1699
  }
1696
1700
 
1697
1701
  .ft-accordion-item--separator {
1698
- border-bottom: 1px solid ${pn};
1702
+ border-bottom: 1px solid ${fn};
1699
1703
  }
1700
- `;var dn=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 Me{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return ae`
1704
+ `;var un=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 bn extends Me{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return ae`
1701
1705
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
1702
1706
  <div class="ft-accordion-item--toggle"
1703
1707
  part="toggle"
@@ -1727,7 +1731,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1727
1731
  </div>
1728
1732
  <div class="ft-accordion-item--separator" part="separator"></div>
1729
1733
  </div>
1730
- `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}un.elementDefinitions={"ft-ripple":Yi,"ft-typography":Oi,"ft-icon":cr},un.styles=fn,dn([k()],un.prototype,"icon",void 0),dn([k()],un.prototype,"iconVariant",void 0),dn([k()],un.prototype,"label",void 0),dn([k({type:Boolean,reflect:!0})],un.prototype,"active",void 0),L("ft-accordion")(ln),L("ft-accordion-item")(un);const bn=ke.extend("--ft-chip-color","",Ue.colorOnSurface),gn={backgroundColor:ke.extend("--ft-chip-background-color","",Ue.colorSurface),color:bn,fontSize:ke.extend("--ft-chip-font-size","",Go.fontSize),iconSize:ke.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:ke.extend("--ft-chip-ripple-color","",bn),horizontalPadding:ke.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:ke.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:ke.external(Ue.colorOutline,"Design system"),opacityDisabled:ke.external(Ue.colorOpacityDisabled,"Design system")},yn=ke.extend("--ft-chip-highlighted-color","",ke.extend("--ft-chip-color","",Ue.colorOnPrimary)),mn={backgroundColor:ke.extend("--ft-chip-highlighted-background-color","",ke.extend("--ft-chip-background-color","",Ue.colorPrimary)),color:yn,rippleColor:ke.extend("--ft-chip-highlighted-ripple-color","",yn)},vn=ke.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),xn=ke.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),$n=[Ae,St`
1734
+ `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}bn.elementDefinitions={"ft-ripple":Ji,"ft-typography":wi,"ft-icon":hr},bn.styles=dn,un([k()],bn.prototype,"icon",void 0),un([k()],bn.prototype,"iconVariant",void 0),un([k()],bn.prototype,"label",void 0),un([k({type:Boolean,reflect:!0})],bn.prototype,"active",void 0),L("ft-accordion")(cn),L("ft-accordion-item")(bn);const gn=ke.extend("--ft-chip-color","",Ue.colorOnSurface),yn={backgroundColor:ke.extend("--ft-chip-background-color","",Ue.colorSurface),color:gn,fontSize:ke.extend("--ft-chip-font-size","",qo.fontSize),iconSize:ke.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:ke.extend("--ft-chip-ripple-color","",gn),horizontalPadding:ke.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:ke.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:ke.external(Ue.colorOutline,"Design system"),opacityDisabled:ke.external(Ue.colorOpacityDisabled,"Design system")},mn=ke.extend("--ft-chip-highlighted-color","",ke.extend("--ft-chip-color","",Ue.colorOnPrimary)),vn={backgroundColor:ke.extend("--ft-chip-highlighted-background-color","",ke.extend("--ft-chip-background-color","",Ue.colorPrimary)),color:mn,rippleColor:ke.extend("--ft-chip-highlighted-ripple-color","",mn)},xn=ke.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),$n=ke.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),On=[Pe,St`
1731
1735
  :host {
1732
1736
  display: inline-block;
1733
1737
  max-width: 100%;
@@ -1743,20 +1747,20 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1743
1747
  box-sizing: border-box;
1744
1748
  pointer-events: auto;
1745
1749
 
1746
- --ft-chip-internal-font-size: ${gn.fontSize};
1750
+ --ft-chip-internal-font-size: ${yn.fontSize};
1747
1751
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
1748
- ${Ne(Di.size,gn.iconSize)};
1749
- --ft-chip-internal-vertical-padding: ${gn.verticalPadding};
1750
- --ft-chip-internal-horizontal-padding: ${gn.horizontalPadding};
1752
+ ${Ne(Ki.size,yn.iconSize)};
1753
+ --ft-chip-internal-vertical-padding: ${yn.verticalPadding};
1754
+ --ft-chip-internal-horizontal-padding: ${yn.horizontalPadding};
1751
1755
  --ft-chip-internal-icon-padding: 3px;
1752
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${gn.iconSize});
1756
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${yn.iconSize});
1753
1757
 
1754
- border: 1px solid ${gn.colorOutline};
1755
- color: ${gn.color};
1756
- ${Ne(Ci.color,gn.rippleColor)};
1758
+ border: 1px solid ${yn.colorOutline};
1759
+ color: ${yn.color};
1760
+ ${Ne(Ei.color,yn.rippleColor)};
1757
1761
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
1758
1762
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
1759
- background-color: ${gn.backgroundColor};
1763
+ background-color: ${yn.backgroundColor};
1760
1764
  line-height: var(--ft-chip-internal-content-height);
1761
1765
  }
1762
1766
 
@@ -1766,8 +1770,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1766
1770
 
1767
1771
  .ft-chip--dense {
1768
1772
  --ft-chip-internal-icon-padding: 3px;
1769
- --ft-chip-internal-vertical-padding: ${xn};
1770
- --ft-chip-internal-horizontal-padding: ${vn};
1773
+ --ft-chip-internal-vertical-padding: ${$n};
1774
+ --ft-chip-internal-horizontal-padding: ${xn};
1771
1775
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
1772
1776
  }
1773
1777
 
@@ -1779,15 +1783,15 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1779
1783
  cursor: default;
1780
1784
  pointer-events: none;
1781
1785
  filter: grayscale(1);
1782
- opacity: ${gn.opacityDisabled};
1786
+ opacity: ${yn.opacityDisabled};
1783
1787
  }
1784
1788
 
1785
1789
  .ft-chip--highlighted {
1786
1790
  border: none;
1787
1791
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
1788
- background-color: ${mn.backgroundColor};
1789
- ${Ne(Ci.color,mn.rippleColor)};
1790
- color: ${mn.color};
1792
+ background-color: ${vn.backgroundColor};
1793
+ ${Ne(Ei.color,vn.rippleColor)};
1794
+ color: ${vn.color};
1791
1795
  }
1792
1796
 
1793
1797
  .ft-chip--clickable {
@@ -1817,9 +1821,9 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1817
1821
  }
1818
1822
 
1819
1823
  .ft-chip--icon-button {
1820
- ${Ne(Mi.iconSize,gn.iconSize)};
1821
- ${Ne(Mi.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1822
- ${Ne(Mi.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1824
+ ${Ne(Ai.iconSize,yn.iconSize)};
1825
+ ${Ne(Ai.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1826
+ ${Ne(Ai.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1823
1827
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
1824
1828
  }
1825
1829
 
@@ -1827,8 +1831,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1827
1831
  vertical-align: bottom;
1828
1832
  display: block;
1829
1833
  margin: 0 var(--ft-chip-internal-horizontal-padding);
1830
- ${Ne(Go.fontSize,"var(--ft-chip-internal-font-size)")};
1831
- ${Ne(Go.lineHeight,"var(--ft-chip-internal-content-height)")};
1834
+ ${Ne(qo.fontSize,"var(--ft-chip-internal-font-size)")};
1835
+ ${Ne(qo.lineHeight,"var(--ft-chip-internal-content-height)")};
1832
1836
  }
1833
1837
 
1834
1838
  .ft-chip--safari-fix .ft-chip--label {
@@ -1864,8 +1868,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1864
1868
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
1865
1869
  order: -1;
1866
1870
  }
1867
- `];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 CustomEvent{constructor(){super("icon-click")}}class Sn extends Me{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":qe};return ae`
1868
- <div class="${Gi(t)}"
1871
+ `];var wn=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 Sn extends CustomEvent{constructor(){super("icon-click")}}class kn extends Me{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":Ye};return ae`
1872
+ <div class="${qi(t)}"
1869
1873
  aria-label="${this.getLabel()}"
1870
1874
  tabindex="${this.interactionsOnChip?0:-1}"
1871
1875
  @keyup=${this.onKeyUp}>
@@ -1887,25 +1891,25 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1887
1891
  <div class="ft-chip--icon-container ft-no-text-select">
1888
1892
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
1889
1893
  </div>
1890
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new wn))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new wn))}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)}}Sn.elementDefinitions={"ft-ripple":Yi,"ft-typography":Oi,"ft-icon":cr,"ft-button":ur},Sn.styles=$n,On([k({type:Boolean})],Sn.prototype,"highlighted",void 0),On([k({type:Boolean})],Sn.prototype,"removable",void 0),On([k({type:Boolean})],Sn.prototype,"disabled",void 0),On([k({type:Boolean})],Sn.prototype,"clickable",void 0),On([k({type:Boolean})],Sn.prototype,"iconClickable",void 0),On([k({type:Boolean})],Sn.prototype,"dense",void 0),On([k({type:Boolean})],Sn.prototype,"multiLine",void 0),On([k()],Sn.prototype,"label",void 0),On([k()],Sn.prototype,"iconLabel",void 0),On([k()],Sn.prototype,"icon",void 0),On([k()],Sn.prototype,"iconVariant",void 0),On([k({type:Boolean})],Sn.prototype,"trailingIcon",void 0),On([E("ft-typography slot")],Sn.prototype,"slottedContent",void 0),L("ft-chip")(Sn);const kn={fontSize:ke.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:ke.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:ke.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:ke.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:ke.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:ke.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:ke.extend("--ft-input-label-border-color","",Ue.colorOutline),textColor:ke.extend("--ft-input-label-text-color","",Ue.colorOnSurfaceMedium),disabledTextColor:ke.extend("--ft-input-label-disabled-text-color","",Ue.colorOnSurfaceDisabled),colorSurface:ke.external(Ue.colorSurface,"Design system"),borderRadiusS:ke.external(Ue.borderRadiusS,"Design system"),colorError:ke.external(Ue.colorError,"Design system")},Nn=St`
1894
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Sn))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Sn))}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)}}kn.elementDefinitions={"ft-ripple":Ji,"ft-typography":wi,"ft-icon":hr,"ft-button":br},kn.styles=On,wn([k({type:Boolean})],kn.prototype,"highlighted",void 0),wn([k({type:Boolean})],kn.prototype,"removable",void 0),wn([k({type:Boolean})],kn.prototype,"disabled",void 0),wn([k({type:Boolean})],kn.prototype,"clickable",void 0),wn([k({type:Boolean})],kn.prototype,"iconClickable",void 0),wn([k({type:Boolean})],kn.prototype,"dense",void 0),wn([k({type:Boolean})],kn.prototype,"multiLine",void 0),wn([k()],kn.prototype,"label",void 0),wn([k()],kn.prototype,"iconLabel",void 0),wn([k()],kn.prototype,"icon",void 0),wn([k()],kn.prototype,"iconVariant",void 0),wn([k({type:Boolean})],kn.prototype,"trailingIcon",void 0),wn([E("ft-typography slot")],kn.prototype,"slottedContent",void 0),L("ft-chip")(kn);const Nn={fontSize:ke.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:ke.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:ke.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:ke.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:ke.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:ke.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:ke.extend("--ft-input-label-border-color","",Ue.colorOutline),textColor:ke.extend("--ft-input-label-text-color","",Ue.colorOnSurfaceMedium),disabledTextColor:ke.extend("--ft-input-label-disabled-text-color","",Ue.colorOnSurfaceDisabled),colorSurface:ke.external(Ue.colorSurface,"Design system"),borderRadiusS:ke.external(Ue.borderRadiusS,"Design system"),colorError:ke.external(Ue.colorError,"Design system")},Cn=St`
1891
1895
  .ft-input-label {
1892
1896
  position: absolute;
1893
1897
  inset: 0;
1894
1898
  display: flex;
1895
- background-color: ${kn.colorSurface};
1896
- border-radius: ${kn.borderRadiusS} ${kn.borderRadiusS} 0 0;
1899
+ background-color: ${Nn.colorSurface};
1900
+ border-radius: ${Nn.borderRadiusS} ${Nn.borderRadiusS} 0 0;
1897
1901
  }
1898
1902
 
1899
1903
  .ft-input-label--outlined {
1900
- border-radius: ${kn.borderRadiusS};
1904
+ border-radius: ${Nn.borderRadiusS};
1901
1905
  }
1902
1906
 
1903
1907
  .ft-input-label {
1904
- border-color: ${kn.borderColor};
1908
+ border-color: ${Nn.borderColor};
1905
1909
  }
1906
1910
 
1907
1911
  .ft-input-label.ft-input-label--in-error {
1908
- border-color: ${kn.colorError}
1912
+ border-color: ${Nn.colorError}
1909
1913
  }
1910
1914
 
1911
1915
  .ft-input-label:before,
@@ -1918,7 +1922,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1918
1922
  }
1919
1923
 
1920
1924
  .ft-input-label:before {
1921
- width: calc(${kn.horizontalSpacing} - 4px);
1925
+ width: calc(${Nn.horizontalSpacing} - 4px);
1922
1926
  flex-shrink: 0;
1923
1927
  }
1924
1928
 
@@ -1934,20 +1938,20 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1934
1938
  border-bottom-width: 1px;
1935
1939
  border-bottom-style: solid;
1936
1940
  border-color: inherit;
1937
- color: ${kn.textColor};
1941
+ color: ${Nn.textColor};
1938
1942
  transition: font-size 250ms, line-height 250ms, color 250ms;
1939
- max-width: calc(${kn.labelMaxWidth} - 2 * (${kn.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
1943
+ max-width: calc(${Nn.labelMaxWidth} - 2 * (${Nn.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
1940
1944
  text-overflow: ellipsis;
1941
- ${Ne(qo.fontSize,kn.fontSize)};
1942
- ${Ne(qo.lineHeight,kn.fontSize)};
1945
+ ${Ne(Yo.fontSize,Nn.fontSize)};
1946
+ ${Ne(Yo.lineHeight,Nn.fontSize)};
1943
1947
  }
1944
1948
 
1945
1949
  .ft-input-label--in-error .ft-input-label--text {
1946
- color: ${kn.colorError}
1950
+ color: ${Nn.colorError}
1947
1951
  }
1948
1952
 
1949
1953
  .ft-input-label--disabled .ft-input-label--text {
1950
- color: ${kn.disabledTextColor};
1954
+ color: ${Nn.disabledTextColor};
1951
1955
  }
1952
1956
 
1953
1957
  .ft-input-label--hidden-text {
@@ -1964,19 +1968,19 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1964
1968
  overflow: hidden;
1965
1969
  white-space: nowrap;
1966
1970
  text-overflow: ellipsis;
1967
- padding: ${kn.verticalSpacing} 4px;
1968
- margin: calc(${kn.verticalSpacing} * -1) 0;
1971
+ padding: ${Nn.verticalSpacing} 4px;
1972
+ margin: calc(${Nn.verticalSpacing} * -1) 0;
1969
1973
  max-width: 100%;
1970
1974
  box-sizing: border-box;
1971
1975
  }
1972
1976
 
1973
1977
  .ft-input-label--raised .ft-input-label--text {
1974
- ${Ne(qo.fontSize,kn.raisedFontSize)};
1975
- ${Ne(qo.lineHeight,kn.raisedFontSize)};
1978
+ ${Ne(Yo.fontSize,Nn.raisedFontSize)};
1979
+ ${Ne(Yo.lineHeight,Nn.raisedFontSize)};
1976
1980
  }
1977
1981
 
1978
1982
  .ft-input-label--raised .ft-input-label--floating-text {
1979
- top: ${kn.verticalSpacing};
1983
+ top: ${Nn.verticalSpacing};
1980
1984
  }
1981
1985
 
1982
1986
  .ft-input-label--outlined .ft-input-label--text,
@@ -1989,28 +1993,28 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1989
1993
  .ft-input-label--outlined:before {
1990
1994
  border-left-width: 1px;
1991
1995
  border-left-style: solid;
1992
- border-radius: ${kn.borderRadiusS} 0 0 ${kn.borderRadiusS};
1996
+ border-radius: ${Nn.borderRadiusS} 0 0 ${Nn.borderRadiusS};
1993
1997
  }
1994
1998
 
1995
1999
  .ft-input-label--outlined:after {
1996
2000
  border-right-width: 1px;
1997
2001
  border-right-style: solid;
1998
- border-radius: 0 ${kn.borderRadiusS} ${kn.borderRadiusS} 0;
2002
+ border-radius: 0 ${Nn.borderRadiusS} ${Nn.borderRadiusS} 0;
1999
2003
  }
2000
2004
 
2001
2005
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
2002
2006
  padding: 2px 4px;
2003
- z-index: ${kn.raisedZIndex};
2004
- background-color: ${kn.colorSurface};
2005
- border-radius: ${kn.borderRadiusS};
2007
+ z-index: ${Nn.raisedZIndex};
2008
+ background-color: ${Nn.colorSurface};
2009
+ border-radius: ${Nn.borderRadiusS};
2006
2010
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
2007
2011
  }
2008
2012
 
2009
2013
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
2010
2014
  border-top: none;
2011
2015
  }
2012
- `;var Cn=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 En extends Me{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return ae`
2013
- <div class="${Gi(t)}">
2016
+ `;var En=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 Rn extends Me{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return ae`
2017
+ <div class="${qi(t)}">
2014
2018
  ${this.text?ae`
2015
2019
  <div class="ft-input-label--text ft-typography--caption">
2016
2020
  <span class="ft-input-label--floating-text">${this.text}</span>
@@ -2018,7 +2022,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2018
2022
  </div>
2019
2023
  `:null}
2020
2024
  </div>
2021
- `}}En.elementDefinitions={},En.styles=[bi,Nn],Cn([k({type:String})],En.prototype,"text",void 0),Cn([k({type:Boolean})],En.prototype,"raised",void 0),Cn([k({type:Boolean})],En.prototype,"outlined",void 0),Cn([k({type:Boolean})],En.prototype,"disabled",void 0),Cn([k({type:Boolean})],En.prototype,"error",void 0),L("ft-input-label")(En);const Rn={labelSize:ke.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:ke.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:ke.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:ke.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:ke.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:ke.extend("--ft-select-selected-option-color","",Ue.colorOnSurface),helperColor:ke.extend("--ft-select-helper-color","",Ue.colorOnSurfaceMedium),optionsColor:ke.extend("--ft-select-options-color","",Ue.colorOnSurface),optionsZIndex:ke.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:ke.external(Ue.colorSurface,"Design system"),colorOnSurfaceDisabled:ke.external(Ue.colorOnSurfaceDisabled,"Design system"),colorPrimary:ke.external(Ue.colorPrimary,"Design system"),borderRadiusS:ke.external(Ue.borderRadiusS,"Design system"),elevation02:ke.external(Ue.elevation02,"Design system"),colorError:ke.external(Ue.colorError,"Design system")},In=St`
2025
+ `}}Rn.elementDefinitions={},Rn.styles=[gi,Cn],En([k({type:String})],Rn.prototype,"text",void 0),En([k({type:Boolean})],Rn.prototype,"raised",void 0),En([k({type:Boolean})],Rn.prototype,"outlined",void 0),En([k({type:Boolean})],Rn.prototype,"disabled",void 0),En([k({type:Boolean})],Rn.prototype,"error",void 0),L("ft-input-label")(Rn);const In={labelSize:ke.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:ke.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:ke.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:ke.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:ke.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:ke.extend("--ft-select-selected-option-color","",Ue.colorOnSurface),helperColor:ke.extend("--ft-select-helper-color","",Ue.colorOnSurfaceMedium),optionsColor:ke.extend("--ft-select-options-color","",Ue.colorOnSurface),optionsZIndex:ke.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:ke.external(Ue.colorSurface,"Design system"),colorOnSurfaceDisabled:ke.external(Ue.colorOnSurfaceDisabled,"Design system"),colorPrimary:ke.external(Ue.colorPrimary,"Design system"),borderRadiusS:ke.external(Ue.borderRadiusS,"Design system"),elevation02:ke.external(Ue.elevation02,"Design system"),colorError:ke.external(Ue.colorError,"Design system")},Un=St`
2022
2026
  *:focus {
2023
2027
  outline: none;
2024
2028
  }
@@ -2032,7 +2036,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2032
2036
  .ft-select--main-panel {
2033
2037
  position: relative;
2034
2038
  display: flex;
2035
- height: calc(4 * ${Rn.verticalSpacing} + ${Rn.labelSize} + ${Rn.selectedOptionSize});
2039
+ height: calc(4 * ${In.verticalSpacing} + ${In.labelSize} + ${In.selectedOptionSize});
2036
2040
  }
2037
2041
 
2038
2042
  .ft-select--input-panel {
@@ -2041,17 +2045,17 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2041
2045
  display: flex;
2042
2046
  align-items: center;
2043
2047
  overflow: hidden;
2044
- padding-left: ${Rn.horizontalSpacing};
2045
- padding-right: ${Rn.horizontalSpacing};
2048
+ padding-left: ${In.horizontalSpacing};
2049
+ padding-right: ${In.horizontalSpacing};
2046
2050
  gap: 8px;
2047
- color: ${Rn.selectedOptionColor};
2048
- ${Ne(Ci.color,Rn.selectedOptionColor)};
2051
+ color: ${In.selectedOptionColor};
2052
+ ${Ne(Ei.color,In.selectedOptionColor)};
2049
2053
  }
2050
2054
 
2051
2055
  .ft-select--input-panel,
2052
2056
  .ft-select--option {
2053
- ${Ne(Ci.opacityContentOnSurfaceHover,"0.08")};
2054
- ${Ne(Ci.opacityContentOnSurfacePressed,"0.04")};
2057
+ ${Ne(Ei.opacityContentOnSurfaceHover,"0.08")};
2058
+ ${Ne(Ei.opacityContentOnSurfacePressed,"0.04")};
2055
2059
  }
2056
2060
 
2057
2061
  .ft-select--input-panel > *:not(ft-ripple),
@@ -2061,7 +2065,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2061
2065
 
2062
2066
  .ft-select--disabled .ft-select--input-panel,
2063
2067
  .ft-select--disabled .ft-select--option {
2064
- color: ${Rn.colorOnSurfaceDisabled};
2068
+ color: ${In.colorOnSurfaceDisabled};
2065
2069
  }
2066
2070
 
2067
2071
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -2070,20 +2074,20 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2070
2074
  }
2071
2075
 
2072
2076
  ft-input-label {
2073
- ${Ne(kn.fontSize,Rn.selectedOptionSize)};
2074
- ${Ne(kn.raisedFontSize,Rn.labelSize)};
2075
- ${Ne(kn.verticalSpacing,Rn.verticalSpacing)};
2076
- ${Ne(kn.horizontalSpacing,Rn.horizontalSpacing)};
2077
- ${Ne(kn.labelMaxWidth,`calc(100% - ${Di.size} - 8px)`)};
2077
+ ${Ne(Nn.fontSize,In.selectedOptionSize)};
2078
+ ${Ne(Nn.raisedFontSize,In.labelSize)};
2079
+ ${Ne(Nn.verticalSpacing,In.verticalSpacing)};
2080
+ ${Ne(Nn.horizontalSpacing,In.horizontalSpacing)};
2081
+ ${Ne(Nn.labelMaxWidth,`calc(100% - ${Ki.size} - 8px)`)};
2078
2082
  }
2079
2083
 
2080
2084
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
2081
- color: ${Rn.colorPrimary};
2085
+ color: ${In.colorPrimary};
2082
2086
  }
2083
2087
 
2084
2088
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
2085
- ${Ne(kn.borderColor,Rn.colorPrimary)};
2086
- ${Ne(kn.textColor,Rn.colorPrimary)};
2089
+ ${Ne(Nn.borderColor,In.colorPrimary)};
2090
+ ${Ne(Nn.textColor,In.colorPrimary)};
2087
2091
  }
2088
2092
 
2089
2093
  .ft-select--selected-option {
@@ -2093,12 +2097,12 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2093
2097
  overflow: hidden;
2094
2098
  white-space: nowrap;
2095
2099
  text-overflow: ellipsis;
2096
- ${Ne(Vo.fontSize,Rn.selectedOptionSize)};
2097
- ${Ne(Vo.lineHeight,Rn.selectedOptionSize)};
2100
+ ${Ne(Go.fontSize,In.selectedOptionSize)};
2101
+ ${Ne(Go.lineHeight,In.selectedOptionSize)};
2098
2102
  }
2099
2103
 
2100
2104
  .ft-select--in-error .ft-select--selected-option {
2101
- color: ${Rn.colorError};
2105
+ color: ${In.colorError};
2102
2106
  }
2103
2107
 
2104
2108
  ft-icon {
@@ -2110,16 +2114,16 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2110
2114
  }
2111
2115
 
2112
2116
  .ft-select--filled .ft-select--input-panel {
2113
- border-radius: ${Rn.borderRadiusS} ${Rn.borderRadiusS} 0 0;
2117
+ border-radius: ${In.borderRadiusS} ${In.borderRadiusS} 0 0;
2114
2118
  }
2115
2119
 
2116
2120
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
2117
2121
  align-self: stretch;
2118
- padding-top: calc(${Rn.labelSize} + 2 * ${Rn.verticalSpacing});
2122
+ padding-top: calc(${In.labelSize} + 2 * ${In.verticalSpacing});
2119
2123
  }
2120
2124
 
2121
2125
  .ft-select--outlined .ft-select--input-panel {
2122
- border-radius: ${Rn.borderRadiusS};
2126
+ border-radius: ${In.borderRadiusS};
2123
2127
  }
2124
2128
 
2125
2129
  .ft-select--options {
@@ -2128,10 +2132,10 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2128
2132
  top: 100%;
2129
2133
  left: 0;
2130
2134
  right: 0;
2131
- color: ${Rn.optionsColor};
2132
- background: ${Rn.colorSurface};
2133
- z-index: ${Rn.optionsZIndex};
2134
- box-shadow: ${Rn.elevation02};
2135
+ color: ${In.optionsColor};
2136
+ background: ${In.colorSurface};
2137
+ z-index: ${In.optionsZIndex};
2138
+ box-shadow: ${In.elevation02};
2135
2139
  }
2136
2140
 
2137
2141
  .ft-select--fixed .ft-select--options {
@@ -2142,13 +2146,13 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2142
2146
 
2143
2147
  .ft-select--options-displayed .ft-select--options {
2144
2148
  display: block;
2145
- max-height: ${Rn.optionsHeight};
2149
+ max-height: ${In.optionsHeight};
2146
2150
  overflow-y: auto;
2147
2151
  }
2148
2152
 
2149
2153
  .ft-select--option {
2150
2154
  position: relative;
2151
- padding: 4px ${Rn.horizontalSpacing};
2155
+ padding: 4px ${In.horizontalSpacing};
2152
2156
  min-height: 32px;
2153
2157
  display: flex;
2154
2158
  align-items: center;
@@ -2160,15 +2164,15 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2160
2164
  }
2161
2165
 
2162
2166
  .ft-select--helper-text {
2163
- padding: 0 ${Rn.horizontalSpacing};
2164
- color: ${Rn.helperColor};
2167
+ padding: 0 ${In.horizontalSpacing};
2168
+ color: ${In.helperColor};
2165
2169
  }
2166
2170
 
2167
2171
  .ft-select--in-error .ft-select--helper-text {
2168
- color: ${Rn.colorError};
2172
+ color: ${In.colorError};
2169
2173
  }
2170
- `;var Un=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 Ln extends Me{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return ae``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Ln.elementDefinitions={},Un([k({type:String})],Ln.prototype,"label",void 0),Un([k({type:Object,converter:t=>t})],Ln.prototype,"value",void 0),Un([k({type:Boolean,reflect:!0})],Ln.prototype,"selected",void 0);class zn extends Me{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,i,r;let n=this.hasOptionsMenuOpen,a=this.disabled||!this.hasOptions;const s=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,l={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":a,"ft-select--options-displayed":n,"ft-select--has-option-selected":s,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return ae`
2171
- <div class="${Gi(l)}" part="container">
2174
+ `;var Ln=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 zn extends Me{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return ae``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}zn.elementDefinitions={},Ln([k({type:String})],zn.prototype,"label",void 0),Ln([k({type:Object,converter:t=>t})],zn.prototype,"value",void 0),Ln([k({type:Boolean,reflect:!0})],zn.prototype,"selected",void 0);class Wn extends Me{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,i,r;let n=this.hasOptionsMenuOpen,a=this.disabled||!this.hasOptions;const s=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,l={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":a,"ft-select--options-displayed":n,"ft-select--has-option-selected":s,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return ae`
2175
+ <div class="${qi(l)}" part="container">
2172
2176
  <div class="ft-select--main-panel" part="main-panel">
2173
2177
  <ft-input-label text="${this.label}"
2174
2178
  part="label"
@@ -2195,7 +2199,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2195
2199
  part="options"
2196
2200
  @keydown=${this.onOptionsKeyDown}
2197
2201
  innerrole="listbox">
2198
- ${so(this.options,(t=>t.value),(t=>this.renderOption(t)))}
2202
+ ${lo(this.options,(t=>t.value),(t=>this.renderOption(t)))}
2199
2203
  </div>
2200
2204
  </div>
2201
2205
  ${this.helper?ae`
@@ -2206,7 +2210,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2206
2210
  @option-change=${this.updateOptionsFromSlot}
2207
2211
  ></slot>
2208
2212
  `}renderOption(t){let e=this.selectedOption===t;return ae`
2209
- <div class="${Gi({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
2213
+ <div class="${qi({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
2210
2214
  part="option"
2211
2215
  tabindex="0"
2212
2216
  data-value="${t.value}"
@@ -2215,34 +2219,34 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2215
2219
  <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
2216
2220
  <span>${t.label}</span>
2217
2221
  </div>
2218
- `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,o;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(o=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===o||o.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let o=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,o,i,r,n;let a;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),a=null!==(i=null===(o=this.focusedOption)||void 0===o?void 0:o.previousElementSibling)&&void 0!==i?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),a=null!==(n=null===(r=this.focusedOption)||void 0===r?void 0:r.nextElementSibling)&&void 0!==n?n:this.firstOption}null==a||a.focus()}onOptionKeyDown(t,e){var o;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus())}selectOption(t){var e,o;if(!U(null===(e=this.selectedOption)||void 0===e?void 0:e.value,t.value)){this.selectedOption=t;for(let e of this.options)e.selected=e===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(o=this.selectedOption)||void 0===o?void 0:o.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}zn.elementDefinitions={"ft-input-label":En,"ft-typography":Oi,"ft-ripple":Yi,"ft-icon":cr},zn.styles=[ui,bi,In],Un([k({type:String})],zn.prototype,"label",void 0),Un([k({type:String})],zn.prototype,"helper",void 0),Un([k({type:Boolean})],zn.prototype,"outlined",void 0),Un([k({type:Boolean})],zn.prototype,"disabled",void 0),Un([k({type:Boolean})],zn.prototype,"error",void 0),Un([k({type:Boolean})],zn.prototype,"fixedMenuPosition",void 0),Un([k({type:Array})],zn.prototype,"options",void 0),Un([N()],zn.prototype,"selectedOption",void 0),Un([N()],zn.prototype,"optionsDisplayed",void 0),Un([N()],zn.prototype,"focusOptions",void 0),Un([E(".ft-select")],zn.prototype,"container",void 0),Un([E(".ft-select--options")],zn.prototype,"optionsMenu",void 0),Un([E(".ft-select--input-panel")],zn.prototype,"mainPanel",void 0),Un([E(".ft-select--option:first-child")],zn.prototype,"firstOption",void 0),Un([E(".ft-select--option:focus")],zn.prototype,"focusedOption",void 0),Un([E(".ft-select--option.ft-select--option-selected")],zn.prototype,"selectedOptionElement",void 0),Un([E(".ft-select--option:last-child")],zn.prototype,"lastOption",void 0),Un([E("slot")],zn.prototype,"optionsSlot",void 0),L("ft-select")(zn),L("ft-select-option")(Ln);const Wn={display:ke.create("--ft-skeleton--display","","DISPLAY","block"),width:ke.create("--ft-skeleton--width","","SIZE","100%"),height:ke.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:ke.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:ke.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:ke.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:ke.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:ke.external(Ue.borderRadiusM,"Design system")},Bn=St`
2222
+ `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,o;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(o=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===o||o.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let o=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,o,i,r,n;let a;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),a=null!==(i=null===(o=this.focusedOption)||void 0===o?void 0:o.previousElementSibling)&&void 0!==i?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),a=null!==(n=null===(r=this.focusedOption)||void 0===r?void 0:r.nextElementSibling)&&void 0!==n?n:this.firstOption}null==a||a.focus()}onOptionKeyDown(t,e){var o;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus())}selectOption(t){var e,o;if(!U(null===(e=this.selectedOption)||void 0===e?void 0:e.value,t.value)){this.selectedOption=t;for(let e of this.options)e.selected=e===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(o=this.selectedOption)||void 0===o?void 0:o.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}Wn.elementDefinitions={"ft-input-label":Rn,"ft-typography":wi,"ft-ripple":Ji,"ft-icon":hr},Wn.styles=[bi,gi,Un],Ln([k({type:String})],Wn.prototype,"label",void 0),Ln([k({type:String})],Wn.prototype,"helper",void 0),Ln([k({type:Boolean})],Wn.prototype,"outlined",void 0),Ln([k({type:Boolean})],Wn.prototype,"disabled",void 0),Ln([k({type:Boolean})],Wn.prototype,"error",void 0),Ln([k({type:Boolean})],Wn.prototype,"fixedMenuPosition",void 0),Ln([k({type:Array})],Wn.prototype,"options",void 0),Ln([N()],Wn.prototype,"selectedOption",void 0),Ln([N()],Wn.prototype,"optionsDisplayed",void 0),Ln([N()],Wn.prototype,"focusOptions",void 0),Ln([E(".ft-select")],Wn.prototype,"container",void 0),Ln([E(".ft-select--options")],Wn.prototype,"optionsMenu",void 0),Ln([E(".ft-select--input-panel")],Wn.prototype,"mainPanel",void 0),Ln([E(".ft-select--option:first-child")],Wn.prototype,"firstOption",void 0),Ln([E(".ft-select--option:focus")],Wn.prototype,"focusedOption",void 0),Ln([E(".ft-select--option.ft-select--option-selected")],Wn.prototype,"selectedOptionElement",void 0),Ln([E(".ft-select--option:last-child")],Wn.prototype,"lastOption",void 0),Ln([E("slot")],Wn.prototype,"optionsSlot",void 0),L("ft-select")(Wn),L("ft-select-option")(zn);const Bn={display:ke.create("--ft-skeleton--display","","DISPLAY","block"),width:ke.create("--ft-skeleton--width","","SIZE","100%"),height:ke.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:ke.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:ke.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:ke.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:ke.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:ke.external(Ue.borderRadiusM,"Design system")},Fn=St`
2219
2223
  :host {
2220
- width: ${Wn.width};
2221
- height: ${Wn.height};
2222
- display: ${Wn.display};
2224
+ width: ${Bn.width};
2225
+ height: ${Bn.height};
2226
+ display: ${Bn.display};
2223
2227
  overflow: hidden;
2224
- border-radius: ${Wn.borderRadiusM};
2228
+ border-radius: ${Bn.borderRadiusM};
2225
2229
  background: linear-gradient(
2226
2230
  90deg,
2227
2231
  transparent,
2228
- ${Wn.glareColor} calc(0.45 * ${Wn.glareWidth}),
2229
- ${Wn.glareColor} calc(0.55 * ${Wn.glareWidth}),
2230
- transparent ${Wn.glareWidth}
2231
- ), ${Wn.backgroundColor};
2232
+ ${Bn.glareColor} calc(0.45 * ${Bn.glareWidth}),
2233
+ ${Bn.glareColor} calc(0.55 * ${Bn.glareWidth}),
2234
+ transparent ${Bn.glareWidth}
2235
+ ), ${Bn.backgroundColor};
2232
2236
  background-repeat: repeat-y;
2233
2237
  background-size: 100vw 100vh;
2234
2238
  background-attachment: fixed;
2235
- background-position: calc(${Wn.glareWidth} * -1) 0;
2236
- animation: shine ${Wn.animationDuration} infinite;
2239
+ background-position: calc(${Bn.glareWidth} * -1) 0;
2240
+ animation: shine ${Bn.animationDuration} infinite;
2237
2241
  animation-timing-function: linear;
2238
2242
  }
2239
2243
 
2240
2244
  @keyframes shine {
2241
2245
  to {
2242
- background-position: calc(100vw + ${Wn.glareWidth}) 0, calc(${Wn.glareWidth} * -1) 0;
2246
+ background-position: calc(100vw + ${Bn.glareWidth}) 0, calc(${Bn.glareWidth} * -1) 0;
2243
2247
  }
2244
2248
  }
2245
- `,Fn={height:ke.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:ke.extend("--ft-search-bar-border-radius","",Ue.borderRadiusS),mobileOpenPosition:ke.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:ke.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:ke.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:ke.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:ke.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:ke.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:ke.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:ke.external(Ue.colorSurface,"Design system"),colorOnSurface:ke.external(Ue.colorOnSurface,"Design system"),colorOnSurfaceMedium:ke.external(Ue.colorOnSurfaceMedium,"Design system"),colorOutline:ke.external(Ue.colorOutline,"Design system"),colorPrimary:ke.external(Ue.colorPrimary,"Design system"),elevation02:ke.external(Ue.elevation02,"Design system"),buttonColor:ke.external(Mi.color,"Button"),buttonRippleColor:ke.external(Mi.rippleColor,"Button")},Dn=St`
2249
+ `,Dn={height:ke.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:ke.extend("--ft-search-bar-border-radius","",Ue.borderRadiusS),mobileOpenPosition:ke.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:ke.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:ke.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:ke.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:ke.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:ke.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:ke.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:ke.external(Ue.colorSurface,"Design system"),colorOnSurface:ke.external(Ue.colorOnSurface,"Design system"),colorOnSurfaceMedium:ke.external(Ue.colorOnSurfaceMedium,"Design system"),colorOutline:ke.external(Ue.colorOutline,"Design system"),colorPrimary:ke.external(Ue.colorPrimary,"Design system"),elevation02:ke.external(Ue.elevation02,"Design system"),buttonColor:ke.external(Ai.color,"Button"),buttonRippleColor:ke.external(Ai.rippleColor,"Button")},Kn=St`
2246
2250
  * {
2247
2251
  box-sizing: border-box;
2248
2252
  }
@@ -2251,7 +2255,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2251
2255
  display: flex;
2252
2256
  flex-direction: column;
2253
2257
  gap: 8px;
2254
- color: ${Fn.colorOnSurface};
2258
+ color: ${Dn.colorOnSurface};
2255
2259
  outline: none;
2256
2260
  }
2257
2261
 
@@ -2260,21 +2264,21 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2260
2264
  }
2261
2265
 
2262
2266
  .ft-search-bar--mobile-menu-open {
2263
- position: ${Fn.mobileOpenPosition};
2264
- top: ${Fn.mobileOpenTop};
2265
- bottom: ${Fn.mobileOpenBottom};
2266
- left: ${Fn.mobileOpenLeft};
2267
- right: ${Fn.mobileOpenRight};
2268
- z-index: ${Fn.floatingZIndex};
2267
+ position: ${Dn.mobileOpenPosition};
2268
+ top: ${Dn.mobileOpenTop};
2269
+ bottom: ${Dn.mobileOpenBottom};
2270
+ left: ${Dn.mobileOpenLeft};
2271
+ right: ${Dn.mobileOpenRight};
2272
+ z-index: ${Dn.floatingZIndex};
2269
2273
  padding: 16px;
2270
2274
  }
2271
2275
 
2272
2276
  .ft-search-bar--mobile-menu-open:not(.ft-search-bar--forced-open) {
2273
- background: ${Fn.colorSurface};
2277
+ background: ${Dn.colorSurface};
2274
2278
  }
2275
2279
 
2276
2280
  .ft-search-bar--mobile-menu-open.ft-search-bar--forced-open {
2277
- position: ${Fn.mobileOpenPosition.get("static")};
2281
+ position: ${Dn.mobileOpenPosition.get("static")};
2278
2282
  }
2279
2283
 
2280
2284
  .ft-search-bar {
@@ -2282,20 +2286,20 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2282
2286
  display: flex;
2283
2287
  flex-direction: row;
2284
2288
  align-items: center;
2285
- height: ${Fn.height};
2289
+ height: ${Dn.height};
2286
2290
 
2287
- background: ${Fn.colorSurface};
2288
- border: 1px solid ${Fn.colorOutline};
2289
- border-radius: ${Fn.borderRadius};
2291
+ background: ${Dn.colorSurface};
2292
+ border: 1px solid ${Dn.colorOutline};
2293
+ border-radius: ${Dn.borderRadius};
2290
2294
  }
2291
2295
 
2292
2296
  .ft-search-bar--skeleton {
2293
- ${Ne(Wn.height,Fn.height)};
2294
- ${Ne(Wn.borderRadiusM,Fn.borderRadius)};
2297
+ ${Ne(Bn.height,Dn.height)};
2298
+ ${Ne(Bn.borderRadiusM,Dn.borderRadius)};
2295
2299
  }
2296
2300
 
2297
2301
  .ft-search-bar--floating-panel-open .ft-search-bar {
2298
- border-radius: ${Fn.borderRadius} ${Fn.borderRadius} 0 0;
2302
+ border-radius: ${Dn.borderRadius} ${Dn.borderRadius} 0 0;
2299
2303
  }
2300
2304
 
2301
2305
  .ft-search-bar--input-container {
@@ -2313,7 +2317,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2313
2317
  align-self: stretch;
2314
2318
  display: grid;
2315
2319
  padding: 0 8px;
2316
- border-radius: ${Fn.borderRadius};
2320
+ border-radius: ${Dn.borderRadius};
2317
2321
  }
2318
2322
 
2319
2323
  .ft-search-bar--dense .ft-search-bar--input-outline {
@@ -2322,7 +2326,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2322
2326
  }
2323
2327
 
2324
2328
  .ft-search-bar--input-container:focus-within .ft-search-bar--input-outline {
2325
- outline: 2px solid ${Fn.colorPrimary};
2329
+ outline: 2px solid ${Dn.colorPrimary};
2326
2330
  }
2327
2331
 
2328
2332
  .ft-search-bar--input {
@@ -2330,12 +2334,12 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2330
2334
  flex-grow: 1;
2331
2335
  border: none;
2332
2336
  background-color: transparent;
2333
- color: ${Fn.colorOnSurface};
2337
+ color: ${Dn.colorOnSurface};
2334
2338
  outline: none;
2335
2339
  }
2336
2340
 
2337
2341
  .ft-search-bar--input::placeholder {
2338
- color: ${Fn.colorOnSurfaceMedium};
2342
+ color: ${Dn.colorOnSurfaceMedium};
2339
2343
  }
2340
2344
 
2341
2345
  .ft-search-bar--actions {
@@ -2345,18 +2349,18 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2345
2349
  align-items: center;
2346
2350
  height: 100%;
2347
2351
 
2348
- ${Ne(Ji.zIndex,`calc(${Fn.floatingZIndex} + 1)`)};
2352
+ ${Ne(Xi.zIndex,`calc(${Dn.floatingZIndex} + 1)`)};
2349
2353
  }
2350
2354
 
2351
2355
  .ft-search-bar > ft-button,
2352
2356
  .ft-search-bar--actions ft-button {
2353
2357
  flex-shrink: 0;
2354
- ${Ne(Mi.backgroundColor,"transparent")};
2358
+ ${Ne(Ai.backgroundColor,"transparent")};
2355
2359
  }
2356
2360
 
2357
2361
  .ft-search-bar--left-action {
2358
- ${Ne(Mi.borderRadius,`calc(${Fn.borderRadius} - 1px) 0 0 calc(${Fn.borderRadius} - 1px)`)};
2359
- border-right: 1px solid ${Fn.colorOutline};
2362
+ ${Ne(Ai.borderRadius,`calc(${Dn.borderRadius} - 1px) 0 0 calc(${Dn.borderRadius} - 1px)`)};
2363
+ border-right: 1px solid ${Dn.colorOutline};
2360
2364
  height: 100%;
2361
2365
  }
2362
2366
 
@@ -2365,7 +2369,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2365
2369
  }
2366
2370
 
2367
2371
  .ft-search-bar--floating-panel-open .ft-search-bar--left-action {
2368
- ${Ne(Mi.borderRadius,`calc(${Fn.borderRadius} - 1px) 0 0 0`)};
2372
+ ${Ne(Ai.borderRadius,`calc(${Dn.borderRadius} - 1px) 0 0 0`)};
2369
2373
  }
2370
2374
 
2371
2375
  .ft-search-bar .ft-search-bar--launch-search,
@@ -2375,13 +2379,13 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2375
2379
 
2376
2380
  .ft-search-bar--separator {
2377
2381
  height: 20px;
2378
- border-right: 1px solid ${Fn.colorOutline};
2382
+ border-right: 1px solid ${Dn.colorOutline};
2379
2383
  }
2380
2384
 
2381
2385
  .ft-search-bar--left-action.ft-search-bar--content-locale {
2382
- ${Ne(kn.borderColor,"transparent")};
2383
- ${Ne(kn.borderRadiusS,`calc(${Fn.borderRadius} - 1px)`)};
2384
- ${Ne(Rn.selectedOptionColor,Fn.buttonColor)};
2386
+ ${Ne(Nn.borderColor,"transparent")};
2387
+ ${Ne(Nn.borderRadiusS,`calc(${Dn.borderRadius} - 1px)`)};
2388
+ ${Ne(In.selectedOptionColor,Dn.buttonColor)};
2385
2389
  }
2386
2390
 
2387
2391
  .ft-search-bar--left-action.ft-search-bar--content-locale,
@@ -2398,7 +2402,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2398
2402
  }
2399
2403
 
2400
2404
  .ft-search-bar--left-action.ft-search-bar--content-locale::part(selected-value) {
2401
- border-radius: calc(${Fn.borderRadius} - 1px) 0 0 calc(${Fn.borderRadius} - 1px);
2405
+ border-radius: calc(${Dn.borderRadius} - 1px) 0 0 calc(${Dn.borderRadius} - 1px);
2402
2406
  }
2403
2407
 
2404
2408
  [part="content-locale-selector"] {
@@ -2407,7 +2411,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2407
2411
  flex-direction: column;
2408
2412
  max-height: 100%;
2409
2413
  max-width: 100%;
2410
- color: ${Vr};
2414
+ color: ${Gr};
2411
2415
  }
2412
2416
 
2413
2417
  [part="content-locale-selector"] > ft-radio-group {
@@ -2425,7 +2429,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2425
2429
  flex-shrink: 0;
2426
2430
  padding: 0 10px;
2427
2431
  margin-bottom: 8px;
2428
- ${Ne(Oo.fontSize,"14px")};
2432
+ ${Ne(wo.fontSize,"14px")};
2429
2433
  }
2430
2434
 
2431
2435
  [part="content-locale-selector-label"] {
@@ -2433,18 +2437,18 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2433
2437
  flex-shrink: 1;
2434
2438
  flex-grow: 1;
2435
2439
  word-break: break-word;
2436
- ${Ne(Oo.lineHeight,"22px")};
2437
- ${Ne(Oo.fontWeight,"bold")};
2440
+ ${Ne(wo.lineHeight,"22px")};
2441
+ ${Ne(wo.fontWeight,"bold")};
2438
2442
  }
2439
2443
 
2440
- `,Kn=St`
2444
+ `,Zn=St`
2441
2445
  .ft-search-bar--presets {
2442
2446
  min-width: 200px;
2443
2447
  }
2444
2448
 
2445
2449
  .ft-search-bar--desktop-menu .ft-search-bar--presets {
2446
2450
  margin-right: auto;
2447
- ${Ne(Rn.optionsZIndex,"2")};
2451
+ ${Ne(In.optionsZIndex,"2")};
2448
2452
  }
2449
2453
 
2450
2454
  .ft-search-bar--desktop-menu {
@@ -2497,8 +2501,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2497
2501
 
2498
2502
  .ft-search-bar--desktop-menu .ft-search-bar--filters-container {
2499
2503
  display: block;
2500
- height: ${Fn.desktopFiltersHeight};
2501
- ${Ne(Ar.gap,"16px")};
2504
+ height: ${Dn.desktopFiltersHeight};
2505
+ ${Ne(Pr.gap,"16px")};
2502
2506
  }
2503
2507
 
2504
2508
  .ft-search-bar--desktop-menu ft-filter {
@@ -2513,15 +2517,15 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2513
2517
  }
2514
2518
 
2515
2519
  .ft-search-bar--desktop-menu [data-filters-count="2"] ft-filter {
2516
- max-width: calc(50% - ${Ar.gap} / 2);
2520
+ max-width: calc(50% - ${Pr.gap} / 2);
2517
2521
  }
2518
2522
 
2519
2523
  .ft-search-bar--desktop-menu [data-filters-count="3"] ft-filter {
2520
- max-width: max(250px, calc(33% - 2 * ${Ar.gap} / 3));
2524
+ max-width: max(250px, calc(33% - 2 * ${Pr.gap} / 3));
2521
2525
  }
2522
2526
 
2523
2527
  .ft-search-bar--desktop-menu [data-filters-count="4"] ft-filter {
2524
- max-width: max(250px, calc(25% - 3 * ${Ar.gap} / 4));
2528
+ max-width: max(250px, calc(25% - 3 * ${Pr.gap} / 4));
2525
2529
  }
2526
2530
 
2527
2531
  .ft-search-bar--hierarchical-filter {
@@ -2578,7 +2582,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2578
2582
  .ft-search-bar--filter-label-values {
2579
2583
  flex-grow: 0;
2580
2584
  flex-shrink: 1;
2581
- color: ${Fn.colorOnSurfaceMedium};
2585
+ color: ${Dn.colorOnSurfaceMedium};
2582
2586
  }
2583
2587
 
2584
2588
  ft-accordion-item::part(toggle) {
@@ -2598,12 +2602,12 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2598
2602
  .ft-search-bar--desktop-menu .ft-search-bar--launch-search {
2599
2603
  margin: 0;
2600
2604
  }
2601
- `;class Zn extends Me{render(){return ae`
2602
- `}}Zn.elementDefinitions={},Zn.styles=Bn,L("ft-skeleton")(Zn);class Mn{constructor(t,o=300){this.searchBar=t,this.updateDebouncer=new e(o)}render(){const t=this.searchBar.recentSearches.filter((t=>t.toLowerCase().includes(this.searchBar.query.toLowerCase()))),e=this.searchBar.suggestions.length>0||t.length>0;return ae`
2605
+ `;class Mn extends Me{render(){return ae`
2606
+ `}}Mn.elementDefinitions={},Mn.styles=Fn,L("ft-skeleton")(Mn);class An{constructor(t,o=300){this.searchBar=t,this.updateDebouncer=new e(o)}render(){const t=this.searchBar.recentSearches.filter((t=>t.toLowerCase().includes(this.searchBar.query.toLowerCase()))),e=this.searchBar.suggestions.length>0||t.length>0;return ae`
2603
2607
  <div class="ft-search-bar--suggestions ft-word-wrap ${e?"ft-search-bar--suggestions-not-empty":""}"
2604
2608
  part="suggestions-container"
2605
2609
  @keydown=${t=>this.onSuggestKeyDown(t)}>
2606
- ${so(t.slice(0,5),(t=>t),(t=>ae`
2610
+ ${lo(t.slice(0,5),(t=>t),(t=>ae`
2607
2611
  <a href="${this.searchBar.searchRequestSerializer({...this.searchBar.request,query:t})}"
2608
2612
  part="suggestions"
2609
2613
  class="ft-search-bar--suggestion ft-search-bar--recent-search"
@@ -2621,7 +2625,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2621
2625
  @click=${e=>this.removeRecentSearch(e,t)}></ft-button>
2622
2626
  </a>
2623
2627
  `))}
2624
- ${so(this.searchBar.suggestions,(t=>t.value),(t=>ae`
2628
+ ${lo(this.searchBar.suggestions,(t=>t.value),(t=>ae`
2625
2629
  <a href="${this.searchBar.searchRequestSerializer({...this.searchBar.request,query:t.value})}"
2626
2630
  part="suggestions"
2627
2631
  class="ft-search-bar--suggestion"
@@ -2633,9 +2637,9 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2633
2637
  </a>
2634
2638
  `))}
2635
2639
  </div>
2636
- `}update(){return new Promise(((t,e)=>{this.updateDebouncer.run((async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then((t=>t.suggestions)).catch((()=>[])):[],t()}))}))}onSuggestKeyDown(t){var e,o,i,r,n,a;switch(t.key){case"ArrowUp":null===(i=null!==(o=null===(e=this.getFocusedSuggestionElement())||void 0===e?void 0:e.previousElementSibling)&&void 0!==o?o:this.getLastSuggestionElement())||void 0===i||i.focus(),t.preventDefault(),t.stopPropagation();break;case"ArrowDown":null===(a=null!==(n=null===(r=this.getFocusedSuggestionElement())||void 0===r?void 0:r.nextElementSibling)&&void 0!==n?n:this.getFirstSuggestionElement())||void 0===a||a.focus(),t.preventDefault(),t.stopPropagation()}}onSuggestKeyUp(t,e){"Enter"!==t.key&&" "!==t.key||this.onSuggestSelected(t,e)}onSuggestClick(t,e){t.ctrlKey||t.metaKey||this.onSuggestSelected(t,e)}onSuggestSelected(t,e){t.preventDefault(),this.searchBar.setQuery(e),this.searchBar.launchSearch()}removeRecentSearch(t,e){var o,i;t.preventDefault(),t.stopPropagation();let r=t.target.closest(".ft-search-bar--suggestion");const n=null!==(i=null!==(o=null==r?void 0:r.previousElementSibling)&&void 0!==o?o:null==r?void 0:r.nextElementSibling)&&void 0!==i?i:this.searchBar.input;null==n||n.focus(),this.searchBar.recentSearches=this.searchBar.recentSearches.filter((t=>t.toLowerCase()!==e.toLowerCase())),this.searchBar.saveRecentSearches()}getIcon(t){const e="DOCUMENT"===t.type?sr.file_format:sr.fluid_topics;let o;switch(t.type){case"MAP":o="BOOK"===t.editorialType?ir.BOOK:ir.ARTICLE;break;case"DOCUMENT":o=function(t,e){var o,i,r,n;t=(null!=t?t:"").toLowerCase(),e=(null!=e?e:"").toLowerCase();const[a,s]=((null!==(o=ar.get(t))&&void 0!==o?o:t)+"/").split("/");return null!==(n=null!==(r=null!==(i=nr.get(s))&&void 0!==i?i:nr.get(e))&&void 0!==r?r:nr.get(a))&&void 0!==n?n:rr.UNKNOWN}(t.mimeType,t.filenameExtension);break;case"TOPIC":o=ir.TOPICS}return ae`
2640
+ `}update(){return new Promise(((t,e)=>{this.updateDebouncer.run((async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then((t=>t.suggestions)).catch((()=>[])):[],t()}))}))}onSuggestKeyDown(t){var e,o,i,r,n,a;switch(t.key){case"ArrowUp":null===(i=null!==(o=null===(e=this.getFocusedSuggestionElement())||void 0===e?void 0:e.previousElementSibling)&&void 0!==o?o:this.getLastSuggestionElement())||void 0===i||i.focus(),t.preventDefault(),t.stopPropagation();break;case"ArrowDown":null===(a=null!==(n=null===(r=this.getFocusedSuggestionElement())||void 0===r?void 0:r.nextElementSibling)&&void 0!==n?n:this.getFirstSuggestionElement())||void 0===a||a.focus(),t.preventDefault(),t.stopPropagation()}}onSuggestKeyUp(t,e){"Enter"!==t.key&&" "!==t.key||this.onSuggestSelected(t,e)}onSuggestClick(t,e){t.ctrlKey||t.metaKey||this.onSuggestSelected(t,e)}onSuggestSelected(t,e){t.preventDefault(),this.searchBar.setQuery(e),this.searchBar.launchSearch()}removeRecentSearch(t,e){var o,i;t.preventDefault(),t.stopPropagation();let r=t.target.closest(".ft-search-bar--suggestion");const n=null!==(i=null!==(o=null==r?void 0:r.previousElementSibling)&&void 0!==o?o:null==r?void 0:r.nextElementSibling)&&void 0!==i?i:this.searchBar.input;null==n||n.focus(),this.searchBar.recentSearches=this.searchBar.recentSearches.filter((t=>t.toLowerCase()!==e.toLowerCase())),this.searchBar.saveRecentSearches()}getIcon(t){const e="DOCUMENT"===t.type?lr.file_format:lr.fluid_topics;let o;switch(t.type){case"MAP":o="BOOK"===t.editorialType?rr.BOOK:rr.ARTICLE;break;case"DOCUMENT":o=function(t,e){var o,i,r,n;t=(null!=t?t:"").toLowerCase(),e=(null!=e?e:"").toLowerCase();const[a,s]=((null!==(o=sr.get(t))&&void 0!==o?o:t)+"/").split("/");return null!==(n=null!==(r=null!==(i=ar.get(s))&&void 0!==i?i:ar.get(e))&&void 0!==r?r:ar.get(a))&&void 0!==n?n:nr.UNKNOWN}(t.mimeType,t.filenameExtension);break;case"TOPIC":o=rr.TOPICS}return ae`
2637
2641
  <ft-icon .variant="${e}" .value="${o}" part="suggestion-icon"></ft-icon>
2638
- `}getFocusedSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion:focus-within")}getLastSuggestionElement(){let t=this.searchBar.querySelectorAll(".ft-search-bar--suggestion");return t.length>0?t[t.length-1]:null}getFirstSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion")}focusFirstSuggestion(){var t;null===(t=this.getFirstSuggestionElement())||void 0===t||t.focus()}}Mn.styles=[Pe,St`
2642
+ `}getFocusedSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion:focus-within")}getLastSuggestionElement(){let t=this.searchBar.querySelectorAll(".ft-search-bar--suggestion");return t.length>0?t[t.length-1]:null}getFirstSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion")}focusFirstSuggestion(){var t;null===(t=this.getFirstSuggestionElement())||void 0===t||t.focus()}}An.styles=[je,St`
2639
2643
  .ft-search-bar--mobile .ft-search-bar--suggestions {
2640
2644
  flex-grow: 1;
2641
2645
  flex-shrink: 1;
@@ -2644,7 +2648,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2644
2648
  }
2645
2649
 
2646
2650
  .ft-search-bar--mobile-menu-open .ft-search-bar--suggestions {
2647
- border-top: 1px solid ${Fn.colorOutline};
2651
+ border-top: 1px solid ${Dn.colorOutline};
2648
2652
  }
2649
2653
 
2650
2654
  .ft-search-bar--mobile-menu-open .ft-search-bar--suggestions {
@@ -2654,15 +2658,15 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2654
2658
  .ft-search-bar--floating-panel,
2655
2659
  .ft-search-bar--desktop .ft-search-bar--suggestions {
2656
2660
  position: absolute;
2657
- z-index: ${Fn.floatingZIndex};
2661
+ z-index: ${Dn.floatingZIndex};
2658
2662
  top: 100%;
2659
2663
  left: -1px;
2660
2664
  right: -1px;
2661
2665
  display: none;
2662
- background: ${Fn.colorSurface};
2663
- border: 1px solid ${Fn.colorOutline};
2664
- border-radius: 0 0 ${Fn.borderRadius} ${Fn.borderRadius};
2665
- box-shadow: ${Fn.elevation02};
2666
+ background: ${Dn.colorSurface};
2667
+ border: 1px solid ${Dn.colorOutline};
2668
+ border-radius: 0 0 ${Dn.borderRadius} ${Dn.borderRadius};
2669
+ box-shadow: ${Dn.elevation02};
2666
2670
  outline: none;
2667
2671
  }
2668
2672
 
@@ -2682,7 +2686,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2682
2686
  padding: 8px;
2683
2687
  gap: 8px;
2684
2688
  cursor: pointer;
2685
- color: ${Fn.colorOnSurface};
2689
+ color: ${Dn.colorOnSurface};
2686
2690
  min-height: 52px;
2687
2691
  }
2688
2692
 
@@ -2699,7 +2703,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2699
2703
  }
2700
2704
 
2701
2705
  .ft-search-bar--recent-search + .ft-search-bar--suggestion:not(.ft-search-bar--recent-search) {
2702
- border-top: 1px solid ${Fn.colorOutline};
2706
+ border-top: 1px solid ${Dn.colorOutline};
2703
2707
  }
2704
2708
 
2705
2709
  .ft-search-bar--suggestion ft-typography {
@@ -2707,7 +2711,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2707
2711
  flex-grow: 1;
2708
2712
  flex-shrink: 1;
2709
2713
  }
2710
- `];class An{constructor(t){this.searchBar=t}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return ae``;const t=this.searchBar.isMobile(),e=!t&&this.searchBar.dense||t&&this.searchBar.isMobileMenuOpen(),o=ae`
2714
+ `];class Pn{constructor(t){this.searchBar=t}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return ae``;const t=this.searchBar.isMobile(),e=!t&&this.searchBar.dense||t&&this.searchBar.isMobileMenuOpen(),o=ae`
2711
2715
  ${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||t)?ae`
2712
2716
  <ft-chip part="selected-filters selected-filter-ft-locale"
2713
2717
  ?dense=${this.searchBar.dense&&!t}
@@ -2718,7 +2722,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2718
2722
  ${this.getLocaleLabel(this.searchBar.contentLocale)}
2719
2723
  </ft-chip>
2720
2724
  `:null}
2721
- ${so(this.searchBar.facets,(t=>t.key),(o=>{const i=function(t){return I(t.rootNodes,(t=>t.selected?[]:t.childNodes)).filter((t=>t.selected)).map((t=>t.value))}(o);return so(i,(r=>{let n=o.label+": "+function(t){return wi(t).split("|").join(" > ")}(r);const a=o.key.replace(":","-"),s=ae`
2725
+ ${lo(this.searchBar.facets,(t=>t.key),(o=>{const i=function(t){return I(t.rootNodes,(t=>t.selected?[]:t.childNodes)).filter((t=>t.selected)).map((t=>t.value))}(o);return lo(i,(r=>{let n=o.label+": "+function(t){return Si(t).split("|").join(" > ")}(r);const a=o.key.replace(":","-"),s=ae`
2722
2726
  <ft-chip
2723
2727
  part="selected-filters selected-filter-${a}"
2724
2728
  ?dense=${this.searchBar.dense&&!t}
@@ -2731,7 +2735,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2731
2735
  @icon-click=${()=>this.searchBar.setFilter(o.key,i.filter((t=>t!==r)))}
2732
2736
  data-key="${o.key}"
2733
2737
  data-value="${r}">
2734
- ${function(t){return wi(t).split("|").pop()}(r)}
2738
+ ${function(t){return Si(t).split("|").pop()}(r)}
2735
2739
  </ft-chip>
2736
2740
  `;return e?s:ae`
2737
2741
  <ft-tooltip inline text="${n}">
@@ -2757,7 +2761,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2757
2761
  <div class="ft-search-bar--selected-filters" part="selected-filters-container">
2758
2762
  ${o}
2759
2763
  </div>
2760
- `}openMobileFilters(t){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=t)}getLocaleLabel(t){var e;return null!==(e=this.searchBar.availableContentLocales.filter((e=>{var o;return(null!==(o=e.lang)&&void 0!==o?o:"").toLowerCase()===(null!=t?t:"").toLowerCase()})).map((t=>t.label)).pop())&&void 0!==e?e:t}}An.styles=St`
2764
+ `}openMobileFilters(t){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=t)}getLocaleLabel(t){var e;return null!==(e=this.searchBar.availableContentLocales.filter((e=>{var o;return(null!==(o=e.lang)&&void 0!==o?o:"").toLowerCase()===(null!=t?t:"").toLowerCase()})).map((t=>t.label)).pop())&&void 0!==e?e:t}}Pn.styles=St`
2761
2765
  .ft-search-bar--selected-filters:not(ft-snap-scroll) {
2762
2766
  flex-shrink: 0;
2763
2767
  display: flex;
@@ -2768,7 +2772,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2768
2772
 
2769
2773
  ft-snap-scroll.ft-search-bar--selected-filters {
2770
2774
  overflow: hidden;
2771
- ${Ne(Ar.gap,"4px")};
2775
+ ${Ne(Pr.gap,"4px")};
2772
2776
  }
2773
2777
 
2774
2778
  ft-snap-scroll.ft-search-bar--selected-filters::part(content) {
@@ -2776,8 +2780,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2776
2780
  }
2777
2781
 
2778
2782
  .ft-search-bar--desktop ft-snap-scroll.ft-search-bar--selected-filters {
2779
- ${Ne(gn.iconSize,"17px")};
2780
- ${Ne(gn.fontSize,"12px")};
2783
+ ${Ne(yn.iconSize,"17px")};
2784
+ ${Ne(yn.fontSize,"12px")};
2781
2785
  }
2782
2786
 
2783
2787
  .ft-search-bar--selected-filters * {
@@ -2787,8 +2791,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2787
2791
  .ft-search-bar--selected-filters ft-chip {
2788
2792
  flex-grow: 0;
2789
2793
  }
2790
- `;class Pn{constructor(t,e,o){this.searchBar=t,this.selectedFacetsManager=null!=e?e:new An(t),this.suggestManager=null!=o?o:new Mn(t)}render(){const t={"ft-search-bar--container":!0,"ft-search-bar--mobile":!0,"ft-search-bar--mobile-menu-open":this.searchBar.isMobileMenuOpen(),"ft-search-bar--forced-open":this.searchBar.forceMobileMenuOpen};return ae`
2791
- <div class="${Gi(t)}" part="container" tabindex="-1">
2794
+ `;class jn{constructor(t,e,o){this.searchBar=t,this.selectedFacetsManager=null!=e?e:new Pn(t),this.suggestManager=null!=o?o:new An(t)}render(){const t={"ft-search-bar--container":!0,"ft-search-bar--mobile":!0,"ft-search-bar--mobile-menu-open":this.searchBar.isMobileMenuOpen(),"ft-search-bar--forced-open":this.searchBar.forceMobileMenuOpen};return ae`
2795
+ <div class="${qi(t)}" part="container" tabindex="-1">
2792
2796
  <div class="ft-search-bar">
2793
2797
  <div class="ft-search-bar--input-container" part="input-container">
2794
2798
  <div class="ft-search-bar--input-outline" part="input-outline">
@@ -2836,10 +2840,10 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2836
2840
  @click=${()=>{var t;return this.searchBar.isMobileMenuOpen()?this.searchBar.launchSearch():null===(t=this.searchBar.input)||void 0===t?void 0:t.focus()}}
2837
2841
  ></ft-button>
2838
2842
  </div>
2839
- `}onSearchBarKeyUp(t){const e=t.composedPath()[0];this.searchBar.query=e.value,"Enter"===t.key&&this.searchBar.launchSearch()}}Pn.styles=St`
2843
+ `}onSearchBarKeyUp(t){const e=t.composedPath()[0];this.searchBar.query=e.value,"Enter"===t.key&&this.searchBar.launchSearch()}}jn.styles=St`
2840
2844
 
2841
- `;class jn{constructor(t,e,o){this.searchBar=t,this.selectedFacetsManager=null!=e?e:new An(t),this.suggestManager=null!=o?o:new Mn(t)}render(){const t={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen};return ae`
2842
- <div class="${Gi(t)}" part="container" tabindex="-1">
2845
+ `;class Hn{constructor(t,e,o){this.searchBar=t,this.selectedFacetsManager=null!=e?e:new Pn(t),this.suggestManager=null!=o?o:new An(t)}render(){const t={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen};return ae`
2846
+ <div class="${qi(t)}" part="container" tabindex="-1">
2843
2847
  <div class="ft-search-bar" part="search-bar">
2844
2848
  ${this.renderSearchBarLeftAction()}
2845
2849
  <div class="ft-search-bar--input-container" part="input-container" tabindex="-1">
@@ -2877,7 +2881,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2877
2881
  part="content-locale select-ft-locale"
2878
2882
  .exportpartsPrefixes=${["content-locale","select-ft-locale"]}
2879
2883
  @change=${t=>this.searchBar.contentLocale=null==t.detail?void 0:t.detail}>
2880
- ${so(this.searchBar.availableContentLocales,(t=>t.lang),(t=>ae`
2884
+ ${lo(this.searchBar.availableContentLocales,(t=>t.lang),(t=>ae`
2881
2885
  <ft-select-option .value=${t.lang}
2882
2886
  label="${t.label}"
2883
2887
  ?selected=${t.lang===this.searchBar.contentLocale}>
@@ -2905,9 +2909,9 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2905
2909
  @click=${()=>this.searchBar.launchSearch()}
2906
2910
  ></ft-button>
2907
2911
  </div>
2908
- `}onSearchBarKeyDown(t){var e;switch(t.key){case"Escape":this.searchBar.mobileMenuOpen=!1,null===(e=this.searchBar.input)||void 0===e||e.blur();break;case"ArrowDown":t.stopPropagation(),t.preventDefault(),this.suggestManager.focusFirstSuggestion()}}onSearchBarKeyUp(t){const e=t.composedPath()[0];this.searchBar.query=e.value,"Enter"===t.key&&this.searchBar.launchSearch()}}jn.styles=St`
2912
+ `}onSearchBarKeyDown(t){var e;switch(t.key){case"Escape":this.searchBar.mobileMenuOpen=!1,null===(e=this.searchBar.input)||void 0===e||e.blur();break;case"ArrowDown":t.stopPropagation(),t.preventDefault(),this.suggestManager.focusFirstSuggestion()}}onSearchBarKeyUp(t){const e=t.composedPath()[0];this.searchBar.query=e.value,"Enter"===t.key&&this.searchBar.launchSearch()}}Hn.styles=St`
2909
2913
 
2910
- `;var Hn=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};null==window.fluidtopics&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");const Tn={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove",back:"Back"};class _n extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}}class Vn extends CustomEvent{constructor(t){super("change",{detail:t})}}const Gn=()=>{};class qn extends Me{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new He(Tn,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=t=>function(t,e){var o;const i=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");i.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${i.toString()}`).href}(this.baseUrl,t),this.searchFilters=[],this.sizeCategory=lo.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.suggestManager=new Mn(this),this.selectedFacetsManager=new An(this),this.desktopSearchBarManager=new jn(this),this.mobileSearchBarManager=new Pn(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new e(10),this.updateLocalesDebouncer=new e(10),this.facetsLoaded=!1,this.updateFacetsDebouncer=new e(500),this.closeFloatingContainer=t=>{this.isMobile()||(this.displayFacets=this.displayFacets&&t.composedPath().some((t=>t===this.floatingContainer)))},this.compareFilters=(t,e)=>t.key===e.key&&t.negative==e.negative&&t.values.length===e.values.length&&t.values.every((t=>e.values.includes(t))),this.compareRequests=(t,e)=>(null==t.contentLocale||null==e.contentLocale||t.contentLocale===e.contentLocale)&&t.filters.length===e.filters.length&&t.filters.every((t=>e.filters.some((e=>this.compareFilters(t,e)))))}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){const t=this.searchFilters.filter((t=>t.values.length>0&&!this.displayedFilters.includes(t.key))).map((t=>({id:t.key})));return[...this.displayedFilters.map((t=>({id:t}))),...t]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===lo.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return null!=this.presets&&this.presets.length>0}get hasPriors(){return null!=this.priors&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var t;null===(t=this.container)||void 0===t||t.focus()}focusInput(){this.input?this.input.focus():setTimeout((()=>this.focusInput()),50)}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return ae`
2914
+ `;var Tn=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};null==window.fluidtopics&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");const _n={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove",back:"Back"};class Vn extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}}class Gn extends CustomEvent{constructor(t){super("change",{detail:t})}}const qn=()=>{};class Yn extends Me{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new Te(_n,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=t=>function(t,e){var o;const i=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");i.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${i.toString()}`).href}(this.baseUrl,t),this.searchFilters=[],this.sizeCategory=co.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.suggestManager=new An(this),this.selectedFacetsManager=new Pn(this),this.desktopSearchBarManager=new Hn(this),this.mobileSearchBarManager=new jn(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new e(10),this.updateLocalesDebouncer=new e(10),this.facetsLoaded=!1,this.updateFacetsDebouncer=new e(500),this.closeFloatingContainer=t=>{this.isMobile()||(this.displayFacets=this.displayFacets&&t.composedPath().some((t=>t===this.floatingContainer)))},this.compareFilters=(t,e)=>t.key===e.key&&t.negative==e.negative&&t.values.length===e.values.length&&t.values.every((t=>e.values.includes(t))),this.compareRequests=(t,e)=>(null==t.contentLocale||null==e.contentLocale||t.contentLocale===e.contentLocale)&&t.filters.length===e.filters.length&&t.filters.every((t=>e.filters.some((e=>this.compareFilters(t,e)))))}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){const t=this.searchFilters.filter((t=>t.values.length>0&&!this.displayedFilters.includes(t.key))).map((t=>({id:t.key})));return[...this.displayedFilters.map((t=>({id:t}))),...t]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===co.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return null!=this.presets&&this.presets.length>0}get hasPriors(){return null!=this.priors&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var t;null===(t=this.container)||void 0===t||t.focus()}focusInput(){this.input?this.input.focus():setTimeout((()=>this.focusInput()),50)}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return ae`
2911
2915
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
2912
2916
  ${this.renderSearchBar()}
2913
2917
  `}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():ae`
@@ -2932,7 +2936,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2932
2936
  </div>
2933
2937
  </ft-accordion-item>
2934
2938
  `:null}
2935
- ${so(this.facets,(t=>t.key),(t=>{const e=ki(t),o=t.key.replace(":","-"),i=function(t){return I(t.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).filter((t=>t.selected)).map((t=>t.label))}(e);return t.rootNodes.length>0?ae`
2939
+ ${lo(this.facets,(t=>t.key),(t=>{const e=Ni(t),o=t.key.replace(":","-"),i=function(t){return I(t.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).filter((t=>t.selected)).map((t=>t.label))}(e);return t.rootNodes.length>0?ae`
2936
2940
  <ft-accordion-item data-facet-key="${t.key}">
2937
2941
  <div class="ft-search-bar--filter-label" slot="toggle">
2938
2942
  <ft-typography variant="button">${t.label}</ft-typography>
@@ -2962,7 +2966,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2962
2966
  `}getContentLocaleRadioGroup(){var t;return ae`
2963
2967
  <ft-radio-group
2964
2968
  @change=${t=>{this.contentLocale="all"===t.detail?void 0:t.detail,this.clearFilters()}}>
2965
- ${so(null!==(t=this.availableContentLocales)&&void 0!==t?t:[],(t=>t.lang),(t=>{var e;return ae`
2969
+ ${lo(null!==(t=this.availableContentLocales)&&void 0!==t?t:[],(t=>t.lang),(t=>{var e;return ae`
2966
2970
  <ft-radio value="${null!==(e=t.lang)&&void 0!==e?e:"all"}"
2967
2971
  ?checked=${t.lang==this.contentLocale}>
2968
2972
  ${t.label}
@@ -2992,7 +2996,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2992
2996
  label="${this.labelResolver.resolve("presetsSelector")}"
2993
2997
  outlined
2994
2998
  @change=${t=>this.selectedPreset=t.detail}>
2995
- ${so(null!==(t=this.presets)&&void 0!==t?t:[],(t=>t.name),(t=>ae`
2999
+ ${lo(null!==(t=this.presets)&&void 0!==t?t:[],(t=>t.name),(t=>ae`
2996
3000
  <ft-select-option value="${t.name}"
2997
3001
  label="${t.name}"
2998
3002
  ?selected=${t.name===this.selectedPreset}>
@@ -3024,7 +3028,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
3024
3028
  ${this.getContentLocaleRadioGroup()}
3025
3029
  </div>
3026
3030
  `:le}
3027
- ${so(this.facets,(t=>t.key),(t=>{const e=ki(t),o=e.options.some((t=>{var e,o;return(null!==(o=null===(e=t.subOptions)||void 0===e?void 0:e.length)&&void 0!==o?o:0)>0})),i=t.key.replace(":","-");return ae`
3031
+ ${lo(this.facets,(t=>t.key),(t=>{const e=Ni(t),o=e.options.some((t=>{var e,o;return(null!==(o=null===(e=t.subOptions)||void 0===e?void 0:e.length)&&void 0!==o?o:0)>0})),i=t.key.replace(":","-");return ae`
3028
3032
  <ft-filter
3029
3033
  class="${o?"ft-search-bar--hierarchical-filter":""}"
3030
3034
  part="filters filter filter-${i}"
@@ -3043,11 +3047,11 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
3043
3047
  ></ft-filter>
3044
3048
  `}))}
3045
3049
  </ft-snap-scroll>
3046
- `:le}async firstUpdated(t){super.firstUpdated(t),this.initApi(),window.addEventListener("storage",(t=>{t.key===this.recentSearchesStorageKey&&this.initRecentSearches()}))}update(t){var e,o,i,r,n;if(t.has("labels")&&(this.labelResolver=new He(Tn,this.labels)),t.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(t),(t.has("availableContentLocales")||t.has("contentLocale"))&&this.availableContentLocales.length>0){const o=t=>this.availableContentLocales.some((e=>e.lang==t));o(this.contentLocale)||(this.contentLocale=t.has("contentLocale")&&o(t.get("contentLocale"))?t.get("contentLocale"):null===(e=this.availableContentLocales[0])||void 0===e?void 0:e.lang)}if(t.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),t.has("presets")&&(null!==(o=this.presets)&&void 0!==o?o:[]).forEach((t=>t.filters.forEach((t=>t.values=t.values.map((t=>wi(t))))))),t.has("presets")||t.has("selectedPreset")){const t=(null!==(i=this.presets)&&void 0!==i?i:[]).find((t=>t.name===this.selectedPreset));t&&!this.compareRequests(this.request,t)&&this.setFiltersFromPreset(t)}t.has("contentLocale")&&null!=this.contentLocale&&(this.knownFacetLabels=new Map),["contentLocale","searchFilters"].some((e=>t.has(e)))&&(this.selectedPreset=null===(n=(null!==(r=this.presets)&&void 0!==r?r:[]).find((t=>this.compareRequests(t,this.request))))||void 0===n?void 0:n.name),["baseUrl","apiIntegrationIdentifier"].some((e=>t.has(e)))&&(this.api=void 0,this.initApi()),t.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","searchFilters","displayedFilters"].some((e=>t.has(e)))&&this.updateFacets(),["query","uiLocale","contentLocale","searchFilters","displayedFilters","api"].some((e=>t.has(e)))&&this.suggestManager.update(),["query","uiLocale","contentLocale","searchFilters"].some((e=>t.has(e)))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run((()=>this.dispatchEvent(new Vn(this.request))))}initSearchData(){this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run((()=>{var t;null===(t=this.api)||void 0===t||t.getAvailableSearchLocales().then((t=>t.contentLocales)).catch((()=>[])).then((t=>{this.availableContentLocales=t,this.availableContentLocalesInitialized=!0}))})),this.updateFacetsDebouncer.run((()=>{this.retrieveFacetsFromSearch().then((()=>{this.facetsLoaded=!0,this.facetsInitialized=!0}))}),this.facetsInitialized?500:10)}updateFacets(){this.api&&(this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run((async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0}),this.facetsInitialized?500:10)):this.facets=[])}contentAvailableCallback(t){var e,o,i;if(super.contentAvailableCallback(t),t.has("displayFacets")&&this.displayFacets&&(null===(e=this.floatingContainer)||void 0===e||e.focus()),null!=this.scrollToFacet&&this.facetsLoaded){null===(o=this.scrollingFiltersContainer)||void 0===o||o.scrollIndexIntoView(this.facets.findIndex((t=>t.key===this.scrollToFacet)));const t=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);t&&(t.active=!0),this.scrollToFacet=void 0}}initApi(){null==this.api&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout((()=>this.initApi()),10))}async retrieveFacetsFromSearch(){var t;const e=new Map;await(null===(t=this.api)||void 0===t?void 0:t.search({...this.request,query:""}).then((t=>t.facets.forEach((t=>{this.knownFacetLabels.set(t.key,t.label),e.set(t.key,t)})))).catch(Gn)),this.facets=[];for(let t of this.facetsRequest)e.has(t.id)?this.facets.push(e.get(t.id)):this.knownFacetLabels.has(t.id)&&this.facets.push({key:t.id,label:this.knownFacetLabels.get(t.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(t){var e;"Escape"===t.key&&(this.displayFacets=!1,null===(e=this.filtersOpener)||void 0===e||e.focus())}setQuery(t){this.input&&(this.input.value=t),this.query=t}launchSearch(){if(this.query){let t=this.recentSearches.filter((t=>t.toLowerCase()!==this.query.toLowerCase())).filter(((t,e)=>e<20));this.recentSearches=[this.query,...t],this.saveRecentSearches()}this.dispatchEvent(new _n(this.request)),this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var t;this.recentSearches=JSON.parse(null!==(t=window.localStorage.getItem(this.recentSearchesStorageKey))&&void 0!==t?t:"[]")}saveRecentSearches(){const t=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,t),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:t,storageArea:window.localStorage,url:window.location.href}))}connectedCallback(){super.connectedCallback(),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer)}updateSize(t){this.sizeCategory=t.detail.category}setFilter(t,e){let o=this.searchFilters.filter((e=>e.key!==t));this.facets.forEach((o=>{o.key===t&&I(o.rootNodes,(t=>t.childNodes)).forEach((t=>t.selected=e.includes(t.value)))})),e.length&&o.push({key:t,negative:!1,values:e}),this.searchFilters=o,this.scrollToFacet=t}setFiltersFromPreset(t){null!=t&&(null!=t.contentLocale&&(this.contentLocale=t.contentLocale),this.searchFilters=t.filters)}clearFilters(){this.facets.forEach((t=>I(t.rootNodes,(t=>t.childNodes)).forEach((t=>t.selected=!1)))),this.searchFilters=[];const t=this.facets[0];this.scrollToFacet=null==t?void 0:t.key}querySelector(t){return this.shadowRoot.querySelector(t)}querySelectorAll(t){return this.shadowRoot.querySelectorAll(t)}renderDesktopFloatingMenu(){return this.forceMenuOpen?le:ae`
3050
+ `:le}async firstUpdated(t){super.firstUpdated(t),this.initApi(),window.addEventListener("storage",(t=>{t.key===this.recentSearchesStorageKey&&this.initRecentSearches()}))}update(t){var e,o,i,r,n;if(t.has("labels")&&(this.labelResolver=new Te(_n,this.labels)),t.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(t),(t.has("availableContentLocales")||t.has("contentLocale"))&&this.availableContentLocales.length>0){const o=t=>this.availableContentLocales.some((e=>e.lang==t));o(this.contentLocale)||(this.contentLocale=t.has("contentLocale")&&o(t.get("contentLocale"))?t.get("contentLocale"):null===(e=this.availableContentLocales[0])||void 0===e?void 0:e.lang)}if(t.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),t.has("presets")&&(null!==(o=this.presets)&&void 0!==o?o:[]).forEach((t=>t.filters.forEach((t=>t.values=t.values.map((t=>Si(t))))))),t.has("presets")||t.has("selectedPreset")){const t=(null!==(i=this.presets)&&void 0!==i?i:[]).find((t=>t.name===this.selectedPreset));t&&!this.compareRequests(this.request,t)&&this.setFiltersFromPreset(t)}t.has("contentLocale")&&null!=this.contentLocale&&(this.knownFacetLabels=new Map),["contentLocale","searchFilters"].some((e=>t.has(e)))&&(this.selectedPreset=null===(n=(null!==(r=this.presets)&&void 0!==r?r:[]).find((t=>this.compareRequests(t,this.request))))||void 0===n?void 0:n.name),["baseUrl","apiIntegrationIdentifier"].some((e=>t.has(e)))&&(this.api=void 0,this.initApi()),t.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","searchFilters","displayedFilters"].some((e=>t.has(e)))&&this.updateFacets(),["query","uiLocale","contentLocale","searchFilters","displayedFilters","api"].some((e=>t.has(e)))&&this.suggestManager.update(),["query","uiLocale","contentLocale","searchFilters"].some((e=>t.has(e)))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run((()=>this.dispatchEvent(new Gn(this.request))))}initSearchData(){this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run((()=>{var t;null===(t=this.api)||void 0===t||t.getAvailableSearchLocales().then((t=>t.contentLocales)).catch((()=>[])).then((t=>{this.availableContentLocales=t,this.availableContentLocalesInitialized=!0}))})),this.updateFacetsDebouncer.run((()=>{this.retrieveFacetsFromSearch().then((()=>{this.facetsLoaded=!0,this.facetsInitialized=!0}))}),this.facetsInitialized?500:10)}updateFacets(){this.api&&(this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run((async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0}),this.facetsInitialized?500:10)):this.facets=[])}contentAvailableCallback(t){var e,o,i;if(super.contentAvailableCallback(t),t.has("displayFacets")&&this.displayFacets&&(null===(e=this.floatingContainer)||void 0===e||e.focus()),null!=this.scrollToFacet&&this.facetsLoaded){null===(o=this.scrollingFiltersContainer)||void 0===o||o.scrollIndexIntoView(this.facets.findIndex((t=>t.key===this.scrollToFacet)));const t=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);t&&(t.active=!0),this.scrollToFacet=void 0}}initApi(){null==this.api&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout((()=>this.initApi()),10))}async retrieveFacetsFromSearch(){var t;const e=new Map;await(null===(t=this.api)||void 0===t?void 0:t.search({...this.request,query:""}).then((t=>t.facets.forEach((t=>{this.knownFacetLabels.set(t.key,t.label),e.set(t.key,t)})))).catch(qn)),this.facets=[];for(let t of this.facetsRequest)e.has(t.id)?this.facets.push(e.get(t.id)):this.knownFacetLabels.has(t.id)&&this.facets.push({key:t.id,label:this.knownFacetLabels.get(t.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(t){var e;"Escape"===t.key&&(this.displayFacets=!1,null===(e=this.filtersOpener)||void 0===e||e.focus())}setQuery(t){this.input&&(this.input.value=t),this.query=t}launchSearch(){if(this.query){let t=this.recentSearches.filter((t=>t.toLowerCase()!==this.query.toLowerCase())).filter(((t,e)=>e<20));this.recentSearches=[this.query,...t],this.saveRecentSearches()}this.dispatchEvent(new Vn(this.request)),this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var t;this.recentSearches=JSON.parse(null!==(t=window.localStorage.getItem(this.recentSearchesStorageKey))&&void 0!==t?t:"[]")}saveRecentSearches(){const t=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,t),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:t,storageArea:window.localStorage,url:window.location.href}))}connectedCallback(){super.connectedCallback(),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer)}updateSize(t){this.sizeCategory=t.detail.category}setFilter(t,e){let o=this.searchFilters.filter((e=>e.key!==t));this.facets.forEach((o=>{o.key===t&&I(o.rootNodes,(t=>t.childNodes)).forEach((t=>t.selected=e.includes(t.value)))})),e.length&&o.push({key:t,negative:!1,values:e}),this.searchFilters=o,this.scrollToFacet=t}setFiltersFromPreset(t){null!=t&&(null!=t.contentLocale&&(this.contentLocale=t.contentLocale),this.searchFilters=t.filters)}clearFilters(){this.facets.forEach((t=>I(t.rootNodes,(t=>t.childNodes)).forEach((t=>t.selected=!1)))),this.searchFilters=[];const t=this.facets[0];this.scrollToFacet=null==t?void 0:t.key}querySelector(t){return this.shadowRoot.querySelector(t)}querySelectorAll(t){return this.shadowRoot.querySelectorAll(t)}renderDesktopFloatingMenu(){return this.forceMenuOpen?le:ae`
3047
3051
  <div class="ft-search-bar--floating-panel"
3048
3052
  id="ft-search-bar-floating-panel"
3049
3053
  @keyup=${this.onFloatingContainerKeyUp}
3050
3054
  part="floating-panel"
3051
3055
  tabindex="-1">
3052
3056
  ${this.renderDesktopMenu()}
3053
- </div>`}}qn.elementDefinitions={"ft-accordion":ln,"ft-accordion-item":un,"ft-button":ur,"ft-chip":Sn,"ft-filter":on,"ft-filter-option":nn,"ft-icon":cr,"ft-ripple":Yi,"ft-select":zn,"ft-select-option":Ln,"ft-size-watcher":fo,"ft-skeleton":Zn,"ft-snap-scroll":Tr,"ft-tooltip":tr,"ft-typography":Oi,"ft-radio-group":Fr,"ft-radio":zr},qn.styles=[ui,Dn,Kn,An.styles,Mn.styles],Hn([k({type:Boolean})],qn.prototype,"dense",void 0),Hn([k()],qn.prototype,"mode",void 0),Hn([k({type:Boolean})],qn.prototype,"forceMobileMenuOpen",void 0),Hn([k({type:Boolean})],qn.prototype,"forceMenuOpen",void 0),Hn([k()],qn.prototype,"baseUrl",void 0),Hn([k()],qn.prototype,"apiIntegrationIdentifier",void 0),Hn([k()],qn.prototype,"contentLocale",void 0),Hn([N()],qn.prototype,"availableContentLocales",void 0),Hn([N()],qn.prototype,"availableContentLocalesInitialized",void 0),Hn([k()],qn.prototype,"uiLocale",void 0),Hn([z({})],qn.prototype,"labels",void 0),Hn([z([])],qn.prototype,"displayedFilters",void 0),Hn([z([])],qn.prototype,"presets",void 0),Hn([k({type:String,reflect:!0})],qn.prototype,"selectedPreset",void 0),Hn([z([])],qn.prototype,"priors",void 0),Hn([k()],qn.prototype,"searchRequestSerializer",void 0),Hn([N()],qn.prototype,"searchFilters",void 0),Hn([N()],qn.prototype,"sizeCategory",void 0),Hn([N()],qn.prototype,"displayFacets",void 0),Hn([N()],qn.prototype,"mobileMenuOpen",void 0),Hn([N()],qn.prototype,"facets",void 0),Hn([N()],qn.prototype,"facetsInitialized",void 0),Hn([E(".ft-search-bar--container")],qn.prototype,"container",void 0),Hn([E(".ft-search-bar--filters-opener")],qn.prototype,"filtersOpener",void 0),Hn([E(".ft-search-bar--floating-panel")],qn.prototype,"floatingContainer",void 0),Hn([E("ft-snap-scroll.ft-search-bar--filters-container")],qn.prototype,"scrollingFiltersContainer",void 0),Hn([E(".ft-search-bar--input")],qn.prototype,"input",void 0),Hn([N()],qn.prototype,"query",void 0),Hn([N()],qn.prototype,"suggestions",void 0),Hn([N()],qn.prototype,"recentSearches",void 0),Hn([N()],qn.prototype,"scrollToFacet",void 0),Hn([N()],qn.prototype,"api",void 0),Hn([N()],qn.prototype,"facetsLoaded",void 0),L("ft-search-bar")(qn),t.DEFAULT_LABELS=Tn,t.FtSearchBar=qn,t.FtSearchBarCssVariables=Fn,t.LaunchSearchEvent=_n,t.SearchStateChangeEvent=Vn,t.facetsCss=Kn,t.searchBarCss=Dn}({});
3057
+ </div>`}}Yn.elementDefinitions={"ft-accordion":cn,"ft-accordion-item":bn,"ft-button":br,"ft-chip":kn,"ft-filter":rn,"ft-filter-option":an,"ft-icon":hr,"ft-ripple":Ji,"ft-select":Wn,"ft-select-option":zn,"ft-size-watcher":uo,"ft-skeleton":Mn,"ft-snap-scroll":_r,"ft-tooltip":er,"ft-typography":wi,"ft-radio-group":Dr,"ft-radio":Wr},Yn.styles=[bi,Kn,Zn,Pn.styles,An.styles],Tn([k({type:Boolean})],Yn.prototype,"dense",void 0),Tn([k()],Yn.prototype,"mode",void 0),Tn([k({type:Boolean})],Yn.prototype,"forceMobileMenuOpen",void 0),Tn([k({type:Boolean})],Yn.prototype,"forceMenuOpen",void 0),Tn([k()],Yn.prototype,"baseUrl",void 0),Tn([k()],Yn.prototype,"apiIntegrationIdentifier",void 0),Tn([k()],Yn.prototype,"contentLocale",void 0),Tn([N()],Yn.prototype,"availableContentLocales",void 0),Tn([N()],Yn.prototype,"availableContentLocalesInitialized",void 0),Tn([k()],Yn.prototype,"uiLocale",void 0),Tn([z({})],Yn.prototype,"labels",void 0),Tn([z([])],Yn.prototype,"displayedFilters",void 0),Tn([z([])],Yn.prototype,"presets",void 0),Tn([k({type:String,reflect:!0})],Yn.prototype,"selectedPreset",void 0),Tn([z([])],Yn.prototype,"priors",void 0),Tn([k()],Yn.prototype,"searchRequestSerializer",void 0),Tn([N()],Yn.prototype,"searchFilters",void 0),Tn([N()],Yn.prototype,"sizeCategory",void 0),Tn([N()],Yn.prototype,"displayFacets",void 0),Tn([N()],Yn.prototype,"mobileMenuOpen",void 0),Tn([N()],Yn.prototype,"facets",void 0),Tn([N()],Yn.prototype,"facetsInitialized",void 0),Tn([E(".ft-search-bar--container")],Yn.prototype,"container",void 0),Tn([E(".ft-search-bar--filters-opener")],Yn.prototype,"filtersOpener",void 0),Tn([E(".ft-search-bar--floating-panel")],Yn.prototype,"floatingContainer",void 0),Tn([E("ft-snap-scroll.ft-search-bar--filters-container")],Yn.prototype,"scrollingFiltersContainer",void 0),Tn([E(".ft-search-bar--input")],Yn.prototype,"input",void 0),Tn([N()],Yn.prototype,"query",void 0),Tn([N()],Yn.prototype,"suggestions",void 0),Tn([N()],Yn.prototype,"recentSearches",void 0),Tn([N()],Yn.prototype,"scrollToFacet",void 0),Tn([N()],Yn.prototype,"api",void 0),Tn([N()],Yn.prototype,"facetsLoaded",void 0),L("ft-search-bar")(Yn),t.DEFAULT_LABELS=_n,t.FtSearchBar=Yn,t.FtSearchBarCssVariables=Dn,t.LaunchSearchEvent=Vn,t.SearchStateChangeEvent=Gn,t.facetsCss=Zn,t.searchBarCss=Kn}({});