@fluid-topics/ft-snap-scroll 0.2.3 → 0.2.4

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,i=window.customElements.define,e=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 p=e.call(o,t);p||(p=c(t),i.call(o,t,p)),this===window.customElements&&(r.set(s,h),h.standInClass=p);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(){y.push(this),o.upgrade.apply(o,arguments),y.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const i=this._getDefinition(t);if(void 0!==i)return Promise.resolve(i.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,i,e){let o=this._awaitingUpgrade.get(i);o||this._awaitingUpgrade.set(i,o=new Set),e?o.add(t):o.delete(t)}},window.HTMLElement=function(){let i=a;if(i)return a=void 0,i;const e=r.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return i=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(i,this.constructor.prototype),s.set(i,e),i},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,p=t=>{let i=t.getRootNode();if(!h(i)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;i=t.getRootNode(),h(i)||(i=l.get(i)?.getRootNode()||document)}return i.customElements},c=i=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const o=p(e)||window.customElements,s=o._getDefinition(i);return s?u(e,s):n.set(e,o),e}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,i,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,i,!1)}adoptedCallback(){s.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=s.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=s.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=s.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=s.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,i,e)=>{if(0===i.size||void 0===e)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,s){const n=t.toLowerCase();if(i.has(n)){const t=this.getAttribute(n);o.call(this,n,s),e.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(i.has(o)){const t=this.getAttribute(o);s.call(this,o),e.call(this,o,t,null)}else s.call(this,o)})},d=i=>{const e=Object.getPrototypeOf(i);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(i,window.HTMLElement):d(e)},u=(t,i,e=!1)=>{Object.setPrototypeOf(t,i.elementClass.prototype),s.set(t,i),a=t;try{new i.elementClass}catch(t){d(i.elementClass),new i.elementClass}i.observedAttributes.forEach((e=>{t.hasAttribute(e)&&i.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&i.connectedCallback&&t.isConnected&&i.connectedCallback.call(t)},x=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const i=x.apply(this,arguments);return t.customElements&&(i.customElements=t.customElements),i};let y=[document];const v=(t,i,e)=>{const o=(e?Object.getPrototypeOf(e):t.prototype)[i];t.prototype[i]=function(){y.push(this);const t=o.apply(e||this,arguments);return void 0!==t&&l.set(t,this),y.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const b=(t,i)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,i);Object.defineProperty(t.prototype,i,{...e,set(t){y.push(this),e.set.call(this,t),y.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,i=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const o=i.call(this,...e);return t.set(o,this),o},e.forEach((i=>{const e=window.ElementInternals.prototype,o=e[i];e[i]=function(...i){const e=t.get(this);if(!0!==s.get(e).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...i)}}));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 i=new Map;t.forEach(((t,e)=>{const o=t.getAttribute("name"),s=i.get(o)||[];this[+e]=t,s.push(t),i.set(o,s)})),this.length=t.length,i.forEach(((t,i)=>{t&&(1===t.length?this[i]=t[0]:this[i]=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,[]),i=[];for(const e of t){const t=s.get(e);t&&!0!==t.formAssociated||i.push(e)}return new n(i)}})}}try{window.customElements.define("custom-element",null)}catch(ee){const t=window.customElements.define;window.customElements.define=(i,e,o)=>{try{t.bind(window.customElements)(i,e,o)}catch(t){console.warn(i,e,o,t)}}}class i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,i){this.callbacks=[t],this.debounce(i)}queue(t,i){this.callbacks.push(t),this.debounce(i)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,i=window.customElements.define,e=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 p=e.call(o,t);p||(p=c(t),i.call(o,t,p)),this===window.customElements&&(r.set(s,h),h.standInClass=p);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(){b.push(this),o.upgrade.apply(o,arguments),b.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const i=this._getDefinition(t);if(void 0!==i)return Promise.resolve(i.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,i,e){let o=this._awaitingUpgrade.get(i);o||this._awaitingUpgrade.set(i,o=new Set),e?o.add(t):o.delete(t)}},window.HTMLElement=function(){let i=a;if(i)return a=void 0,i;const e=r.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return i=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(i,this.constructor.prototype),s.set(i,e),i},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,p=t=>{let i=t.getRootNode();if(!h(i)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;i=t.getRootNode(),h(i)||(i=l.get(i)?.getRootNode()||document)}return i.customElements},c=i=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const o=p(e)||window.customElements,s=o._getDefinition(i);return s?u(e,s):n.set(e,o),e}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,i,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,i,!1)}adoptedCallback(){s.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=s.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=s.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=s.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=s.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,i,e)=>{if(0===i.size||void 0===e)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,s){const n=t.toLowerCase();if(i.has(n)){const t=this.getAttribute(n);o.call(this,n,s),e.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(i.has(o)){const t=this.getAttribute(o);s.call(this,o),e.call(this,o,t,null)}else s.call(this,o)})},d=i=>{const e=Object.getPrototypeOf(i);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(i,window.HTMLElement):d(e)},u=(t,i,e=!1)=>{Object.setPrototypeOf(t,i.elementClass.prototype),s.set(t,i),a=t;try{new i.elementClass}catch(t){d(i.elementClass),new i.elementClass}i.observedAttributes.forEach((e=>{t.hasAttribute(e)&&i.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&i.connectedCallback&&t.isConnected&&i.connectedCallback.call(t)},x=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const i=x.apply(this,arguments);return t.customElements&&(i.customElements=t.customElements),i};let b=[document];const v=(t,i,e)=>{const o=(e?Object.getPrototypeOf(e):t.prototype)[i];t.prototype[i]=function(){b.push(this);const t=o.apply(e||this,arguments);return void 0!==t&&l.set(t,this),b.pop(),t}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const y=(t,i)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,i);Object.defineProperty(t.prototype,i,{...e,set(t){b.push(this),e.set.call(this,t),b.pop()}})};if(y(Element,"innerHTML"),y(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,i=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const o=i.call(this,...e);return t.set(o,this),o},e.forEach((i=>{const e=window.ElementInternals.prototype,o=e[i];e[i]=function(...i){const e=t.get(this);if(!0!==s.get(e).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...i)}}));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 i=new Map;t.forEach(((t,e)=>{const o=t.getAttribute("name"),s=i.get(o)||[];this[+e]=t,s.push(t),i.set(o,s)})),this.length=t.length,i.forEach(((t,i)=>{t&&(1===t.length?this[i]=t[0]:this[i]=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,[]),i=[];for(const e of t){const t=s.get(e);t&&!0!==t.formAssociated||i.push(e)}return new n(i)}})}}try{window.customElements.define("custom-element",null)}catch(he){const t=window.customElements.define;window.customElements.define=(i,e,o)=>{try{t.bind(window.customElements)(i,e,o)}catch(t){console.warn(i,e,o,t)}}}class i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,i){this.callbacks=[t],this.debounce(i)}queue(t,i){this.callbacks.push(t),this.debounce(i)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -44,18 +44,18 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,i=window.cust
44
44
  * @license
45
45
  * Copyright 2019 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
- */,p=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,c=Symbol(),f=new Map;class d{constructor(t,i){if(this._$cssResult$=!0,i!==c)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=f.get(this.cssText);return p&&void 0===t&&(f.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const u=t=>new d("string"==typeof t?t:t+"",c),x=(t,...i)=>{const e=1===t.length?t[0]:i.reduce(((i,e,o)=>i+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[o+1]),t[0]);return new d(e,c)},y=(t,i)=>{p?t.adoptedStyleSheets=i.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):i.forEach((i=>{const e=document.createElement("style"),o=window.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=i.cssText,t.appendChild(e)}))},v=p?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let i="";for(const e of t.cssRules)i+=e.cssText;return u(i)})(t):t
47
+ */,p=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,c=Symbol(),f=new Map;class d{constructor(t,i){if(this._$cssResult$=!0,i!==c)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=f.get(this.cssText);return p&&void 0===t&&(f.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const u=t=>new d("string"==typeof t?t:t+"",c),x=(t,...i)=>{const e=1===t.length?t[0]:i.reduce(((i,e,o)=>i+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[o+1]),t[0]);return new d(e,c)},b=(t,i)=>{p?t.adoptedStyleSheets=i.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):i.forEach((i=>{const e=document.createElement("style"),o=window.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=i.cssText,t.appendChild(e)}))},v=p?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let i="";for(const e of t.cssRules)i+=e.cssText;return u(i)})(t):t
48
48
  /**
49
49
  * @license
50
50
  * Copyright 2017 Google LLC
51
51
  * SPDX-License-Identifier: BSD-3-Clause
52
- */;var b;const g=window.trustedTypes,m=g?g.emptyScript:"",w=window.reactiveElementPolyfillSupport,$={toAttribute(t,i){switch(i){case Boolean:t=t?m:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,i){let e=t;switch(i){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},O=(t,i)=>i!==t&&(i==i||t==t),S={attribute:!0,type:String,converter:$,reflect:!1,hasChanged:O};class k extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var i;null!==(i=this.l)&&void 0!==i||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,e)=>{const o=this._$Eh(e,i);void 0!==o&&(this._$Eu.set(o,e),t.push(o))})),t}static createProperty(t,i=S){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,e,i);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,i,e){return{get(){return this[i]},set(o){const s=this[t];this[i]=o,this.requestUpdate(t,s,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||S}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const e of i)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const i=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)i.unshift(v(t))}else void 0!==t&&i.push(v(t));return i}static _$Eh(t,i){const e=i.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var i,e;(null!==(i=this._$Eg)&&void 0!==i?i:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var i;null===(i=this._$Eg)||void 0===i||i.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Et.set(i,this[i]),delete this[i])}))}createRenderRoot(){var t;const i=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return y(i,this.constructor.elementStyles),i}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}))}attributeChangedCallback(t,i,e){this._$AK(t,e)}_$ES(t,i,e=S){var o,s;const n=this.constructor._$Eh(t,e);if(void 0!==n&&!0===e.reflect){const r=(null!==(s=null===(o=e.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==s?s:$.toAttribute)(i,e.type);this._$Ei=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$Ei=null}}_$AK(t,i){var e,o,s;const n=this.constructor,r=n._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=n.getPropertyOptions(r),l=t.converter,a=null!==(s=null!==(o=null===(e=l)||void 0===e?void 0:e.fromAttribute)&&void 0!==o?o:"function"==typeof l?l:null)&&void 0!==s?s:$.fromAttribute;this._$Ei=r,this[r]=a(i,t.type),this._$Ei=null}}requestUpdate(t,i,e){let o=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||O)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===e.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,e))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,i)=>this[i]=t)),this._$Et=void 0);let i=!1;const e=this._$AL;try{i=this.shouldUpdate(e),i?(this.willUpdate(e),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(e)):this._$EU()}catch(t){throw i=!1,this._$EU(),t}i&&this._$AE(e)}willUpdate(t){}_$AE(t){var i;null===(i=this._$Eg)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,i)=>this._$ES(i,this[i],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
52
+ */;var y;const g=window.trustedTypes,m=g?g.emptyScript:"",w=window.reactiveElementPolyfillSupport,$={toAttribute(t,i){switch(i){case Boolean:t=t?m:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,i){let e=t;switch(i){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},O=(t,i)=>i!==t&&(i==i||t==t),S={attribute:!0,type:String,converter:$,reflect:!1,hasChanged:O};class k extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var i;null!==(i=this.l)&&void 0!==i||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,e)=>{const o=this._$Eh(e,i);void 0!==o&&(this._$Eu.set(o,e),t.push(o))})),t}static createProperty(t,i=S){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,e,i);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,i,e){return{get(){return this[i]},set(o){const s=this[t];this[i]=o,this.requestUpdate(t,s,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||S}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const e of i)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const i=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)i.unshift(v(t))}else void 0!==t&&i.push(v(t));return i}static _$Eh(t,i){const e=i.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var i,e;(null!==(i=this._$Eg)&&void 0!==i?i:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var i;null===(i=this._$Eg)||void 0===i||i.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Et.set(i,this[i]),delete this[i])}))}createRenderRoot(){var t;const i=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return b(i,this.constructor.elementStyles),i}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}))}attributeChangedCallback(t,i,e){this._$AK(t,e)}_$ES(t,i,e=S){var o,s;const n=this.constructor._$Eh(t,e);if(void 0!==n&&!0===e.reflect){const r=(null!==(s=null===(o=e.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==s?s:$.toAttribute)(i,e.type);this._$Ei=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$Ei=null}}_$AK(t,i){var e,o,s;const n=this.constructor,r=n._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=n.getPropertyOptions(r),l=t.converter,a=null!==(s=null!==(o=null===(e=l)||void 0===e?void 0:e.fromAttribute)&&void 0!==o?o:"function"==typeof l?l:null)&&void 0!==s?s:$.fromAttribute;this._$Ei=r,this[r]=a(i,t.type),this._$Ei=null}}requestUpdate(t,i,e){let o=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||O)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===e.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,e))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,i)=>this[i]=t)),this._$Et=void 0);let i=!1;const e=this._$AL;try{i=this.shouldUpdate(e),i?(this.willUpdate(e),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(e)):this._$EU()}catch(t){throw i=!1,this._$EU(),t}i&&this._$AE(e)}willUpdate(t){}_$AE(t){var i;null===(i=this._$Eg)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,i)=>this._$ES(i,this[i],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
53
53
  /**
54
54
  * @license
55
55
  * Copyright 2017 Google LLC
56
56
  * SPDX-License-Identifier: BSD-3-Clause
57
57
  */
58
- var C;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==w||w({ReactiveElement:k}),(null!==(b=globalThis.reactiveElementVersions)&&void 0!==b?b:globalThis.reactiveElementVersions=[]).push("1.2.2");const N=globalThis.trustedTypes,E=N?N.createPolicy("lit-html",{createHTML:t=>t}):void 0,z=`lit$${(Math.random()+"").slice(9)}$`,R="?"+z,M=`<${R}>`,F=document,U=(t="")=>F.createComment(t),T=t=>null===t||"object"!=typeof t&&"function"!=typeof t,j=Array.isArray,B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,L=/-->/g,_=/>/g,A=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,D=/'/g,P=/"/g,I=/^(?:script|style|textarea|title)$/i,W=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),H=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),Z=new WeakMap,V=F.createTreeWalker(F,129,null,!1),q=(t,i)=>{const e=t.length-1,o=[];let s,n=2===i?"<svg>":"",r=B;for(let i=0;i<e;i++){const e=t[i];let l,a,h=-1,p=0;for(;p<e.length&&(r.lastIndex=p,a=r.exec(e),null!==a);)p=r.lastIndex,r===B?"!--"===a[1]?r=L:void 0!==a[1]?r=_:void 0!==a[2]?(I.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=A):void 0!==a[3]&&(r=A):r===A?">"===a[0]?(r=null!=s?s:B,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?A:'"'===a[3]?P:D):r===P||r===D?r=A:r===L||r===_?r=B:(r=A,s=void 0);const c=r===A&&t[i+1].startsWith("/>")?" ":"";n+=r===B?e+M:h>=0?(o.push(l),e.slice(0,h)+"$lit$"+e.slice(h)+z+c):e+z+(-2===h?(o.push(void 0),i):c)}const l=n+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==E?E.createHTML(l):l,o]};class X{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,h]=q(t,i);if(this.el=X.createElement(a,e),V.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=V.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(z)){const e=h[n++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(z),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?tt:"?"===i[1]?et:"@"===i[1]?ot:Q})}else l.push({type:6,index:s})}for(const i of t)o.removeAttribute(i)}if(I.test(o.tagName)){const t=o.textContent.split(z),i=t.length-1;if(i>0){o.textContent=N?N.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],U()),V.nextNode(),l.push({type:2,index:++s});o.append(t[i],U())}}}else if(8===o.nodeType)if(o.data===R)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(z,t+1));)l.push({type:7,index:s}),t+=z.length-1}s++}}static createElement(t,i){const e=F.createElement("template");return e.innerHTML=t,e}}function J(t,i,e=t,o){var s,n,r,l;if(i===H)return i;let a=void 0!==o?null===(s=e._$Cl)||void 0===s?void 0:s[o]:e._$Cu;const h=T(i)?void 0:i._$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,e,o)),void 0!==o?(null!==(r=(l=e)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:e._$Cu=a),void 0!==a&&(i=J(t,a._$AS(t,i.values),a,o)),i}class Y{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,s=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:F).importNode(e,!0);V.currentNode=s;let n=V.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let i;2===a.type?i=new G(n,n.nextSibling,this,t):1===a.type?i=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(i=new st(n,this,t)),this.v.push(i),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=V.nextNode(),r++)}return s}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class G{constructor(t,i,e,o){var s;this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=J(this,t,i),T(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==H&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var i;return j(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==K&&T(this._$AH)?this._$AA.nextSibling.data=t:this.S(F.createTextNode(t)),this._$AH=t}T(t){var i;const{values:e,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=X.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===s)this._$AH.m(e);else{const t=new Y(s,this),i=t.p(this.options);t.m(e),this.S(i),this._$AH=t}}_$AC(t){let i=Z.get(t.strings);return void 0===i&&Z.set(t.strings,i=new X(t)),i}A(t){j(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const s of t)o===i.length?i.push(e=new G(this.M(U()),this.M(U()),this,this.options)):e=i[o],e._$AI(s),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class Q{constructor(t,i,e,o,s){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=s,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=K}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const s=this.strings;let n=!1;if(void 0===s)t=J(this,t,i,0),n=!T(t)||t!==this._$AH&&t!==H,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=J(this,o[e+r],i,r),l===H&&(l=this._$AH[r]),n||(n=!T(l)||l!==this._$AH[r]),l===K?t=K:t!==K&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.k(t)}k(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class tt extends Q{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===K?void 0:t}}const it=N?N.emptyScript:"";class et extends Q{constructor(){super(...arguments),this.type=4}k(t){t&&t!==K?this.element.setAttribute(this.name,it):this.element.removeAttribute(this.name)}}class ot extends Q{constructor(t,i,e,o,s){super(t,i,e,o,s),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=J(this,t,i,0))&&void 0!==e?e:K)===H)return;const o=this._$AH,s=t===K&&o!==K||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==K&&(o===K||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class st{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){J(this,t)}}const nt=window.litHtmlPolyfillSupport;
58
+ var C;k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==w||w({ReactiveElement:k}),(null!==(y=globalThis.reactiveElementVersions)&&void 0!==y?y:globalThis.reactiveElementVersions=[]).push("1.2.2");const N=globalThis.trustedTypes,E=N?N.createPolicy("lit-html",{createHTML:t=>t}):void 0,z=`lit$${(Math.random()+"").slice(9)}$`,R="?"+z,M=`<${R}>`,F=document,U=(t="")=>F.createComment(t),T=t=>null===t||"object"!=typeof t&&"function"!=typeof t,j=Array.isArray,B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,L=/-->/g,_=/>/g,A=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,D=/'/g,P=/"/g,I=/^(?:script|style|textarea|title)$/i,W=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),H=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),Z=new WeakMap,V=F.createTreeWalker(F,129,null,!1),q=(t,i)=>{const e=t.length-1,o=[];let s,n=2===i?"<svg>":"",r=B;for(let i=0;i<e;i++){const e=t[i];let l,a,h=-1,p=0;for(;p<e.length&&(r.lastIndex=p,a=r.exec(e),null!==a);)p=r.lastIndex,r===B?"!--"===a[1]?r=L:void 0!==a[1]?r=_:void 0!==a[2]?(I.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=A):void 0!==a[3]&&(r=A):r===A?">"===a[0]?(r=null!=s?s:B,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?A:'"'===a[3]?P:D):r===P||r===D?r=A:r===L||r===_?r=B:(r=A,s=void 0);const c=r===A&&t[i+1].startsWith("/>")?" ":"";n+=r===B?e+M:h>=0?(o.push(l),e.slice(0,h)+"$lit$"+e.slice(h)+z+c):e+z+(-2===h?(o.push(void 0),i):c)}const l=n+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==E?E.createHTML(l):l,o]};class X{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,h]=q(t,i);if(this.el=X.createElement(a,e),V.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=V.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(z)){const e=h[n++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(z),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?tt:"?"===i[1]?et:"@"===i[1]?ot:Q})}else l.push({type:6,index:s})}for(const i of t)o.removeAttribute(i)}if(I.test(o.tagName)){const t=o.textContent.split(z),i=t.length-1;if(i>0){o.textContent=N?N.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],U()),V.nextNode(),l.push({type:2,index:++s});o.append(t[i],U())}}}else if(8===o.nodeType)if(o.data===R)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(z,t+1));)l.push({type:7,index:s}),t+=z.length-1}s++}}static createElement(t,i){const e=F.createElement("template");return e.innerHTML=t,e}}function J(t,i,e=t,o){var s,n,r,l;if(i===H)return i;let a=void 0!==o?null===(s=e._$Cl)||void 0===s?void 0:s[o]:e._$Cu;const h=T(i)?void 0:i._$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,e,o)),void 0!==o?(null!==(r=(l=e)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:e._$Cu=a),void 0!==a&&(i=J(t,a._$AS(t,i.values),a,o)),i}class Y{constructor(t,i){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var i;const{el:{content:e},parts:o}=this._$AD,s=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:F).importNode(e,!0);V.currentNode=s;let n=V.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let i;2===a.type?i=new G(n,n.nextSibling,this,t):1===a.type?i=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(i=new st(n,this,t)),this.v.push(i),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=V.nextNode(),r++)}return s}m(t){let i=0;for(const e of this.v)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class G{constructor(t,i,e,o){var s;this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=J(this,t,i),T(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==H&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var i;return j(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==K&&T(this._$AH)?this._$AA.nextSibling.data=t:this.S(F.createTextNode(t)),this._$AH=t}T(t){var i;const{values:e,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=X.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===s)this._$AH.m(e);else{const t=new Y(s,this),i=t.p(this.options);t.m(e),this.S(i),this._$AH=t}}_$AC(t){let i=Z.get(t.strings);return void 0===i&&Z.set(t.strings,i=new X(t)),i}A(t){j(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const s of t)o===i.length?i.push(e=new G(this.M(U()),this.M(U()),this,this.options)):e=i[o],e._$AI(s),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cg=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class Q{constructor(t,i,e,o,s){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=s,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=K}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const s=this.strings;let n=!1;if(void 0===s)t=J(this,t,i,0),n=!T(t)||t!==this._$AH&&t!==H,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=J(this,o[e+r],i,r),l===H&&(l=this._$AH[r]),n||(n=!T(l)||l!==this._$AH[r]),l===K?t=K:t!==K&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.k(t)}k(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class tt extends Q{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===K?void 0:t}}const it=N?N.emptyScript:"";class et extends Q{constructor(){super(...arguments),this.type=4}k(t){t&&t!==K?this.element.setAttribute(this.name,it):this.element.removeAttribute(this.name)}}class ot extends Q{constructor(t,i,e,o,s){super(t,i,e,o,s),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=J(this,t,i,0))&&void 0!==e?e:K)===H)return;const o=this._$AH,s=t===K&&o!==K||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==K&&(o===K||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class st{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){J(this,t)}}const nt=window.litHtmlPolyfillSupport;
59
59
  /**
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
@@ -66,7 +66,7 @@ var rt,lt;null==nt||nt(X,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
66
66
  * @license
67
67
  * Copyright 2021 Google LLC
68
68
  * SPDX-License-Identifier: BSD-3-Clause
69
- */class dt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:i,elementDefinitions:e,shadowRootOptions:o}=t;e&&!i&&(t.registry=new CustomElementRegistry,Object.entries(e).forEach((([i,e])=>t.registry.define(i,e))));const s=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return y(s,this.constructor.elementStyles),s}}}(at)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),W`
69
+ */class dt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:i,elementDefinitions:e,shadowRootOptions:o}=t;e&&!i&&(t.registry=new CustomElementRegistry,Object.entries(e).forEach((([i,e])=>t.registry.define(i,e))));const s=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return b(s,this.constructor.elementStyles),s}}}(at)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),W`
70
70
  ${t.map((t=>W`
71
71
  <style>${t}</style>
72
72
  `))}
