@fluid-topics/ft-snap-scroll 1.0.57 → 1.0.59

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||[]);f(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 d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,h,!0)}const x=this._whenDefinedPromises.get(t);return void 0!==x&&(x.resolve(s),this._whenDefinedPromises.delete(t)),s}upgrade(){v.push(this),o.upgrade.apply(o,arguments),v.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let 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=v[v.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(){const t=s.get(this);t?.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)}},f=(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)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),s.set(t,e),a=t;try{new e.elementClass}catch(t){d(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)},x=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=x.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const b=(t,e,i=void 0)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),v.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const y=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){v.push(this),i.set.call(this,t),v.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(Ri){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{if(null!==i)try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,s=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}s(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,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||[]);f(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 d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,h,!0)}const x=this._whenDefinedPromises.get(t);return void 0!==x&&(x.resolve(s),this._whenDefinedPromises.delete(t)),s}upgrade(){v.push(this),o.upgrade.apply(o,arguments),v.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let 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=v[v.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(){const t=s.get(this);t?.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)}},f=(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)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),s.set(t,e),a=t;try{new e.elementClass}catch(t){d(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)},x=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=x.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const b=(t,e,i=void 0)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),v.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const y=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){v.push(this),i.set.call(this,t),v.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)=>{if(null!==i)try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,s=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}s(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -56,7 +56,7 @@ const p=window,f=p.ShadowRoot&&(void 0===p.ShadyCSS||p.ShadyCSS.nativeShadow)&&"
56
56
  * Copyright 2017 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
58
  */
59
- var R;C.finalized=!0,C.elementProperties=new Map,C.elementStyles=[],C.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:C}),(null!==(m=w.reactiveElementVersions)&&void 0!==m?m:w.reactiveElementVersions=[]).push("1.6.1");const M=window,z=M.trustedTypes,F=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,U="$lit$",j=`lit$${(Math.random()+"").slice(9)}$`,T="?"+j,B=`<${T}>`,A=document,L=()=>A.createComment(""),I=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,_="[ \t\n\f\r]",W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,D=/-->/g,H=/>/g,K=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Z=/'/g,V=/"/g,J=/^(?:script|style|textarea|title)$/i,q=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),X=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Y=new WeakMap,Q=A.createTreeWalker(A,129,null,!1),tt=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=W;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===W?"!--"===a[1]?r=D:void 0!==a[1]?r=H:void 0!==a[2]?(J.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=K):void 0!==a[3]&&(r=K):r===K?">"===a[0]?(r=null!=s?s:W,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?K:'"'===a[3]?V:Z):r===V||r===Z?r=K:r===D||r===H?r=W:(r=K,s=void 0);const p=r===K&&t[e+1].startsWith("/>")?" ":"";n+=r===W?i+B:h>=0?(o.push(l),i.slice(0,h)+U+i.slice(h)+j+p):i+j+(-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!==F?F.createHTML(l):l,o]};class et{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]=tt(t,e);if(this.el=et.createElement(a,i),Q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Q.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(U)||e.startsWith(j)){const i=h[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+U).split(j),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?rt:"?"===e[1]?at:"@"===e[1]?ht:nt})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(J.test(o.tagName)){const t=o.textContent.split(j),e=t.length-1;if(e>0){o.textContent=z?z.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],L()),Q.nextNode(),l.push({type:2,index:++s});o.append(t[e],L())}}}else if(8===o.nodeType)if(o.data===T)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(j,t+1));)l.push({type:7,index:s}),t+=j.length-1}s++}}static createElement(t,e){const i=A.createElement("template");return i.innerHTML=t,i}}function it(t,e,i=t,o){var s,n,r,l;if(e===X)return e;let a=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const h=I(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)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=it(t,a._$AS(t,e.values),a,o)),e}class ot{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:A).importNode(i,!0);Q.currentNode=s;let n=Q.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new st(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new ct(n,this,t)),this._$AV.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=Q.nextNode(),r++)}return s}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class st{constructor(t,e,i,o){var s;this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=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._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=it(this,t,e),I(t)?t===G||null==t||""===t?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==X&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>P(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==G&&I(this._$AH)?this._$AA.nextSibling.data=t:this.$(A.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=et.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.v(i);else{const t=new ot(s,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=Y.get(t.strings);return void 0===e&&Y.set(t.strings,e=new et(t)),e}T(t){P(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 st(this.k(L()),this.k(L()),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._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class nt{constructor(t,e,i,o,s){this.type=1,this._$AH=G,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=G}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=it(this,t,e,0),n=!I(t)||t!==this._$AH&&t!==X,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=it(this,o[i+r],e,r),l===X&&(l=this._$AH[r]),n||(n=!I(l)||l!==this._$AH[r]),l===G?t=G:t!==G&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.j(t)}j(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class rt extends nt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===G?void 0:t}}const lt=z?z.emptyScript:"";class at extends nt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==G?this.element.setAttribute(this.name,lt):this.element.removeAttribute(this.name)}}class ht extends nt{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=it(this,t,e,0))&&void 0!==i?i:G)===X)return;const o=this._$AH,s=t===G&&o!==G||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==G&&(o===G||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 ct{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){it(this,t)}}const pt=M.litHtmlPolyfillSupport;null==pt||pt(et,st),(null!==(R=M.litHtmlVersions)&&void 0!==R?R:M.litHtmlVersions=[]).push("2.7.3");
59
+ var R;C.finalized=!0,C.elementProperties=new Map,C.elementStyles=[],C.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:C}),(null!==(m=w.reactiveElementVersions)&&void 0!==m?m:w.reactiveElementVersions=[]).push("1.6.1");const M=window,z=M.trustedTypes,F=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,U="$lit$",j=`lit$${(Math.random()+"").slice(9)}$`,T="?"+j,A=`<${T}>`,B=document,L=()=>B.createComment(""),I=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,_="[ \t\n\f\r]",W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,D=/-->/g,H=/>/g,K=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Z=/'/g,V=/"/g,J=/^(?:script|style|textarea|title)$/i,q=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),X=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Y=new WeakMap,Q=B.createTreeWalker(B,129,null,!1),tt=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=W;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===W?"!--"===a[1]?r=D:void 0!==a[1]?r=H:void 0!==a[2]?(J.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=K):void 0!==a[3]&&(r=K):r===K?">"===a[0]?(r=null!=s?s:W,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?K:'"'===a[3]?V:Z):r===V||r===Z?r=K:r===D||r===H?r=W:(r=K,s=void 0);const p=r===K&&t[e+1].startsWith("/>")?" ":"";n+=r===W?i+A:h>=0?(o.push(l),i.slice(0,h)+U+i.slice(h)+j+p):i+j+(-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!==F?F.createHTML(l):l,o]};class et{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]=tt(t,e);if(this.el=et.createElement(a,i),Q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Q.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(U)||e.startsWith(j)){const i=h[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+U).split(j),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?rt:"?"===e[1]?at:"@"===e[1]?ht:nt})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(J.test(o.tagName)){const t=o.textContent.split(j),e=t.length-1;if(e>0){o.textContent=z?z.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],L()),Q.nextNode(),l.push({type:2,index:++s});o.append(t[e],L())}}}else if(8===o.nodeType)if(o.data===T)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(j,t+1));)l.push({type:7,index:s}),t+=j.length-1}s++}}static createElement(t,e){const i=B.createElement("template");return i.innerHTML=t,i}}function it(t,e,i=t,o){var s,n,r,l;if(e===X)return e;let a=void 0!==o?null===(s=i._$Co)||void 0===s?void 0:s[o]:i._$Cl;const h=I(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)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=it(t,a._$AS(t,e.values),a,o)),e}class ot{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:B).importNode(i,!0);Q.currentNode=s;let n=Q.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new st(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new ct(n,this,t)),this._$AV.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=Q.nextNode(),r++)}return s}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class st{constructor(t,e,i,o){var s;this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=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._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=it(this,t,e),I(t)?t===G||null==t||""===t?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==X&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>P(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==G&&I(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=et.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.v(i);else{const t=new ot(s,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=Y.get(t.strings);return void 0===e&&Y.set(t.strings,e=new et(t)),e}T(t){P(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 st(this.k(L()),this.k(L()),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._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class nt{constructor(t,e,i,o,s){this.type=1,this._$AH=G,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=G}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=it(this,t,e,0),n=!I(t)||t!==this._$AH&&t!==X,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=it(this,o[i+r],e,r),l===X&&(l=this._$AH[r]),n||(n=!I(l)||l!==this._$AH[r]),l===G?t=G:t!==G&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.j(t)}j(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class rt extends nt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===G?void 0:t}}const lt=z?z.emptyScript:"";class at extends nt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==G?this.element.setAttribute(this.name,lt):this.element.removeAttribute(this.name)}}class ht extends nt{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=it(this,t,e,0))&&void 0!==i?i:G)===X)return;const o=this._$AH,s=t===G&&o!==G||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==G&&(o===G||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 ct{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){it(this,t)}}const pt=M.litHtmlPolyfillSupport;null==pt||pt(et,st),(null!==(R=M.litHtmlVersions)&&void 0!==R?R:M.litHtmlVersions=[]).push("2.7.3");
60
60
  /**
61
61
  * @license
62
62
  * Copyright 2017 Google LLC
@@ -94,17 +94,17 @@ var ft,dt;let ut=class extends C{constructor(){super(...arguments),this.renderOp
94
94
  display: inline-block;
95
95
  width: 0;
96
96
  }
97
- `;var Ct,Rt,Mt;window.ftReduxStores||(window.ftReduxStores={});const zt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Mt=null===(Rt=null===(Ct=window.safari)||void 0===Ct?void 0:Ct.pushNotification)||void 0===Rt?void 0:Rt.toString())&&void 0!==Mt?Mt:""),Ft=1,Ut=2,jt=t=>(...e)=>({_$litDirective$:t,values:e});
97
+ `;window.ftReduxStores||(window.ftReduxStores={});const Ct=Symbol("elementInternals");var Rt,Mt,zt;const Ft=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(zt=null===(Mt=null===(Rt=window.safari)||void 0===Rt?void 0:Rt.pushNotification)||void 0===Mt?void 0:Mt.toString())&&void 0!==zt?zt:""),Ut=1,jt=2,Tt=t=>(...e)=>({_$litDirective$:t,values:e});
98
98
  /**
99
99
  * @license
100
100
  * Copyright 2017 Google LLC
101
101
  * SPDX-License-Identifier: BSD-3-Clause
102
- */class Tt{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)}}
102
+ */class At{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)}}
103
103
  /**
104
104
  * @license
105
105
  * Copyright 2018 Google LLC
106
106
  * SPDX-License-Identifier: BSD-3-Clause
107
- */const Bt=jt(class extends Tt{constructor(t){var e;if(super(t),t.type!==Ft||"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.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.nt)||void 0===i?void 0:i.has(t))&&this.it.add(t);return this.render(e)}const s=t.element.classList;this.it.forEach((t=>{t in e||(s.remove(t),this.it.delete(t))}));for(const t in e){const i=!!e[t];i===this.it.has(t)||(null===(o=this.nt)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.it.add(t)):(s.remove(t),this.it.delete(t)))}return X}}),At=vt.extend("--ft-ripple-color",yt.colorContent),Lt={color:At,backgroundColor:vt.extend("--ft-ripple-background-color",At),opacityContentOnSurfacePressed:vt.external(yt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:vt.external(yt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:vt.external(yt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:vt.external(yt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:vt.create("--ft-ripple-border-radius","SIZE","0px")},It=vt.extend("--ft-ripple-color",yt.colorPrimary),Pt=It,_t=vt.extend("--ft-ripple-background-color",It),Wt=vt.extend("--ft-ripple-color",yt.colorSecondary),Dt=Wt,Ht=vt.extend("--ft-ripple-background-color",Wt),Kt=b`
107
+ */const Bt=Tt(class extends At{constructor(t){var e;if(super(t),t.type!==Ut||"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.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.nt)||void 0===i?void 0:i.has(t))&&this.it.add(t);return this.render(e)}const s=t.element.classList;this.it.forEach((t=>{t in e||(s.remove(t),this.it.delete(t))}));for(const t in e){const i=!!e[t];i===this.it.has(t)||(null===(o=this.nt)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.it.add(t)):(s.remove(t),this.it.delete(t)))}return X}}),Lt=vt.extend("--ft-ripple-color",yt.colorContent),It={color:Lt,backgroundColor:vt.extend("--ft-ripple-background-color",Lt),opacityContentOnSurfacePressed:vt.external(yt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:vt.external(yt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:vt.external(yt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:vt.external(yt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:vt.create("--ft-ripple-border-radius","SIZE","0px")},Pt=vt.extend("--ft-ripple-color",yt.colorPrimary),_t=Pt,Wt=vt.extend("--ft-ripple-background-color",Pt),Dt=vt.extend("--ft-ripple-color",yt.colorSecondary),Ht=Dt,Kt=vt.extend("--ft-ripple-background-color",Dt),Zt=b`
108
108
  :host {
109
109
  display: contents;
110
110
  }
@@ -117,7 +117,7 @@ var ft,dt;let ut=class extends C{constructor(){super(...arguments),this.renderOp
117
117
 
118
118
  .ft-ripple:not(.ft-ripple--unbounded) {
119
119
  overflow: hidden;
120
- border-radius: ${Lt.borderRadius};
120
+ border-radius: ${It.borderRadius};
121
121
  }
122
122
 
123
123
  .ft-ripple .ft-ripple--background,
@@ -151,27 +151,27 @@ var ft,dt;let ut=class extends C{constructor(){super(...arguments),this.renderOp
151
151
  }
152
152
 
153
153
  .ft-ripple .ft-ripple--background {
154
- background-color: ${Lt.backgroundColor};
154
+ background-color: ${It.backgroundColor};
155
155
  }
156
156
 
157
157
  .ft-ripple .ft-ripple--effect {
158
- background-color: ${Lt.color};
158
+ background-color: ${It.color};
159
159
  }
160
160
 
161
161
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
162
- background-color: ${Ht};
162
+ background-color: ${Kt};
163
163
  }
164
164
 
165
165
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
166
- background-color: ${Dt};
166
+ background-color: ${Ht};
167
167
  }
168
168
 
169
169
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
170
- background-color: ${_t};
170
+ background-color: ${Wt};
171
171
  }
172
172
 
173
173
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
174
- background-color: ${Pt};
174
+ background-color: ${_t};
175
175
  }
176
176
 
177
177
  .ft-ripple .ft-ripple--background {
@@ -201,22 +201,22 @@ var ft,dt;let ut=class extends C{constructor(){super(...arguments),this.renderOp
201
201
  }
202
202
 
203
203
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
204
- opacity: ${Lt.opacityContentOnSurfaceHover};
204
+ opacity: ${It.opacityContentOnSurfaceHover};
205
205
  }
206
206
 
207
207
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
208
- opacity: ${Lt.opacityContentOnSurfaceSelected};
208
+ opacity: ${It.opacityContentOnSurfaceSelected};
209
209
  }
210
210
 
211
211
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
212
- opacity: ${Lt.opacityContentOnSurfaceFocused};
212
+ opacity: ${It.opacityContentOnSurfaceFocused};
213
213
  }
214
214
 
215
215
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
216
- opacity: ${Lt.opacityContentOnSurfacePressed};
216
+ opacity: ${It.opacityContentOnSurfacePressed};
217
217
  transform: translate(-50%, -50%) scale(1);
218
218
  }
219
- `;var Zt=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 Vt extends kt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),n=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-n.x:n.width/2),this.originY=Math.round(null!=s?s-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return q`
219
+ `;var Vt=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 Jt extends kt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),n=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-n.x:n.width/2),this.originY=Math.round(null!=s?s-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return q`
220
220
  <style>
221
221
  .ft-ripple .ft-ripple--effect {
222
222
  left: ${this.originX}px;
@@ -227,115 +227,115 @@ var ft,dt;let ut=class extends C{constructor(){super(...arguments),this.renderOp
227
227
  <div class="ft-ripple--background"></div>
228
228
  <div class="ft-ripple--effect"></div>
229
229
  </div>
230
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,i;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Vt.elementDefinitions={},Vt.styles=Kt,Zt([o({type:Boolean})],Vt.prototype,"primary",void 0),Zt([o({type:Boolean})],Vt.prototype,"secondary",void 0),Zt([o({type:Boolean})],Vt.prototype,"unbounded",void 0),Zt([o({type:Boolean})],Vt.prototype,"activated",void 0),Zt([o({type:Boolean})],Vt.prototype,"selected",void 0),Zt([o({type:Boolean})],Vt.prototype,"disabled",void 0),Zt([s()],Vt.prototype,"hovered",void 0),Zt([s()],Vt.prototype,"focused",void 0),Zt([s()],Vt.prototype,"pressed",void 0),Zt([s()],Vt.prototype,"rippling",void 0),Zt([s()],Vt.prototype,"originX",void 0),Zt([s()],Vt.prototype,"originY",void 0),Zt([r(".ft-ripple")],Vt.prototype,"ripple",void 0),Zt([r(".ft-ripple--effect")],Vt.prototype,"rippleEffect",void 0),c("ft-ripple")(Vt);
230
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,i;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:i)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Jt.elementDefinitions={},Jt.styles=Zt,Vt([o({type:Boolean})],Jt.prototype,"primary",void 0),Vt([o({type:Boolean})],Jt.prototype,"secondary",void 0),Vt([o({type:Boolean})],Jt.prototype,"unbounded",void 0),Vt([o({type:Boolean})],Jt.prototype,"activated",void 0),Vt([o({type:Boolean})],Jt.prototype,"selected",void 0),Vt([o({type:Boolean})],Jt.prototype,"disabled",void 0),Vt([s()],Jt.prototype,"hovered",void 0),Vt([s()],Jt.prototype,"focused",void 0),Vt([s()],Jt.prototype,"pressed",void 0),Vt([s()],Jt.prototype,"rippling",void 0),Vt([s()],Jt.prototype,"originX",void 0),Vt([s()],Jt.prototype,"originY",void 0),Vt([r(".ft-ripple")],Jt.prototype,"ripple",void 0),Vt([r(".ft-ripple--effect")],Jt.prototype,"rippleEffect",void 0),c("ft-ripple")(Jt);
231
231
  /**
232
232
  * @license
233
233
  * Copyright 2020 Google LLC
234
234
  * SPDX-License-Identifier: BSD-3-Clause
235
235
  */
236
- const Jt=Symbol.for(""),qt=t=>{if((null==t?void 0:t.r)===Jt)return null==t?void 0:t._$litStatic$},Xt=t=>({_$litStatic$:t,r:Jt}),Gt=new Map,Yt=(t=>(e,...i)=>{const o=i.length;let s,n;const r=[],l=[];let a,h=0,c=!1;for(;h<o;){for(a=e[h];h<o&&void 0!==(n=i[h],s=qt(n));)a+=s+e[++h],c=!0;h!==o&&l.push(n),r.push(a),h++}if(h===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=Gt.get(t))&&(r.raw=r,Gt.set(t,e=r)),i=l}return t(e,...i)})(q);var Qt;!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"}(Qt||(Qt={}));const te=vt.extend("--ft-typography-font-family",yt.titleFont),ee=vt.extend("--ft-typography-font-family",yt.contentFont),ie={fontFamily:ee,fontSize:vt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:vt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:vt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:vt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:vt.create("--ft-typography-text-transform","UNKNOWN","inherit")},oe=vt.extend("--ft-typography-title-font-family",te),se=vt.extend("--ft-typography-title-font-size",ie.fontSize,"20px"),ne=vt.extend("--ft-typography-title-font-weight",ie.fontWeight,"normal"),re=vt.extend("--ft-typography-title-letter-spacing",ie.letterSpacing,"0.15px"),le=vt.extend("--ft-typography-title-line-height",ie.lineHeight,"1.2"),ae=vt.extend("--ft-typography-title-text-transform",ie.textTransform,"inherit"),he=vt.extend("--ft-typography-title-dense-font-family",te),ce=vt.extend("--ft-typography-title-dense-font-size",ie.fontSize,"14px"),pe=vt.extend("--ft-typography-title-dense-font-weight",ie.fontWeight,"normal"),fe=vt.extend("--ft-typography-title-dense-letter-spacing",ie.letterSpacing,"0.105px"),de=vt.extend("--ft-typography-title-dense-line-height",ie.lineHeight,"1.7"),ue=vt.extend("--ft-typography-title-dense-text-transform",ie.textTransform,"inherit"),xe=vt.extend("--ft-typography-subtitle1-font-family",ee),ve=vt.extend("--ft-typography-subtitle1-font-size",ie.fontSize,"16px"),be=vt.extend("--ft-typography-subtitle1-font-weight",ie.fontWeight,"600"),ye=vt.extend("--ft-typography-subtitle1-letter-spacing",ie.letterSpacing,"0.144px"),ge=vt.extend("--ft-typography-subtitle1-line-height",ie.lineHeight,"1.5"),me=vt.extend("--ft-typography-subtitle1-text-transform",ie.textTransform,"inherit"),we=vt.extend("--ft-typography-subtitle2-font-family",ee),$e=vt.extend("--ft-typography-subtitle2-font-size",ie.fontSize,"14px"),Oe=vt.extend("--ft-typography-subtitle2-font-weight",ie.fontWeight,"normal"),Se=vt.extend("--ft-typography-subtitle2-letter-spacing",ie.letterSpacing,"0.098px"),ke=vt.extend("--ft-typography-subtitle2-line-height",ie.lineHeight,"1.7"),Ne=vt.extend("--ft-typography-subtitle2-text-transform",ie.textTransform,"inherit"),Ee=vt.extend("--ft-typography-body1-font-family",ee),Ce=vt.extend("--ft-typography-body1-font-size",ie.fontSize,"16px"),Re=vt.extend("--ft-typography-body1-font-weight",ie.fontWeight,"normal"),Me=vt.extend("--ft-typography-body1-letter-spacing",ie.letterSpacing,"0.496px"),ze=vt.extend("--ft-typography-body1-line-height",ie.lineHeight,"1.5"),Fe=vt.extend("--ft-typography-body1-text-transform",ie.textTransform,"inherit"),Ue=vt.extend("--ft-typography-body2-font-family",ee),je=vt.extend("--ft-typography-body2-font-size",ie.fontSize,"14px"),Te=vt.extend("--ft-typography-body2-font-weight",ie.fontWeight,"normal"),Be=vt.extend("--ft-typography-body2-letter-spacing",ie.letterSpacing,"0.252px"),Ae=vt.extend("--ft-typography-body2-line-height",ie.lineHeight,"1.4"),Le=vt.extend("--ft-typography-body2-text-transform",ie.textTransform,"inherit"),Ie=vt.extend("--ft-typography-caption-font-family",ee),Pe=vt.extend("--ft-typography-caption-font-size",ie.fontSize,"12px"),_e=vt.extend("--ft-typography-caption-font-weight",ie.fontWeight,"normal"),We=vt.extend("--ft-typography-caption-letter-spacing",ie.letterSpacing,"0.396px"),De=vt.extend("--ft-typography-caption-line-height",ie.lineHeight,"1.33"),He=vt.extend("--ft-typography-caption-text-transform",ie.textTransform,"inherit"),Ke=vt.extend("--ft-typography-breadcrumb-font-family",ee),Ze=vt.extend("--ft-typography-breadcrumb-font-size",ie.fontSize,"10px"),Ve=vt.extend("--ft-typography-breadcrumb-font-weight",ie.fontWeight,"normal"),Je=vt.extend("--ft-typography-breadcrumb-letter-spacing",ie.letterSpacing,"0.33px"),qe=vt.extend("--ft-typography-breadcrumb-line-height",ie.lineHeight,"1.6"),Xe=vt.extend("--ft-typography-breadcrumb-text-transform",ie.textTransform,"inherit"),Ge=vt.extend("--ft-typography-overline-font-family",ee),Ye=vt.extend("--ft-typography-overline-font-size",ie.fontSize,"10px"),Qe=vt.extend("--ft-typography-overline-font-weight",ie.fontWeight,"normal"),ti=vt.extend("--ft-typography-overline-letter-spacing",ie.letterSpacing,"1.5px"),ei=vt.extend("--ft-typography-overline-line-height",ie.lineHeight,"1.6"),ii=vt.extend("--ft-typography-overline-text-transform",ie.textTransform,"uppercase"),oi={fontFamily:vt.extend("--ft-typography-button-font-family",ee),fontSize:vt.extend("--ft-typography-button-font-size",ie.fontSize,"14px"),fontWeight:vt.extend("--ft-typography-button-font-weight",ie.fontWeight,"600"),letterSpacing:vt.extend("--ft-typography-button-letter-spacing",ie.letterSpacing,"1.246px"),lineHeight:vt.extend("--ft-typography-button-line-height",ie.lineHeight,"1.15"),textTransform:vt.extend("--ft-typography-button-text-transform",ie.textTransform,"uppercase")},si=b`
236
+ const qt=Symbol.for(""),Xt=t=>{if((null==t?void 0:t.r)===qt)return null==t?void 0:t._$litStatic$},Gt=t=>({_$litStatic$:t,r:qt}),Yt=new Map,Qt=(t=>(e,...i)=>{const o=i.length;let s,n;const r=[],l=[];let a,h=0,c=!1;for(;h<o;){for(a=e[h];h<o&&void 0!==(n=i[h],s=Xt(n));)a+=s+e[++h],c=!0;h!==o&&l.push(n),r.push(a),h++}if(h===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=Yt.get(t))&&(r.raw=r,Yt.set(t,e=r)),i=l}return t(e,...i)})(q);var te;!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"}(te||(te={}));const ee=vt.extend("--ft-typography-font-family",yt.titleFont),ie=vt.extend("--ft-typography-font-family",yt.contentFont),oe={fontFamily:ie,fontSize:vt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:vt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:vt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:vt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:vt.create("--ft-typography-text-transform","UNKNOWN","inherit")},se=vt.extend("--ft-typography-title-font-family",ee),ne=vt.extend("--ft-typography-title-font-size",oe.fontSize,"20px"),re=vt.extend("--ft-typography-title-font-weight",oe.fontWeight,"normal"),le=vt.extend("--ft-typography-title-letter-spacing",oe.letterSpacing,"0.15px"),ae=vt.extend("--ft-typography-title-line-height",oe.lineHeight,"1.2"),he=vt.extend("--ft-typography-title-text-transform",oe.textTransform,"inherit"),ce=vt.extend("--ft-typography-title-dense-font-family",ee),pe=vt.extend("--ft-typography-title-dense-font-size",oe.fontSize,"14px"),fe=vt.extend("--ft-typography-title-dense-font-weight",oe.fontWeight,"normal"),de=vt.extend("--ft-typography-title-dense-letter-spacing",oe.letterSpacing,"0.105px"),ue=vt.extend("--ft-typography-title-dense-line-height",oe.lineHeight,"1.7"),xe=vt.extend("--ft-typography-title-dense-text-transform",oe.textTransform,"inherit"),ve=vt.extend("--ft-typography-subtitle1-font-family",ie),be=vt.extend("--ft-typography-subtitle1-font-size",oe.fontSize,"16px"),ye=vt.extend("--ft-typography-subtitle1-font-weight",oe.fontWeight,"600"),ge=vt.extend("--ft-typography-subtitle1-letter-spacing",oe.letterSpacing,"0.144px"),me=vt.extend("--ft-typography-subtitle1-line-height",oe.lineHeight,"1.5"),we=vt.extend("--ft-typography-subtitle1-text-transform",oe.textTransform,"inherit"),$e=vt.extend("--ft-typography-subtitle2-font-family",ie),Oe=vt.extend("--ft-typography-subtitle2-font-size",oe.fontSize,"14px"),Se=vt.extend("--ft-typography-subtitle2-font-weight",oe.fontWeight,"normal"),ke=vt.extend("--ft-typography-subtitle2-letter-spacing",oe.letterSpacing,"0.098px"),Ne=vt.extend("--ft-typography-subtitle2-line-height",oe.lineHeight,"1.7"),Ee=vt.extend("--ft-typography-subtitle2-text-transform",oe.textTransform,"inherit"),Ce=vt.extend("--ft-typography-body1-font-family",ie),Re=vt.extend("--ft-typography-body1-font-size",oe.fontSize,"16px"),Me=vt.extend("--ft-typography-body1-font-weight",oe.fontWeight,"normal"),ze=vt.extend("--ft-typography-body1-letter-spacing",oe.letterSpacing,"0.496px"),Fe=vt.extend("--ft-typography-body1-line-height",oe.lineHeight,"1.5"),Ue=vt.extend("--ft-typography-body1-text-transform",oe.textTransform,"inherit"),je=vt.extend("--ft-typography-body2-font-family",ie),Te=vt.extend("--ft-typography-body2-font-size",oe.fontSize,"14px"),Ae=vt.extend("--ft-typography-body2-font-weight",oe.fontWeight,"normal"),Be=vt.extend("--ft-typography-body2-letter-spacing",oe.letterSpacing,"0.252px"),Le=vt.extend("--ft-typography-body2-line-height",oe.lineHeight,"1.4"),Ie=vt.extend("--ft-typography-body2-text-transform",oe.textTransform,"inherit"),Pe=vt.extend("--ft-typography-caption-font-family",ie),_e=vt.extend("--ft-typography-caption-font-size",oe.fontSize,"12px"),We=vt.extend("--ft-typography-caption-font-weight",oe.fontWeight,"normal"),De=vt.extend("--ft-typography-caption-letter-spacing",oe.letterSpacing,"0.396px"),He=vt.extend("--ft-typography-caption-line-height",oe.lineHeight,"1.33"),Ke=vt.extend("--ft-typography-caption-text-transform",oe.textTransform,"inherit"),Ze=vt.extend("--ft-typography-breadcrumb-font-family",ie),Ve=vt.extend("--ft-typography-breadcrumb-font-size",oe.fontSize,"10px"),Je=vt.extend("--ft-typography-breadcrumb-font-weight",oe.fontWeight,"normal"),qe=vt.extend("--ft-typography-breadcrumb-letter-spacing",oe.letterSpacing,"0.33px"),Xe=vt.extend("--ft-typography-breadcrumb-line-height",oe.lineHeight,"1.6"),Ge=vt.extend("--ft-typography-breadcrumb-text-transform",oe.textTransform,"inherit"),Ye=vt.extend("--ft-typography-overline-font-family",ie),Qe=vt.extend("--ft-typography-overline-font-size",oe.fontSize,"10px"),ti=vt.extend("--ft-typography-overline-font-weight",oe.fontWeight,"normal"),ei=vt.extend("--ft-typography-overline-letter-spacing",oe.letterSpacing,"1.5px"),ii=vt.extend("--ft-typography-overline-line-height",oe.lineHeight,"1.6"),oi=vt.extend("--ft-typography-overline-text-transform",oe.textTransform,"uppercase"),si={fontFamily:vt.extend("--ft-typography-button-font-family",ie),fontSize:vt.extend("--ft-typography-button-font-size",oe.fontSize,"14px"),fontWeight:vt.extend("--ft-typography-button-font-weight",oe.fontWeight,"600"),letterSpacing:vt.extend("--ft-typography-button-letter-spacing",oe.letterSpacing,"1.246px"),lineHeight:vt.extend("--ft-typography-button-line-height",oe.lineHeight,"1.15"),textTransform:vt.extend("--ft-typography-button-text-transform",oe.textTransform,"uppercase")},ni=b`
237
237
  .ft-typography--title {
238
- font-family: ${oe};
239
- font-size: ${se};
240
- font-weight: ${ne};
241
- letter-spacing: ${re};
242
- line-height: ${le};
243
- text-transform: ${ae};
244
- }
245
- `,ni=b`
246
- .ft-typography--title-dense {
247
- font-family: ${he};
248
- font-size: ${ce};
249
- font-weight: ${pe};
250
- letter-spacing: ${fe};
251
- line-height: ${de};
252
- text-transform: ${ue};
238
+ font-family: ${se};
239
+ font-size: ${ne};
240
+ font-weight: ${re};
241
+ letter-spacing: ${le};
242
+ line-height: ${ae};
243
+ text-transform: ${he};
253
244
  }
254
245
  `,ri=b`
255
- .ft-typography--subtitle1 {
256
- font-family: ${xe};
257
- font-size: ${ve};
258
- font-weight: ${be};
259
- letter-spacing: ${ye};
260
- line-height: ${ge};
261
- text-transform: ${me};
246
+ .ft-typography--title-dense {
247
+ font-family: ${ce};
248
+ font-size: ${pe};
249
+ font-weight: ${fe};
250
+ letter-spacing: ${de};
251
+ line-height: ${ue};
252
+ text-transform: ${xe};
262
253
  }
263
254
  `,li=b`
255
+ .ft-typography--subtitle1 {
256
+ font-family: ${ve};
257
+ font-size: ${be};
258
+ font-weight: ${ye};
259
+ letter-spacing: ${ge};
260
+ line-height: ${me};
261
+ text-transform: ${we};
262
+ }
263
+ `,ai=b`
264
264
  .ft-typography--subtitle2 {
265
- font-family: ${we};
266
- font-size: ${$e};
267
- font-weight: ${Oe};
268
- letter-spacing: ${Se};
269
- line-height: ${ke};
270
- text-transform: ${Ne};
265
+ font-family: ${$e};
266
+ font-size: ${Oe};
267
+ font-weight: ${Se};
268
+ letter-spacing: ${ke};
269
+ line-height: ${Ne};
270
+ text-transform: ${Ee};
271
271
  }
272
272
 
273
- `,ai=b`
273
+ `,hi=b`
274
274
  .ft-typography--body1 {
275
- font-family: ${Ee};
276
- font-size: ${Ce};
277
- font-weight: ${Re};
278
- letter-spacing: ${Me};
279
- line-height: ${ze};
280
- text-transform: ${Fe};
275
+ font-family: ${Ce};
276
+ font-size: ${Re};
277
+ font-weight: ${Me};
278
+ letter-spacing: ${ze};
279
+ line-height: ${Fe};
280
+ text-transform: ${Ue};
281
281
  }
282
- `,hi=b`
282
+ `,ci=b`
283
283
  .ft-typography--body2 {
284
- font-family: ${Ue};
285
- font-size: ${je};
286
- font-weight: ${Te};
284
+ font-family: ${je};
285
+ font-size: ${Te};
286
+ font-weight: ${Ae};
287
287
  letter-spacing: ${Be};
288
- line-height: ${Ae};
289
- text-transform: ${Le};
290
- }
291
- `,ci=b`
292
- .ft-typography--caption {
293
- font-family: ${Ie};
294
- font-size: ${Pe};
295
- font-weight: ${_e};
296
- letter-spacing: ${We};
297
- line-height: ${De};
298
- text-transform: ${He};
288
+ line-height: ${Le};
289
+ text-transform: ${Ie};
299
290
  }
300
291
  `,pi=b`
301
- .ft-typography--breadcrumb {
302
- font-family: ${Ke};
303
- font-size: ${Ze};
304
- font-weight: ${Ve};
305
- letter-spacing: ${Je};
306
- line-height: ${qe};
307
- text-transform: ${Xe};
292
+ .ft-typography--caption {
293
+ font-family: ${Pe};
294
+ font-size: ${_e};
295
+ font-weight: ${We};
296
+ letter-spacing: ${De};
297
+ line-height: ${He};
298
+ text-transform: ${Ke};
308
299
  }
309
300
  `,fi=b`
310
- .ft-typography--overline {
311
- font-family: ${Ge};
312
- font-size: ${Ye};
313
- font-weight: ${Qe};
314
- letter-spacing: ${ti};
315
- line-height: ${ei};
316
- text-transform: ${ii};
301
+ .ft-typography--breadcrumb {
302
+ font-family: ${Ze};
303
+ font-size: ${Ve};
304
+ font-weight: ${Je};
305
+ letter-spacing: ${qe};
306
+ line-height: ${Xe};
307
+ text-transform: ${Ge};
317
308
  }
318
309
  `,di=b`
319
- .ft-typography--button {
320
- font-family: ${oi.fontFamily};
321
- font-size: ${oi.fontSize};
322
- font-weight: ${oi.fontWeight};
323
- letter-spacing: ${oi.letterSpacing};
324
- line-height: ${oi.lineHeight};
325
- text-transform: ${oi.textTransform};
310
+ .ft-typography--overline {
311
+ font-family: ${Ye};
312
+ font-size: ${Qe};
313
+ font-weight: ${ti};
314
+ letter-spacing: ${ei};
315
+ line-height: ${ii};
316
+ text-transform: ${oi};
326
317
  }
327
318
  `,ui=b`
319
+ .ft-typography--button {
320
+ font-family: ${si.fontFamily};
321
+ font-size: ${si.fontSize};
322
+ font-weight: ${si.fontWeight};
323
+ letter-spacing: ${si.letterSpacing};
324
+ line-height: ${si.lineHeight};
325
+ text-transform: ${si.textTransform};
326
+ }
327
+ `,xi=b`
328
328
  .ft-typography {
329
329
  vertical-align: inherit;
330
330
  }
331
- `;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 vi extends kt{constructor(){super(...arguments),this.variant=Qt.body1}render(){return this.element?Yt`
332
- <${Xt(this.element)}
331
+ `;var vi=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 bi extends kt{constructor(){super(...arguments),this.variant=te.body1}render(){return this.element?Qt`
332
+ <${Gt(this.element)}
333
333
  class="ft-typography ft-typography--${this.variant}">
334
334
  <slot></slot>
335
- </${Xt(this.element)}>
336
- `:Yt`
335
+ </${Gt(this.element)}>
336
+ `:Qt`
337
337
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
338
- `}}vi.styles=[si,ni,ri,li,ai,hi,ci,pi,fi,di,ui],xi([o()],vi.prototype,"element",void 0),xi([o()],vi.prototype,"variant",void 0),c("ft-typography")(vi);const bi=vt.create("--ft-tooltip-distance","SIZE","4px"),yi=vt.create("--ft-tooltip-color","COLOR","#FFFFFF"),gi=vt.create("--ft-tooltip-background-color","COLOR","#666666"),mi=vt.create("--ft-tooltip-z-index","NUMBER","100"),wi=vt.external(yt.borderRadiusS,"Design system"),$i=vt.create("--ft-tooltip-max-width","SIZE","150px"),Oi=b`
338
+ `}}bi.styles=[ni,ri,li,ai,hi,ci,pi,fi,di,ui,xi],vi([o()],bi.prototype,"element",void 0),vi([o()],bi.prototype,"variant",void 0),c("ft-typography")(bi);const yi=vt.create("--ft-tooltip-distance","SIZE","4px"),gi=vt.create("--ft-tooltip-color","COLOR","#FFFFFF"),mi=vt.create("--ft-tooltip-background-color","COLOR","#666666"),wi=vt.create("--ft-tooltip-z-index","NUMBER","100"),$i=vt.external(yt.borderRadiusS,"Design system"),Oi=vt.create("--ft-tooltip-max-width","SIZE","150px"),Si=b`
339
339
  .ft-tooltip--container {
340
340
  display: block;
341
341
  }
@@ -350,21 +350,21 @@ const Jt=Symbol.for(""),qt=t=>{if((null==t?void 0:t.r)===Jt)return null==t?void
350
350
  box-sizing: border-box;
351
351
  overflow: hidden;
352
352
  width: max-content;
353
- max-width: ${$i};
353
+ max-width: ${Oi};
354
354
  text-align: center;
355
- padding: ${bi};
356
- z-index: ${mi};
355
+ padding: ${yi};
356
+ z-index: ${wi};
357
357
  }
358
358
 
359
359
  .ft-tooltip--content {
360
360
  padding: 4px 8px;
361
- border-radius: ${wi};
362
- background-color: ${gi};
363
- color: ${yi};
361
+ border-radius: ${$i};
362
+ background-color: ${mi};
363
+ color: ${gi};
364
364
  position: relative;
365
365
  word-break: break-word;
366
366
  }
367
- `;var 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};class ki extends kt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return q`
367
+ `;var ki=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 Ni extends kt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return q`
368
368
  <div part="container"
369
369
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
370
370
  @mouseenter=${this.onHover}
@@ -382,13 +382,13 @@ const Jt=Symbol.for(""),qt=t=>{if((null==t?void 0:t.r)===Jt)return null==t?void
382
382
  </div>
383
383
  </div>
384
384
  </div>
385
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,i=this.tooltip.offsetHeight,o=(t.offsetHeight-i)/2,s=(t.offsetWidth-e)/2;let n=0,r=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":r=t.offsetTop-i-this.tooltip.offsetTop,n=t.offsetLeft+s-this.tooltip.offsetLeft;break;case"bottom":r=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+s-this.tooltip.offsetLeft;break;case"left":r=t.offsetTop+o-this.tooltip.offsetTop,n=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":r=t.offsetTop+o-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=n+"px",l.top=r+"px";const a=this.tooltip.getBoundingClientRect();let h=-a.x,c=a.x+a.width-window.innerWidth;l.left=n+Math.round(this.correctOutOfWindowPixels(h,c))+"px";let p=-a.y,f=a.y+a.height-window.innerHeight;l.top=r+Math.round(this.correctOutOfWindowPixels(p,f))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${$i})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}ki.elementDefinitions={"ft-typography":vi},ki.styles=Oi,Si([o()],ki.prototype,"text",void 0),Si([o({type:Boolean})],ki.prototype,"manual",void 0),Si([o({type:Boolean})],ki.prototype,"inline",void 0),Si([o({type:Number})],ki.prototype,"delay",void 0),Si([o()],ki.prototype,"position",void 0),Si([
385
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,i=this.tooltip.offsetHeight,o=(t.offsetHeight-i)/2,s=(t.offsetWidth-e)/2;let n=0,r=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":r=t.offsetTop-i-this.tooltip.offsetTop,n=t.offsetLeft+s-this.tooltip.offsetLeft;break;case"bottom":r=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+s-this.tooltip.offsetLeft;break;case"left":r=t.offsetTop+o-this.tooltip.offsetTop,n=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":r=t.offsetTop+o-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=n+"px",l.top=r+"px";const a=this.tooltip.getBoundingClientRect();let h=-a.x,c=a.x+a.width-window.innerWidth;l.left=n+Math.round(this.correctOutOfWindowPixels(h,c))+"px";let p=-a.y,f=a.y+a.height-window.innerHeight;l.top=r+Math.round(this.correctOutOfWindowPixels(p,f))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${Oi})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Ni.elementDefinitions={"ft-typography":bi},Ni.styles=Si,ki([o()],Ni.prototype,"text",void 0),ki([o({type:Boolean})],Ni.prototype,"manual",void 0),ki([o({type:Boolean})],Ni.prototype,"inline",void 0),ki([o({type:Number})],Ni.prototype,"delay",void 0),ki([o()],Ni.prototype,"position",void 0),ki([
386
386
  /**
387
387
  * @license
388
388
  * Copyright 2017 Google LLC
389
389
  * SPDX-License-Identifier: BSD-3-Clause
390
390
  */
391
- function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return n({descriptor:o=>({get(){var o;const s="slot"+(e?`[name=${e}]`:":not([name])"),n=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(s),r=null!=n?a(n,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({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)],ki.prototype,"slotNodes",void 0),Si([r(".ft-tooltip--container")],ki.prototype,"container",void 0),Si([r(".ft-tooltip")],ki.prototype,"tooltip",void 0),Si([r(".ft-tooltip--content")],ki.prototype,"tooltipContent",void 0),Si([s()],ki.prototype,"visible",void 0),c("ft-tooltip")(ki);const Ni={color:vt.extend("--ft-loader-color",yt.colorPrimary),size:vt.create("--ft-loader-size","SIZE","80px")},Ei=b`
391
+ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return n({descriptor:o=>({get(){var o;const s="slot"+(e?`[name=${e}]`:":not([name])"),n=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(s),r=null!=n?a(n,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({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)],Ni.prototype,"slotNodes",void 0),ki([r(".ft-tooltip--container")],Ni.prototype,"container",void 0),ki([r(".ft-tooltip")],Ni.prototype,"tooltip",void 0),ki([r(".ft-tooltip--content")],Ni.prototype,"tooltipContent",void 0),ki([s()],Ni.prototype,"visible",void 0),c("ft-tooltip")(Ni);const Ei={color:vt.extend("--ft-loader-color",yt.colorPrimary),size:vt.create("--ft-loader-size","SIZE","80px")},Ci=b`
392
392
  :host {
393
393
  line-height: 0;
394
394
  }
@@ -397,8 +397,8 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
397
397
  display: inline-block;
398
398
  position: relative;
399
399
 
400
- width: ${Ni.size};
401
- height: ${Ni.size};
400
+ width: ${Ei.size};
401
+ height: ${Ei.size};
402
402
  }
403
403
 
404
404
  .ft-loader div {
@@ -407,7 +407,7 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
407
407
  width: 25%;
408
408
  height: 25%;
409
409
  border-radius: 50%;
410
- background: ${Ni.color};
410
+ background: ${Ei.color};
411
411
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
412
412
  }
413
413
 
@@ -454,23 +454,23 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
454
454
  transform: translate(0, 0);
455
455
  }
456
456
  100% {
457
- transform: translate(calc(0.35 * ${Ni.size}), 0);
457
+ transform: translate(calc(0.35 * ${Ei.size}), 0);
458
458
  }
459
459
  }
460
- `;class Ci extends kt{render(){return q`
460
+ `;class Ri extends kt{render(){return q`
461
461
  <div class="ft-loader">
462
462
  <div></div>
463
463
  <div></div>
464
464
  <div></div>
465
465
  <div></div>
466
466
  </div>
467
- `}}Ci.styles=Ei,c("ft-loader")(Ci);
467
+ `}}Ri.styles=Ci,c("ft-loader")(Ri);
468
468
  /**
469
469
  * @license
470
470
  * Copyright 2017 Google LLC
471
471
  * SPDX-License-Identifier: BSD-3-Clause
472
472
  */
473
- class Ri extends Tt{constructor(t){if(super(t),this.et=G,t.type!==Ut)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===G||null==t)return this.ft=void 0,this.et=t;if(t===X)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Ri.directiveName="unsafeHTML",Ri.resultType=1;const Mi=jt(Ri);var zi,Fi;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(zi||(zi={})),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;"}(Fi||(Fi={})),new Map([...["abw"].map((t=>[t,Fi.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,Fi.AUDIO])),...["avi"].map((t=>[t,Fi.AVI])),...["chm","xhs"].map((t=>[t,Fi.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,Fi.CODE])),...["csv"].map((t=>[t,Fi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Fi.DITA])),...["epub"].map((t=>[t,Fi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Fi.EXCEL])),...["flac"].map((t=>[t,Fi.FLAC])),...["gif"].map((t=>[t,Fi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Fi.GZIP])),...["html","htm","xhtml"].map((t=>[t,Fi.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,Fi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Fi.JPEG])),...["json"].map((t=>[t,Fi.JSON])),...["m4a","m4p"].map((t=>[t,Fi.M4A])),...["mov","qt"].map((t=>[t,Fi.MOV])),...["mp3"].map((t=>[t,Fi.MP3])),...["mp4","m4v"].map((t=>[t,Fi.MP4])),...["ogg","oga"].map((t=>[t,Fi.OGG])),...["pdf","ps"].map((t=>[t,Fi.PDF])),...["png"].map((t=>[t,Fi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Fi.POWERPOINT])),...["rar"].map((t=>[t,Fi.RAR])),...["stp"].map((t=>[t,Fi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Fi.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,Fi.VIDEO])),...["wav"].map((t=>[t,Fi.WAV])),...["wma"].map((t=>[t,Fi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Fi.WORD])),...["xml","xsl","rdf"].map((t=>[t,Fi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Fi.YAML])),...["zip"].map((t=>[t,Fi.ZIP]))]);const Ui={size:vt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:vt.extend("--ft-icon-fluid-topics-font-family",vt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:vt.extend("--ft-icon-file-format-font-family",vt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:vt.extend("--ft-icon-material-font-family",vt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:vt.create("--ft-icon-vertical-align","UNKNOWN","unset")},ji=b`
473
+ class Mi extends At{constructor(t){if(super(t),this.et=G,t.type!==jt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===G||null==t)return this.ft=void 0,this.et=t;if(t===X)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Mi.directiveName="unsafeHTML",Mi.resultType=1;const zi=Tt(Mi);var Fi,Ui;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Fi||(Fi={})),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;"}(Ui||(Ui={})),new Map([...["abw"].map((t=>[t,Ui.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,Ui.AUDIO])),...["avi"].map((t=>[t,Ui.AVI])),...["chm","xhs"].map((t=>[t,Ui.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,Ui.CODE])),...["csv"].map((t=>[t,Ui.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ui.DITA])),...["epub"].map((t=>[t,Ui.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ui.EXCEL])),...["flac"].map((t=>[t,Ui.FLAC])),...["gif"].map((t=>[t,Ui.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ui.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ui.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,Ui.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ui.JPEG])),...["json"].map((t=>[t,Ui.JSON])),...["m4a","m4p"].map((t=>[t,Ui.M4A])),...["mov","qt"].map((t=>[t,Ui.MOV])),...["mp3"].map((t=>[t,Ui.MP3])),...["mp4","m4v"].map((t=>[t,Ui.MP4])),...["ogg","oga"].map((t=>[t,Ui.OGG])),...["pdf","ps"].map((t=>[t,Ui.PDF])),...["png"].map((t=>[t,Ui.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ui.POWERPOINT])),...["rar"].map((t=>[t,Ui.RAR])),...["stp"].map((t=>[t,Ui.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ui.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,Ui.VIDEO])),...["wav"].map((t=>[t,Ui.WAV])),...["wma"].map((t=>[t,Ui.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ui.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ui.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ui.YAML])),...["zip"].map((t=>[t,Ui.ZIP]))]);const ji={size:vt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:vt.extend("--ft-icon-fluid-topics-font-family",vt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:vt.extend("--ft-icon-file-format-font-family",vt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:vt.extend("--ft-icon-material-font-family",vt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:vt.create("--ft-icon-vertical-align","UNKNOWN","unset")},Ti=b`
474
474
  :host, i.ft-icon {
475
475
  display: inline-flex;
476
476
  align-items: center;
@@ -479,14 +479,14 @@ class Ri extends Tt{constructor(t){if(super(t),this.et=G,t.type!==Ut)throw Error
479
479
  }
480
480
 
481
481
  :host {
482
- width: ${Ui.size};
483
- height: ${Ui.size};
482
+ width: ${ji.size};
483
+ height: ${ji.size};
484
484
  }
485
485
 
486
486
  i.ft-icon {
487
487
  width: 100%;
488
488
  height: 100%;
489
- font-size: ${Ui.size};
489
+ font-size: ${ji.size};
490
490
  line-height: 1;
491
491
  font-weight: normal;
492
492
  text-transform: none;
@@ -497,33 +497,33 @@ class Ri extends Tt{constructor(t){if(super(t),this.et=G,t.type!==Ut)throw Error
497
497
  text-rendering: auto;
498
498
  -webkit-font-smoothing: antialiased;
499
499
  -moz-osx-font-smoothing: grayscale;
500
- vertical-align: ${Ui.verticalAlign};
500
+ vertical-align: ${ji.verticalAlign};
501
501
  }
502
502
 
503
503
  i.ft-icon.ft-icon--fluid-topics {
504
- font-family: ${Ui.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
504
+ font-family: ${ji.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
505
505
 
506
506
  /* Ugly fix because font is broken */
507
- font-size: calc(0.75 * ${Ui.size});
508
- line-height: ${Ui.size};
507
+ font-size: calc(0.75 * ${ji.size});
508
+ line-height: ${ji.size};
509
509
  position: relative;
510
510
  top: -4%;
511
511
  justify-content: center;
512
512
  }
513
513
 
514
514
  .ft-icon--file-format {
515
- font-family: ${Ui.fileFormatFontFamily}, ft-mime, sans-serif;
515
+ font-family: ${ji.fileFormatFontFamily}, ft-mime, sans-serif;
516
516
  }
517
517
 
518
518
  .ft-icon--material {
519
- font-family: ${Ui.materialFontFamily}, "Material Icons", sans-serif;
519
+ font-family: ${ji.materialFontFamily}, "Material Icons", sans-serif;
520
520
  }
521
- `;var Ti;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ti||(Ti={}));var Bi=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 Ai extends kt{constructor(){super(...arguments),this.resolvedIcon=G}render(){const t=this.variant&&Object.values(Ti).includes(this.variant)?this.variant:Ti.fluid_topics,e=t!==Ti.material||!!this.value;return q`
521
+ `;var Ai;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ai||(Ai={}));var Bi=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 Li extends kt{constructor(){super(...arguments),this.resolvedIcon=G}render(){const t=this.variant&&Object.values(Ai).includes(this.variant)?this.variant:Ai.fluid_topics,e=t!==Ai.material||!!this.value;return q`
522
522
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
523
- ${Mi(this.resolvedIcon)}
523
+ ${zi(this.resolvedIcon)}
524
524
  <slot ?hidden=${e}></slot>
525
525
  </i>
526
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case Ti.file_format:this.resolvedIcon=null!==(t=Fi[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Ti.material:this.resolvedIcon=this.value||G;break;default:this.resolvedIcon=null!==(e=zi[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ai.elementDefinitions={},Ai.styles=ji,Bi([o()],Ai.prototype,"variant",void 0),Bi([o()],Ai.prototype,"value",void 0),Bi([s()],Ai.prototype,"resolvedIcon",void 0),Bi([r("slot")],Ai.prototype,"slottedContent",void 0),c("ft-icon")(Ai);const Li=vt.extend("--ft-button-color",yt.colorPrimary),Ii={backgroundColor:vt.extend("--ft-button-background-color",yt.colorSurface),borderRadius:vt.extend("--ft-button-border-radius",yt.borderRadiusL),color:Li,fontSize:vt.extend("--ft-button-font-size",oi.fontSize),iconSize:vt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:vt.extend("--ft-button-ripple-color",Li),verticalPadding:vt.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:vt.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:vt.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:vt.external(yt.colorOpacityDisabled,"Design system")},Pi=vt.extend("--ft-button-primary-color",vt.extend("--ft-button-color",yt.colorOnPrimary)),_i={backgroundColor:vt.extend("--ft-button-primary-background-color",vt.extend("--ft-button-background-color",yt.colorPrimary)),color:Pi,rippleColor:vt.extend("--ft-button-primary-ripple-color",Pi)},Wi=vt.extend("--ft-button-dense-border-radius",vt.extend("--ft-button-border-radius",yt.borderRadiusM)),Di=vt.create("--ft-button-dense-vertical-padding","SIZE","2px"),Hi=vt.create("--ft-button-dense-horizontal-padding","SIZE","4px"),Ki=vt.create("--ft-button-dense-icon-padding","SIZE","4px"),Zi=[b`
526
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case Ai.file_format:this.resolvedIcon=null!==(t=Ui[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Ai.material:this.resolvedIcon=this.value||G;break;default:this.resolvedIcon=null!==(e=Fi[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Li.elementDefinitions={},Li.styles=Ti,Bi([o()],Li.prototype,"variant",void 0),Bi([o()],Li.prototype,"value",void 0),Bi([s()],Li.prototype,"resolvedIcon",void 0),Bi([r("slot")],Li.prototype,"slottedContent",void 0),c("ft-icon")(Li);const Ii=vt.extend("--ft-button-color",yt.colorPrimary),Pi={backgroundColor:vt.extend("--ft-button-background-color",yt.colorSurface),borderRadius:vt.extend("--ft-button-border-radius",yt.borderRadiusL),color:Ii,fontSize:vt.extend("--ft-button-font-size",si.fontSize),iconSize:vt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:vt.extend("--ft-button-ripple-color",Ii),verticalPadding:vt.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:vt.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:vt.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:vt.external(yt.colorOpacityDisabled,"Design system")},_i=vt.extend("--ft-button-primary-color",vt.extend("--ft-button-color",yt.colorOnPrimary)),Wi={backgroundColor:vt.extend("--ft-button-primary-background-color",vt.extend("--ft-button-background-color",yt.colorPrimary)),color:_i,rippleColor:vt.extend("--ft-button-primary-ripple-color",_i)},Di=vt.extend("--ft-button-dense-border-radius",vt.extend("--ft-button-border-radius",yt.borderRadiusM)),Hi=vt.create("--ft-button-dense-vertical-padding","SIZE","2px"),Ki=vt.create("--ft-button-dense-horizontal-padding","SIZE","4px"),Zi=vt.create("--ft-button-dense-icon-padding","SIZE","4px"),Vi=[b`
527
527
  :host {
528
528
  display: inline-block;
529
529
  max-width: 100%;
@@ -534,7 +534,7 @@ class Ri extends Tt{constructor(t){if(super(t),this.et=G,t.type!==Ut)throw Error
534
534
  box-shadow: 0px 0px 0px transparent;
535
535
  border: 0px solid transparent;
536
536
  text-shadow: 0px 0px 0px transparent;
537
- font-size: ${Ii.fontSize};
537
+ font-size: ${Pi.fontSize};
538
538
  }
539
539
 
540
540
  button:hover {
@@ -563,31 +563,31 @@ class Ri extends Tt{constructor(t){if(super(t),this.et=G,t.type!==Ut)throw Error
563
563
  border: none;
564
564
  pointer-events: auto;
565
565
 
566
- --ft-button-internal-line-height: max(calc(${Ii.fontSize} + 2px), ${Ii.iconSize});
567
- --ft-button-internal-color: ${Ii.color};
568
- ${bt(Ui.size,Ii.iconSize)};
569
- ${bt(Lt.color,Ii.rippleColor)};
566
+ --ft-button-internal-line-height: max(calc(${Pi.fontSize} + 2px), ${Pi.iconSize});
567
+ --ft-button-internal-color: ${Pi.color};
568
+ ${bt(ji.size,Pi.iconSize)};
569
+ ${bt(It.color,Pi.rippleColor)};
570
570
 
571
- border-radius: ${Ii.borderRadius};
572
- padding: ${Ii.verticalPadding} ${Ii.horizontalPadding};
573
- background-color: ${Ii.backgroundColor};
571
+ border-radius: ${Pi.borderRadius};
572
+ padding: ${Pi.verticalPadding} ${Pi.horizontalPadding};
573
+ background-color: ${Pi.backgroundColor};
574
574
  color: var(--ft-button-internal-color);
575
575
  -webkit-mask-image: radial-gradient(white, black);
576
576
  }
577
577
 
578
578
  .ft-button.ft-button--outlined {
579
579
  border: 1px solid var(--ft-button-internal-color);
580
- padding: calc(${Ii.verticalPadding} - 1px) calc(${Ii.horizontalPadding} - 1px);
580
+ padding: calc(${Pi.verticalPadding} - 1px) calc(${Pi.horizontalPadding} - 1px);
581
581
  }
582
582
 
583
583
  .ft-button.ft-button--dense {
584
- padding: ${Di} ${Hi};
585
- border-radius: ${Wi};
586
- gap: ${Ki};
584
+ padding: ${Hi} ${Ki};
585
+ border-radius: ${Di};
586
+ gap: ${Zi};
587
587
  }
588
588
 
589
589
  .ft-button.ft-button--dense.ft-button--outlined {
590
- padding: calc(${Di} - 1px) calc(${Hi} - 1px);
590
+ padding: calc(${Hi} - 1px) calc(${Ki} - 1px);
591
591
  }
592
592
 
593
593
  .ft-button:not([disabled]):hover {
@@ -595,22 +595,22 @@ class Ri extends Tt{constructor(t){if(super(t),this.et=G,t.type!==Ut)throw Error
595
595
  }
596
596
 
597
597
  .ft-button--round {
598
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ii.verticalPadding});
598
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Pi.verticalPadding});
599
599
  }
600
600
 
601
601
  .ft-button--round.ft-button--dense {
602
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Di});
602
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Hi});
603
603
  }
604
604
 
605
605
  .ft-button[disabled] {
606
606
  filter: grayscale(1);
607
- opacity: ${Ii.opacityDisabled};
607
+ opacity: ${Pi.opacityDisabled};
608
608
  }
609
609
 
610
610
  .ft-button.ft-button--primary {
611
- background-color: ${_i.backgroundColor};
612
- --ft-button-internal-color: ${_i.color};
613
- ${bt(Lt.color,_i.rippleColor)};
611
+ background-color: ${Wi.backgroundColor};
612
+ --ft-button-internal-color: ${Wi.color};
613
+ ${bt(It.color,Wi.rippleColor)};
614
614
  }
615
615
 
616
616
  .ft-button:focus {
@@ -623,13 +623,13 @@ class Ri extends Tt{constructor(t){if(super(t),this.et=G,t.type!==Ut)throw Error
623
623
  white-space: nowrap;
624
624
  text-overflow: ellipsis;
625
625
  display: block;
626
- margin: 0 ${Ii.iconPadding};
627
- ${bt(oi.fontSize,"1em")};
628
- ${bt(oi.lineHeight,"var(--ft-button-internal-line-height)")};
626
+ margin: 0 ${Pi.iconPadding};
627
+ ${bt(si.fontSize,"1em")};
628
+ ${bt(si.lineHeight,"var(--ft-button-internal-line-height)")};
629
629
  }
630
630
 
631
631
  .ft-button--dense .ft-button--label {
632
- margin: 0 ${Ki};
632
+ margin: 0 ${Zi};
633
633
  }
634
634
 
635
635
  .ft-button--label[hidden] {
@@ -642,13 +642,13 @@ class Ri extends Tt{constructor(t){if(super(t),this.et=G,t.type!==Ut)throw Error
642
642
  }
643
643
 
644
644
  .ft-button--label[hidden] + ft-icon {
645
- margin: 0 calc(${Ii.horizontalPadding} * -1);
646
- padding: 0 ${Ii.verticalPadding};
645
+ margin: 0 calc(${Pi.horizontalPadding} * -1);
646
+ padding: 0 ${Pi.verticalPadding};
647
647
  }
648
648
 
649
649
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
650
- margin: 0 calc(${Hi} * -1);
651
- padding: 0 ${Di};
650
+ margin: 0 calc(${Ki} * -1);
651
+ padding: 0 ${Hi};
652
652
  }
653
653
 
654
654
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -657,10 +657,10 @@ class Ri extends Tt{constructor(t){if(super(t),this.et=G,t.type!==Ut)throw Error
657
657
  }
658
658
 
659
659
  ft-loader {
660
- ${bt(Ni.size,Ii.iconSize)};
661
- ${bt(Ni.color,"var(--ft-button-internal-color)")};
660
+ ${bt(Ei.size,Pi.iconSize)};
661
+ ${bt(Ei.color,"var(--ft-button-internal-color)")};
662
662
  }
663
- `,Nt];var Vi=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 Ji extends kt{constructor(){super(...arguments),this.role="button",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.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}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-no-text-select":!0};return this.addTooltipIfNeeded(q`
663
+ `,Nt];var Ji=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 qi extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Ct].form}constructor(...t){super(t),this[Ct]=this.attachInternals(),this[Ct].role=e}setFormValue(t){this[Ct].setFormValue(t)}}}(kt,"button")){constructor(){super(...arguments),this.role="button",this.type="button",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.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){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-no-text-select":!0};return this.addTooltipIfNeeded(q`
664
664
  <button part="button"
665
665
  class="${Bt(t)}"
666
666
  aria-label="${this.getLabel()}"
@@ -669,21 +669,21 @@ class Ri extends Tt{constructor(t){if(super(t),this.et=G,t.type!==Ut)throw Error
669
669
  <ft-typography part="label"
670
670
  variant="button"
671
671
  element="span"
672
- class="ft-button--label ${zt?"ft-safari-ellipsis-fix":""}"
672
+ class="ft-button--label ${Ft?"ft-safari-ellipsis-fix":""}"
673
673
  ?hidden=${!this.hasTextContent()}>
674
674
  <slot @slotchange=${this.onSlotchange}></slot>
675
675
  </ft-typography>
676
676
  ${this.resolveIcon()}
677
677
  </button>
678
678
  `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?q`
679
- <ft-tooltip part="tooltip"
680
- text="${this.getLabel()}"
681
- position="${this.tooltipPosition}">
682
- ${t}
683
- </ft-tooltip>
679
+ <ft-tooltip part="tooltip"
680
+ text="${this.getLabel()}"
681
+ position="${this.tooltipPosition}">
682
+ ${t}
683
+ </ft-tooltip>
684
684
  `:t}resolveIcon(){return this.loading?q`
685
685
  <ft-loader part="loader icon"></ft-loader> `:this.icon?q`
686
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:G}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":Vt,"ft-tooltip":ki,"ft-typography":vi,"ft-icon":Ai,"ft-loader":Ci},Ji.styles=[Et,Zi],Vi([o({type:String,reflect:!0})],Ji.prototype,"role",void 0),Vi([o({type:Boolean})],Ji.prototype,"primary",void 0),Vi([o({type:Boolean})],Ji.prototype,"outlined",void 0),Vi([o({type:Boolean})],Ji.prototype,"disabled",void 0),Vi([o({type:Boolean})],Ji.prototype,"dense",void 0),Vi([o({type:Boolean})],Ji.prototype,"round",void 0),Vi([o()],Ji.prototype,"label",void 0),Vi([o()],Ji.prototype,"icon",void 0),Vi([o()],Ji.prototype,"iconVariant",void 0),Vi([o({type:Boolean})],Ji.prototype,"trailingIcon",void 0),Vi([o({type:Boolean})],Ji.prototype,"loading",void 0),Vi([o()],Ji.prototype,"tooltipPosition",void 0),Vi([o({type:Boolean})],Ji.prototype,"hideTooltip",void 0),Vi([o({type:Boolean})],Ji.prototype,"forceTooltip",void 0),Vi([r(".ft-button")],Ji.prototype,"button",void 0),Vi([r(".ft-button--label slot")],Ji.prototype,"slottedContent",void 0),c("ft-button")(Ji);const qi={buttonsColor:vt.extend("--ft-snap-scroll-buttons-color",yt.colorPrimary),buttonsZIndex:vt.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:vt.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:vt.external(yt.colorSurface,"Design system")},Xi=b`
686
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:G}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}}qi.elementDefinitions={"ft-ripple":Jt,"ft-tooltip":Ni,"ft-typography":bi,"ft-icon":Li,"ft-loader":Ri},qi.styles=[Et,Vi],Ji([o({type:String,reflect:!0})],qi.prototype,"role",void 0),Ji([o()],qi.prototype,"type",void 0),Ji([o({type:Boolean})],qi.prototype,"primary",void 0),Ji([o({type:Boolean})],qi.prototype,"outlined",void 0),Ji([o({type:Boolean})],qi.prototype,"disabled",void 0),Ji([o({type:Boolean})],qi.prototype,"dense",void 0),Ji([o({type:Boolean})],qi.prototype,"round",void 0),Ji([o()],qi.prototype,"label",void 0),Ji([o()],qi.prototype,"icon",void 0),Ji([o()],qi.prototype,"iconVariant",void 0),Ji([o({type:Boolean})],qi.prototype,"trailingIcon",void 0),Ji([o({type:Boolean})],qi.prototype,"loading",void 0),Ji([o()],qi.prototype,"tooltipPosition",void 0),Ji([o({type:Boolean})],qi.prototype,"hideTooltip",void 0),Ji([o({type:Boolean})],qi.prototype,"forceTooltip",void 0),Ji([r(".ft-button")],qi.prototype,"button",void 0),Ji([r(".ft-button--label slot")],qi.prototype,"slottedContent",void 0),c("ft-button")(qi);const Xi={buttonsColor:vt.extend("--ft-snap-scroll-buttons-color",yt.colorPrimary),buttonsZIndex:vt.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:vt.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:vt.external(yt.colorSurface,"Design system")},Gi=b`
687
687
  .ft-snap-scroll {
688
688
  box-sizing: border-box;
689
689
  position: relative;
@@ -718,7 +718,7 @@ class Ri extends Tt{constructor(t){if(super(t),this.et=G,t.type!==Ut)throw Error
718
718
  flex-wrap: nowrap;
719
719
  align-items: flex-start;
720
720
  justify-content: flex-start;
721
- gap: ${qi.gap};
721
+ gap: ${Xi.gap};
722
722
  }
723
723
 
724
724
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -761,11 +761,11 @@ class Ri extends Tt{constructor(t){if(super(t),this.et=G,t.type!==Ut)throw Error
761
761
  .ft-snap-scroll--next {
762
762
  position: absolute;
763
763
  display: flex;
764
- z-index: ${qi.buttonsZIndex};
764
+ z-index: ${Xi.buttonsZIndex};
765
765
  opacity: 1;
766
766
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
767
- ${bt(Ii.backgroundColor,"transparent")};
768
- ${bt(Ii.color,qi.buttonsColor)};
767
+ ${bt(Pi.backgroundColor,"transparent")};
768
+ ${bt(Pi.color,Xi.buttonsColor)};
769
769
  }
770
770
 
771
771
  .ft-snap-scroll--previous[hidden],
@@ -778,37 +778,37 @@ class Ri extends Tt{constructor(t){if(super(t),this.et=G,t.type!==Ut)throw Error
778
778
  top: 0;
779
779
  left: -1px;
780
780
  bottom: 0;
781
- background: linear-gradient(to right, ${qi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
781
+ background: linear-gradient(to right, ${Xi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
782
782
  }
783
783
 
784
784
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
785
785
  top: -1px;
786
786
  left: 0;
787
787
  right: 0;
788
- background: linear-gradient(to bottom, ${qi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
788
+ background: linear-gradient(to bottom, ${Xi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
789
789
  }
790
790
 
791
791
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
792
792
  top: 0;
793
793
  right: -1px;
794
794
  bottom: 0;
795
- background: linear-gradient(to left, ${qi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
795
+ background: linear-gradient(to left, ${Xi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
796
796
  }
797
797
 
798
798
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
799
799
  left: 0;
800
800
  right: 0;
801
801
  bottom: -1px;
802
- background: linear-gradient(to top, ${qi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
802
+ background: linear-gradient(to top, ${Xi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
803
803
  }
804
804
 
805
805
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
806
806
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
807
807
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
808
808
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
809
- background-color: ${qi.colorSurface};
809
+ background-color: ${Xi.colorSurface};
810
810
  }
811
- `;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};class Yi extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class Qi extends kt{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new 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=Bt({"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":zt}),e=this.controls&&this.withScroll;return q`
811
+ `;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};class Qi extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class to extends kt{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new 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=Bt({"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":Ft}),e=this.controls&&this.withScroll;return q`
812
812
  <div part="container" class="${t}">
813
813
  <ft-button
814
814
  class="ft-snap-scroll--previous"
@@ -832,4 +832,4 @@ class Ri extends Tt{constructor(t){if(super(t),this.et=G,t.type!==Ut)throw Error
832
832
  @click=${this.next}
833
833
  ></ft-button>
834
834
  </div>
835
- `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Yi(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,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)}}Qi.elementDefinitions={"ft-button":Ji},Qi.styles=Xi,Gi([o({type:Boolean})],Qi.prototype,"horizontal",void 0),Gi([o({type:Boolean})],Qi.prototype,"hideScrollbar",void 0),Gi([o({type:Boolean})],Qi.prototype,"controls",void 0),Gi([o({type:Boolean})],Qi.prototype,"limitSize",void 0),Gi([s()],Qi.prototype,"elements",void 0),Gi([s()],Qi.prototype,"currentElement",void 0),Gi([s()],Qi.prototype,"withScroll",void 0),Gi([s()],Qi.prototype,"startReached",void 0),Gi([s()],Qi.prototype,"endReached",void 0),Gi([r(".ft-snap-scroll--content")],Qi.prototype,"contentSlot",void 0),c("ft-snap-scroll")(Qi),t.CurrentElementChange=Yi,t.FtSnapScroll=Qi,t.FtSnapScrollCssVariables=qi,t.styles=Xi}({});
835
+ `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Qi(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,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)}}to.elementDefinitions={"ft-button":qi},to.styles=Gi,Yi([o({type:Boolean})],to.prototype,"horizontal",void 0),Yi([o({type:Boolean})],to.prototype,"hideScrollbar",void 0),Yi([o({type:Boolean})],to.prototype,"controls",void 0),Yi([o({type:Boolean})],to.prototype,"limitSize",void 0),Yi([s()],to.prototype,"elements",void 0),Yi([s()],to.prototype,"currentElement",void 0),Yi([s()],to.prototype,"withScroll",void 0),Yi([s()],to.prototype,"startReached",void 0),Yi([s()],to.prototype,"endReached",void 0),Yi([r(".ft-snap-scroll--content")],to.prototype,"contentSlot",void 0),c("ft-snap-scroll")(to),t.CurrentElementChange=Qi,t.FtSnapScroll=to,t.FtSnapScrollCssVariables=Xi,t.styles=Gi}({});