@fluid-topics/ft-filter 0.3.5 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,s=new WeakMap,n=new WeakMap,r=new WeakMap,l=new WeakMap;let a;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,s){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(s))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=s.prototype.attributeChangedCallback,a=new Set(s.observedAttributes||[]);d(s,a,l);const h={elementClass:s,connectedCallback:s.prototype.connectedCallback,disconnectedCallback:s.prototype.disconnectedCallback,adoptedCallback:s.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:s.formAssociated,formAssociatedCallback:s.prototype.formAssociatedCallback,formDisabledCallback:s.prototype.formDisabledCallback,formResetCallback:s.prototype.formResetCallback,formStateRestoreCallback:s.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,h),this._definitionsByClass.set(s,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(r.set(s,h),h.standInClass=c);const f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)n.delete(t),u(t,h,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(s),this._whenDefinedPromises.delete(t)),s}upgrade(){b.push(this),o.upgrade.apply(o,arguments),b.pop()}get(t){return this._definitionsByTag.get(t)?.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 i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=a;if(e)return a=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),s.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,s=o._getDefinition(e);return s?u(i,s):n.set(i,o),i}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){s.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=s.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=s.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=s.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=s.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,s){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n,s),i.call(this,n,t,s)}else o.call(this,n,s)});const s=t.prototype.removeAttribute;s&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);s.call(this,o),i.call(this,o,t,null)}else s.call(this,o)})},f=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):f(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),s.set(t,e),a=t;try{new e.elementClass}catch(t){f(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=v.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const x=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),b.pop(),t}};x(ShadowRoot,"createElement",document),x(ShadowRoot,"importNode",document),x(Element,"insertAdjacentHTML");const y=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.pop()}})};if(y(Element,"innerHTML"),y(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==s.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o 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,i)=>{const o=t.getAttribute("name"),s=e.get(o)||[];this[+i]=t,s.push(t),e.set(o,s)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=s.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(mi){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,s=new WeakMap,n=new WeakMap,r=new WeakMap,l=new WeakMap;let a;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,s){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(s))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=s.prototype.attributeChangedCallback,a=new Set(s.observedAttributes||[]);d(s,a,l);const h={elementClass:s,connectedCallback:s.prototype.connectedCallback,disconnectedCallback:s.prototype.disconnectedCallback,adoptedCallback:s.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:s.formAssociated,formAssociatedCallback:s.prototype.formAssociatedCallback,formDisabledCallback:s.prototype.formDisabledCallback,formResetCallback:s.prototype.formResetCallback,formStateRestoreCallback:s.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,h),this._definitionsByClass.set(s,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(r.set(s,h),h.standInClass=c);const f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)n.delete(t),u(t,h,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(s),this._whenDefinedPromises.delete(t)),s}upgrade(){b.push(this),o.upgrade.apply(o,arguments),b.pop()}get(t){return this._definitionsByTag.get(t)?.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 i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=a;if(e)return a=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),s.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,s=o._getDefinition(e);return s?u(i,s):n.set(i,o),i}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){s.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=s.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=s.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=s.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=s.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,s){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n,s),i.call(this,n,t,s)}else o.call(this,n,s)});const s=t.prototype.removeAttribute;s&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);s.call(this,o),i.call(this,o,t,null)}else s.call(this,o)})},f=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):f(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),s.set(t,e),a=t;try{new e.elementClass}catch(t){f(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=v.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let b=[document];const x=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),b.pop(),t}};x(ShadowRoot,"createElement",document),x(ShadowRoot,"importNode",document),x(Element,"insertAdjacentHTML");const y=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.pop()}})};if(y(Element,"innerHTML"),y(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==s.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o 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,i)=>{const o=t.getAttribute("name"),s=e.get(o)||[];this[+i]=t,s.push(t),e.set(o,s)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=s.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch($i){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -66,7 +66,7 @@ var l;const a=null!=(null===(l=window.HTMLSlotElement)||void 0===l?void 0:l.prot
66
66
  * Copyright 2017 Google LLC
67
67
  * SPDX-License-Identifier: BSD-3-Clause
68
68
  */
69
- var N;E.finalized=!0,E.elementProperties=new Map,E.elementStyles=[],E.shadowRootOptions={mode:"open"},null==k||k({ReactiveElement:E}),(null!==(m=globalThis.reactiveElementVersions)&&void 0!==m?m:globalThis.reactiveElementVersions=[]).push("1.3.4");const z=globalThis.trustedTypes,M=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,R=`lit$${(Math.random()+"").slice(9)}$`,B="?"+R,F=`<${B}>`,j=document,U=(t="")=>j.createComment(t),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,T=t=>D(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,_=/>/g,I=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),H=/'/g,W=/"/g,K=/^(?:script|style|textarea|title)$/i,V=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Z=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),q=new WeakMap,X=j.createTreeWalker(j,129,null,!1),Y=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=A;for(let e=0;e<i;e++){const i=t[e];let l,a,h=-1,c=0;for(;c<i.length&&(r.lastIndex=c,a=r.exec(i),null!==a);)c=r.lastIndex,r===A?"!--"===a[1]?r=P:void 0!==a[1]?r=_:void 0!==a[2]?(K.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=I):void 0!==a[3]&&(r=I):r===I?">"===a[0]?(r=null!=s?s:A,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?I:'"'===a[3]?W:H):r===W||r===H?r=I:r===P||r===_?r=A:(r=I,s=void 0);const p=r===I&&t[e+1].startsWith("/>")?" ":"";n+=r===A?i+F:h>=0?(o.push(l),i.slice(0,h)+"$lit$"+i.slice(h)+R+p):i+R+(-2===h?(o.push(void 0),e):p)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==M?M.createHTML(l):l,o]};class G{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,h]=Y(t,e);if(this.el=G.createElement(a,i),X.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=X.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(R)){const i=h[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(R),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?ot:"?"===e[1]?nt:"@"===e[1]?rt:it})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(K.test(o.tagName)){const t=o.textContent.split(R),e=t.length-1;if(e>0){o.textContent=z?z.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),X.nextNode(),l.push({type:2,index:++s});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===B)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(R,t+1));)l.push({type:7,index:s}),t+=R.length-1}s++}}static createElement(t,e){const i=j.createElement("template");return i.innerHTML=t,i}}function Q(t,e,i=t,o){var s,n,r,l;if(e===Z)return e;let a=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const h=L(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:i._$Cu=a),void 0!==a&&(e=Q(t,a._$AS(t,e.values),a,o)),e}class tt{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:j).importNode(i,!0);X.currentNode=s;let n=X.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new et(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new lt(n,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=X.nextNode(),r++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class et{constructor(t,e,i,o){var s;this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$C_=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$C_}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Q(this,t,e),L(t)?t===J||null==t||""===t?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==Z&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):T(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==J&&L(this._$AH)?this._$AA.nextSibling.data=t:this.k(j.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=G.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new tt(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=q.get(t.strings);return void 0===e&&q.set(t.strings,e=new G(t)),e}S(t){D(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new et(this.j(U()),this.j(U()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class it{constructor(t,e,i,o,s){this.type=1,this._$AH=J,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=J}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=Q(this,t,e,0),n=!L(t)||t!==this._$AH&&t!==Z,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=Q(this,o[i+r],e,r),l===Z&&(l=this._$AH[r]),n||(n=!L(l)||l!==this._$AH[r]),l===J?t=J:t!==J&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.P(t)}P(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class ot extends it{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===J?void 0:t}}const st=z?z.emptyScript:"";class nt extends it{constructor(){super(...arguments),this.type=4}P(t){t&&t!==J?this.element.setAttribute(this.name,st):this.element.removeAttribute(this.name)}}class rt extends it{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Q(this,t,e,0))&&void 0!==i?i:J)===Z)return;const o=this._$AH,s=t===J&&o!==J||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==J&&(o===J||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class lt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Q(this,t)}}const at={A:"$lit$",C:R,M:B,L:1,R:Y,V:tt,D:T,I:Q,H:et,N:it,U:nt,B:rt,F:ot,W:lt},ht=window.litHtmlPolyfillSupport;
69
+ var N;E.finalized=!0,E.elementProperties=new Map,E.elementStyles=[],E.shadowRootOptions={mode:"open"},null==k||k({ReactiveElement:E}),(null!==(m=globalThis.reactiveElementVersions)&&void 0!==m?m:globalThis.reactiveElementVersions=[]).push("1.3.4");const z=globalThis.trustedTypes,R=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,M=`lit$${(Math.random()+"").slice(9)}$`,B="?"+M,F=`<${B}>`,j=document,U=(t="")=>j.createComment(t),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,T=t=>D(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,_=/>/g,I=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),W=/'/g,H=/"/g,K=/^(?:script|style|textarea|title)$/i,V=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Z=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),q=new WeakMap,X=j.createTreeWalker(j,129,null,!1),Y=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=A;for(let e=0;e<i;e++){const i=t[e];let l,a,h=-1,c=0;for(;c<i.length&&(r.lastIndex=c,a=r.exec(i),null!==a);)c=r.lastIndex,r===A?"!--"===a[1]?r=P:void 0!==a[1]?r=_:void 0!==a[2]?(K.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=I):void 0!==a[3]&&(r=I):r===I?">"===a[0]?(r=null!=s?s:A,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?I:'"'===a[3]?H:W):r===H||r===W?r=I:r===P||r===_?r=A:(r=I,s=void 0);const p=r===I&&t[e+1].startsWith("/>")?" ":"";n+=r===A?i+F:h>=0?(o.push(l),i.slice(0,h)+"$lit$"+i.slice(h)+M+p):i+M+(-2===h?(o.push(void 0),e):p)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==R?R.createHTML(l):l,o]};class G{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,h]=Y(t,e);if(this.el=G.createElement(a,i),X.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=X.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(M)){const i=h[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(M),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?ot:"?"===e[1]?nt:"@"===e[1]?rt:it})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(K.test(o.tagName)){const t=o.textContent.split(M),e=t.length-1;if(e>0){o.textContent=z?z.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],U()),X.nextNode(),l.push({type:2,index:++s});o.append(t[e],U())}}}else if(8===o.nodeType)if(o.data===B)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(M,t+1));)l.push({type:7,index:s}),t+=M.length-1}s++}}static createElement(t,e){const i=j.createElement("template");return i.innerHTML=t,i}}function Q(t,e,i=t,o){var s,n,r,l;if(e===Z)return e;let a=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const h=L(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:i._$Cu=a),void 0!==a&&(e=Q(t,a._$AS(t,e.values),a,o)),e}class tt{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:j).importNode(i,!0);X.currentNode=s;let n=X.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new et(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new lt(n,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=X.nextNode(),r++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class et{constructor(t,e,i,o){var s;this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$C_=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$C_}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Q(this,t,e),L(t)?t===J||null==t||""===t?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==Z&&this.T(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.k(t):T(t)?this.S(t):this.T(t)}j(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.j(t))}T(t){this._$AH!==J&&L(this._$AH)?this._$AA.nextSibling.data=t:this.k(j.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=G.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new tt(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=q.get(t.strings);return void 0===e&&q.set(t.strings,e=new G(t)),e}S(t){D(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new et(this.j(U()),this.j(U()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class it{constructor(t,e,i,o,s){this.type=1,this._$AH=J,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=J}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=Q(this,t,e,0),n=!L(t)||t!==this._$AH&&t!==Z,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=Q(this,o[i+r],e,r),l===Z&&(l=this._$AH[r]),n||(n=!L(l)||l!==this._$AH[r]),l===J?t=J:t!==J&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.P(t)}P(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class ot extends it{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===J?void 0:t}}const st=z?z.emptyScript:"";class nt extends it{constructor(){super(...arguments),this.type=4}P(t){t&&t!==J?this.element.setAttribute(this.name,st):this.element.removeAttribute(this.name)}}class rt extends it{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Q(this,t,e,0))&&void 0!==i?i:J)===Z)return;const o=this._$AH,s=t===J&&o!==J||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==J&&(o===J||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class lt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Q(this,t)}}const at={A:"$lit$",C:M,M:B,L:1,R:Y,V:tt,D:T,I:Q,H:et,N:it,U:nt,B:rt,F:ot,W:lt},ht=window.litHtmlPolyfillSupport;
70
70
  /**
71
71
  * @license
72
72
  * Copyright 2017 Google LLC
@@ -96,7 +96,7 @@ var ct,pt;null==ht||ht(G,et),(null!==(N=globalThis.litHtmlVersions)&&void 0!==N?
96
96
  * @license
97
97
  * Copyright 2020 Google LLC
98
98
  * SPDX-License-Identifier: BSD-3-Clause
99
- */var zt,Mt=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!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"}(zt||(zt={}));const Rt=ut.extend("--ft-typography-font-family",bt.titleFont),Bt=ut.extend("--ft-typography-font-family",bt.contentFont),Ft={fontFamily:Bt,fontSize:ut.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ut.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ut.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ut.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ut.create("--ft-typography-text-transform","UNKNOWN","inherit")},jt=ut.extend("--ft-typography-title-font-family",Rt),Ut=ut.extend("--ft-typography-title-font-size",Ft.fontSize,"20px"),Lt=ut.extend("--ft-typography-title-font-weight",Ft.fontWeight,"normal"),Dt=ut.extend("--ft-typography-title-letter-spacing",Ft.letterSpacing,"0.15px"),Tt=ut.extend("--ft-typography-title-line-height",Ft.lineHeight,"1.2"),At=ut.extend("--ft-typography-title-text-transform",Ft.textTransform,"inherit"),Pt=ut.extend("--ft-typography-title-dense-font-family",Rt),_t=ut.extend("--ft-typography-title-dense-font-size",Ft.fontSize,"14px"),It=ut.extend("--ft-typography-title-dense-font-weight",Ft.fontWeight,"normal"),Ht=ut.extend("--ft-typography-title-dense-letter-spacing",Ft.letterSpacing,"0.105px"),Wt=ut.extend("--ft-typography-title-dense-line-height",Ft.lineHeight,"1.7"),Kt=ut.extend("--ft-typography-title-dense-text-transform",Ft.textTransform,"inherit"),Vt=ut.extend("--ft-typography-subtitle1-font-family",Bt),Zt=ut.extend("--ft-typography-subtitle1-font-size",Ft.fontSize,"16px"),Jt=ut.extend("--ft-typography-subtitle1-font-weight",Ft.fontWeight,"600"),qt=ut.extend("--ft-typography-subtitle1-letter-spacing",Ft.letterSpacing,"0.144px"),Xt=ut.extend("--ft-typography-subtitle1-line-height",Ft.lineHeight,"1.5"),Yt=ut.extend("--ft-typography-subtitle1-text-transform",Ft.textTransform,"inherit"),Gt=ut.extend("--ft-typography-subtitle2-font-family",Bt),Qt=ut.extend("--ft-typography-subtitle2-font-size",Ft.fontSize,"14px"),te=ut.extend("--ft-typography-subtitle2-font-weight",Ft.fontWeight,"normal"),ee=ut.extend("--ft-typography-subtitle2-letter-spacing",Ft.letterSpacing,"0.098px"),ie=ut.extend("--ft-typography-subtitle2-line-height",Ft.lineHeight,"1.7"),oe=ut.extend("--ft-typography-subtitle2-text-transform",Ft.textTransform,"inherit"),se=ut.extend("--ft-typography-body1-font-family",Bt),ne=ut.extend("--ft-typography-body1-font-size",Ft.fontSize,"16px"),re=ut.extend("--ft-typography-body1-font-weight",Ft.fontWeight,"normal"),le=ut.extend("--ft-typography-body1-letter-spacing",Ft.letterSpacing,"0.496px"),ae=ut.extend("--ft-typography-body1-line-height",Ft.lineHeight,"1.5"),he=ut.extend("--ft-typography-body1-text-transform",Ft.textTransform,"inherit"),ce={fontFamily:ut.extend("--ft-typography-body2-font-family",Bt),fontSize:ut.extend("--ft-typography-body2-font-size",Ft.fontSize,"14px"),fontWeight:ut.extend("--ft-typography-body2-font-weight",Ft.fontWeight,"normal"),letterSpacing:ut.extend("--ft-typography-body2-letter-spacing",Ft.letterSpacing,"0.252px"),lineHeight:ut.extend("--ft-typography-body2-line-height",Ft.lineHeight,"1.4"),textTransform:ut.extend("--ft-typography-body2-text-transform",Ft.textTransform,"inherit")},pe=ut.extend("--ft-typography-caption-font-family",Bt),de=ut.extend("--ft-typography-caption-font-size",Ft.fontSize,"12px"),fe=ut.extend("--ft-typography-caption-font-weight",Ft.fontWeight,"normal"),ue=ut.extend("--ft-typography-caption-letter-spacing",Ft.letterSpacing,"0.396px"),ve=ut.extend("--ft-typography-caption-line-height",Ft.lineHeight,"1.33"),be=ut.extend("--ft-typography-caption-text-transform",Ft.textTransform,"inherit"),xe=ut.extend("--ft-typography-breadcrumb-font-family",Bt),ye=ut.extend("--ft-typography-breadcrumb-font-size",Ft.fontSize,"10px"),ge=ut.extend("--ft-typography-breadcrumb-font-weight",Ft.fontWeight,"normal"),me=ut.extend("--ft-typography-breadcrumb-letter-spacing",Ft.letterSpacing,"0.33px"),$e=ut.extend("--ft-typography-breadcrumb-line-height",Ft.lineHeight,"1.6"),we=ut.extend("--ft-typography-breadcrumb-text-transform",Ft.textTransform,"inherit"),ke=ut.extend("--ft-typography-overline-font-family",Bt),Oe=ut.extend("--ft-typography-overline-font-size",Ft.fontSize,"10px"),Se=ut.extend("--ft-typography-overline-font-weight",Ft.fontWeight,"normal"),Ce=ut.extend("--ft-typography-overline-letter-spacing",Ft.letterSpacing,"1.5px"),Ee=ut.extend("--ft-typography-overline-line-height",Ft.lineHeight,"1.6"),Ne=ut.extend("--ft-typography-overline-text-transform",Ft.textTransform,"uppercase"),ze={fontFamily:ut.extend("--ft-typography-button-font-family",Bt),fontSize:ut.extend("--ft-typography-button-font-size",Ft.fontSize,"14px"),fontWeight:ut.extend("--ft-typography-button-font-weight",Ft.fontWeight,"600"),letterSpacing:ut.extend("--ft-typography-button-letter-spacing",Ft.letterSpacing,"1.246px"),lineHeight:ut.extend("--ft-typography-button-line-height",Ft.lineHeight,"1.15"),textTransform:ut.extend("--ft-typography-button-text-transform",Ft.textTransform,"uppercase")},Me=x`
99
+ */var zt,Rt=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!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"}(zt||(zt={}));const Mt=ut.extend("--ft-typography-font-family",bt.titleFont),Bt=ut.extend("--ft-typography-font-family",bt.contentFont),Ft={fontFamily:Bt,fontSize:ut.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ut.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ut.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ut.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:ut.create("--ft-typography-text-transform","UNKNOWN","inherit")},jt=ut.extend("--ft-typography-title-font-family",Mt),Ut=ut.extend("--ft-typography-title-font-size",Ft.fontSize,"20px"),Lt=ut.extend("--ft-typography-title-font-weight",Ft.fontWeight,"normal"),Dt=ut.extend("--ft-typography-title-letter-spacing",Ft.letterSpacing,"0.15px"),Tt=ut.extend("--ft-typography-title-line-height",Ft.lineHeight,"1.2"),At=ut.extend("--ft-typography-title-text-transform",Ft.textTransform,"inherit"),Pt=ut.extend("--ft-typography-title-dense-font-family",Mt),_t=ut.extend("--ft-typography-title-dense-font-size",Ft.fontSize,"14px"),It=ut.extend("--ft-typography-title-dense-font-weight",Ft.fontWeight,"normal"),Wt=ut.extend("--ft-typography-title-dense-letter-spacing",Ft.letterSpacing,"0.105px"),Ht=ut.extend("--ft-typography-title-dense-line-height",Ft.lineHeight,"1.7"),Kt=ut.extend("--ft-typography-title-dense-text-transform",Ft.textTransform,"inherit"),Vt=ut.extend("--ft-typography-subtitle1-font-family",Bt),Zt=ut.extend("--ft-typography-subtitle1-font-size",Ft.fontSize,"16px"),Jt=ut.extend("--ft-typography-subtitle1-font-weight",Ft.fontWeight,"600"),qt=ut.extend("--ft-typography-subtitle1-letter-spacing",Ft.letterSpacing,"0.144px"),Xt=ut.extend("--ft-typography-subtitle1-line-height",Ft.lineHeight,"1.5"),Yt=ut.extend("--ft-typography-subtitle1-text-transform",Ft.textTransform,"inherit"),Gt=ut.extend("--ft-typography-subtitle2-font-family",Bt),Qt=ut.extend("--ft-typography-subtitle2-font-size",Ft.fontSize,"14px"),te=ut.extend("--ft-typography-subtitle2-font-weight",Ft.fontWeight,"normal"),ee=ut.extend("--ft-typography-subtitle2-letter-spacing",Ft.letterSpacing,"0.098px"),ie=ut.extend("--ft-typography-subtitle2-line-height",Ft.lineHeight,"1.7"),oe=ut.extend("--ft-typography-subtitle2-text-transform",Ft.textTransform,"inherit"),se=ut.extend("--ft-typography-body1-font-family",Bt),ne=ut.extend("--ft-typography-body1-font-size",Ft.fontSize,"16px"),re=ut.extend("--ft-typography-body1-font-weight",Ft.fontWeight,"normal"),le=ut.extend("--ft-typography-body1-letter-spacing",Ft.letterSpacing,"0.496px"),ae=ut.extend("--ft-typography-body1-line-height",Ft.lineHeight,"1.5"),he=ut.extend("--ft-typography-body1-text-transform",Ft.textTransform,"inherit"),ce={fontFamily:ut.extend("--ft-typography-body2-font-family",Bt),fontSize:ut.extend("--ft-typography-body2-font-size",Ft.fontSize,"14px"),fontWeight:ut.extend("--ft-typography-body2-font-weight",Ft.fontWeight,"normal"),letterSpacing:ut.extend("--ft-typography-body2-letter-spacing",Ft.letterSpacing,"0.252px"),lineHeight:ut.extend("--ft-typography-body2-line-height",Ft.lineHeight,"1.4"),textTransform:ut.extend("--ft-typography-body2-text-transform",Ft.textTransform,"inherit")},pe=ut.extend("--ft-typography-caption-font-family",Bt),de=ut.extend("--ft-typography-caption-font-size",Ft.fontSize,"12px"),fe=ut.extend("--ft-typography-caption-font-weight",Ft.fontWeight,"normal"),ue=ut.extend("--ft-typography-caption-letter-spacing",Ft.letterSpacing,"0.396px"),ve=ut.extend("--ft-typography-caption-line-height",Ft.lineHeight,"1.33"),be=ut.extend("--ft-typography-caption-text-transform",Ft.textTransform,"inherit"),xe=ut.extend("--ft-typography-breadcrumb-font-family",Bt),ye=ut.extend("--ft-typography-breadcrumb-font-size",Ft.fontSize,"10px"),ge=ut.extend("--ft-typography-breadcrumb-font-weight",Ft.fontWeight,"normal"),me=ut.extend("--ft-typography-breadcrumb-letter-spacing",Ft.letterSpacing,"0.33px"),$e=ut.extend("--ft-typography-breadcrumb-line-height",Ft.lineHeight,"1.6"),we=ut.extend("--ft-typography-breadcrumb-text-transform",Ft.textTransform,"inherit"),ke=ut.extend("--ft-typography-overline-font-family",Bt),Oe=ut.extend("--ft-typography-overline-font-size",Ft.fontSize,"10px"),Se=ut.extend("--ft-typography-overline-font-weight",Ft.fontWeight,"normal"),Ce=ut.extend("--ft-typography-overline-letter-spacing",Ft.letterSpacing,"1.5px"),Ee=ut.extend("--ft-typography-overline-line-height",Ft.lineHeight,"1.6"),Ne=ut.extend("--ft-typography-overline-text-transform",Ft.textTransform,"uppercase"),ze={fontFamily:ut.extend("--ft-typography-button-font-family",Bt),fontSize:ut.extend("--ft-typography-button-font-size",Ft.fontSize,"14px"),fontWeight:ut.extend("--ft-typography-button-font-weight",Ft.fontWeight,"600"),letterSpacing:ut.extend("--ft-typography-button-letter-spacing",Ft.letterSpacing,"1.246px"),lineHeight:ut.extend("--ft-typography-button-line-height",Ft.lineHeight,"1.15"),textTransform:ut.extend("--ft-typography-button-text-transform",Ft.textTransform,"uppercase")},Re=x`
100
100
  .ft-typography--title {
101
101
  font-family: ${jt};
102
102
  font-size: ${Ut};
@@ -105,13 +105,13 @@ var ct,pt;null==ht||ht(G,et),(null!==(N=globalThis.litHtmlVersions)&&void 0!==N?
105
105
  line-height: ${Tt};
106
106
  text-transform: ${At};
107
107
  }
108
- `,Re=x`
108
+ `,Me=x`
109
109
  .ft-typography--title-dense {
110
110
  font-family: ${Pt};
111
111
  font-size: ${_t};
112
112
  font-weight: ${It};
113
- letter-spacing: ${Ht};
114
- line-height: ${Wt};
113
+ letter-spacing: ${Wt};
114
+ line-height: ${Ht};
115
115
  text-transform: ${Kt};
116
116
  }
117
117
  `,Be=x`
@@ -199,16 +199,16 @@ var ct,pt;null==ht||ht(G,et),(null!==(N=globalThis.litHtmlVersions)&&void 0!==N?
199
199
  * @license
200
200
  * Copyright 2017 Google LLC
201
201
  * SPDX-License-Identifier: BSD-3-Clause
202
- */Pe.styles=[Me,Re,Be,Fe,je,Ue,Le,De,Te,Ae,x`
202
+ */Pe.styles=[Re,Me,Be,Fe,je,Ue,Le,De,Te,Ae,x`
203
203
  .ft-typography {
204
204
  vertical-align: inherit;
205
205
  }
206
- `],Mt([o()],Pe.prototype,"element",void 0),Mt([o()],Pe.prototype,"variant",void 0),c("ft-typography")(Pe);const Ie=1,He=2,We=t=>(...e)=>({_$litDirective$:t,values:e});class Ke{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
206
+ `],Rt([o()],Pe.prototype,"element",void 0),Rt([o()],Pe.prototype,"variant",void 0),c("ft-typography")(Pe);const Ie=1,We=2,He=t=>(...e)=>({_$litDirective$:t,values:e});class Ke{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
207
207
  /**
208
208
  * @license
209
209
  * Copyright 2020 Google LLC
210
210
  * SPDX-License-Identifier: BSD-3-Clause
211
- */const{H:Ve}=at,Ze=()=>document.createComment(""),Je=(t,e,i)=>{var o;const s=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=s.insertBefore(Ze(),n),o=s.insertBefore(Ze(),n);i=new Ve(e,o,t,t.options)}else{const e=i._$AB.nextSibling,r=i._$AM,l=r!==t;if(l){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==r._$AU&&i._$AP(e)}if(e!==n||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;s.insertBefore(t,n),t=e}}}return i},qe=(t,e,i=t)=>(t._$AI(e,i),t),Xe={},Ye=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const o=t._$AB.nextSibling;for(;i!==o;){const t=i.nextSibling;i.remove(),i=t}},Ge=(t,e,i)=>{const o=new Map;for(let s=e;s<=i;s++)o.set(t[s],s);return o},Qe=We(class extends Ke{constructor(t){if(super(t),t.type!==He)throw Error("repeat() can only be used in text expressions")}ht(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const s=[],n=[];let r=0;for(const e of t)s[r]=o?o(e,r):r,n[r]=i(e,r),r++;return{values:n,keys:s}}render(t,e,i){return this.ht(t,e,i).values}update(t,[e,i,o]){var s;const n=(t=>t._$AH)(t),{values:r,keys:l}=this.ht(e,i,o);if(!Array.isArray(n))return this.ut=l,r;const a=null!==(s=this.ut)&&void 0!==s?s:this.ut=[],h=[];let c,p,d=0,f=n.length-1,u=0,v=r.length-1;for(;d<=f&&u<=v;)if(null===n[d])d++;else if(null===n[f])f--;else if(a[d]===l[u])h[u]=qe(n[d],r[u]),d++,u++;else if(a[f]===l[v])h[v]=qe(n[f],r[v]),f--,v--;else if(a[d]===l[v])h[v]=qe(n[d],r[v]),Je(t,h[v+1],n[d]),d++,v--;else if(a[f]===l[u])h[u]=qe(n[f],r[u]),Je(t,n[d],n[f]),f--,u++;else if(void 0===c&&(c=Ge(l,u,v),p=Ge(a,d,f)),c.has(a[d]))if(c.has(a[f])){const e=p.get(l[u]),i=void 0!==e?n[e]:null;if(null===i){const e=Je(t,n[d]);qe(e,r[u]),h[u]=e}else h[u]=qe(i,r[u]),Je(t,n[d],i),n[e]=null;u++}else Ye(n[f]),f--;else Ye(n[d]),d++;for(;u<=v;){const e=Je(t,h[v+1]);qe(e,r[u]),h[u++]=e}for(;d<=f;){const t=n[d++];null!==t&&Ye(t)}return this.ut=l,((t,e=Xe)=>{t._$AH=e})(t,h),Z}}),ti=We(class extends Ke{constructor(t){var e;if(super(t),t.type!==Ie||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.nt){this.nt=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]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const s=t.element.classList;this.nt.forEach((t=>{t in e||(s.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.nt.add(t)):(s.remove(t),this.nt.delete(t)))}return Z}});
211
+ */const{H:Ve}=at,Ze=()=>document.createComment(""),Je=(t,e,i)=>{var o;const s=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=s.insertBefore(Ze(),n),o=s.insertBefore(Ze(),n);i=new Ve(e,o,t,t.options)}else{const e=i._$AB.nextSibling,r=i._$AM,l=r!==t;if(l){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==r._$AU&&i._$AP(e)}if(e!==n||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;s.insertBefore(t,n),t=e}}}return i},qe=(t,e,i=t)=>(t._$AI(e,i),t),Xe={},Ye=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const o=t._$AB.nextSibling;for(;i!==o;){const t=i.nextSibling;i.remove(),i=t}},Ge=(t,e,i)=>{const o=new Map;for(let s=e;s<=i;s++)o.set(t[s],s);return o},Qe=He(class extends Ke{constructor(t){if(super(t),t.type!==We)throw Error("repeat() can only be used in text expressions")}ht(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const s=[],n=[];let r=0;for(const e of t)s[r]=o?o(e,r):r,n[r]=i(e,r),r++;return{values:n,keys:s}}render(t,e,i){return this.ht(t,e,i).values}update(t,[e,i,o]){var s;const n=(t=>t._$AH)(t),{values:r,keys:l}=this.ht(e,i,o);if(!Array.isArray(n))return this.ut=l,r;const a=null!==(s=this.ut)&&void 0!==s?s:this.ut=[],h=[];let c,p,d=0,f=n.length-1,u=0,v=r.length-1;for(;d<=f&&u<=v;)if(null===n[d])d++;else if(null===n[f])f--;else if(a[d]===l[u])h[u]=qe(n[d],r[u]),d++,u++;else if(a[f]===l[v])h[v]=qe(n[f],r[v]),f--,v--;else if(a[d]===l[v])h[v]=qe(n[d],r[v]),Je(t,h[v+1],n[d]),d++,v--;else if(a[f]===l[u])h[u]=qe(n[f],r[u]),Je(t,n[d],n[f]),f--,u++;else if(void 0===c&&(c=Ge(l,u,v),p=Ge(a,d,f)),c.has(a[d]))if(c.has(a[f])){const e=p.get(l[u]),i=void 0!==e?n[e]:null;if(null===i){const e=Je(t,n[d]);qe(e,r[u]),h[u]=e}else h[u]=qe(i,r[u]),Je(t,n[d],i),n[e]=null;u++}else Ye(n[f]),f--;else Ye(n[d]),d++;for(;u<=v;){const e=Je(t,h[v+1]);qe(e,r[u]),h[u++]=e}for(;d<=f;){const t=n[d++];null!==t&&Ye(t)}return this.ut=l,((t,e=Xe)=>{t._$AH=e})(t,h),Z}}),ti=He(class extends Ke{constructor(t){var e;if(super(t),t.type!==Ie||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.nt){this.nt=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]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const s=t.element.classList;this.nt.forEach((t=>{t in e||(s.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.nt.add(t)):(s.remove(t),this.nt.delete(t)))}return Z}});
212
212
  /**
213
213
  * @license
214
214
  * Copyright 2017 Google LLC
@@ -319,7 +319,7 @@ var ct,pt;null==ht||ht(G,et),(null!==(N=globalThis.litHtmlVersions)&&void 0!==N?
319
319
  opacity: ${oi.opacityContentOnSurfacePressed};
320
320
  transform: translate(-50%, -50%) scale(1);
321
321
  }
322
- `,ei([o({type:Boolean})],ci.prototype,"primary",void 0),ei([o({type:Boolean})],ci.prototype,"secondary",void 0),ei([o({type:Boolean})],ci.prototype,"unbounded",void 0),ei([o({type:Boolean})],ci.prototype,"activated",void 0),ei([o({type:Boolean})],ci.prototype,"selected",void 0),ei([o({type:Boolean})],ci.prototype,"disabled",void 0),ei([s()],ci.prototype,"hovered",void 0),ei([s()],ci.prototype,"focused",void 0),ei([s()],ci.prototype,"pressed",void 0),ei([s()],ci.prototype,"rippling",void 0),ei([s()],ci.prototype,"rippleSize",void 0),ei([s()],ci.prototype,"originX",void 0),ei([s()],ci.prototype,"originY",void 0),ei([r(".ft-ripple")],ci.prototype,"ripple",void 0),ei([r(".ft-ripple--effect")],ci.prototype,"rippleEffect",void 0),c("ft-ripple")(ci);var pi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const di=ut.create("--ft-tooltip-distance","SIZE","4px"),fi=ut.create("--ft-tooltip-color","COLOR","#FFFFFF"),ui=ut.create("--ft-tooltip-background-color","COLOR","#666666"),vi=ut.create("--ft-tooltip-z-index","NUMBER","1"),bi=ut.external(bt.borderRadiusS,"Design system");class xi extends yt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new e,this.revealDebouncer=new e}render(){return V`
322
+ `,ei([o({type:Boolean})],ci.prototype,"primary",void 0),ei([o({type:Boolean})],ci.prototype,"secondary",void 0),ei([o({type:Boolean})],ci.prototype,"unbounded",void 0),ei([o({type:Boolean})],ci.prototype,"activated",void 0),ei([o({type:Boolean})],ci.prototype,"selected",void 0),ei([o({type:Boolean})],ci.prototype,"disabled",void 0),ei([s()],ci.prototype,"hovered",void 0),ei([s()],ci.prototype,"focused",void 0),ei([s()],ci.prototype,"pressed",void 0),ei([s()],ci.prototype,"rippling",void 0),ei([s()],ci.prototype,"rippleSize",void 0),ei([s()],ci.prototype,"originX",void 0),ei([s()],ci.prototype,"originY",void 0),ei([r(".ft-ripple")],ci.prototype,"ripple",void 0),ei([r(".ft-ripple--effect")],ci.prototype,"rippleEffect",void 0),c("ft-ripple")(ci);var pi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const di=ut.create("--ft-tooltip-distance","SIZE","4px"),fi=ut.create("--ft-tooltip-color","COLOR","#FFFFFF"),ui=ut.create("--ft-tooltip-background-color","COLOR","#666666"),vi=ut.create("--ft-tooltip-z-index","NUMBER","1"),bi=ut.external(bt.borderRadiusS,"Design system"),xi=ut.create("--ft-tooltip-max-width","SIZE","150px");class yi extends yt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new e,this.revealDebouncer=new e}render(){return V`
323
323
  <div part="container"
324
324
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
325
325
  @mouseenter=${this.onHover}
@@ -329,12 +329,13 @@ var ct,pt;null==ht||ht(G,et),(null!==(N=globalThis.litHtmlVersions)&&void 0!==N?
329
329
  @touchstart=${this.onTouch}>
330
330
  <div part="tooltip" class="ft-tooltip ft-tooltip--${this.position}" ?hidden=${!this.visible}>
331
331
  <div part="tooltip-content" class="ft-tooltip--content">
332
- <ft-typography variant="caption">${this.text}</ft-typography>
332
+ <slot name="text"></slot>
333
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
333
334
  </div>
334
335
  </div>
335
336
  <slot></slot>
336
337
  </div>
337
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&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.position){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=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2;let s=0,n=0;switch(this.position){case"top":n=-this.tooltip.clientHeight,s=o;break;case"bottom":n=e.height,s=o;break;case"left":n=i,s=-this.tooltip.clientWidth;break;case"right":n=i,s=e.width}e.left+s+this.tooltip.clientWidth>window.innerWidth&&(s=window.innerWidth-this.tooltip.clientWidth-e.left),e.left+s<0&&(s=0);const r=this.tooltip.style;r.left=s+"px",r.top=n+"px",r.maxWidth=Math.max(e.width,150)+"px"}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())}}xi.elementDefinitions={"ft-typography":Pe},xi.styles=x`
338
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&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.position){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=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2;let s=0,n=0;switch(this.position){case"top":n=-this.tooltip.clientHeight,s=o;break;case"bottom":n=e.height,s=o;break;case"left":n=i,s=-this.tooltip.clientWidth;break;case"right":n=i,s=e.width}e.left+s+this.tooltip.clientWidth>window.innerWidth&&(s=window.innerWidth-this.tooltip.clientWidth-e.left),e.left+s<0&&(s=0);const r=this.tooltip.style;r.left=s+"px",r.top=n+"px",r.maxWidth=`max(${e.width}px, ${xi})`}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())}}yi.elementDefinitions={"ft-typography":Pe},yi.styles=x`
338
339
  .ft-tooltip--container {
339
340
  display: block;
340
341
  position: relative;
@@ -350,7 +351,7 @@ var ct,pt;null==ht||ht(G,et),(null!==(N=globalThis.litHtmlVersions)&&void 0!==N?
350
351
  box-sizing: border-box;
351
352
  overflow: hidden;
352
353
  width: max-content;
353
- max-width: 150px;
354
+ max-width: ${xi};
354
355
  text-align: center;
355
356
  padding: ${di};
356
357
  z-index: ${vi};
@@ -366,7 +367,7 @@ var ct,pt;null==ht||ht(G,et),(null!==(N=globalThis.litHtmlVersions)&&void 0!==N?
366
367
  position: relative;
367
368
  word-break: break-word;
368
369
  }
369
- `,pi([o()],xi.prototype,"text",void 0),pi([o({type:Boolean})],xi.prototype,"manual",void 0),pi([o({type:Boolean})],xi.prototype,"inline",void 0),pi([o({type:Number})],xi.prototype,"delay",void 0),pi([o()],xi.prototype,"position",void 0),pi([function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},i?h({slot:s,flatten:e,selector:i}):n({descriptor:t=>({get(){var t,e;const i="slot"+(s?`[name=${s}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==n?void 0:n.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],xi.prototype,"slotNodes",void 0),pi([r(".ft-tooltip--container")],xi.prototype,"container",void 0),pi([r("slot")],xi.prototype,"target",void 0),pi([r(".ft-tooltip")],xi.prototype,"tooltip",void 0),pi([r(".ft-tooltip--content")],xi.prototype,"tooltipContent",void 0),pi([s()],xi.prototype,"visible",void 0),c("ft-tooltip")(xi);const yi={color:ut.extend("--ft-loader-color",bt.colorPrimary),size:ut.create("--ft-loader-size","SIZE","80px")};class gi extends yt{static get styles(){return x`
370
+ `,pi([o()],yi.prototype,"text",void 0),pi([o({type:Boolean})],yi.prototype,"manual",void 0),pi([o({type:Boolean})],yi.prototype,"inline",void 0),pi([o({type:Number})],yi.prototype,"delay",void 0),pi([o()],yi.prototype,"position",void 0),pi([function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},i?h({slot:s,flatten:e,selector:i}):n({descriptor:t=>({get(){var t,e;const i="slot"+(s?`[name=${s}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==n?void 0:n.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],yi.prototype,"slotNodes",void 0),pi([r(".ft-tooltip--container")],yi.prototype,"container",void 0),pi([r("slot")],yi.prototype,"target",void 0),pi([r(".ft-tooltip")],yi.prototype,"tooltip",void 0),pi([r(".ft-tooltip--content")],yi.prototype,"tooltipContent",void 0),pi([s()],yi.prototype,"visible",void 0),c("ft-tooltip")(yi);const gi={color:ut.extend("--ft-loader-color",bt.colorPrimary),size:ut.create("--ft-loader-size","SIZE","80px")};class mi extends yt{static get styles(){return x`
370
371
  :host {
371
372
  line-height: 0;
372
373
  }
@@ -375,8 +376,8 @@ var ct,pt;null==ht||ht(G,et),(null!==(N=globalThis.litHtmlVersions)&&void 0!==N?
375
376
  display: inline-block;
376
377
  position: relative;
377
378
 
378
- width: ${yi.size};
379
- height: ${yi.size};
379
+ width: ${gi.size};
380
+ height: ${gi.size};
380
381
  }
381
382
 
382
383
  .ft-loader div {
@@ -385,7 +386,7 @@ var ct,pt;null==ht||ht(G,et),(null!==(N=globalThis.litHtmlVersions)&&void 0!==N?
385
386
  width: 25%;
386
387
  height: 25%;
387
388
  border-radius: 50%;
388
- background: ${yi.color};
389
+ background: ${gi.color};
389
390
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
390
391
  }
391
392
 
@@ -432,7 +433,7 @@ var ct,pt;null==ht||ht(G,et),(null!==(N=globalThis.litHtmlVersions)&&void 0!==N?
432
433
  transform: translate(0, 0);
433
434
  }
434
435
  100% {
435
- transform: translate(calc(0.35 * ${yi.size}), 0);
436
+ transform: translate(calc(0.35 * ${gi.size}), 0);
436
437
  }
437
438
  }
438
439
  `}render(){return V`
@@ -442,25 +443,25 @@ var ct,pt;null==ht||ht(G,et),(null!==(N=globalThis.litHtmlVersions)&&void 0!==N?
442
443
  <div></div>
443
444
  <div></div>
444
445
  </div>
445
- `}}c("ft-loader")(gi);
446
+ `}}c("ft-loader")(mi);
446
447
  /**
447
448
  * @license
448
449
  * Copyright 2017 Google LLC
449
450
  * SPDX-License-Identifier: BSD-3-Clause
450
451
  */
451
- class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===J||null==t)return this._t=void 0,this.it=t;if(t===Z)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}mi.directiveName="unsafeHTML",mi.resultType=1;const $i=We(mi);var wi,ki;!function(t){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.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",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.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",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="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(wi||(wi={})),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;"}(ki||(ki={})),new Map([...["abw"].map((t=>[t,ki.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,ki.AUDIO])),...["avi"].map((t=>[t,ki.AVI])),...["chm","xhs"].map((t=>[t,ki.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,ki.CODE])),...["csv"].map((t=>[t,ki.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ki.DITA])),...["epub"].map((t=>[t,ki.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ki.EXCEL])),...["flac"].map((t=>[t,ki.FLAC])),...["gif"].map((t=>[t,ki.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ki.GZIP])),...["html","htm","xhtml"].map((t=>[t,ki.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,ki.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ki.JPEG])),...["json"].map((t=>[t,ki.JSON])),...["m4a","m4p"].map((t=>[t,ki.M4A])),...["mov","qt"].map((t=>[t,ki.MOV])),...["mp3"].map((t=>[t,ki.MP3])),...["mp4","m4v"].map((t=>[t,ki.MP4])),...["ogg","oga"].map((t=>[t,ki.OGG])),...["pdf","ps"].map((t=>[t,ki.PDF])),...["png"].map((t=>[t,ki.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ki.POWERPOINT])),...["rar"].map((t=>[t,ki.RAR])),...["stp"].map((t=>[t,ki.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ki.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,ki.VIDEO])),...["wav"].map((t=>[t,ki.WAV])),...["wma"].map((t=>[t,ki.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ki.WORD])),...["xml","xsl","rdf"].map((t=>[t,ki.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ki.YAML])),...["zip"].map((t=>[t,ki.ZIP]))]);var Oi,Si=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Oi||(Oi={}));const Ci={size:ut.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ut.extend("--ft-icon-fluid-topics-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ut.extend("--ft-icon-file-format-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ut.extend("--ft-icon-material-font-family",ut.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class Ei extends yt{constructor(){super(...arguments),this.variant=Oi.fluid_topics}getStyles(){return x`
452
+ class $i extends Ke{constructor(t){if(super(t),this.it=J,t.type!==We)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===J||null==t)return this._t=void 0,this.it=t;if(t===Z)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}$i.directiveName="unsafeHTML",$i.resultType=1;const wi=He($i);var ki,Oi;!function(t){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.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",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.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",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="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(ki||(ki={})),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;"}(Oi||(Oi={})),new Map([...["abw"].map((t=>[t,Oi.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,Oi.AUDIO])),...["avi"].map((t=>[t,Oi.AVI])),...["chm","xhs"].map((t=>[t,Oi.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,Oi.CODE])),...["csv"].map((t=>[t,Oi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Oi.DITA])),...["epub"].map((t=>[t,Oi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Oi.EXCEL])),...["flac"].map((t=>[t,Oi.FLAC])),...["gif"].map((t=>[t,Oi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Oi.GZIP])),...["html","htm","xhtml"].map((t=>[t,Oi.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,Oi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Oi.JPEG])),...["json"].map((t=>[t,Oi.JSON])),...["m4a","m4p"].map((t=>[t,Oi.M4A])),...["mov","qt"].map((t=>[t,Oi.MOV])),...["mp3"].map((t=>[t,Oi.MP3])),...["mp4","m4v"].map((t=>[t,Oi.MP4])),...["ogg","oga"].map((t=>[t,Oi.OGG])),...["pdf","ps"].map((t=>[t,Oi.PDF])),...["png"].map((t=>[t,Oi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Oi.POWERPOINT])),...["rar"].map((t=>[t,Oi.RAR])),...["stp"].map((t=>[t,Oi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Oi.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,Oi.VIDEO])),...["wav"].map((t=>[t,Oi.WAV])),...["wma"].map((t=>[t,Oi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Oi.WORD])),...["xml","xsl","rdf"].map((t=>[t,Oi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Oi.YAML])),...["zip"].map((t=>[t,Oi.ZIP]))]);var Si,Ci=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Si||(Si={}));const Ei={size:ut.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ut.extend("--ft-icon-fluid-topics-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ut.extend("--ft-icon-file-format-font-family",ut.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ut.extend("--ft-icon-material-font-family",ut.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:ut.create("--ft-icon-vertical-align","UNKNOWN","unset")};class Ni extends yt{constructor(){super(...arguments),this.variant=Si.fluid_topics}getStyles(){return x`
452
453
  :host {
453
454
  display: inline-block;
454
455
  }
455
456
 
456
457
  :host, i.ft-icon {
457
- width: ${Ci.size};
458
- height: ${Ci.size};
458
+ width: ${Ei.size};
459
+ height: ${Ei.size};
459
460
  text-align: center;
460
461
  }
461
462
 
462
463
  i.ft-icon {
463
- font-size: ${Ci.size};
464
+ font-size: ${Ei.size};
464
465
  line-height: 1;
465
466
  font-weight: normal;
466
467
  text-transform: none;
@@ -471,25 +472,26 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
471
472
  text-rendering: auto;
472
473
  -webkit-font-smoothing: antialiased;
473
474
  -moz-osx-font-smoothing: grayscale;
475
+ vertical-align: ${Ei.verticalAlign};
474
476
  }
475
477
 
476
478
  .ft-icon--fluid-topics {
477
- font-family: ${Ci.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
479
+ font-family: ${Ei.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
478
480
  }
479
481
 
480
482
  .ft-icon--file-format {
481
- font-family: ${Ci.fileFormatFontFamily}, ft-mime, sans-serif;
483
+ font-family: ${Ei.fileFormatFontFamily}, ft-mime, sans-serif;
482
484
  }
483
485
 
484
486
  .ft-icon--material {
485
- font-family: ${Ci.materialFontFamily}, "Material Icons", sans-serif;
487
+ font-family: ${Ei.materialFontFamily}, "Material Icons", sans-serif;
486
488
  }
487
489
  `}getTemplate(){return V`
488
490
  <i class="ft-icon ${"ft-icon--"+this.variant}">
489
- ${$i(this.getIcon())}
491
+ ${wi(this.getIcon())}
490
492
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
491
493
  </i>
492
- `}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:""}getIcon(){var t,e;let i=this.textContent;return this.variant===Oi.file_format?null!==(t=ki[i.toUpperCase()])&&void 0!==t?t:i:this.variant===Oi.fluid_topics?null!==(e=wi[i.toUpperCase()])&&void 0!==e?e:i:J}}Ei.elementDefinitions={},Si([o()],Ei.prototype,"variant",void 0),Si([r("slot")],Ei.prototype,"slottedContent",void 0),c("ft-icon")(Ei);var Ni=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const zi=ut.extend("--ft-button-color",bt.colorPrimary),Mi={backgroundColor:ut.extend("--ft-button-background-color",bt.colorSurface),borderRadius:ut.extend("--ft-button-border-radius",bt.borderRadiusL),color:zi,fontSize:ut.extend("--ft-button-font-size",ze.fontSize),iconSize:ut.create("--ft-button-icon-size","SIZE","24px"),rippleColor:ut.extend("--ft-button-ripple-color",zi),opacityDisabled:ut.external(bt.colorOpacityDisabled,"Design system")},Ri=ut.extend("--ft-button-primary-color",ut.extend("--ft-button-color",bt.colorOnPrimary)),Bi={backgroundColor:ut.extend("--ft-button-primary-background-color",ut.extend("--ft-button-background-color",bt.colorPrimary)),color:Ri,rippleColor:ut.extend("--ft-button-primary-ripple-color",Ri)},Fi=ut.extend("--ft-button-dense-border-radius",ut.extend("--ft-button-border-radius",bt.borderRadiusM));class ji extends yt{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[gt,x`
494
+ `}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:""}getIcon(){var t,e;let i=this.textContent;return this.variant===Si.file_format?null!==(t=Oi[i.toUpperCase()])&&void 0!==t?t:i:this.variant===Si.fluid_topics?null!==(e=ki[i.toUpperCase()])&&void 0!==e?e:i:J}}Ni.elementDefinitions={},Ci([o()],Ni.prototype,"variant",void 0),Ci([r("slot")],Ni.prototype,"slottedContent",void 0),c("ft-icon")(Ni);var zi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Ri=ut.extend("--ft-button-color",bt.colorPrimary),Mi={backgroundColor:ut.extend("--ft-button-background-color",bt.colorSurface),borderRadius:ut.extend("--ft-button-border-radius",bt.borderRadiusL),color:Ri,fontSize:ut.extend("--ft-button-font-size",ze.fontSize),iconSize:ut.create("--ft-button-icon-size","SIZE","24px"),rippleColor:ut.extend("--ft-button-ripple-color",Ri),opacityDisabled:ut.external(bt.colorOpacityDisabled,"Design system")},Bi=ut.extend("--ft-button-primary-color",ut.extend("--ft-button-color",bt.colorOnPrimary)),Fi={backgroundColor:ut.extend("--ft-button-primary-background-color",ut.extend("--ft-button-background-color",bt.colorPrimary)),color:Bi,rippleColor:ut.extend("--ft-button-primary-ripple-color",Bi)},ji=ut.extend("--ft-button-dense-border-radius",ut.extend("--ft-button-border-radius",bt.borderRadiusM));class Ui extends yt{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[gt,x`
493
495
  :host {
494
496
  display: inline-block;
495
497
  max-width: 100%;
@@ -531,7 +533,7 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
531
533
 
532
534
  --ft-button-internal-line-height: calc(${Mi.fontSize} + 2px);
533
535
  --ft-button-internal-color: ${Mi.color};
534
- ${vt(Ci.size,Mi.iconSize)};
536
+ ${vt(Ei.size,Mi.iconSize)};
535
537
  --ft-button-internal-vertical-padding: 6px;
536
538
  --ft-button-internal-horizontal-padding: 8px;
537
539
  ${vt(oi.color,Mi.rippleColor)};
@@ -551,7 +553,7 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
551
553
  .ft-button--dense {
552
554
  --ft-button-internal-vertical-padding: 2px;
553
555
  --ft-button-internal-horizontal-padding: 4px;
554
- border-radius: ${Fi};
556
+ border-radius: ${ji};
555
557
  }
556
558
 
557
559
  .ft-button--round {
@@ -564,9 +566,9 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
564
566
  }
565
567
 
566
568
  .ft-button.ft-button--primary {
567
- background-color: ${Bi.backgroundColor};
568
- --ft-button-internal-color: ${Bi.color};
569
- ${vt(oi.color,Bi.rippleColor)};
569
+ background-color: ${Fi.backgroundColor};
570
+ --ft-button-internal-color: ${Fi.color};
571
+ ${vt(oi.color,Fi.rippleColor)};
570
572
  }
571
573
 
572
574
  .ft-button.ft-button--outlined {
@@ -619,8 +621,8 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
619
621
  }
620
622
 
621
623
  ft-loader {
622
- ${vt(yi.size,Mi.iconSize)};
623
- ${vt(yi.color,"var(--ft-button-internal-color)")};
624
+ ${vt(gi.size,Mi.iconSize)};
625
+ ${vt(gi.color,"var(--ft-button-internal-color)")};
624
626
  }
625
627
  `]}render(){const t={"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-button--safari-fix":kt,"ft-no-text-select":!0};return this.addTooltip(V`
626
628
  <button part="button"
@@ -644,7 +646,7 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
644
646
  </ft-tooltip>
645
647
  `}resolveIcon(){return this.loading?V`
646
648
  <ft-loader></ft-loader> `:this.icon?V`
647
- <ft-icon variant="material">${this.icon}</ft-icon> `:J}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}}ji.elementDefinitions={"ft-ripple":ci,"ft-tooltip":xi,"ft-typography":Pe,"ft-icon":Ei,"ft-loader":gi},Ni([o({type:Boolean})],ji.prototype,"primary",void 0),Ni([o({type:Boolean})],ji.prototype,"outlined",void 0),Ni([o({type:Boolean})],ji.prototype,"disabled",void 0),Ni([o({type:Boolean})],ji.prototype,"dense",void 0),Ni([o({type:Boolean})],ji.prototype,"round",void 0),Ni([o({type:String})],ji.prototype,"label",void 0),Ni([o({type:String})],ji.prototype,"icon",void 0),Ni([o({type:Boolean})],ji.prototype,"trailingIcon",void 0),Ni([o({type:Boolean})],ji.prototype,"loading",void 0),Ni([o({type:String})],ji.prototype,"tooltipPosition",void 0),Ni([r(".ft-button")],ji.prototype,"button",void 0),Ni([r(".ft-button--label slot")],ji.prototype,"slottedContent",void 0),c("ft-button")(ji);var Ui=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Li=ut.extend("--ft-checkbox-text-color",bt.colorOnSurfaceHigh),Di=ut.external(bt.colorPrimary,"Design system"),Ti=ut.external(bt.colorOnPrimary,"Design system"),Ai=ut.extend("--ft-checkbox-border-color",bt.colorOnSurfaceMedium),Pi=ut.external(bt.colorOnSurfaceDisabled,"Design system");class _i extends yt{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 V`
649
+ <ft-icon variant="material">${this.icon}</ft-icon> `:J}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}}Ui.elementDefinitions={"ft-ripple":ci,"ft-tooltip":yi,"ft-typography":Pe,"ft-icon":Ni,"ft-loader":mi},zi([o({type:Boolean})],Ui.prototype,"primary",void 0),zi([o({type:Boolean})],Ui.prototype,"outlined",void 0),zi([o({type:Boolean})],Ui.prototype,"disabled",void 0),zi([o({type:Boolean})],Ui.prototype,"dense",void 0),zi([o({type:Boolean})],Ui.prototype,"round",void 0),zi([o({type:String})],Ui.prototype,"label",void 0),zi([o({type:String})],Ui.prototype,"icon",void 0),zi([o({type:Boolean})],Ui.prototype,"trailingIcon",void 0),zi([o({type:Boolean})],Ui.prototype,"loading",void 0),zi([o({type:String})],Ui.prototype,"tooltipPosition",void 0),zi([r(".ft-button")],Ui.prototype,"button",void 0),zi([r(".ft-button--label slot")],Ui.prototype,"slottedContent",void 0),c("ft-button")(Ui);var Li=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Di=ut.extend("--ft-checkbox-text-color",bt.colorOnSurfaceHigh),Ti=ut.external(bt.colorPrimary,"Design system"),Ai=ut.external(bt.colorOnPrimary,"Design system"),Pi=ut.extend("--ft-checkbox-border-color",bt.colorOnSurfaceMedium),_i=ut.external(bt.colorOnSurfaceDisabled,"Design system");class Ii extends yt{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 V`
648
650
  <label class="${ti(t)}" for="checkbox-input">
649
651
  <div class="ft-checkbox--box-container">
650
652
  <ft-ripple
@@ -670,14 +672,14 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
670
672
  <slot></slot>
671
673
  </ft-typography>
672
674
  </label>
673
- `}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)}}_i.elementDefinitions={"ft-ripple":ci,"ft-typography":Pe},_i.styles=x`
675
+ `}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)}}Ii.elementDefinitions={"ft-ripple":ci,"ft-typography":Pe},Ii.styles=x`
674
676
  * {
675
677
  box-sizing: border-box;
676
678
  }
677
679
 
678
680
  .ft-checkbox {
679
681
  box-sizing: border-box;
680
- color: ${Li};
682
+ color: ${Di};
681
683
 
682
684
  display: inline-flex;
683
685
  align-items: center;
@@ -685,7 +687,7 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
685
687
  }
686
688
 
687
689
  .ft-checkbox--disabled {
688
- color: ${Pi};
690
+ color: ${_i};
689
691
  }
690
692
 
691
693
  input {
@@ -709,26 +711,26 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
709
711
 
710
712
  .ft-checkbox--box {
711
713
  display: flex;
712
- border: 2px solid ${Ai};
714
+ border: 2px solid ${Pi};
713
715
  border-radius: 2px;
714
716
 
715
717
  width: 18px;
716
718
  height: 18px;
717
719
 
718
- color: ${Ti};
720
+ color: ${Ai};
719
721
  }
720
722
 
721
723
 
722
724
  .ft-checkbox--checked .ft-checkbox--box,
723
725
  .ft-checkbox--indeterminate .ft-checkbox--box {
724
- border-color: ${Di};
725
- background-color: ${Di};
726
+ border-color: ${Ti};
727
+ background-color: ${Ti};
726
728
  }
727
729
 
728
730
  .ft-checkbox--disabled .ft-checkbox--box {
729
- border-color: ${Pi};
731
+ border-color: ${_i};
730
732
  background-color: transparent;
731
- color: ${Pi};
733
+ color: ${_i};
732
734
  }
733
735
 
734
736
  .ft-checkbox--checkmark {
@@ -747,7 +749,7 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
747
749
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
748
750
  opacity: 1;
749
751
  }
750
- `,Ui([o()],_i.prototype,"name",void 0),Ui([o({type:Boolean,reflect:!0})],_i.prototype,"checked",void 0),Ui([o({type:Boolean})],_i.prototype,"indeterminate",void 0),Ui([o({type:Boolean})],_i.prototype,"disabled",void 0),Ui([r(".ft-checkbox")],_i.prototype,"container",void 0),Ui([r("ft-ripple")],_i.prototype,"ripple",void 0),c("ft-checkbox")(_i);var Ii=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Hi=ut.extend("--ft-radio-text-color",bt.colorOnSurfaceHigh),Wi=ut.external(bt.colorPrimary,"Design system"),Ki=(ut.external(bt.colorOnPrimary,"Design system"),ut.extend("--ft-radio-border-color",bt.colorOnSurfaceMedium)),Vi=ut.external(bt.colorOnSurfaceDisabled,"Design system");class Zi extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Ji extends yt{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 V`
752
+ `,Li([o()],Ii.prototype,"name",void 0),Li([o({type:Boolean,reflect:!0})],Ii.prototype,"checked",void 0),Li([o({type:Boolean})],Ii.prototype,"indeterminate",void 0),Li([o({type:Boolean})],Ii.prototype,"disabled",void 0),Li([r(".ft-checkbox")],Ii.prototype,"container",void 0),Li([r("ft-ripple")],Ii.prototype,"ripple",void 0),c("ft-checkbox")(Ii);var Wi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Hi=ut.extend("--ft-radio-text-color",bt.colorOnSurfaceHigh),Ki=ut.external(bt.colorPrimary,"Design system"),Vi=(ut.external(bt.colorOnPrimary,"Design system"),ut.extend("--ft-radio-border-color",bt.colorOnSurfaceMedium)),Zi=ut.external(bt.colorOnSurfaceDisabled,"Design system");class Ji extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class qi extends yt{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 V`
751
753
  <div class="${ti(t)}">
752
754
  <div class="ft-radio--box-container">
753
755
  <ft-ripple
@@ -772,7 +774,7 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
772
774
  </ft-typography>
773
775
  </label>
774
776
  </div>
775
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Zi(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 Zi(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Ji.elementDefinitions={"ft-ripple":ci,"ft-typography":Pe},Ji.styles=x`
777
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Ji(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 Ji(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}qi.elementDefinitions={"ft-ripple":ci,"ft-typography":Pe},qi.styles=x`
776
778
  * {
777
779
  box-sizing: border-box;
778
780
  }
@@ -787,7 +789,7 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
787
789
  }
788
790
 
789
791
  .ft-radio--disabled {
790
- color: ${Vi};
792
+ color: ${Zi};
791
793
  }
792
794
 
793
795
  input {
@@ -810,7 +812,7 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
810
812
  }
811
813
 
812
814
  .ft-radio--box {
813
- border: 2px solid ${Ki};
815
+ border: 2px solid ${Vi};
814
816
  border-radius: 50%;
815
817
 
816
818
  display: flex;
@@ -823,7 +825,7 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
823
825
 
824
826
  .ft-radio--box:after {
825
827
  content: " ";
826
- background-color: ${Wi};
828
+ background-color: ${Ki};
827
829
 
828
830
  border-radius: 50%;
829
831
 
@@ -835,7 +837,7 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
835
837
  }
836
838
 
837
839
  .ft-radio--checked .ft-radio--box {
838
- border-color: ${Wi};
840
+ border-color: ${Ki};
839
841
  }
840
842
 
841
843
 
@@ -844,24 +846,24 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
844
846
  }
845
847
 
846
848
  .ft-radio--disabled .ft-radio--box {
847
- border-color: ${Vi};
849
+ border-color: ${Zi};
848
850
  background-color: transparent;
849
851
  }
850
852
 
851
853
  .ft-radio--disabled .ft-radio--box:after {
852
- background-color: ${Vi};
854
+ background-color: ${Zi};
853
855
  }
854
- `,Ii([o()],Ji.prototype,"value",void 0),Ii([o()],Ji.prototype,"name",void 0),Ii([o({type:Boolean,reflect:!0})],Ji.prototype,"checked",void 0),Ii([o({type:Boolean})],Ji.prototype,"disabled",void 0),Ii([r(".ft-radio")],Ji.prototype,"container",void 0),Ii([r("ft-ripple")],Ji.prototype,"ripple",void 0),Ii([r("input")],Ji.prototype,"input",void 0);var qi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Xi extends yt{constructor(){super(...arguments),this.name=""}render(){return V`
856
+ `,Wi([o()],qi.prototype,"value",void 0),Wi([o()],qi.prototype,"name",void 0),Wi([o({type:Boolean,reflect:!0})],qi.prototype,"checked",void 0),Wi([o({type:Boolean})],qi.prototype,"disabled",void 0),Wi([r(".ft-radio")],qi.prototype,"container",void 0),Wi([r("ft-ripple")],qi.prototype,"ripple",void 0),Wi([r("input")],qi.prototype,"input",void 0);var Xi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Yi extends yt{constructor(){super(...arguments),this.name=""}render(){return V`
855
857
  <slot @slotchange=${this.onSlotChange}
856
858
  @change=${this.onChange}
857
859
  @keydown=${this.onKeyDown}
858
860
  @focusin=${this.focusCurrentValue}
859
861
  ></slot>
860
- `}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),i=this.radioButtons.indexOf(e)-1;this.radioButtons[i<0?this.radioButtons.length-1:i].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)}}Xi.elementDefinitions={},Xi.styles=x`
862
+ `}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),i=this.radioButtons.indexOf(e)-1;this.radioButtons[i<0?this.radioButtons.length-1:i].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)}}Yi.elementDefinitions={},Yi.styles=x`
861
863
  :host {
862
864
  display: contents;
863
865
  }
864
- `,qi([o()],Xi.prototype,"name",void 0),qi([h()],Xi.prototype,"radioButtons",void 0),c("ft-radio")(Ji),c("ft-radio-group")(Xi);var Yi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Gi={borderRadiusM:ut.external(bt.borderRadiusM,"Design system"),colorOutline:ut.external(bt.colorOutline,"Design system"),colorOnSurface:ut.external(bt.colorOnSurface,"Design system"),colorOnSurfaceMedium:ut.external(bt.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ut.external(bt.colorOnSurfaceDisabled,"Design system"),colorPrimary:ut.external(bt.colorPrimary,"Design system"),colorOnPrimary:ut.external(bt.colorOnPrimary,"Design system"),fontFamily:ut.external(ce.fontFamily,"Body2 typography"),fontSize:ut.external(ce.fontSize,"Body2 typography"),fontWeight:ut.external(ce.fontWeight,"Body2 typography"),letterSpacing:ut.external(ce.letterSpacing,"Body2 typography"),lineHeight:ut.external(ce.lineHeight,"Body2 typography"),textTransform:ut.external(ce.textTransform,"Body2 typography")};class Qi extends yt{constructor(){super(...arguments),this.id="",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 V`
866
+ `,Xi([o()],Yi.prototype,"name",void 0),Xi([h()],Yi.prototype,"radioButtons",void 0),c("ft-radio")(qi),c("ft-radio-group")(Yi);var Gi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Qi={borderRadiusM:ut.external(bt.borderRadiusM,"Design system"),colorOutline:ut.external(bt.colorOutline,"Design system"),colorOnSurface:ut.external(bt.colorOnSurface,"Design system"),colorOnSurfaceMedium:ut.external(bt.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ut.external(bt.colorOnSurfaceDisabled,"Design system"),colorPrimary:ut.external(bt.colorPrimary,"Design system"),colorOnPrimary:ut.external(bt.colorOnPrimary,"Design system"),fontFamily:ut.external(ce.fontFamily,"Body2 typography"),fontSize:ut.external(ce.fontSize,"Body2 typography"),fontWeight:ut.external(ce.fontWeight,"Body2 typography"),letterSpacing:ut.external(ce.letterSpacing,"Body2 typography"),lineHeight:ut.external(ce.lineHeight,"Body2 typography"),textTransform:ut.external(ce.textTransform,"Body2 typography")};class to extends yt{constructor(){super(...arguments),this.id="",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 V`
865
867
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
866
868
  ${null==this.parent?null:V`
867
869
  <div tabindex="0"
@@ -925,7 +927,7 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
925
927
  @change=${t=>t.stopPropagation()}>
926
928
  ${t.label}
927
929
  </ft-radio>
928
- `}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}))}}Qi.elementDefinitions={"ft-button":ji,"ft-ripple":ci,"ft-typography":Pe,"ft-checkbox":_i,"ft-icon":Ei,"ft-radio":Ji},Qi.styles=[x`
930
+ `}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}))}}to.elementDefinitions={"ft-button":Ui,"ft-ripple":ci,"ft-typography":Pe,"ft-checkbox":Ii,"ft-icon":Ni,"ft-radio":qi},to.styles=[x`
929
931
  .ft-filter-level--container {
930
932
  display: flex;
931
933
  flex-direction: column;
@@ -939,14 +941,14 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
939
941
  flex-shrink: 0;
940
942
  text-decoration: none;
941
943
  position: relative;
942
- border-radius: ${Gi.borderRadiusM};
944
+ border-radius: ${Qi.borderRadiusM};
943
945
  overflow: hidden;
944
946
  display: flex;
945
947
  align-items: center;
946
948
  padding: 4px 4px;
947
949
  gap: 4px;
948
950
  cursor: pointer;
949
- color: ${Gi.colorOnSurface};
951
+ color: ${Qi.colorOnSurface};
950
952
  }
951
953
 
952
954
  .ft-filter-level--go-back:focus {
@@ -975,7 +977,7 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
975
977
  }
976
978
 
977
979
  ft-button {
978
- ${vt(Mi.color,Gi.colorOnSurface)};
980
+ ${vt(Mi.color,Qi.colorOnSurface)};
979
981
  }
980
982
 
981
983
  ft-radio, ft-checkbox {
@@ -989,9 +991,9 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
989
991
 
990
992
  .ft-filter-level--no-values {
991
993
  margin: 10px 0;
992
- color: ${Gi.colorOnSurfaceMedium};
994
+ color: ${Qi.colorOnSurfaceMedium};
993
995
  }
994
- `],Yi([o({type:String})],Qi.prototype,"id",void 0),Yi([o({type:Object})],Qi.prototype,"parent",void 0),Yi([o({type:Array})],Qi.prototype,"options",void 0),Yi([o({type:Boolean})],Qi.prototype,"multivalued",void 0),Yi([o({type:Boolean})],Qi.prototype,"disabled",void 0),Yi([o({type:Boolean})],Qi.prototype,"hideSelectedOptions",void 0),Yi([o({type:Boolean})],Qi.prototype,"preventNavigation",void 0),Yi([o({type:String})],Qi.prototype,"filter",void 0),Yi([o({type:String})],Qi.prototype,"moreValuesButtonLabel",void 0),Yi([o({type:String})],Qi.prototype,"noValuesLabel",void 0),Yi([o({type:Number})],Qi.prototype,"displayedValuesLimit",void 0),Yi([r(".ft-filter-level--container")],Qi.prototype,"container",void 0),Yi([s()],Qi.prototype,"displayedPages",void 0);var to=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const eo={buttonsColor:ut.extend("--ft-snap-scroll-buttons-color",bt.colorPrimary),buttonsZIndex:ut.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:ut.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:ut.external(bt.colorSurface,"Design system")};class io extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class oo extends yt{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,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<i||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=ti({"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":kt}),e=this.controls&&this.withScroll;return V`
996
+ `],Gi([o({type:String})],to.prototype,"id",void 0),Gi([o({type:Object})],to.prototype,"parent",void 0),Gi([o({type:Array})],to.prototype,"options",void 0),Gi([o({type:Boolean})],to.prototype,"multivalued",void 0),Gi([o({type:Boolean})],to.prototype,"disabled",void 0),Gi([o({type:Boolean})],to.prototype,"hideSelectedOptions",void 0),Gi([o({type:Boolean})],to.prototype,"preventNavigation",void 0),Gi([o({type:String})],to.prototype,"filter",void 0),Gi([o({type:String})],to.prototype,"moreValuesButtonLabel",void 0),Gi([o({type:String})],to.prototype,"noValuesLabel",void 0),Gi([o({type:Number})],to.prototype,"displayedValuesLimit",void 0),Gi([r(".ft-filter-level--container")],to.prototype,"container",void 0),Gi([s()],to.prototype,"displayedPages",void 0);var eo=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const io={buttonsColor:ut.extend("--ft-snap-scroll-buttons-color",bt.colorPrimary),buttonsZIndex:ut.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:ut.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:ut.external(bt.colorSurface,"Design system")};class oo extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class so extends yt{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,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<i||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=ti({"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":kt}),e=this.controls&&this.withScroll;return V`
995
997
  <div part="container" class="${t}">
996
998
  <ft-button
997
999
  class="ft-snap-scroll--previous"
@@ -1015,7 +1017,7 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
1015
1017
  @click=${this.next}
1016
1018
  ></ft-button>
1017
1019
  </div>
1018
- `}updated(t){var e;super.updated(t),this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer!==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))),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 io(this.currentElement,this.elements[this.currentElement]))}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,i;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(i=this.contentSlot)||void 0===i||i.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)}}oo.elementDefinitions={"ft-button":ji},oo.styles=x`
1020
+ `}updated(t){var e;super.updated(t),this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer!==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))),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 oo(this.currentElement,this.elements[this.currentElement]))}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,i;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(i=this.contentSlot)||void 0===i||i.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)}}so.elementDefinitions={"ft-button":Ui},so.styles=x`
1019
1021
  .ft-snap-scroll {
1020
1022
  box-sizing: border-box;
1021
1023
  position: relative;
@@ -1050,7 +1052,7 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
1050
1052
  flex-wrap: nowrap;
1051
1053
  align-items: flex-start;
1052
1054
  justify-content: flex-start;
1053
- gap: ${eo.gap};
1055
+ gap: ${io.gap};
1054
1056
  }
1055
1057
 
1056
1058
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1093,11 +1095,11 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
1093
1095
  .ft-snap-scroll--next {
1094
1096
  position: absolute;
1095
1097
  display: flex;
1096
- z-index: ${eo.buttonsZIndex};
1098
+ z-index: ${io.buttonsZIndex};
1097
1099
  opacity: 1;
1098
1100
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1099
1101
  ${vt(Mi.backgroundColor,"transparent")};
1100
- ${vt(Mi.color,eo.buttonsColor)};
1102
+ ${vt(Mi.color,io.buttonsColor)};
1101
1103
  }
1102
1104
 
1103
1105
  .ft-snap-scroll--previous[hidden],
@@ -1110,37 +1112,37 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
1110
1112
  top: 0;
1111
1113
  left: -1px;
1112
1114
  bottom: 0;
1113
- background: linear-gradient(to right, ${eo.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1115
+ background: linear-gradient(to right, ${io.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1114
1116
  }
1115
1117
 
1116
1118
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1117
1119
  top: -1px;
1118
1120
  left: 0;
1119
1121
  right: 0;
1120
- background: linear-gradient(to bottom, ${eo.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1122
+ background: linear-gradient(to bottom, ${io.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1121
1123
  }
1122
1124
 
1123
1125
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1124
1126
  top: 0;
1125
1127
  right: -1px;
1126
1128
  bottom: 0;
1127
- background: linear-gradient(to left, ${eo.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1129
+ background: linear-gradient(to left, ${io.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1128
1130
  }
1129
1131
 
1130
1132
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1131
1133
  left: 0;
1132
1134
  right: 0;
1133
1135
  bottom: -1px;
1134
- background: linear-gradient(to top, ${eo.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1136
+ background: linear-gradient(to top, ${io.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1135
1137
  }
1136
1138
 
1137
1139
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1138
1140
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1139
1141
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1140
1142
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1141
- background-color: ${eo.colorSurface};
1143
+ background-color: ${io.colorSurface};
1142
1144
  }
1143
- `,to([o({type:Boolean})],oo.prototype,"horizontal",void 0),to([o({type:Boolean})],oo.prototype,"hideScrollbar",void 0),to([o({type:Boolean})],oo.prototype,"controls",void 0),to([o({type:Boolean})],oo.prototype,"limitSize",void 0),to([s()],oo.prototype,"elements",void 0),to([s()],oo.prototype,"currentElement",void 0),to([s()],oo.prototype,"withScroll",void 0),to([s()],oo.prototype,"startReached",void 0),to([s()],oo.prototype,"endReached",void 0),to([r(".ft-snap-scroll--content")],oo.prototype,"contentSlot",void 0),c("ft-snap-scroll")(oo);var so=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const no={colorOutline:ut.external(bt.colorOutline,"Design system"),colorOnSurface:ut.external(bt.colorOnSurface,"Design system"),colorOnSurfaceMedium:ut.external(bt.colorOnSurfaceMedium,"Design system"),colorPrimary:ut.external(bt.colorPrimary,"Design system"),colorSurface:ut.external(bt.colorSurface,"Design system"),transitionDuration:ut.external(bt.transitionDuration,"Design system"),transitionTimingFunction:ut.external(bt.transitionTimingFunction,"Design system")};class ro extends CustomEvent{constructor(t){super("change",{detail:t})}}class lo extends yt{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.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new e(300),this.changeDebouncer=new e(10)}get flatOptions(){return _e(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}render(){var t,e;const i=this.flatOptions.some((t=>t.selected));let o=this.withScroll||this.filter||null!==(e=null===(t=this.lastLevel)||void 0===t?void 0:t.hasHiddenValues)&&void 0!==e&&e;return V`
1145
+ `,eo([o({type:Boolean})],so.prototype,"horizontal",void 0),eo([o({type:Boolean})],so.prototype,"hideScrollbar",void 0),eo([o({type:Boolean})],so.prototype,"controls",void 0),eo([o({type:Boolean})],so.prototype,"limitSize",void 0),eo([s()],so.prototype,"elements",void 0),eo([s()],so.prototype,"currentElement",void 0),eo([s()],so.prototype,"withScroll",void 0),eo([s()],so.prototype,"startReached",void 0),eo([s()],so.prototype,"endReached",void 0),eo([r(".ft-snap-scroll--content")],so.prototype,"contentSlot",void 0),c("ft-snap-scroll")(so);var no=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const ro={colorOutline:ut.external(bt.colorOutline,"Design system"),colorOnSurface:ut.external(bt.colorOnSurface,"Design system"),colorOnSurfaceMedium:ut.external(bt.colorOnSurfaceMedium,"Design system"),colorPrimary:ut.external(bt.colorPrimary,"Design system"),colorSurface:ut.external(bt.colorSurface,"Design system"),transitionDuration:ut.external(bt.transitionDuration,"Design system"),transitionTimingFunction:ut.external(bt.transitionTimingFunction,"Design system")};class lo extends CustomEvent{constructor(t){super("change",{detail:t})}}class ao extends yt{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.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new e(300),this.changeDebouncer=new e(10)}get flatOptions(){return _e(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}render(){var t,e;const i=this.flatOptions.some((t=>t.selected));let o=this.withScroll||this.filter||null!==(e=null===(t=this.lastLevel)||void 0===t?void 0:t.hasHiddenValues)&&void 0!==e&&e;return V`
1144
1146
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1145
1147
  part="container">
1146
1148
  ${this.label||i?V`
@@ -1209,7 +1211,7 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
1209
1211
  .exportpartsPrefixes=${["values","available-values"]}
1210
1212
  noValuesLabel="${this.noValuesLabel}"
1211
1213
  ></ft-filter-level>
1212
- `}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 i=this.flatOptions.find((e=>e.value===t.detail.value));i.selected=!i.selected;const o=t=>{var e;t!==i&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(o)};this.multivalued?null===(e=i.subOptions)||void 0===e||e.forEach(o):this.options.forEach(o),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;const e=this.flatOptions.filter((t=>t.selected)).map((t=>t.value));this.dispatchEvent(new ro(e)),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}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)}}lo.elementDefinitions={"ft-button":ji,"ft-filter-level":Qi,"ft-snap-scroll":oo,"ft-typography":Pe},lo.styles=[Le,x`
1214
+ `}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 i=this.flatOptions.find((e=>e.value===t.detail.value));i.selected=!i.selected;const o=t=>{var e;t!==i&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(o)};this.multivalued?null===(e=i.subOptions)||void 0===e||e.forEach(o):this.options.forEach(o),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;const e=this.flatOptions.filter((t=>t.selected)).map((t=>t.value));this.dispatchEvent(new lo(e)),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}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)}}ao.elementDefinitions={"ft-button":Ui,"ft-filter-level":to,"ft-snap-scroll":so,"ft-typography":Pe},ao.styles=[Le,x`
1213
1215
  :host {
1214
1216
  display: flex;
1215
1217
  max-height: 100%;
@@ -1222,7 +1224,7 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
1222
1224
  flex-direction: column;
1223
1225
  max-height: 100%;
1224
1226
  max-width: 100%;
1225
- color: ${no.colorOnSurface};
1227
+ color: ${ro.colorOnSurface};
1226
1228
  }
1227
1229
 
1228
1230
  .ft-filter--header {
@@ -1258,8 +1260,8 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
1258
1260
  padding: 0 10px;
1259
1261
  overflow: hidden;
1260
1262
  height: 32px;
1261
- transition: height ${no.transitionDuration} ${no.transitionTimingFunction},
1262
- margin ${no.transitionDuration} ${no.transitionTimingFunction};
1263
+ transition: height ${ro.transitionDuration} ${ro.transitionTimingFunction},
1264
+ margin ${ro.transitionDuration} ${ro.transitionTimingFunction};
1263
1265
  transition-delay: 500ms;
1264
1266
  }
1265
1267
 
@@ -1272,15 +1274,15 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
1272
1274
  display: block;
1273
1275
  width: 100%;
1274
1276
  border-radius: 4px;
1275
- border: 1px solid ${no.colorOutline};
1277
+ border: 1px solid ${ro.colorOutline};
1276
1278
  padding: 4px;
1277
- background-color: ${no.colorSurface};
1278
- color: ${no.colorOnSurface};
1279
- outline-color: ${no.colorPrimary};
1279
+ background-color: ${ro.colorSurface};
1280
+ color: ${ro.colorOnSurface};
1281
+ outline-color: ${ro.colorPrimary};
1280
1282
  }
1281
1283
 
1282
1284
  input::placeholder {
1283
- color: ${no.colorOnSurfaceMedium};
1285
+ color: ${ro.colorOnSurfaceMedium};
1284
1286
  }
1285
1287
 
1286
1288
  .ft-filter--values {
@@ -1292,7 +1294,7 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
1292
1294
  }
1293
1295
 
1294
1296
  .ft-filter--separator {
1295
- border-top: 1px solid ${no.colorOutline};
1297
+ border-top: 1px solid ${ro.colorOutline};
1296
1298
  margin: 4px 10px;
1297
1299
  }
1298
1300
 
@@ -1317,6 +1319,6 @@ class mi extends Ke{constructor(t){if(super(t),this.it=J,t.type!==He)throw Error
1317
1319
  slot {
1318
1320
  display: none;
1319
1321
  }
1320
- `],so([o({type:String})],lo.prototype,"id",void 0),so([o({type:String})],lo.prototype,"label",void 0),so([o({type:String})],lo.prototype,"filterPlaceHolder",void 0),so([o({type:String})],lo.prototype,"clearButtonLabel",void 0),so([o({type:String})],lo.prototype,"moreValuesButtonLabel",void 0),so([o({type:String})],lo.prototype,"noValuesLabel",void 0),so([p([])],lo.prototype,"options",void 0),so([o({type:Boolean})],lo.prototype,"multivalued",void 0),so([o({type:Boolean})],lo.prototype,"disabled",void 0),so([o({type:Boolean})],lo.prototype,"raiseSelectedOptions",void 0),so([o({type:Number})],lo.prototype,"displayedValuesLimit",void 0),so([r(".ft-filter--slot")],lo.prototype,"slotElement",void 0),so([r(".ft-filter--container")],lo.prototype,"container",void 0),so([r(".ft-filter--values")],lo.prototype,"valuesContainer",void 0),so([r(".ft-filter--levels")],lo.prototype,"levelsContainer",void 0),so([r(".ft-filter--levels ft-filter-level:last-child")],lo.prototype,"lastLevel",void 0),so([r(".ft-filter--filter input")],lo.prototype,"filterInput",void 0),so([function(t){return n({descriptor:e=>({get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelectorAll(t))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}(".ft-filter--levels ft-filter-level")],lo.prototype,"levels",void 0),so([s()],lo.prototype,"withScroll",void 0),so([s()],lo.prototype,"filter",void 0),so([s()],lo.prototype,"slideIn",void 0),so([s()],lo.prototype,"slideOut",void 0);var ao=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class ho extends yt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return V`
1322
+ `],no([o({type:String})],ao.prototype,"id",void 0),no([o({type:String})],ao.prototype,"label",void 0),no([o({type:String})],ao.prototype,"filterPlaceHolder",void 0),no([o({type:String})],ao.prototype,"clearButtonLabel",void 0),no([o({type:String})],ao.prototype,"moreValuesButtonLabel",void 0),no([o({type:String})],ao.prototype,"noValuesLabel",void 0),no([p([])],ao.prototype,"options",void 0),no([o({type:Boolean})],ao.prototype,"multivalued",void 0),no([o({type:Boolean})],ao.prototype,"disabled",void 0),no([o({type:Boolean})],ao.prototype,"raiseSelectedOptions",void 0),no([o({type:Number})],ao.prototype,"displayedValuesLimit",void 0),no([r(".ft-filter--slot")],ao.prototype,"slotElement",void 0),no([r(".ft-filter--container")],ao.prototype,"container",void 0),no([r(".ft-filter--values")],ao.prototype,"valuesContainer",void 0),no([r(".ft-filter--levels")],ao.prototype,"levelsContainer",void 0),no([r(".ft-filter--levels ft-filter-level:last-child")],ao.prototype,"lastLevel",void 0),no([r(".ft-filter--filter input")],ao.prototype,"filterInput",void 0),no([function(t){return n({descriptor:e=>({get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelectorAll(t))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}(".ft-filter--levels ft-filter-level")],ao.prototype,"levels",void 0),no([s()],ao.prototype,"withScroll",void 0),no([s()],ao.prototype,"filter",void 0),no([s()],ao.prototype,"slideIn",void 0),no([s()],ao.prototype,"slideOut",void 0);var ho=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class co extends yt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return V`
1321
1323
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1322
- `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}ho.elementDefinitions={},ao([o({type:String})],ho.prototype,"label",void 0),ao([o({type:Object,converter:t=>t})],ho.prototype,"value",void 0),ao([o({type:Boolean,reflect:!0})],ho.prototype,"selected",void 0),ao([o({type:Object})],ho.prototype,"subOptions",void 0),ao([r(".ft-filter-option--slot")],ho.prototype,"slotElement",void 0),c("ft-filter")(lo),c("ft-filter-option")(ho),t.FtFilter=lo,t.FtFilterChangeEvent=ro,t.FtFilterCssVariables=no,t.FtFilterOption=ho,Object.defineProperty(t,"i",{value:!0})}({});
1324
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}co.elementDefinitions={},ho([o({type:String})],co.prototype,"label",void 0),ho([o({type:Object,converter:t=>t})],co.prototype,"value",void 0),ho([o({type:Boolean,reflect:!0})],co.prototype,"selected",void 0),ho([o({type:Object})],co.prototype,"subOptions",void 0),ho([r(".ft-filter-option--slot")],co.prototype,"slotElement",void 0),c("ft-filter")(ao),c("ft-filter-option")(co),t.FtFilter=ao,t.FtFilterChangeEvent=lo,t.FtFilterCssVariables=ro,t.FtFilterOption=co,Object.defineProperty(t,"i",{value:!0})}({});