@@ -80,7 +80,7 @@ var rt,lt;null==nt||nt(X,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
80
80
  -ms-user-select: none;
81
81
  user-select: none;
82
82
  }
83
- `;var xt,yt,vt;const bt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(vt=null===(yt=null===(xt=window.safari)||void 0===xt?void 0:xt.pushNotification)||void 0===yt?void 0:yt.toString())&&void 0!==vt?vt:""),gt=1,mt=2,wt=t=>(...i)=>({_$litDirective$:t,values:i});
83
+ `;var xt,bt,vt;const yt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(vt=null===(bt=null===(xt=window.safari)||void 0===xt?void 0:xt.pushNotification)||void 0===bt?void 0:bt.toString())&&void 0!==vt?vt:""),gt=1,mt=2,wt=t=>(...i)=>({_$litDirective$:t,values:i});
84
84
  /**
85
85
  * @license
86
86
  * Copyright 2017 Google LLC
@@ -90,7 +90,7 @@ var rt,lt;null==nt||nt(X,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
90
90
  * @license
91
91
  * Copyright 2018 Google LLC
92
92
  * SPDX-License-Identifier: BSD-3-Clause
93
- */const Ot=wt(class extends $t{constructor(t){var i;if(super(t),t.type!==gt||"class"!==t.name||(null===(i=t.strings)||void 0===i?void 0:i.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((i=>t[i])).join(" ")+" "}update(t,[i]){var e,o;if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.et=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!(null===(e=this.et)||void 0===e?void 0:e.has(t))&&this.st.add(t);return this.render(i)}const s=t.element.classList;this.st.forEach((t=>{t in i||(s.remove(t),this.st.delete(t))}));for(const t in i){const e=!!i[t];e===this.st.has(t)||(null===(o=this.et)||void 0===o?void 0:o.has(t))||(e?(s.add(t),this.st.add(t)):(s.remove(t),this.st.delete(t)))}return H}});var St=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const kt={color:pt.extend("--ft-ripple-color",ft.colorContent),primaryColor:pt.extend("--ft-ripple-primary-color",pt.extend("--ft-ripple-color",ft.colorPrimary)),secondaryColor:pt.extend("--ft-ripple-secondary-color",pt.extend("--ft-ripple-color",ft.colorSecondary)),opacityContentOnSurfacePressed:pt.external(ft.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:pt.external(ft.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:pt.external(ft.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:pt.external(ft.opacityContentOnSurfaceSelected,"Design system")};class Ct extends dt{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.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed)},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var i,e;let{x:o,y:s}=this.getCoordinates(t),n=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{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.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 W`
93
+ */const Ot=wt(class extends $t{constructor(t){var i;if(super(t),t.type!==gt||"class"!==t.name||(null===(i=t.strings)||void 0===i?void 0:i.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((i=>t[i])).join(" ")+" "}update(t,[i]){var e,o;if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.et=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!(null===(e=this.et)||void 0===e?void 0:e.has(t))&&this.st.add(t);return this.render(i)}const s=t.element.classList;this.st.forEach((t=>{t in i||(s.remove(t),this.st.delete(t))}));for(const t in i){const e=!!i[t];e===this.st.has(t)||(null===(o=this.et)||void 0===o?void 0:o.has(t))||(e?(s.add(t),this.st.add(t)):(s.remove(t),this.st.delete(t)))}return H}});var St=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const kt=pt.extend("--ft-ripple-color",ft.colorContent),Ct={color:kt,backgroundColor:pt.extend("--ft-ripple-background-color",kt),opacityContentOnSurfacePressed:pt.external(ft.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:pt.external(ft.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:pt.external(ft.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:pt.external(ft.opacityContentOnSurfaceSelected,"Design system")},Nt=pt.extend("--ft-ripple-color",ft.colorPrimary),Et=Nt,zt=pt.extend("--ft-ripple-background-color",Nt),Rt=pt.extend("--ft-ripple-color",ft.colorSecondary),Mt=Rt,Ft=pt.extend("--ft-ripple-background-color",Rt);class Ut extends dt{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.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new i(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var i,e;let{x:o,y:s}=this.getCoordinates(t),n=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{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.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 W`
94
94
  <style>
95
95
  .ft-ripple .ft-ripple--effect,
96
96
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -107,7 +107,7 @@ var rt,lt;null==nt||nt(X,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
107
107
  <div class="ft-ripple--background"></div>
108
108
  <div class="ft-ripple--effect"></div>
109
109
  </div>
110
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){super.updated(t),t.has("disabled")&&this.disabled&&this.endRipple(),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(i),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),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",e),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}}getCoordinates(t){const i=t,e=t;let o,s;return null!=i.x?({x:o,y:s}=i):null!=e.touches&&(o=e.touches[0].clientX,s=e.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Ct.elementDefinitions={},Ct.styles=x`
110
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var i,e;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const i=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;i&&this.setupFor(i),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),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",e),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}}getCoordinates(t){const i=t,e=t;let o,s;return null!=i.x?({x:o,y:s}=i):null!=e.touches&&(o=e.touches[0].clientX,s=e.touches[0].clientY),{x:o,y:s}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Ut.elementDefinitions={},Ut.styles=x`
111
111
  :host {
112
112
  display: contents;
113
113
  }
@@ -126,17 +126,30 @@ var rt,lt;null==nt||nt(X,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
126
126
  .ft-ripple .ft-ripple--effect {
127
127
  position: absolute;
128
128
  opacity: 0;
129
- background-color: ${kt.color};
130
129
  }
131
130
 
132
- .ft-ripple.ft-ripple--secondary .ft-ripple--background,
131
+ .ft-ripple .ft-ripple--background {
132
+ background-color: ${Ct.backgroundColor};
133
+ }
134
+
135
+ .ft-ripple .ft-ripple--effect {
136
+ background-color: ${Ct.color};
137
+ }
138
+
139
+ .ft-ripple.ft-ripple--secondary .ft-ripple--background {
140
+ background-color: ${Ft};
141
+ }
142
+
133
143
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
134
- background-color: ${kt.secondaryColor};
144
+ background-color: ${Mt};
145
+ }
146
+
147
+ .ft-ripple.ft-ripple--primary .ft-ripple--background {
148
+ background-color: ${zt};
135
149
  }
136
150
 
137
- .ft-ripple.ft-ripple--primary .ft-ripple--background,
138
151
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
139
- background-color: ${kt.primaryColor};
152
+ background-color: ${Et};
140
153
  }
141
154
 
142
155
  .ft-ripple .ft-ripple--background {
@@ -144,6 +157,7 @@ var rt,lt;null==nt||nt(X,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
144
157
  left: 0;
145
158
  height: 100%;
146
159
  width: 100%;
160
+ transition: opacity 75ms linear;
147
161
  }
148
162
 
149
163
  .ft-ripple .ft-ripple--effect,
@@ -167,130 +181,130 @@ var rt,lt;null==nt||nt(X,G),(null!==(C=globalThis.litHtmlVersions)&&void 0!==C?C
167
181
  }
168
182
 
169
183
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
170
- opacity: ${kt.opacityContentOnSurfaceHover};
184
+ opacity: ${Ct.opacityContentOnSurfaceHover};
171
185
  }
172
186
 
173
187
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
174
- opacity: ${kt.opacityContentOnSurfaceSelected};
188
+ opacity: ${Ct.opacityContentOnSurfaceSelected};
175
189
  }
176
190
 
177
191
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
178
- opacity: ${kt.opacityContentOnSurfaceFocused};
192
+ opacity: ${Ct.opacityContentOnSurfaceFocused};
179
193
  }
180
194
 
181
195
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
182
- opacity: ${kt.opacityContentOnSurfacePressed};
196
+ opacity: ${Ct.opacityContentOnSurfacePressed};
183
197
  transform: translate(-50%, -50%) scale(1);
184
198
  }
185
- `,St([o({type:Boolean})],Ct.prototype,"primary",void 0),St([o({type:Boolean})],Ct.prototype,"secondary",void 0),St([o({type:Boolean})],Ct.prototype,"unbounded",void 0),St([o({type:Boolean})],Ct.prototype,"activated",void 0),St([o({type:Boolean})],Ct.prototype,"selected",void 0),St([o({type:Boolean})],Ct.prototype,"disabled",void 0),St([s()],Ct.prototype,"hovered",void 0),St([s()],Ct.prototype,"focused",void 0),St([s()],Ct.prototype,"pressed",void 0),St([s()],Ct.prototype,"rippling",void 0),St([s()],Ct.prototype,"rippleSize",void 0),St([s()],Ct.prototype,"originX",void 0),St([s()],Ct.prototype,"originY",void 0),St([r(".ft-ripple")],Ct.prototype,"ripple",void 0),St([r(".ft-ripple--effect")],Ct.prototype,"rippleEffect",void 0),h("ft-ripple")(Ct);
199
+ `,St([o({type:Boolean})],Ut.prototype,"primary",void 0),St([o({type:Boolean})],Ut.prototype,"secondary",void 0),St([o({type:Boolean})],Ut.prototype,"unbounded",void 0),St([o({type:Boolean})],Ut.prototype,"activated",void 0),St([o({type:Boolean})],Ut.prototype,"selected",void 0),St([o({type:Boolean})],Ut.prototype,"disabled",void 0),St([s()],Ut.prototype,"hovered",void 0),St([s()],Ut.prototype,"focused",void 0),St([s()],Ut.prototype,"pressed",void 0),St([s()],Ut.prototype,"rippling",void 0),St([s()],Ut.prototype,"rippleSize",void 0),St([s()],Ut.prototype,"originX",void 0),St([s()],Ut.prototype,"originY",void 0),St([r(".ft-ripple")],Ut.prototype,"ripple",void 0),St([r(".ft-ripple--effect")],Ut.prototype,"rippleEffect",void 0),h("ft-ripple")(Ut);
186
200
  /**
187
201
  * @license
188
202
  * Copyright 2020 Google LLC
189
203
  * SPDX-License-Identifier: BSD-3-Clause
190
204
  */
191
- const Nt=t=>({_$litStatic$:t}),Et=new Map,zt=(t=>(i,...e)=>{var o;const s=e.length;let n,r;const l=[],a=[];let h,p=0,c=!1;for(;p<s;){for(h=i[p];p<s&&void 0!==(r=e[p],n=null===(o=r)||void 0===o?void 0:o._$litStatic$);)h+=n+i[++p],c=!0;a.push(r),l.push(h),p++}if(p===s&&l.push(i[s]),c){const t=l.join("$$lit$$");void 0===(i=Et.get(t))&&(l.raw=l,Et.set(t,i=l)),e=a}return t(i,...e)})(W);var Rt,Mt=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(Rt||(Rt={}));const Ft=pt.extend("--ft-typography-font-family",ft.titleFont),Ut=pt.extend("--ft-typography-font-family",ft.contentFont),Tt={fontFamily:Ut,fontSize:pt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:pt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:pt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:pt.create("--ft-typography-line-height","SIZE","24px"),textTransform:pt.create("--ft-typography-text-transform","UNKNOWN","inherit")},jt=pt.extend("--ft-typography-title-font-family",Ft),Bt=pt.extend("--ft-typography-title-font-size",Tt.fontSize,"20px"),Lt=pt.extend("--ft-typography-title-font-weight",Tt.fontWeight,"normal"),_t=pt.extend("--ft-typography-title-letter-spacing",Tt.letterSpacing,"0.15px"),At=pt.extend("--ft-typography-title-line-height",Tt.lineHeight,"24px"),Dt=pt.extend("--ft-typography-title-text-transform",Tt.textTransform,"inherit"),Pt=pt.extend("--ft-typography-title-dense-font-family",Ft),It=pt.extend("--ft-typography-title-dense-font-size",Tt.fontSize,"14px"),Wt=pt.extend("--ft-typography-title-dense-font-weight",Tt.fontWeight,"normal"),Ht=pt.extend("--ft-typography-title-dense-letter-spacing",Tt.letterSpacing,"0.105px"),Kt=pt.extend("--ft-typography-title-dense-line-height",Tt.lineHeight,"24px"),Zt=pt.extend("--ft-typography-title-dense-text-transform",Tt.textTransform,"inherit"),Vt=pt.extend("--ft-typography-subtitle1-font-family",Ut),qt=pt.extend("--ft-typography-subtitle1-font-size",Tt.fontSize,"16px"),Xt=pt.extend("--ft-typography-subtitle1-font-weight",Tt.fontWeight,"600"),Jt=pt.extend("--ft-typography-subtitle1-letter-spacing",Tt.letterSpacing,"0.144px"),Yt=pt.extend("--ft-typography-subtitle1-line-height",Tt.lineHeight,"24px"),Gt=pt.extend("--ft-typography-subtitle1-text-transform",Tt.textTransform,"inherit"),Qt=pt.extend("--ft-typography-subtitle2-font-family",Ut),ti=pt.extend("--ft-typography-subtitle2-font-size",Tt.fontSize,"14px"),ii=pt.extend("--ft-typography-subtitle2-font-weight",Tt.fontWeight,"normal"),ei=pt.extend("--ft-typography-subtitle2-letter-spacing",Tt.letterSpacing,"0.098px"),oi=pt.extend("--ft-typography-subtitle2-line-height",Tt.lineHeight,"24px"),si=pt.extend("--ft-typography-subtitle2-text-transform",Tt.textTransform,"inherit"),ni=pt.extend("--ft-typography-body1-font-family",Ut),ri=pt.extend("--ft-typography-body1-font-size",Tt.fontSize,"16px"),li=pt.extend("--ft-typography-body1-font-weight",Tt.fontWeight,"normal"),ai=pt.extend("--ft-typography-body1-letter-spacing",Tt.letterSpacing,"0.496px"),hi=pt.extend("--ft-typography-body1-line-height",Tt.lineHeight,"24px"),pi=pt.extend("--ft-typography-body1-text-transform",Tt.textTransform,"inherit"),ci=pt.extend("--ft-typography-body2-font-family",Ut),fi=pt.extend("--ft-typography-body2-font-size",Tt.fontSize,"14px"),di=pt.extend("--ft-typography-body2-font-weight",Tt.fontWeight,"normal"),ui=pt.extend("--ft-typography-body2-letter-spacing",Tt.letterSpacing,"0.252px"),xi=pt.extend("--ft-typography-body2-line-height",Tt.lineHeight,"20px"),yi=pt.extend("--ft-typography-body2-text-transform",Tt.textTransform,"inherit"),vi=pt.extend("--ft-typography-caption-font-family",Ut),bi=pt.extend("--ft-typography-caption-font-size",Tt.fontSize,"12px"),gi=pt.extend("--ft-typography-caption-font-weight",Tt.fontWeight,"normal"),mi=pt.extend("--ft-typography-caption-letter-spacing",Tt.letterSpacing,"0.396px"),wi=pt.extend("--ft-typography-caption-line-height",Tt.lineHeight,"16px"),$i=pt.extend("--ft-typography-caption-text-transform",Tt.textTransform,"inherit"),Oi=pt.extend("--ft-typography-breadcrumb-font-family",Ut),Si=pt.extend("--ft-typography-breadcrumb-font-size",Tt.fontSize,"10px"),ki=pt.extend("--ft-typography-breadcrumb-font-weight",Tt.fontWeight,"normal"),Ci=pt.extend("--ft-typography-breadcrumb-letter-spacing",Tt.letterSpacing,"0.33px"),Ni=pt.extend("--ft-typography-breadcrumb-line-height",Tt.lineHeight,"16px"),Ei=pt.extend("--ft-typography-breadcrumb-text-transform",Tt.textTransform,"inherit"),zi=pt.extend("--ft-typography-overline-font-family",Ut),Ri=pt.extend("--ft-typography-overline-font-size",Tt.fontSize,"10px"),Mi=pt.extend("--ft-typography-overline-font-weight",Tt.fontWeight,"normal"),Fi=pt.extend("--ft-typography-overline-letter-spacing",Tt.letterSpacing,"1.5px"),Ui=pt.extend("--ft-typography-overline-line-height",Tt.lineHeight,"16px"),Ti=pt.extend("--ft-typography-overline-text-transform",Tt.textTransform,"uppercase"),ji={fontFamily:pt.extend("--ft-typography-button-font-family",Ut),fontSize:pt.extend("--ft-typography-button-font-size",Tt.fontSize,"14px"),fontWeight:pt.extend("--ft-typography-button-font-weight",Tt.fontWeight,"600"),letterSpacing:pt.extend("--ft-typography-button-letter-spacing",Tt.letterSpacing,"1.246px"),lineHeight:pt.extend("--ft-typography-button-line-height",Tt.lineHeight,"16px"),textTransform:pt.extend("--ft-typography-button-text-transform",Tt.textTransform,"uppercase")},Bi=x`
205
+ const Tt=t=>({_$litStatic$:t}),jt=new Map,Bt=(t=>(i,...e)=>{var o;const s=e.length;let n,r;const l=[],a=[];let h,p=0,c=!1;for(;p<s;){for(h=i[p];p<s&&void 0!==(r=e[p],n=null===(o=r)||void 0===o?void 0:o._$litStatic$);)h+=n+i[++p],c=!0;a.push(r),l.push(h),p++}if(p===s&&l.push(i[s]),c){const t=l.join("$$lit$$");void 0===(i=jt.get(t))&&(l.raw=l,jt.set(t,i=l)),e=a}return t(i,...e)})(W);var Lt,_t=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(Lt||(Lt={}));const At=pt.extend("--ft-typography-font-family",ft.titleFont),Dt=pt.extend("--ft-typography-font-family",ft.contentFont),Pt={fontFamily:Dt,fontSize:pt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:pt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:pt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:pt.create("--ft-typography-line-height","SIZE","24px"),textTransform:pt.create("--ft-typography-text-transform","UNKNOWN","inherit")},It=pt.extend("--ft-typography-title-font-family",At),Wt=pt.extend("--ft-typography-title-font-size",Pt.fontSize,"20px"),Ht=pt.extend("--ft-typography-title-font-weight",Pt.fontWeight,"normal"),Kt=pt.extend("--ft-typography-title-letter-spacing",Pt.letterSpacing,"0.15px"),Zt=pt.extend("--ft-typography-title-line-height",Pt.lineHeight,"24px"),Vt=pt.extend("--ft-typography-title-text-transform",Pt.textTransform,"inherit"),qt=pt.extend("--ft-typography-title-dense-font-family",At),Xt=pt.extend("--ft-typography-title-dense-font-size",Pt.fontSize,"14px"),Jt=pt.extend("--ft-typography-title-dense-font-weight",Pt.fontWeight,"normal"),Yt=pt.extend("--ft-typography-title-dense-letter-spacing",Pt.letterSpacing,"0.105px"),Gt=pt.extend("--ft-typography-title-dense-line-height",Pt.lineHeight,"24px"),Qt=pt.extend("--ft-typography-title-dense-text-transform",Pt.textTransform,"inherit"),ti=pt.extend("--ft-typography-subtitle1-font-family",Dt),ii=pt.extend("--ft-typography-subtitle1-font-size",Pt.fontSize,"16px"),ei=pt.extend("--ft-typography-subtitle1-font-weight",Pt.fontWeight,"600"),oi=pt.extend("--ft-typography-subtitle1-letter-spacing",Pt.letterSpacing,"0.144px"),si=pt.extend("--ft-typography-subtitle1-line-height",Pt.lineHeight,"24px"),ni=pt.extend("--ft-typography-subtitle1-text-transform",Pt.textTransform,"inherit"),ri=pt.extend("--ft-typography-subtitle2-font-family",Dt),li=pt.extend("--ft-typography-subtitle2-font-size",Pt.fontSize,"14px"),ai=pt.extend("--ft-typography-subtitle2-font-weight",Pt.fontWeight,"normal"),hi=pt.extend("--ft-typography-subtitle2-letter-spacing",Pt.letterSpacing,"0.098px"),pi=pt.extend("--ft-typography-subtitle2-line-height",Pt.lineHeight,"24px"),ci=pt.extend("--ft-typography-subtitle2-text-transform",Pt.textTransform,"inherit"),fi=pt.extend("--ft-typography-body1-font-family",Dt),di=pt.extend("--ft-typography-body1-font-size",Pt.fontSize,"16px"),ui=pt.extend("--ft-typography-body1-font-weight",Pt.fontWeight,"normal"),xi=pt.extend("--ft-typography-body1-letter-spacing",Pt.letterSpacing,"0.496px"),bi=pt.extend("--ft-typography-body1-line-height",Pt.lineHeight,"24px"),vi=pt.extend("--ft-typography-body1-text-transform",Pt.textTransform,"inherit"),yi=pt.extend("--ft-typography-body2-font-family",Dt),gi=pt.extend("--ft-typography-body2-font-size",Pt.fontSize,"14px"),mi=pt.extend("--ft-typography-body2-font-weight",Pt.fontWeight,"normal"),wi=pt.extend("--ft-typography-body2-letter-spacing",Pt.letterSpacing,"0.252px"),$i=pt.extend("--ft-typography-body2-line-height",Pt.lineHeight,"20px"),Oi=pt.extend("--ft-typography-body2-text-transform",Pt.textTransform,"inherit"),Si=pt.extend("--ft-typography-caption-font-family",Dt),ki=pt.extend("--ft-typography-caption-font-size",Pt.fontSize,"12px"),Ci=pt.extend("--ft-typography-caption-font-weight",Pt.fontWeight,"normal"),Ni=pt.extend("--ft-typography-caption-letter-spacing",Pt.letterSpacing,"0.396px"),Ei=pt.extend("--ft-typography-caption-line-height",Pt.lineHeight,"16px"),zi=pt.extend("--ft-typography-caption-text-transform",Pt.textTransform,"inherit"),Ri=pt.extend("--ft-typography-breadcrumb-font-family",Dt),Mi=pt.extend("--ft-typography-breadcrumb-font-size",Pt.fontSize,"10px"),Fi=pt.extend("--ft-typography-breadcrumb-font-weight",Pt.fontWeight,"normal"),Ui=pt.extend("--ft-typography-breadcrumb-letter-spacing",Pt.letterSpacing,"0.33px"),Ti=pt.extend("--ft-typography-breadcrumb-line-height",Pt.lineHeight,"16px"),ji=pt.extend("--ft-typography-breadcrumb-text-transform",Pt.textTransform,"inherit"),Bi=pt.extend("--ft-typography-overline-font-family",Dt),Li=pt.extend("--ft-typography-overline-font-size",Pt.fontSize,"10px"),_i=pt.extend("--ft-typography-overline-font-weight",Pt.fontWeight,"normal"),Ai=pt.extend("--ft-typography-overline-letter-spacing",Pt.letterSpacing,"1.5px"),Di=pt.extend("--ft-typography-overline-line-height",Pt.lineHeight,"16px"),Pi=pt.extend("--ft-typography-overline-text-transform",Pt.textTransform,"uppercase"),Ii={fontFamily:pt.extend("--ft-typography-button-font-family",Dt),fontSize:pt.extend("--ft-typography-button-font-size",Pt.fontSize,"14px"),fontWeight:pt.extend("--ft-typography-button-font-weight",Pt.fontWeight,"600"),letterSpacing:pt.extend("--ft-typography-button-letter-spacing",Pt.letterSpacing,"1.246px"),lineHeight:pt.extend("--ft-typography-button-line-height",Pt.lineHeight,"16px"),textTransform:pt.extend("--ft-typography-button-text-transform",Pt.textTransform,"uppercase")},Wi=x`
192
206
  .ft-typography--title {
193
- font-family: ${jt};
194
- font-size: ${Bt};
195
- font-weight: ${Lt};
196
- letter-spacing: ${_t};
197
- line-height: ${At};
198
- text-transform: ${Dt};
207
+ font-family: ${It};
208
+ font-size: ${Wt};
209
+ font-weight: ${Ht};
210
+ letter-spacing: ${Kt};
211
+ line-height: ${Zt};
212
+ text-transform: ${Vt};
199
213
  }
200
- `,Li=x`
214
+ `,Hi=x`
201
215
  .ft-typography--title-dense {
202
- font-family: ${Pt};
203
- font-size: ${It};
204
- font-weight: ${Wt};
205
- letter-spacing: ${Ht};
206
- line-height: ${Kt};
207
- text-transform: ${Zt};
216
+ font-family: ${qt};
217
+ font-size: ${Xt};
218
+ font-weight: ${Jt};
219
+ letter-spacing: ${Yt};
220
+ line-height: ${Gt};
221
+ text-transform: ${Qt};
208
222
  }
209
- `,_i=x`
223
+ `,Ki=x`
210
224
  .ft-typography--subtitle1 {
211
- font-family: ${Vt};
212
- font-size: ${qt};
213
- font-weight: ${Xt};
214
- letter-spacing: ${Jt};
215
- line-height: ${Yt};
216
- text-transform: ${Gt};
225
+ font-family: ${ti};
226
+ font-size: ${ii};
227
+ font-weight: ${ei};
228
+ letter-spacing: ${oi};
229
+ line-height: ${si};
230
+ text-transform: ${ni};
217
231
  }
218
- `,Ai=x`
232
+ `,Zi=x`
219
233
  .ft-typography--subtitle2 {
220
- font-family: ${Qt};
221
- font-size: ${ti};
222
- font-weight: ${ii};
223
- letter-spacing: ${ei};
224
- line-height: ${oi};
225
- text-transform: ${si};
234
+ font-family: ${ri};
235
+ font-size: ${li};
236
+ font-weight: ${ai};
237
+ letter-spacing: ${hi};
238
+ line-height: ${pi};
239
+ text-transform: ${ci};
226
240
  }
227
241
 
228
- `,Di=x`
242
+ `,Vi=x`
229
243
  .ft-typography--body1 {
230
- font-family: ${ni};
231
- font-size: ${ri};
232
- font-weight: ${li};
233
- letter-spacing: ${ai};
234
- line-height: ${hi};
235
- text-transform: ${pi};
244
+ font-family: ${fi};
245
+ font-size: ${di};
246
+ font-weight: ${ui};
247
+ letter-spacing: ${xi};
248
+ line-height: ${bi};
249
+ text-transform: ${vi};
236
250
  }
237
- `,Pi=x`
251
+ `,qi=x`
238
252
  .ft-typography--body2 {
239
- font-family: ${ci};
240
- font-size: ${fi};
241
- font-weight: ${di};
242
- letter-spacing: ${ui};
243
- line-height: ${xi};
244
- text-transform: ${yi};
253
+ font-family: ${yi};
254
+ font-size: ${gi};
255
+ font-weight: ${mi};
256
+ letter-spacing: ${wi};
257
+ line-height: ${$i};
258
+ text-transform: ${Oi};
245
259
  }
246
- `,Ii=x`
260
+ `,Xi=x`
247
261
  .ft-typography--caption {
248
- font-family: ${vi};
249
- font-size: ${bi};
250
- font-weight: ${gi};
251
- letter-spacing: ${mi};
252
- line-height: ${wi};
253
- text-transform: ${$i};
262
+ font-family: ${Si};
263
+ font-size: ${ki};
264
+ font-weight: ${Ci};
265
+ letter-spacing: ${Ni};
266
+ line-height: ${Ei};
267
+ text-transform: ${zi};
254
268
  }
255
- `,Wi=x`
269
+ `,Ji=x`
256
270
  .ft-typography--breadcrumb {
257
- font-family: ${Oi};
258
- font-size: ${Si};
259
- font-weight: ${ki};
260
- letter-spacing: ${Ci};
261
- line-height: ${Ni};
262
- text-transform: ${Ei};
271
+ font-family: ${Ri};
272
+ font-size: ${Mi};
273
+ font-weight: ${Fi};
274
+ letter-spacing: ${Ui};
275
+ line-height: ${Ti};
276
+ text-transform: ${ji};
263
277
  }
264
- `,Hi=x`
278
+ `,Yi=x`
265
279
  .ft-typography--overline {
266
- font-family: ${zi};
267
- font-size: ${Ri};
268
- font-weight: ${Mi};
269
- letter-spacing: ${Fi};
270
- line-height: ${Ui};
271
- text-transform: ${Ti};
280
+ font-family: ${Bi};
281
+ font-size: ${Li};
282
+ font-weight: ${_i};
283
+ letter-spacing: ${Ai};
284
+ line-height: ${Di};
285
+ text-transform: ${Pi};
272
286
  }
273
- `,Ki=x`
287
+ `,Gi=x`
274
288
  .ft-typography--button {
275
- font-family: ${ji.fontFamily};
276
- font-size: ${ji.fontSize};
277
- font-weight: ${ji.fontWeight};
278
- letter-spacing: ${ji.letterSpacing};
279
- line-height: ${ji.lineHeight};
280
- text-transform: ${ji.textTransform};
289
+ font-family: ${Ii.fontFamily};
290
+ font-size: ${Ii.fontSize};
291
+ font-weight: ${Ii.fontWeight};
292
+ letter-spacing: ${Ii.letterSpacing};
293
+ line-height: ${Ii.lineHeight};
294
+ text-transform: ${Ii.textTransform};
281
295
  }
282
- `;class Zi extends dt{constructor(){super(...arguments),this.variant=Rt.body1}render(){return this.element?zt`
283
- <${Nt(this.element)}
296
+ `;class Qi extends dt{constructor(){super(...arguments),this.variant=Lt.body1}render(){return this.element?Bt`
297
+ <${Tt(this.element)}
284
298
  class="ft-typography ft-typography--${this.variant}">
285
299
  <slot></slot>
286
- </${Nt(this.element)}>
287
- `:zt`
300
+ </${Tt(this.element)}>
301
+ `:Bt`
288
302
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
289
- `}}Zi.styles=[Bi,Li,_i,Ai,Di,Pi,Ii,Wi,Hi,Ki,x`
303
+ `}}Qi.styles=[Wi,Hi,Ki,Zi,Vi,qi,Xi,Ji,Yi,Gi,x`
290
304
  .ft-typography {
291
305
  vertical-align: inherit;
292
306
  }
293
- `],Mt([o()],Zi.prototype,"element",void 0),Mt([o()],Zi.prototype,"variant",void 0),h("ft-typography")(Zi);var Vi=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const qi=pt.create("--ft-tooltip-distance","SIZE","4px"),Xi=pt.create("--ft-tooltip-color","COLOR","#FFFFFF"),Ji=pt.create("--ft-tooltip-background-color","COLOR","#666666"),Yi=pt.create("--ft-tooltip-z-index","NUMBER","1"),Gi=pt.external(ft.borderRadiusS,"Design system");class Qi extends dt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new i,this.revealDebouncer=new i}render(){return W`
307
+ `],_t([o()],Qi.prototype,"element",void 0),_t([o()],Qi.prototype,"variant",void 0),h("ft-typography")(Qi);var te=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const ie=pt.create("--ft-tooltip-distance","SIZE","4px"),ee=pt.create("--ft-tooltip-color","COLOR","#FFFFFF"),oe=pt.create("--ft-tooltip-background-color","COLOR","#666666"),se=pt.create("--ft-tooltip-z-index","NUMBER","1"),ne=pt.external(ft.borderRadiusS,"Design system");class re extends dt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new i,this.revealDebouncer=new i}render(){return W`
294
308
  <div part="container"
295
309
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
296
310
  @mouseenter=${this.onHover}
@@ -305,7 +319,7 @@ const Nt=t=>({_$litStatic$:t}),Et=new Map,zt=(t=>(i,...e)=>{var o;const s=e.leng
305
319
  </div>
306
320
  <slot></slot>
307
321
  </div>
308
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=t.getBoundingClientRect(),e=(i.height-this.tooltip.clientHeight)/2,o=(i.width-this.tooltip.clientWidth)/2,s=this.tooltip.style;switch(this.position){case"top":s.top=-this.tooltip.clientHeight+"px",s.left=o+"px";break;case"bottom":s.top=i.height+"px",s.left=o+"px";break;case"left":s.top=e+"px",s.left=-this.tooltip.clientWidth+"px";break;case"right":s.top=e+"px",s.left=i.width+"px"}s.maxWidth=Math.max(i.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}Qi.elementDefinitions={"ft-typography":Zi},Qi.styles=x`
322
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const i=t.getBoundingClientRect(),e=(i.height-this.tooltip.clientHeight)/2,o=(i.width-this.tooltip.clientWidth)/2,s=this.tooltip.style;switch(this.position){case"top":s.top=-this.tooltip.clientHeight+"px",s.left=o+"px";break;case"bottom":s.top=i.height+"px",s.left=o+"px";break;case"left":s.top=e+"px",s.left=-this.tooltip.clientWidth+"px";break;case"right":s.top=e+"px",s.left=i.width+"px"}s.maxWidth=Math.max(i.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}re.elementDefinitions={"ft-typography":Qi},re.styles=x`
309
323
  .ft-tooltip--container {
310
324
  display: block;
311
325
  position: relative;
@@ -323,27 +337,27 @@ const Nt=t=>({_$litStatic$:t}),Et=new Map,zt=(t=>(i,...e)=>{var o;const s=e.leng
323
337
  width: max-content;
324
338
  max-width: 150px;
325
339
  text-align: center;
326
- padding: ${qi};
327
- z-index: ${Yi};
340
+ padding: ${ie};
341
+ z-index: ${se};
328
342
  }
329
343
 
330
344
  .ft-tooltip--content {
331
345
  padding: 4px 8px;
332
- border-radius: ${Gi};
333
- background-color: ${Ji};
334
- color: ${Xi};
346
+ border-radius: ${ne};
347
+ background-color: ${oe};
348
+ color: ${ee};
335
349
  top: -500px;
336
350
  left: -500px;
337
351
  position: relative;
338
352
  word-break: break-word;
339
353
  }
340
- `,Vi([o()],Qi.prototype,"text",void 0),Vi([o({type:Boolean})],Qi.prototype,"manual",void 0),Vi([o({type:Boolean})],Qi.prototype,"inline",void 0),Vi([o({type:Number})],Qi.prototype,"delay",void 0),Vi([o()],Qi.prototype,"position",void 0),Vi([
354
+ `,te([o()],re.prototype,"text",void 0),te([o({type:Boolean})],re.prototype,"manual",void 0),te([o({type:Boolean})],re.prototype,"inline",void 0),te([o({type:Number})],re.prototype,"delay",void 0),te([o()],re.prototype,"position",void 0),te([
341
355
  /**
342
356
  * @license
343
357
  * Copyright 2017 Google LLC
344
358
  * SPDX-License-Identifier: BSD-3-Clause
345
359
  */
346
- function(t,i,e){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:i},e?function(t){const{slot:i,selector:e}=null!=t?t:{};return n({descriptor:o=>({get(){var o;const s="slot"+(i?`[name=${i}]`:":not([name])"),n=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(s),r=null!=n?a(n,t):[];return e?r.filter((t=>t.matches(e))):r},enumerable:!0,configurable:!0})})}({slot:s,flatten:i,selector:e}):n({descriptor:t=>({get(){var t,i;const e="slot"+(s?`[name=${s}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(i=null==n?void 0:n.assignedNodes(o))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}("",!0)],Qi.prototype,"slotNodes",void 0),Vi([r(".ft-tooltip--container")],Qi.prototype,"container",void 0),Vi([r("slot")],Qi.prototype,"target",void 0),Vi([r(".ft-tooltip")],Qi.prototype,"tooltip",void 0),Vi([r(".ft-tooltip--content")],Qi.prototype,"tooltipContent",void 0),Vi([s()],Qi.prototype,"visible",void 0),h("ft-tooltip")(Qi);const te={color:pt.extend("--ft-loader-color",ft.colorPrimary),size:pt.create("--ft-loader-size","SIZE","80px")};class ie extends dt{static get styles(){return x`
360
+ function(t,i,e){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:i},e?function(t){const{slot:i,selector:e}=null!=t?t:{};return n({descriptor:o=>({get(){var o;const s="slot"+(i?`[name=${i}]`:":not([name])"),n=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(s),r=null!=n?a(n,t):[];return e?r.filter((t=>t.matches(e))):r},enumerable:!0,configurable:!0})})}({slot:s,flatten:i,selector:e}):n({descriptor:t=>({get(){var t,i;const e="slot"+(s?`[name=${s}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(i=null==n?void 0:n.assignedNodes(o))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}("",!0)],re.prototype,"slotNodes",void 0),te([r(".ft-tooltip--container")],re.prototype,"container",void 0),te([r("slot")],re.prototype,"target",void 0),te([r(".ft-tooltip")],re.prototype,"tooltip",void 0),te([r(".ft-tooltip--content")],re.prototype,"tooltipContent",void 0),te([s()],re.prototype,"visible",void 0),h("ft-tooltip")(re);const le={color:pt.extend("--ft-loader-color",ft.colorPrimary),size:pt.create("--ft-loader-size","SIZE","80px")};class ae extends dt{static get styles(){return x`
347
361
  :host {
348
362
  line-height: 0;
349
363
  }
@@ -352,8 +366,8 @@ function(t,i,e){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:i},
352
366
  display: inline-block;
353
367
  position: relative;
354
368
 
355
- width: ${te.size};
356
- height: ${te.size};
369
+ width: ${le.size};
370
+ height: ${le.size};
357
371
  }
358
372
 
359
373
  .ft-loader div {
@@ -362,7 +376,7 @@ function(t,i,e){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:i},
362
376
  width: 25%;
363
377
  height: 25%;
364
378
  border-radius: 50%;
365
- background: ${te.color};
379
+ background: ${le.color};
366
380
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
367
381
  }
368
382
 
@@ -409,7 +423,7 @@ function(t,i,e){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:i},
409
423
  transform: translate(0, 0);
410
424
  }
411
425
  100% {
412
- transform: translate(calc(0.35 * ${te.size}), 0);
426
+ transform: translate(calc(0.35 * ${le.size}), 0);
413
427
  }
414
428
  }
415
429
  `}render(){return W`
@@ -419,27 +433,27 @@ function(t,i,e){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:i},
419
433
  <div></div>
420
434
  <div></div>
421
435
  </div>
422
- `}}h("ft-loader")(ie);
436
+ `}}h("ft-loader")(ae);
423
437
  /**
424
438
  * @license
425
439
  * Copyright 2017 Google LLC
426
440
  * SPDX-License-Identifier: BSD-3-Clause
427
441
  */
428
- class ee extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||null==t)return this.vt=void 0,this.it=t;if(t===H)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.vt;this.it=t;const i=[t];return i.raw=i,this.vt={_$litType$:this.constructor.resultType,strings:i,values:[]}}}ee.directiveName="unsafeHTML",ee.resultType=1;const oe=wt(ee);var se,ne;!function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(se||(se={})),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;"}(ne||(ne={})),new Map([...["abw"].map((t=>[t,ne.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,ne.AUDIO])),...["avi"].map((t=>[t,ne.AVI])),...["chm","xhs"].map((t=>[t,ne.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,ne.CODE])),...["csv"].map((t=>[t,ne.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ne.DITA])),...["epub"].map((t=>[t,ne.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ne.EXCEL])),...["flac"].map((t=>[t,ne.FLAC])),...["gif"].map((t=>[t,ne.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ne.GZIP])),...["html","htm","xhtml"].map((t=>[t,ne.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,ne.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ne.JPEG])),...["json"].map((t=>[t,ne.JSON])),...["m4a","m4p"].map((t=>[t,ne.M4A])),...["mov","qt"].map((t=>[t,ne.MOV])),...["mp3"].map((t=>[t,ne.MP3])),...["mp4","m4v"].map((t=>[t,ne.MP4])),...["ogg","oga"].map((t=>[t,ne.OGG])),...["pdf","ps"].map((t=>[t,ne.PDF])),...["png"].map((t=>[t,ne.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ne.POWERPOINT])),...["rar"].map((t=>[t,ne.RAR])),...["stp"].map((t=>[t,ne.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ne.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,ne.VIDEO])),...["wav"].map((t=>[t,ne.WAV])),...["wma"].map((t=>[t,ne.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ne.WORD])),...["xml","xsl","rdf"].map((t=>[t,ne.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ne.YAML])),...["zip"].map((t=>[t,ne.ZIP]))]);var re,le=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(re||(re={}));const ae={size:pt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:pt.extend("--ft-icon-fluid-topics-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:pt.extend("--ft-icon-file-format-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:pt.extend("--ft-icon-material-font-family",pt.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class he extends dt{constructor(){super(...arguments),this.variant=re.fluid_topics}render(){return W`
442
+ class he extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||null==t)return this.vt=void 0,this.it=t;if(t===H)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.vt;this.it=t;const i=[t];return i.raw=i,this.vt={_$litType$:this.constructor.resultType,strings:i,values:[]}}}he.directiveName="unsafeHTML",he.resultType=1;const pe=wt(he);var ce,fe;!function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(ce||(ce={})),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;"}(fe||(fe={})),new Map([...["abw"].map((t=>[t,fe.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,fe.AUDIO])),...["avi"].map((t=>[t,fe.AVI])),...["chm","xhs"].map((t=>[t,fe.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,fe.CODE])),...["csv"].map((t=>[t,fe.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,fe.DITA])),...["epub"].map((t=>[t,fe.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,fe.EXCEL])),...["flac"].map((t=>[t,fe.FLAC])),...["gif"].map((t=>[t,fe.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,fe.GZIP])),...["html","htm","xhtml"].map((t=>[t,fe.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,fe.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,fe.JPEG])),...["json"].map((t=>[t,fe.JSON])),...["m4a","m4p"].map((t=>[t,fe.M4A])),...["mov","qt"].map((t=>[t,fe.MOV])),...["mp3"].map((t=>[t,fe.MP3])),...["mp4","m4v"].map((t=>[t,fe.MP4])),...["ogg","oga"].map((t=>[t,fe.OGG])),...["pdf","ps"].map((t=>[t,fe.PDF])),...["png"].map((t=>[t,fe.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,fe.POWERPOINT])),...["rar"].map((t=>[t,fe.RAR])),...["stp"].map((t=>[t,fe.STP])),...["txt","rtf","md","mdown"].map((t=>[t,fe.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,fe.VIDEO])),...["wav"].map((t=>[t,fe.WAV])),...["wma"].map((t=>[t,fe.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,fe.WORD])),...["xml","xsl","rdf"].map((t=>[t,fe.XML])),...["yaml","yml","x-yaml"].map((t=>[t,fe.YAML])),...["zip"].map((t=>[t,fe.ZIP]))]);var de,ue=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(de||(de={}));const xe={size:pt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:pt.extend("--ft-icon-fluid-topics-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:pt.extend("--ft-icon-file-format-font-family",pt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:pt.extend("--ft-icon-material-font-family",pt.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class be extends dt{constructor(){super(...arguments),this.variant=de.fluid_topics}render(){return W`
429
443
  <i class="ft-icon ${"ft-icon--"+this.variant}">
430
- ${oe(this.getIcon())}
444
+ ${pe(this.getIcon())}
431
445
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
432
446
  </i>
433
- `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}getIcon(){var t,i;let e=this.textContent;return this.variant===re.file_format?null!==(t=ne[e.toUpperCase()])&&void 0!==t?t:e:this.variant===re.fluid_topics?null!==(i=se[e.toUpperCase()])&&void 0!==i?i:e:K}}he.elementDefinitions={},he.styles=x`
447
+ `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}getIcon(){var t,i;let e=this.textContent;return this.variant===de.file_format?null!==(t=fe[e.toUpperCase()])&&void 0!==t?t:e:this.variant===de.fluid_topics?null!==(i=ce[e.toUpperCase()])&&void 0!==i?i:e:K}}be.elementDefinitions={},be.styles=x`
434
448
  :host, i.ft-icon {
435
449
  display: inline-block;
436
- width: ${ae.size};
437
- height: ${ae.size};
450
+ width: ${xe.size};
451
+ height: ${xe.size};
438
452
  text-align: center;
439
453
  }
440
454
 
441
455
  i.ft-icon {
442
- font-size: ${ae.size};
456
+ font-size: ${xe.size};
443
457
  line-height: 1;
444
458
  font-weight: normal;
445
459
  text-transform: none;
@@ -453,17 +467,17 @@ class ee extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
453
467
  }
454
468
 
455
469
  .ft-icon--fluid-topics {
456
- font-family: ${ae.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
470
+ font-family: ${xe.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
457
471
  }
458
472
 
459
473
  .ft-icon--file-format {
460
- font-family: ${ae.fileFormatFontFamily}, ft-mime, sans-serif;
474
+ font-family: ${xe.fileFormatFontFamily}, ft-mime, sans-serif;
461
475
  }
462
476
 
463
477
  .ft-icon--material {
464
- font-family: ${ae.materialFontFamily}, "Material Icons", sans-serif;
478
+ font-family: ${xe.materialFontFamily}, "Material Icons", sans-serif;
465
479
  }
466
- `,le([o()],he.prototype,"variant",void 0),le([r("slot")],he.prototype,"slottedContent",void 0),h("ft-icon")(he);var pe=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const ce=pt.extend("--ft-button-color",ft.colorPrimary),fe={backgroundColor:pt.extend("--ft-button-background-color",ft.colorSurface),borderRadius:pt.extend("--ft-button-border-radius",ft.borderRadiusL),color:ce,fontSize:pt.extend("--ft-button-font-size",ji.fontSize),iconSize:pt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:pt.extend("--ft-button-ripple-color",ce),opacityDisabled:pt.external(ft.colorOpacityDisabled,"Design system")},de=pt.extend("--ft-button-primary-color",pt.extend("--ft-button-color",ft.colorOnPrimary)),ue={backgroundColor:pt.extend("--ft-button-primary-background-color",pt.extend("--ft-button-background-color",ft.colorPrimary)),color:de,rippleColor:pt.extend("--ft-button-primary-ripple-color",de)},xe=pt.extend("--ft-button-dense-border-radius",pt.extend("--ft-button-border-radius",ft.borderRadiusM));class ye extends dt{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[ut,x`
480
+ `,ue([o()],be.prototype,"variant",void 0),ue([r("slot")],be.prototype,"slottedContent",void 0),h("ft-icon")(be);var ve=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const ye=pt.extend("--ft-button-color",ft.colorPrimary),ge={backgroundColor:pt.extend("--ft-button-background-color",ft.colorSurface),borderRadius:pt.extend("--ft-button-border-radius",ft.borderRadiusL),color:ye,fontSize:pt.extend("--ft-button-font-size",Ii.fontSize),iconSize:pt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:pt.extend("--ft-button-ripple-color",ye),opacityDisabled:pt.external(ft.colorOpacityDisabled,"Design system")},me=pt.extend("--ft-button-primary-color",pt.extend("--ft-button-color",ft.colorOnPrimary)),we={backgroundColor:pt.extend("--ft-button-primary-background-color",pt.extend("--ft-button-background-color",ft.colorPrimary)),color:me,rippleColor:pt.extend("--ft-button-primary-ripple-color",me)},$e=pt.extend("--ft-button-dense-border-radius",pt.extend("--ft-button-border-radius",ft.borderRadiusM));class Oe extends dt{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[ut,x`
467
481
  :host {
468
482
  display: inline-block;
469
483
  max-width: 100%;
@@ -502,18 +516,18 @@ class ee extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
502
516
  border: none;
503
517
  pointer-events: auto;
504
518
 
505
- --ft-button-internal-font-size: ${fe.fontSize};
519
+ --ft-button-internal-font-size: ${ge.fontSize};
506
520
  --ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
507
- --ft-button-internal-color: ${fe.color};
508
- ${ct(ae.size,fe.iconSize)};
521
+ --ft-button-internal-color: ${ge.color};
522
+ ${ct(xe.size,ge.iconSize)};
509
523
  --ft-button-internal-vertical-padding: 6px;
510
524
  --ft-button-internal-horizontal-padding: 8px;
511
- ${ct(kt.color,fe.rippleColor)};
512
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${fe.iconSize});
525
+ ${ct(Ct.color,ge.rippleColor)};
526
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${ge.iconSize});
513
527
 
514
- border-radius: ${fe.borderRadius};
528
+ border-radius: ${ge.borderRadius};
515
529
  padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
516
- background-color: ${fe.backgroundColor};
530
+ background-color: ${ge.backgroundColor};
517
531
  color: var(--ft-button-internal-color);
518
532
  -webkit-mask-image: radial-gradient(white, black);
519
533
  }
@@ -525,7 +539,7 @@ class ee extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
525
539
  .ft-button--dense {
526
540
  --ft-button-internal-vertical-padding: 2px;
527
541
  --ft-button-internal-horizontal-padding: 4px;
528
- border-radius: ${xe};
542
+ border-radius: ${$e};
529
543
  }
530
544
 
531
545
  .ft-button--round {
@@ -534,13 +548,13 @@ class ee extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
534
548
 
535
549
  .ft-button[disabled] {
536
550
  filter: grayscale(1);
537
- opacity: ${fe.opacityDisabled};
551
+ opacity: ${ge.opacityDisabled};
538
552
  }
539
553
 
540
554
  .ft-button.ft-button--primary {
541
- background-color: ${ue.backgroundColor};
542
- --ft-button-internal-color: ${ue.color};
543
- ${ct(kt.color,ue.rippleColor)};
555
+ background-color: ${we.backgroundColor};
556
+ --ft-button-internal-color: ${we.color};
557
+ ${ct(Ct.color,we.rippleColor)};
544
558
  }
545
559
 
546
560
  .ft-button.ft-button--outlined {
@@ -553,13 +567,14 @@ class ee extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
553
567
  }
554
568
 
555
569
  .ft-button--label {
570
+ position: relative;
556
571
  overflow: hidden;
557
572
  white-space: nowrap;
558
573
  text-overflow: ellipsis;
559
574
  display: block;
560
575
  margin: 0 var(--ft-button-internal-horizontal-padding);
561
- ${ct(ji.fontSize,"var(--ft-button-internal-font-size)")};
562
- ${ct(ji.lineHeight,"var(--ft-button-internal-content-height)")};
576
+ ${ct(Ii.fontSize,"var(--ft-button-internal-font-size)")};
577
+ ${ct(Ii.lineHeight,"var(--ft-button-internal-content-height)")};
563
578
  }
564
579
 
565
580
  .ft-button--safari-fix .ft-button--label {
@@ -578,6 +593,7 @@ class ee extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
578
593
 
579
594
  ft-icon {
580
595
  flex-shrink: 0;
596
+ position: relative;
581
597
  }
582
598
 
583
599
  .ft-button--label[hidden] + ft-icon {
@@ -591,10 +607,10 @@ class ee extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
591
607
  }
592
608
 
593
609
  ft-loader {
594
- ${ct(te.size,fe.iconSize)};
595
- ${ct(te.color,"var(--ft-button-internal-color)")};
610
+ ${ct(le.size,ge.iconSize)};
611
+ ${ct(le.color,"var(--ft-button-internal-color)")};
596
612
  }
597
- `]}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--safari-fix":bt,"ft-no-text-select":!0};return this.addTooltip(W`
613
+ `]}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--safari-fix":yt,"ft-no-text-select":!0};return this.addTooltip(W`
598
614
  <button part="button"
599
615
  class="${Ot(t)}"
600
616
  aria-label="${this.getLabel()}"
@@ -616,7 +632,7 @@ class ee extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
616
632
  </ft-tooltip>
617
633
  `}resolveIcon(){return this.loading?W`
618
634
  <ft-loader></ft-loader> `:this.icon?W`
619
- <ft-icon variant="material">${this.icon}</ft-icon> `:K}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}}ye.elementDefinitions={"ft-ripple":Ct,"ft-tooltip":Qi,"ft-typography":Zi,"ft-icon":he,"ft-loader":ie},pe([o({type:Boolean})],ye.prototype,"primary",void 0),pe([o({type:Boolean})],ye.prototype,"outlined",void 0),pe([o({type:Boolean})],ye.prototype,"disabled",void 0),pe([o({type:Boolean})],ye.prototype,"dense",void 0),pe([o({type:Boolean})],ye.prototype,"round",void 0),pe([o({type:String})],ye.prototype,"label",void 0),pe([o({type:String})],ye.prototype,"icon",void 0),pe([o({type:Boolean})],ye.prototype,"trailingIcon",void 0),pe([o({type:Boolean})],ye.prototype,"loading",void 0),pe([o({type:String})],ye.prototype,"tooltipPosition",void 0),pe([r(".ft-button")],ye.prototype,"button",void 0),pe([r(".ft-button--label slot")],ye.prototype,"slottedContent",void 0),h("ft-button")(ye);var ve=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const be={buttonsColor:pt.extend("--ft-snap-scroll-buttons-color",ft.colorPrimary),buttonsZIndex:pt.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:pt.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:pt.external(ft.colorSurface,"Design system")};class ge extends CustomEvent{constructor(t,i){super("current-element-change",{detail:{index:t,element:i}})}}class me extends dt{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 i(200),this.updateScrollDebouncer=new i(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let i=this.elements[t];if(i){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,e=this.contentSlot[this.scrollAttribute]+this.prevSize;(i[this.offsetAttribute]<e||i[this.offsetAttribute]+i[this.sizeAttribute]>t)&&this.scrollToElement(i)}}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=Ot({"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":bt}),i=this.controls&&this.withScroll;return W`
635
+ <ft-icon variant="material">${this.icon}</ft-icon> `:K}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}}Oe.elementDefinitions={"ft-ripple":Ut,"ft-tooltip":re,"ft-typography":Qi,"ft-icon":be,"ft-loader":ae},ve([o({type:Boolean})],Oe.prototype,"primary",void 0),ve([o({type:Boolean})],Oe.prototype,"outlined",void 0),ve([o({type:Boolean})],Oe.prototype,"disabled",void 0),ve([o({type:Boolean})],Oe.prototype,"dense",void 0),ve([o({type:Boolean})],Oe.prototype,"round",void 0),ve([o({type:String})],Oe.prototype,"label",void 0),ve([o({type:String})],Oe.prototype,"icon",void 0),ve([o({type:Boolean})],Oe.prototype,"trailingIcon",void 0),ve([o({type:Boolean})],Oe.prototype,"loading",void 0),ve([o({type:String})],Oe.prototype,"tooltipPosition",void 0),ve([r(".ft-button")],Oe.prototype,"button",void 0),ve([r(".ft-button--label slot")],Oe.prototype,"slottedContent",void 0),h("ft-button")(Oe);var Se=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const ke={buttonsColor:pt.extend("--ft-snap-scroll-buttons-color",ft.colorPrimary),buttonsZIndex:pt.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:pt.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:pt.external(ft.colorSurface,"Design system")};class Ce extends CustomEvent{constructor(t,i){super("current-element-change",{detail:{index:t,element:i}})}}class Ne extends dt{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 i(200),this.updateScrollDebouncer=new i(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let i=this.elements[t];if(i){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,e=this.contentSlot[this.scrollAttribute]+this.prevSize;(i[this.offsetAttribute]<e||i[this.offsetAttribute]+i[this.sizeAttribute]>t)&&this.scrollToElement(i)}}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=Ot({"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":yt}),i=this.controls&&this.withScroll;return W`
620
636
  <div part="container" class="${t}">
621
637
  <ft-button
622
638
  class="ft-snap-scroll--previous"
@@ -640,7 +656,7 @@ class ee extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
640
656
  @click=${this.next}
641
657
  ></ft-button>
642
658
  </div>
643
- `}updated(t){var i;super.updated(t),this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer!==this.contentSlot&&(this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(i=this.listenedContainer)||void 0===i||i.addEventListener("scroll",this.updateScrollCallback))),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new ge(this.currentElement,this.elements[this.currentElement]))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const i=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<i&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var i,e;t&&(this.horizontal?null===(i=this.contentSlot)||void 0===i||i.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(e=this.contentSlot)||void 0===e||e.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,i;this.elements=null!==(i=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==i?i:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let i=0;i<this.elements.length;i++)(t<0||this.getDistanceFromStart(this.elements[i])<this.getDistanceFromStart(this.elements[t]))&&(t=i);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 i=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-i)}}me.elementDefinitions={"ft-button":ye},me.styles=x`
659
+ `}updated(t){var i;super.updated(t),this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer!==this.contentSlot&&(this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(i=this.listenedContainer)||void 0===i||i.addEventListener("scroll",this.updateScrollCallback))),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Ce(this.currentElement,this.elements[this.currentElement]))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const i=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<i&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var i,e;t&&(this.horizontal?null===(i=this.contentSlot)||void 0===i||i.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(e=this.contentSlot)||void 0===e||e.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,i;this.elements=null!==(i=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==i?i:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let i=0;i<this.elements.length;i++)(t<0||this.getDistanceFromStart(this.elements[i])<this.getDistanceFromStart(this.elements[t]))&&(t=i);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 i=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-i)}}Ne.elementDefinitions={"ft-button":Oe},Ne.styles=x`
644
660
  .ft-snap-scroll {
645
661
  box-sizing: border-box;
646
662
  position: relative;
@@ -675,7 +691,7 @@ class ee extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
675
691
  flex-wrap: nowrap;
676
692
  align-items: flex-start;
677
693
  justify-content: flex-start;
678
- gap: ${be.gap};
694
+ gap: ${ke.gap};
679
695
  }
680
696
 
681
697
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -718,11 +734,11 @@ class ee extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
718
734
  .ft-snap-scroll--next {
719
735
  position: absolute;
720
736
  display: flex;
721
- z-index: ${be.buttonsZIndex};
737
+ z-index: ${ke.buttonsZIndex};
722
738
  opacity: 1;
723
739
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
724
- ${ct(fe.backgroundColor,"transparent")};
725
- ${ct(fe.color,be.buttonsColor)};
740
+ ${ct(ge.backgroundColor,"transparent")};
741
+ ${ct(ge.color,ke.buttonsColor)};
726
742
  }
727
743
 
728
744
  .ft-snap-scroll--previous[hidden],
@@ -735,34 +751,34 @@ class ee extends $t{constructor(t){if(super(t),this.it=K,t.type!==mt)throw Error
735
751
  top: 0;
736
752
  left: -1px;
737
753
  bottom: 0;
738
- background: linear-gradient(to right, ${be.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
754
+ background: linear-gradient(to right, ${ke.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
739
755
  }
740
756
 
741
757
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
742
758
  top: -1px;
743
759
  left: 0;
744
760
  right: 0;
745
- background: linear-gradient(to bottom, ${be.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
761
+ background: linear-gradient(to bottom, ${ke.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
746
762
  }
747
763
 
748
764
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
749
765
  top: 0;
750
766
  right: -1px;
751
767
  bottom: 0;
752
- background: linear-gradient(to left, ${be.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
768
+ background: linear-gradient(to left, ${ke.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
753
769
  }
754
770
 
755
771
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
756
772
  left: 0;
757
773
  right: 0;
758
774
  bottom: -1px;
759
- background: linear-gradient(to top, ${be.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
775
+ background: linear-gradient(to top, ${ke.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
760
776
  }
761
777
 
762
778
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
763
779
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
764
780
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
765
781
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
766
- background-color: ${be.colorSurface};
782
+ background-color: ${ke.colorSurface};
767
783
  }
768
- `,ve([o({type:Boolean})],me.prototype,"horizontal",void 0),ve([o({type:Boolean})],me.prototype,"hideScrollbar",void 0),ve([o({type:Boolean})],me.prototype,"controls",void 0),ve([o({type:Boolean})],me.prototype,"limitSize",void 0),ve([s()],me.prototype,"elements",void 0),ve([s()],me.prototype,"currentElement",void 0),ve([s()],me.prototype,"withScroll",void 0),ve([s()],me.prototype,"startReached",void 0),ve([s()],me.prototype,"endReached",void 0),ve([r(".ft-snap-scroll--content")],me.prototype,"contentSlot",void 0),h("ft-snap-scroll")(me),t.CurrentElementChange=ge,t.FtSnapScroll=me,t.FtSnapScrollCssVariables=be,Object.defineProperty(t,"t",{value:!0})}({});
784
+ `,Se([o({type:Boolean})],Ne.prototype,"horizontal",void 0),Se([o({type:Boolean})],Ne.prototype,"hideScrollbar",void 0),Se([o({type:Boolean})],Ne.prototype,"controls",void 0),Se([o({type:Boolean})],Ne.prototype,"limitSize",void 0),Se([s()],Ne.prototype,"elements",void 0),Se([s()],Ne.prototype,"currentElement",void 0),Se([s()],Ne.prototype,"withScroll",void 0),Se([s()],Ne.prototype,"startReached",void 0),Se([s()],Ne.prototype,"endReached",void 0),Se([r(".ft-snap-scroll--content")],Ne.prototype,"contentSlot",void 0),h("ft-snap-scroll")(Ne),t.CurrentElementChange=Ce,t.FtSnapScroll=Ne,t.FtSnapScrollCssVariables=ke,Object.defineProperty(t,"t",{value:!0})}({});