@fluid-topics/ft-chip 0.2.2 → 0.2.6

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,17 +14,17 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,r=new WeakMap,s=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){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(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let p=i.call(o,t);p||(p=c(t),e.call(o,t,p)),this===window.customElements&&(s.set(n,h),h.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)r.delete(t),u(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),o.upgrade.apply(o,arguments),g.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=s.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!h(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},c=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=p(i)||window.customElements,n=o._getDefinition(e);return n?u(i,n):r.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);o.call(this,r,n),i.call(this,r,t,n)}else o.call(this,r,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);n.call(this,o),i.call(this,o,t,null)}else n.call(this,o)})},d=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):d(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const x=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),g.pop(),t}};x(ShadowRoot,"createElement",document),x(ShadowRoot,"importNode",document),x(Element,"insertAdjacentHTML");const v=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){g.push(this),i.set.call(this,t),g.pop()}})};if(v(Element,"innerHTML"),v(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==n.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class r{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),n=e.get(o)||[];this[+i]=t,n.push(t),e.set(o,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new r(e)}})}}try{window.customElements.define("custom-element",null)}catch(We){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,i=window.customElements.define,e=window.customElements.get,o=window.customElements,n=new WeakMap,r=new WeakMap,s=new WeakMap,a=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){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(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const a=n.prototype.attributeChangedCallback,l=new Set(n.observedAttributes||[]);f(n,l,a);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:a,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let p=e.call(o,t);p||(p=c(t),i.call(o,t,p)),this===window.customElements&&(s.set(n,h),h.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)r.delete(t),u(t,h,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),o.upgrade.apply(o,arguments),g.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=l;if(i)return l=void 0,i;const e=s.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),n.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=g[g.length-1];if(t instanceof CustomElementRegistry)return t;i=t.getRootNode(),h(i)||(i=a.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,n=o._getDefinition(i);return n?u(e,n):r.set(e,o),e}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,i,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):r.get(this)._upgradeWhenDefined(this,i,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.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,n){const r=t.toLowerCase();if(i.has(r)){const t=this.getAttribute(r);o.call(this,r,n),e.call(this,r,t,n)}else o.call(this,r,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(i.has(o)){const t=this.getAttribute(o);n.call(this,o),e.call(this,o,t,null)}else n.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),n.set(t,i),l=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)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const i=y.apply(this,arguments);return t.customElements&&(i.customElements=t.customElements),i};let g=[document];const x=(t,i,e)=>{const o=(e?Object.getPrototypeOf(e):t.prototype)[i];t.prototype[i]=function(){g.push(this);const t=o.apply(e||this,arguments);return void 0!==t&&a.set(t,this),g.pop(),t}};x(ShadowRoot,"createElement",document),x(ShadowRoot,"importNode",document),x(Element,"insertAdjacentHTML");const v=(t,i)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,i);Object.defineProperty(t.prototype,i,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(v(Element,"innerHTML"),v(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,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!==n.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 r{constructor(t){const i=new Map;t.forEach(((t,e)=>{const o=t.getAttribute("name"),n=i.get(o)||[];this[+e]=t,n.push(t),i.set(o,n)})),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 s=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=s.get.call(this,[]),i=[];for(const e of t){const t=n.get(e);t&&!0!==t.formAssociated||i.push(e)}return new r(i)}})}}try{window.customElements.define("custom-element",null)}catch(Qi){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 t{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
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
- */const t=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function e(e){return(i,o)=>void 0!==o?((t,e,i)=>{e.constructor.createProperty(i,t)})(e,i,o):t(e,i)
22
+ */const i=(t,i)=>"method"===i.kind&&i.descriptor&&!("value"in i.descriptor)?{...i,finisher(e){e.createProperty(i.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:i.key,initializer(){"function"==typeof i.initializer&&(this[i.key]=i.initializer.call(this))},finisher(e){e.createProperty(i.key,t)}};function e(t){return(e,o)=>void 0!==o?((t,i,e)=>{i.constructor.createProperty(e,t)})(t,e,o):i(t,e)
23
23
  /**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */}function i(t){return e({...t,state:!0})}
27
+ */}function o(t){return e({...t,state:!0})}
28
28
  /**
29
29
  * @license
30
30
  * Copyright 2017 Google LLC
@@ -35,44 +35,44 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
35
35
  * Copyright 2017 Google LLC
36
36
  * SPDX-License-Identifier: BSD-3-Clause
37
37
  */
38
- function o(t,e){return(({finisher:t,descriptor:e})=>(i,o)=>{var n;if(void 0===o){const o=null!==(n=i.originalKey)&&void 0!==n?n:i.key,r=null!=e?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:{...i,key:o};return null!=t&&(r.finisher=function(e){t(e,o)}),r}{const n=i.constructor;void 0!==e&&Object.defineProperty(i,o,e(o)),null==t||t(n,o)}})({descriptor:i=>{const o={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;o.get=function(){var i,o;return void 0===this[e]&&(this[e]=null!==(o=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==o?o:null),this[e]}}return o}})}
38
+ function n(t,i){return(({finisher:t,descriptor:i})=>(e,o)=>{var n;if(void 0===o){const o=null!==(n=e.originalKey)&&void 0!==n?n:e.key,r=null!=i?{kind:"method",placement:"prototype",key:o,descriptor:i(e.key)}:{...e,key:o};return null!=t&&(r.finisher=function(i){t(i,o)}),r}{const n=e.constructor;void 0!==i&&Object.defineProperty(e,o,i(o)),null==t||t(n,o)}})({descriptor:e=>{const o={get(){var i,e;return null!==(e=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==e?e:null},enumerable:!0,configurable:!0};if(i){const i="symbol"==typeof e?Symbol():"__"+e;o.get=function(){var e,o;return void 0===this[i]&&(this[i]=null!==(o=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==o?o:null),this[i]}}return o}})}
39
39
  /**
40
40
  * @license
41
41
  * Copyright 2021 Google LLC
42
42
  * SPDX-License-Identifier: BSD-3-Clause
43
- */var n;null===(n=window.HTMLSlotElement)||void 0===n||n.prototype.assignedElements;const r=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}
43
+ */var r;null===(r=window.HTMLSlotElement)||void 0===r||r.prototype.assignedElements;const s=t=>i=>{window.customElements.get(t)||window.customElements.define(t,i)}
44
44
  /**
45
45
  * @license
46
46
  * Copyright 2019 Google LLC
47
47
  * SPDX-License-Identifier: BSD-3-Clause
48
- */,s=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,a=Symbol(),l=new Map;class h{constructor(t,e){if(this._$cssResult$=!0,e!==a)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=l.get(this.cssText);return s&&void 0===t&&(l.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const p=t=>new h("string"==typeof t?t:t+"",a),c=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[o+1]),t[0]);return new h(i,a)},f=(t,e)=>{s?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=window.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},d=s?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return p(e)})(t):t
48
+ */,a=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,l=Symbol(),h=new Map;class p{constructor(t,i){if(this._$cssResult$=!0,i!==l)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){let t=h.get(this.cssText);return a&&void 0===t&&(h.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const c=t=>new p("string"==typeof t?t:t+"",l),f=(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 p(e,l)},d=(t,i)=>{a?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)}))},u=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let i="";for(const e of t.cssRules)i+=e.cssText;return c(i)})(t):t
49
49
  /**
50
50
  * @license
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
- */;var u;const y=window.trustedTypes,g=y?y.emptyScript:"",x=window.reactiveElementPolyfillSupport,v={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},m=(t,e)=>e!==t&&(e==e||t==t),b={attribute:!0,type:String,converter:v,reflect:!1,hasChanged:m};class w extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.set(o,i),t.push(o))})),t}static createProperty(t,e=b){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,o=this.getPropertyDescriptor(t,i,e);void 0!==o&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(o){const n=this[t];this[e]=o,this.requestUpdate(t,n,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||b}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,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift(d(t))}else void 0!==t&&e.push(d(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"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 e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return f(e,this.constructor.elementStyles),e}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 e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=b){var o,n;const r=this.constructor._$Eh(t,i);if(void 0!==r&&!0===i.reflect){const s=(null!==(n=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==n?n:v.toAttribute)(e,i.type);this._$Ei=t,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$Ei=null}}_$AK(t,e){var i,o,n;const r=this.constructor,s=r._$Eu.get(t);if(void 0!==s&&this._$Ei!==s){const t=r.getPropertyOptions(s),a=t.converter,l=null!==(n=null!==(o=null===(i=a)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof a?a:null)&&void 0!==n?n:v.fromAttribute;this._$Ei=s,this[s]=l(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||m)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,i))):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,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$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,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
53
+ */;var y;const g=window.trustedTypes,x=g?g.emptyScript:"",v=window.reactiveElementPolyfillSupport,m={toAttribute(t,i){switch(i){case Boolean:t=t?x: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}},b=(t,i)=>i!==t&&(i==i||t==t),w={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:b};class $ 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=w){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 n=this[t];this[i]=o,this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||w}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(u(t))}else void 0!==t&&i.push(u(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 d(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=w){var o,n;const r=this.constructor._$Eh(t,e);if(void 0!==r&&!0===e.reflect){const s=(null!==(n=null===(o=e.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==n?n:m.toAttribute)(i,e.type);this._$Ei=t,null==s?this.removeAttribute(r):this.setAttribute(r,s),this._$Ei=null}}_$AK(t,i){var e,o,n;const r=this.constructor,s=r._$Eu.get(t);if(void 0!==s&&this._$Ei!==s){const t=r.getPropertyOptions(s),a=t.converter,l=null!==(n=null!==(o=null===(e=a)||void 0===e?void 0:e.fromAttribute)&&void 0!==o?o:"function"==typeof a?a:null)&&void 0!==n?n:m.fromAttribute;this._$Ei=s,this[s]=l(i,t.type),this._$Ei=null}}requestUpdate(t,i,e){let o=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||b)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===e.reflect&&this._$Ei!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,e))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$E_())}async _$E_(){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._$EC&&(this._$EC.forEach(((t,i)=>this._$ES(i,this[i],t))),this._$EC=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
54
54
  /**
55
55
  * @license
56
56
  * Copyright 2017 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
58
  */
59
- var $;w.finalized=!0,w.elementProperties=new Map,w.elementStyles=[],w.shadowRootOptions={mode:"open"},null==x||x({ReactiveElement:w}),(null!==(u=globalThis.reactiveElementVersions)&&void 0!==u?u:globalThis.reactiveElementVersions=[]).push("1.2.2");const O=globalThis.trustedTypes,S=O?O.createPolicy("lit-html",{createHTML:t=>t}):void 0,C=`lit$${(Math.random()+"").slice(9)}$`,k="?"+C,N=`<${k}>`,E=document,R=(t="")=>E.createComment(t),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,z=Array.isArray,U=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,j=/>/g,B=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,L=/'/g,A=/"/g,T=/^(?:script|style|textarea|title)$/i,D=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),P=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),I=new WeakMap,W=E.createTreeWalker(E,129,null,!1),K=(t,e)=>{const i=t.length-1,o=[];let n,r=2===e?"<svg>":"",s=U;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,p=0;for(;p<i.length&&(s.lastIndex=p,l=s.exec(i),null!==l);)p=s.lastIndex,s===U?"!--"===l[1]?s=F:void 0!==l[1]?s=j:void 0!==l[2]?(T.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=B):void 0!==l[3]&&(s=B):s===B?">"===l[0]?(s=null!=n?n:U,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?B:'"'===l[3]?A:L):s===A||s===L?s=B:s===F||s===j?s=U:(s=B,n=void 0);const c=s===B&&t[e+1].startsWith("/>")?" ":"";r+=s===U?i+N:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+C+c):i+C+(-2===h?(o.push(void 0),e):c)}const a=r+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==S?S.createHTML(a):a,o]};class H{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=K(t,e);if(this.el=H.createElement(l,i),W.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=W.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(C)){const i=h[r++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(C),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?J:"?"===e[1]?G:"@"===e[1]?Q:X})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(T.test(o.tagName)){const t=o.textContent.split(C),e=t.length-1;if(e>0){o.textContent=O?O.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],R()),W.nextNode(),a.push({type:2,index:++n});o.append(t[e],R())}}}else if(8===o.nodeType)if(o.data===k)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(C,t+1));)a.push({type:7,index:n}),t+=C.length-1}n++}}static createElement(t,e){const i=E.createElement("template");return i.innerHTML=t,i}}function Z(t,e,i=t,o){var n,r,s,a;if(e===P)return e;let l=void 0!==o?null===(n=i._$Cl)||void 0===n?void 0:n[o]:i._$Cu;const h=M(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(s=(a=i)._$Cl)&&void 0!==s?s:a._$Cl=[])[o]=l:i._$Cu=l),void 0!==l&&(e=Z(t,l._$AS(t,e.values),l,o)),e}class V{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:E).importNode(i,!0);W.currentNode=n;let r=W.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let e;2===l.type?e=new q(r,r.nextSibling,this,t):1===l.type?e=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(e=new tt(r,this,t)),this.v.push(e),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=W.nextNode(),s++)}return n}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class q{constructor(t,e,i,o){var n;this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Z(this,t,e),M(t)?t===_||null==t||""===t?(this._$AH!==_&&this._$AR(),this._$AH=_):t!==this._$AH&&t!==P&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return z(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==_&&M(this._$AH)?this._$AA.nextSibling.data=t:this.S(E.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=H.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(i);else{const t=new V(n,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=I.get(t.strings);return void 0===e&&I.set(t.strings,e=new H(t)),e}A(t){z(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const n of t)o===e.length?e.push(i=new q(this.M(R()),this.M(R()),this,this.options)):i=e[o],i._$AI(n),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class X{constructor(t,e,i,o,n){this.type=1,this._$AH=_,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=_}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let r=!1;if(void 0===n)t=Z(this,t,e,0),r=!M(t)||t!==this._$AH&&t!==P,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=Z(this,o[i+s],e,s),a===P&&(a=this._$AH[s]),r||(r=!M(a)||a!==this._$AH[s]),a===_?t=_:t!==_&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.k(t)}k(t){t===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class J extends X{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===_?void 0:t}}const Y=O?O.emptyScript:"";class G extends X{constructor(){super(...arguments),this.type=4}k(t){t&&t!==_?this.element.setAttribute(this.name,Y):this.element.removeAttribute(this.name)}}class Q extends X{constructor(t,e,i,o,n){super(t,e,i,o,n),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=Z(this,t,e,0))&&void 0!==i?i:_)===P)return;const o=this._$AH,n=t===_&&o!==_||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==_&&(o===_||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class tt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Z(this,t)}}const et=window.litHtmlPolyfillSupport;
59
+ var O;$.finalized=!0,$.elementProperties=new Map,$.elementStyles=[],$.shadowRootOptions={mode:"open"},null==v||v({ReactiveElement:$}),(null!==(y=globalThis.reactiveElementVersions)&&void 0!==y?y:globalThis.reactiveElementVersions=[]).push("1.3.2");const S=globalThis.trustedTypes,k=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,C=`lit$${(Math.random()+"").slice(9)}$`,N="?"+C,E=`<${N}>`,R=document,M=(t="")=>R.createComment(t),z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,j=/-->/g,B=/>/g,L=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,A=/'/g,T=/"/g,D=/^(?:script|style|textarea|title)$/i,P=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),_=Symbol.for("lit-noChange"),I=Symbol.for("lit-nothing"),W=new WeakMap,K=R.createTreeWalker(R,129,null,!1),H=(t,i)=>{const e=t.length-1,o=[];let n,r=2===i?"<svg>":"",s=F;for(let i=0;i<e;i++){const e=t[i];let a,l,h=-1,p=0;for(;p<e.length&&(s.lastIndex=p,l=s.exec(e),null!==l);)p=s.lastIndex,s===F?"!--"===l[1]?s=j:void 0!==l[1]?s=B:void 0!==l[2]?(D.test(l[2])&&(n=RegExp("</"+l[2],"g")),s=L):void 0!==l[3]&&(s=L):s===L?">"===l[0]?(s=null!=n?n:F,h=-1):void 0===l[1]?h=-2:(h=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?L:'"'===l[3]?T:A):s===T||s===A?s=L:s===j||s===B?s=F:(s=L,n=void 0);const c=s===L&&t[i+1].startsWith("/>")?" ":"";r+=s===F?e+E:h>=0?(o.push(a),e.slice(0,h)+"$lit$"+e.slice(h)+C+c):e+C+(-2===h?(o.push(void 0),i):c)}const a=r+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==k?k.createHTML(a):a,o]};class Z{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,r=0;const s=t.length-1,a=this.parts,[l,h]=H(t,i);if(this.el=Z.createElement(l,e),K.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=K.nextNode())&&a.length<s;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith("$lit$")||i.startsWith(C)){const e=h[r++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+"$lit$").split(C),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?Y:"?"===i[1]?Q:"@"===i[1]?tt:J})}else a.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(D.test(o.tagName)){const t=o.textContent.split(C),i=t.length-1;if(i>0){o.textContent=S?S.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],M()),K.nextNode(),a.push({type:2,index:++n});o.append(t[i],M())}}}else if(8===o.nodeType)if(o.data===N)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(C,t+1));)a.push({type:7,index:n}),t+=C.length-1}n++}}static createElement(t,i){const e=R.createElement("template");return e.innerHTML=t,e}}function V(t,i,e=t,o){var n,r,s,a;if(i===_)return i;let l=void 0!==o?null===(n=e._$Cl)||void 0===n?void 0:n[o]:e._$Cu;const h=z(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(r=null==l?void 0:l._$AO)||void 0===r||r.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,e,o)),void 0!==o?(null!==(s=(a=e)._$Cl)&&void 0!==s?s:a._$Cl=[])[o]=l:e._$Cu=l),void 0!==l&&(i=V(t,l._$AS(t,i.values),l,o)),i}class q{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,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:R).importNode(e,!0);K.currentNode=n;let r=K.nextNode(),s=0,a=0,l=o[0];for(;void 0!==l;){if(s===l.index){let i;2===l.type?i=new X(r,r.nextSibling,this,t):1===l.type?i=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(i=new it(r,this,t)),this.v.push(i),l=o[++a]}s!==(null==l?void 0:l.index)&&(r=K.nextNode(),s++)}return n}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 X{constructor(t,i,e,o){var n;this.type=2,this._$AH=I,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cg=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}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=V(this,t,i),z(t)?t===I||null==t||""===t?(this._$AH!==I&&this._$AR(),this._$AH=I):t!==this._$AH&&t!==_&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>{var i;return U(t)||"function"==typeof(null===(i=t)||void 0===i?void 0:i[Symbol.iterator])})(t)?this.S(t):this.$(t)}M(t,i=this._$AB){return this._$AA.parentNode.insertBefore(t,i)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==I&&z(this._$AH)?this._$AA.nextSibling.data=t:this.k(R.createTextNode(t)),this._$AH=t}T(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Z.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.m(e);else{const t=new q(n,this),i=t.p(this.options);t.m(e),this.k(i),this._$AH=t}}_$AC(t){let i=W.get(t.strings);return void 0===i&&W.set(t.strings,i=new Z(t)),i}S(t){U(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new X(this.M(M()),this.M(M()),this,this.options)):e=i[o],e._$AI(n),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 J{constructor(t,i,e,o,n){this.type=1,this._$AH=I,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=I}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let r=!1;if(void 0===n)t=V(this,t,i,0),r=!z(t)||t!==this._$AH&&t!==_,r&&(this._$AH=t);else{const o=t;let s,a;for(t=n[0],s=0;s<n.length-1;s++)a=V(this,o[e+s],i,s),a===_&&(a=this._$AH[s]),r||(r=!z(a)||a!==this._$AH[s]),a===I?t=I:t!==I&&(t+=(null!=a?a:"")+n[s+1]),this._$AH[s]=a}r&&!o&&this.C(t)}C(t){t===I?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class Y extends J{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===I?void 0:t}}const G=S?S.emptyScript:"";class Q extends J{constructor(){super(...arguments),this.type=4}C(t){t&&t!==I?this.element.setAttribute(this.name,G):this.element.removeAttribute(this.name)}}class tt extends J{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=V(this,t,i,0))&&void 0!==e?e:I)===_)return;const o=this._$AH,n=t===I&&o!==I||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==I&&(o===I||n);n&&this.element.removeEventListener(this.name,this,o),r&&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 it{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){V(this,t)}}const et=window.litHtmlPolyfillSupport;
60
60
  /**
61
61
  * @license
62
62
  * Copyright 2017 Google LLC
63
63
  * SPDX-License-Identifier: BSD-3-Clause
64
64
  */
65
- var it,ot;null==et||et(H,q),(null!==($=globalThis.litHtmlVersions)&&void 0!==$?$:globalThis.litHtmlVersions=[]).push("2.1.3");class nt extends w{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var o,n;const r=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let s=r._$litPart$;if(void 0===s){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;r._$litPart$=s=new q(e.insertBefore(R(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return P}}nt.finalized=!0,nt._$litElement$=!0,null===(it=globalThis.litElementHydrateSupport)||void 0===it||it.call(globalThis,{LitElement:nt});const rt=globalThis.litElementPolyfillSupport;null==rt||rt({LitElement:nt}),(null!==(ot=globalThis.litElementVersions)&&void 0!==ot?ot:globalThis.litElementVersions=[]).push("3.1.2");class st{constructor(t,e,i,o,n){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=n,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new st(t,e,void 0,i)}static extend(t,e,i){return new st(t,e.category,e,i)}static external(t,e){return new st(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return c`var(${p(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):p(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function at(t,e){return p(`${t.name}: ${e}`)}const lt={colorPrimary:st.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:st.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:st.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:st.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:st.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:st.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:st.create("--ft-color-error","COLOR","#B00020"),colorOutline:st.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:st.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:st.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:st.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:st.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:st.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:st.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:st.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:st.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:st.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:st.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:st.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:st.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:st.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:st.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:st.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:st.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:st.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:st.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:st.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:st.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:st.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:st.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:st.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:st.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:st.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:st.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:st.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:st.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:st.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:st.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:st.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:st.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:st.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:st.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:st.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:st.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:st.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:st.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:st.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:st.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:st.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:st.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:st.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:st.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:st.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:st.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:st.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:st.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:st.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:st.create("--ft-border-radius-XL","SIZE","16px"),titleFont:st.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:st.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:st.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:st.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
65
+ var ot,nt;null==et||et(Z,X),(null!==(O=globalThis.litHtmlVersions)&&void 0!==O?O:globalThis.litHtmlVersions=[]).push("2.2.4");class rt extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,i;const e=super.createRenderRoot();return null!==(t=(i=this.renderOptions).renderBefore)&&void 0!==t||(i.renderBefore=e.firstChild),e}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,i,e)=>{var o,n;const r=null!==(o=null==e?void 0:e.renderBefore)&&void 0!==o?o:i;let s=r._$litPart$;if(void 0===s){const t=null!==(n=null==e?void 0:e.renderBefore)&&void 0!==n?n:null;r._$litPart$=s=new X(i.insertBefore(M(),t),t,void 0,null!=e?e:{})}return s._$AI(t),s})(i,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return _}}rt.finalized=!0,rt._$litElement$=!0,null===(ot=globalThis.litElementHydrateSupport)||void 0===ot||ot.call(globalThis,{LitElement:rt});const st=globalThis.litElementPolyfillSupport;null==st||st({LitElement:rt}),(null!==(nt=globalThis.litElementVersions)&&void 0!==nt?nt:globalThis.litElementVersions=[]).push("3.2.0");class at{constructor(t,i,e,o,n){this.name=t,this.category=i,this.fallbackVariable=e,this.defaultValue=o,this.context=n,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,i,e){return new at(t,i,void 0,e)}static extend(t,i,e){return new at(t,i.category,i,e)}static external(t,i){return new at(t.name,t.category,t.fallbackVariable,t.defaultValue,i)}get(t){return f`var(${c(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):c(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,i;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(i=this.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function lt(t,i){return c(`${t.name}: ${i}`)}const ht={colorPrimary:at.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:at.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:at.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:at.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:at.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:at.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:at.create("--ft-color-error","COLOR","#B00020"),colorOutline:at.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:at.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:at.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:at.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:at.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:at.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:at.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:at.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:at.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:at.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:at.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:at.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:at.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:at.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:at.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:at.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:at.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:at.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:at.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:at.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:at.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:at.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:at.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:at.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:at.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:at.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:at.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:at.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:at.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:at.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:at.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:at.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:at.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:at.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:at.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:at.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:at.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:at.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:at.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:at.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:at.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:at.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:at.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:at.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:at.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:at.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:at.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:at.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:at.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:at.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:at.create("--ft-border-radius-XL","SIZE","16px"),titleFont:at.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:at.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:at.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:at.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
66
66
  /**
67
67
  * @license
68
68
  * Copyright 2021 Google LLC
69
69
  * SPDX-License-Identifier: BSD-3-Clause
70
- */class ht extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:o}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return f(n,this.constructor.elementStyles),n}}}(nt)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),D`
71
- ${t.map((t=>D`
70
+ */class pt 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 n=this.renderOptions.creationScope=this.attachShadow({...o,customElements:t.registry});return d(n,this.constructor.elementStyles),n}}}(rt)){getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),P`
71
+ ${t.map((t=>P`
72
72
  <style>${t}</style>
73
73
  `))}
74
74
  ${this.getTemplate()}
75
- `}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}const pt=c`
75
+ `}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}const ct=f`
76
76
  .ft-no-text-select {
77
77
  -webkit-touch-callout: none;
78
78
  -webkit-user-select: none;
@@ -81,17 +81,17 @@ var it,ot;null==et||et(H,q),(null!==($=globalThis.litHtmlVersions)&&void 0!==$?$
81
81
  -ms-user-select: none;
82
82
  user-select: none;
83
83
  }
84
- `;var ct,ft,dt;const ut=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(dt=null===(ft=null===(ct=window.safari)||void 0===ct?void 0:ct.pushNotification)||void 0===ft?void 0:ft.toString())&&void 0!==dt?dt:""),yt=1,gt=2,xt=t=>(...e)=>({_$litDirective$:t,values:e});
84
+ `;var ft,dt,ut;const yt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ut=null===(dt=null===(ft=window.safari)||void 0===ft?void 0:ft.pushNotification)||void 0===dt?void 0:dt.toString())&&void 0!==ut?ut:""),gt=1,xt=2,vt=t=>(...i)=>({_$litDirective$:t,values:i});
85
85
  /**
86
86
  * @license
87
87
  * Copyright 2017 Google LLC
88
88
  * SPDX-License-Identifier: BSD-3-Clause
89
- */class vt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
89
+ */class mt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,i,e){this._$Ct=t,this._$AM=i,this._$Ci=e}_$AS(t,i){return this.update(t,i)}update(t,i){return this.render(...i)}}
90
90
  /**
91
91
  * @license
92
92
  * Copyright 2018 Google LLC
93
93
  * SPDX-License-Identifier: BSD-3-Clause
94
- */const mt=xt(class extends vt{constructor(t){var e;if(super(t),t.type!==yt||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.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 e)e[t]&&!(null===(i=this.et)||void 0===i?void 0:i.has(t))&&this.st.add(t);return this.render(e)}const n=t.element.classList;this.st.forEach((t=>{t in e||(n.remove(t),this.st.delete(t))}));for(const t in e){const i=!!e[t];i===this.st.has(t)||(null===(o=this.et)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.st.add(t)):(n.remove(t),this.st.delete(t)))}return P}});var bt=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const wt={color:st.extend("--ft-ripple-color",lt.colorContent),primaryColor:st.extend("--ft-ripple-primary-color",st.extend("--ft-ripple-color",lt.colorPrimary)),secondaryColor:st.extend("--ft-ripple-secondary-color",st.extend("--ft-ripple-color",lt.colorSecondary)),opacityContentOnSurfacePressed:st.external(lt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:st.external(lt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:st.external(lt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:st.external(lt.opacityContentOnSurfaceSelected,"Design system")};class $t extends ht{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 e,i;let{x:o,y:n}=this.getCoordinates(t),r=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-r.x:r.width/2),this.originY=Math.round(null!=n?n-r.y:r.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 D`
94
+ */const bt=vt(class extends mt{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.et){this.et=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!(null===(e=this.st)||void 0===e?void 0:e.has(t))&&this.et.add(t);return this.render(i)}const n=t.element.classList;this.et.forEach((t=>{t in i||(n.remove(t),this.et.delete(t))}));for(const t in i){const e=!!i[t];e===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(e?(n.add(t),this.et.add(t)):(n.remove(t),this.et.delete(t)))}return _}});var wt=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};const $t=at.extend("--ft-ripple-color",ht.colorContent),Ot={color:$t,backgroundColor:at.extend("--ft-ripple-background-color",$t),opacityContentOnSurfacePressed:at.external(ht.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:at.external(ht.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:at.external(ht.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:at.external(ht.opacityContentOnSurfaceSelected,"Design system")},St=at.extend("--ft-ripple-color",ht.colorPrimary),kt=St,Ct=at.extend("--ft-ripple-background-color",St),Nt=at.extend("--ft-ripple-color",ht.colorSecondary),Et=Nt,Rt=at.extend("--ft-ripple-background-color",Nt);class Mt extends pt{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 t(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:n}=this.getCoordinates(t),r=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-r.x:r.width/2),this.originY=Math.round(null!=n?n-r.y:r.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 P`
95
95
  <style>
96
96
  .ft-ripple .ft-ripple--effect,
97
97
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -104,11 +104,11 @@ var it,ot;null==et||et(H,q),(null!==($=globalThis.litHtmlVersions)&&void 0!==$?$
104
104
  top: ${this.originY}px;
105
105
  }
106
106
  </style>
107
- <div class="${mt(t)}">
107
+ <div class="${bt(t)}">
108
108
  <div class="ft-ripple--background"></div>
109
109
  <div class="ft-ripple--effect"></div>
110
110
  </div>
111
- `}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 e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),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 e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),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 e=t,i=t;let o,n;return null!=e.x?({x:o,y:n}=e):null!=i.touches&&(o=i.touches[0].clientX,n=i.touches[0].clientY),{x:o,y:n}}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}$t.elementDefinitions={},$t.styles=c`
111
+ `}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"),n=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",n),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",n),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,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}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()}}Mt.elementDefinitions={},Mt.styles=f`
112
112
  :host {
113
113
  display: contents;
114
114
  }
@@ -127,17 +127,30 @@ var it,ot;null==et||et(H,q),(null!==($=globalThis.litHtmlVersions)&&void 0!==$?$
127
127
  .ft-ripple .ft-ripple--effect {
128
128
  position: absolute;
129
129
  opacity: 0;
130
- background-color: ${wt.color};
131
130
  }
132
131
 
133
- .ft-ripple.ft-ripple--secondary .ft-ripple--background,
132
+ .ft-ripple .ft-ripple--background {
133
+ background-color: ${Ot.backgroundColor};
134
+ }
135
+
136
+ .ft-ripple .ft-ripple--effect {
137
+ background-color: ${Ot.color};
138
+ }
139
+
140
+ .ft-ripple.ft-ripple--secondary .ft-ripple--background {
141
+ background-color: ${Rt};
142
+ }
143
+
134
144
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
135
- background-color: ${wt.secondaryColor};
145
+ background-color: ${Et};
146
+ }
147
+
148
+ .ft-ripple.ft-ripple--primary .ft-ripple--background {
149
+ background-color: ${Ct};
136
150
  }
137
151
 
138
- .ft-ripple.ft-ripple--primary .ft-ripple--background,
139
152
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
140
- background-color: ${wt.primaryColor};
153
+ background-color: ${kt};
141
154
  }
142
155
 
143
156
  .ft-ripple .ft-ripple--background {
@@ -145,6 +158,7 @@ var it,ot;null==et||et(H,q),(null!==($=globalThis.litHtmlVersions)&&void 0!==$?$
145
158
  left: 0;
146
159
  height: 100%;
147
160
  width: 100%;
161
+ transition: opacity 75ms linear;
148
162
  }
149
163
 
150
164
  .ft-ripple .ft-ripple--effect,
@@ -168,150 +182,150 @@ var it,ot;null==et||et(H,q),(null!==($=globalThis.litHtmlVersions)&&void 0!==$?$
168
182
  }
169
183
 
170
184
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
171
- opacity: ${wt.opacityContentOnSurfaceHover};
185
+ opacity: ${Ot.opacityContentOnSurfaceHover};
172
186
  }
173
187
 
174
188
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
175
- opacity: ${wt.opacityContentOnSurfaceSelected};
189
+ opacity: ${Ot.opacityContentOnSurfaceSelected};
176
190
  }
177
191
 
178
192
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
179
- opacity: ${wt.opacityContentOnSurfaceFocused};
193
+ opacity: ${Ot.opacityContentOnSurfaceFocused};
180
194
  }
181
195
 
182
196
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
183
- opacity: ${wt.opacityContentOnSurfacePressed};
197
+ opacity: ${Ot.opacityContentOnSurfacePressed};
184
198
  transform: translate(-50%, -50%) scale(1);
185
199
  }
186
- `,bt([e({type:Boolean})],$t.prototype,"primary",void 0),bt([e({type:Boolean})],$t.prototype,"secondary",void 0),bt([e({type:Boolean})],$t.prototype,"unbounded",void 0),bt([e({type:Boolean})],$t.prototype,"activated",void 0),bt([e({type:Boolean})],$t.prototype,"selected",void 0),bt([e({type:Boolean})],$t.prototype,"disabled",void 0),bt([i()],$t.prototype,"hovered",void 0),bt([i()],$t.prototype,"focused",void 0),bt([i()],$t.prototype,"pressed",void 0),bt([i()],$t.prototype,"rippling",void 0),bt([i()],$t.prototype,"rippleSize",void 0),bt([i()],$t.prototype,"originX",void 0),bt([i()],$t.prototype,"originY",void 0),bt([o(".ft-ripple")],$t.prototype,"ripple",void 0),bt([o(".ft-ripple--effect")],$t.prototype,"rippleEffect",void 0),r("ft-ripple")($t);
200
+ `,wt([e({type:Boolean})],Mt.prototype,"primary",void 0),wt([e({type:Boolean})],Mt.prototype,"secondary",void 0),wt([e({type:Boolean})],Mt.prototype,"unbounded",void 0),wt([e({type:Boolean})],Mt.prototype,"activated",void 0),wt([e({type:Boolean})],Mt.prototype,"selected",void 0),wt([e({type:Boolean})],Mt.prototype,"disabled",void 0),wt([o()],Mt.prototype,"hovered",void 0),wt([o()],Mt.prototype,"focused",void 0),wt([o()],Mt.prototype,"pressed",void 0),wt([o()],Mt.prototype,"rippling",void 0),wt([o()],Mt.prototype,"rippleSize",void 0),wt([o()],Mt.prototype,"originX",void 0),wt([o()],Mt.prototype,"originY",void 0),wt([n(".ft-ripple")],Mt.prototype,"ripple",void 0),wt([n(".ft-ripple--effect")],Mt.prototype,"rippleEffect",void 0),s("ft-ripple")(Mt);
187
201
  /**
188
202
  * @license
189
203
  * Copyright 2020 Google LLC
190
204
  * SPDX-License-Identifier: BSD-3-Clause
191
205
  */
192
- const Ot=t=>({_$litStatic$:t}),St=new Map,Ct=(t=>(e,...i)=>{var o;const n=i.length;let r,s;const a=[],l=[];let h,p=0,c=!1;for(;p<n;){for(h=e[p];p<n&&void 0!==(s=i[p],r=null===(o=s)||void 0===o?void 0:o._$litStatic$);)h+=r+e[++p],c=!0;l.push(s),a.push(h),p++}if(p===n&&a.push(e[n]),c){const t=a.join("$$lit$$");void 0===(e=St.get(t))&&(a.raw=a,St.set(t,e=a)),i=l}return t(e,...i)})(D);var kt,Nt=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};!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"}(kt||(kt={}));const Et=st.extend("--ft-typography-font-family",lt.titleFont),Rt=st.extend("--ft-typography-font-family",lt.contentFont),Mt={fontFamily:Rt,fontSize:st.create("--ft-typography-font-size","SIZE","16px"),fontWeight:st.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:st.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:st.create("--ft-typography-line-height","SIZE","24px"),textTransform:st.create("--ft-typography-text-transform","UNKNOWN","inherit")},zt=st.extend("--ft-typography-title-font-family",Et),Ut=st.extend("--ft-typography-title-font-size",Mt.fontSize,"20px"),Ft=st.extend("--ft-typography-title-font-weight",Mt.fontWeight,"normal"),jt=st.extend("--ft-typography-title-letter-spacing",Mt.letterSpacing,"0.15px"),Bt=st.extend("--ft-typography-title-line-height",Mt.lineHeight,"24px"),Lt=st.extend("--ft-typography-title-text-transform",Mt.textTransform,"inherit"),At=st.extend("--ft-typography-title-dense-font-family",Et),Tt=st.extend("--ft-typography-title-dense-font-size",Mt.fontSize,"14px"),Dt=st.extend("--ft-typography-title-dense-font-weight",Mt.fontWeight,"normal"),Pt=st.extend("--ft-typography-title-dense-letter-spacing",Mt.letterSpacing,"0.105px"),_t=st.extend("--ft-typography-title-dense-line-height",Mt.lineHeight,"24px"),It=st.extend("--ft-typography-title-dense-text-transform",Mt.textTransform,"inherit"),Wt=st.extend("--ft-typography-subtitle1-font-family",Rt),Kt=st.extend("--ft-typography-subtitle1-font-size",Mt.fontSize,"16px"),Ht=st.extend("--ft-typography-subtitle1-font-weight",Mt.fontWeight,"600"),Zt=st.extend("--ft-typography-subtitle1-letter-spacing",Mt.letterSpacing,"0.144px"),Vt=st.extend("--ft-typography-subtitle1-line-height",Mt.lineHeight,"24px"),qt=st.extend("--ft-typography-subtitle1-text-transform",Mt.textTransform,"inherit"),Xt=st.extend("--ft-typography-subtitle2-font-family",Rt),Jt=st.extend("--ft-typography-subtitle2-font-size",Mt.fontSize,"14px"),Yt=st.extend("--ft-typography-subtitle2-font-weight",Mt.fontWeight,"normal"),Gt=st.extend("--ft-typography-subtitle2-letter-spacing",Mt.letterSpacing,"0.098px"),Qt=st.extend("--ft-typography-subtitle2-line-height",Mt.lineHeight,"24px"),te=st.extend("--ft-typography-subtitle2-text-transform",Mt.textTransform,"inherit"),ee=st.extend("--ft-typography-body1-font-family",Rt),ie=st.extend("--ft-typography-body1-font-size",Mt.fontSize,"16px"),oe=st.extend("--ft-typography-body1-font-weight",Mt.fontWeight,"normal"),ne=st.extend("--ft-typography-body1-letter-spacing",Mt.letterSpacing,"0.496px"),re=st.extend("--ft-typography-body1-line-height",Mt.lineHeight,"24px"),se=st.extend("--ft-typography-body1-text-transform",Mt.textTransform,"inherit"),ae={fontFamily:st.extend("--ft-typography-body2-font-family",Rt),fontSize:st.extend("--ft-typography-body2-font-size",Mt.fontSize,"14px"),fontWeight:st.extend("--ft-typography-body2-font-weight",Mt.fontWeight,"normal"),letterSpacing:st.extend("--ft-typography-body2-letter-spacing",Mt.letterSpacing,"0.252px"),lineHeight:st.extend("--ft-typography-body2-line-height",Mt.lineHeight,"20px"),textTransform:st.extend("--ft-typography-body2-text-transform",Mt.textTransform,"inherit")},le=st.extend("--ft-typography-caption-font-family",Rt),he=st.extend("--ft-typography-caption-font-size",Mt.fontSize,"12px"),pe=st.extend("--ft-typography-caption-font-weight",Mt.fontWeight,"normal"),ce=st.extend("--ft-typography-caption-letter-spacing",Mt.letterSpacing,"0.396px"),fe=st.extend("--ft-typography-caption-line-height",Mt.lineHeight,"16px"),de=st.extend("--ft-typography-caption-text-transform",Mt.textTransform,"inherit"),ue=st.extend("--ft-typography-breadcrumb-font-family",Rt),ye=st.extend("--ft-typography-breadcrumb-font-size",Mt.fontSize,"10px"),ge=st.extend("--ft-typography-breadcrumb-font-weight",Mt.fontWeight,"normal"),xe=st.extend("--ft-typography-breadcrumb-letter-spacing",Mt.letterSpacing,"0.33px"),ve=st.extend("--ft-typography-breadcrumb-line-height",Mt.lineHeight,"16px"),me=st.extend("--ft-typography-breadcrumb-text-transform",Mt.textTransform,"inherit"),be=st.extend("--ft-typography-overline-font-family",Rt),we=st.extend("--ft-typography-overline-font-size",Mt.fontSize,"10px"),$e=st.extend("--ft-typography-overline-font-weight",Mt.fontWeight,"normal"),Oe=st.extend("--ft-typography-overline-letter-spacing",Mt.letterSpacing,"1.5px"),Se=st.extend("--ft-typography-overline-line-height",Mt.lineHeight,"16px"),Ce=st.extend("--ft-typography-overline-text-transform",Mt.textTransform,"uppercase"),ke=st.extend("--ft-typography-button-font-family",Rt),Ne=st.extend("--ft-typography-button-font-size",Mt.fontSize,"14px"),Ee=st.extend("--ft-typography-button-font-weight",Mt.fontWeight,"600"),Re=st.extend("--ft-typography-button-letter-spacing",Mt.letterSpacing,"1.246px"),Me=st.extend("--ft-typography-button-line-height",Mt.lineHeight,"16px"),ze=st.extend("--ft-typography-button-text-transform",Mt.textTransform,"uppercase"),Ue=c`
206
+ const zt=Symbol.for(""),Ut=t=>{var i,e;if((null===(i=t)||void 0===i?void 0:i.r)===zt)return null===(e=t)||void 0===e?void 0:e._$litStatic$},Ft=t=>({_$litStatic$:t,r:zt}),jt=new Map,Bt=(t=>(i,...e)=>{const o=e.length;let n,r;const s=[],a=[];let l,h=0,p=!1;for(;h<o;){for(l=i[h];h<o&&void 0!==(r=e[h],n=Ut(r));)l+=n+i[++h],p=!0;a.push(r),s.push(l),h++}if(h===o&&s.push(i[o]),p){const t=s.join("$$lit$$");void 0===(i=jt.get(t))&&(s.raw=s,jt.set(t,i=s)),e=a}return t(i,...e)})(P);var Lt,At=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};!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 Tt=at.extend("--ft-typography-font-family",ht.titleFont),Dt=at.extend("--ft-typography-font-family",ht.contentFont),Pt={fontFamily:Dt,fontSize:at.create("--ft-typography-font-size","SIZE","16px"),fontWeight:at.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:at.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:at.create("--ft-typography-line-height","SIZE","24px"),textTransform:at.create("--ft-typography-text-transform","UNKNOWN","inherit")},_t=at.extend("--ft-typography-title-font-family",Tt),It=at.extend("--ft-typography-title-font-size",Pt.fontSize,"20px"),Wt=at.extend("--ft-typography-title-font-weight",Pt.fontWeight,"normal"),Kt=at.extend("--ft-typography-title-letter-spacing",Pt.letterSpacing,"0.15px"),Ht=at.extend("--ft-typography-title-line-height",Pt.lineHeight,"24px"),Zt=at.extend("--ft-typography-title-text-transform",Pt.textTransform,"inherit"),Vt=at.extend("--ft-typography-title-dense-font-family",Tt),qt=at.extend("--ft-typography-title-dense-font-size",Pt.fontSize,"14px"),Xt=at.extend("--ft-typography-title-dense-font-weight",Pt.fontWeight,"normal"),Jt=at.extend("--ft-typography-title-dense-letter-spacing",Pt.letterSpacing,"0.105px"),Yt=at.extend("--ft-typography-title-dense-line-height",Pt.lineHeight,"24px"),Gt=at.extend("--ft-typography-title-dense-text-transform",Pt.textTransform,"inherit"),Qt=at.extend("--ft-typography-subtitle1-font-family",Dt),ti=at.extend("--ft-typography-subtitle1-font-size",Pt.fontSize,"16px"),ii=at.extend("--ft-typography-subtitle1-font-weight",Pt.fontWeight,"600"),ei=at.extend("--ft-typography-subtitle1-letter-spacing",Pt.letterSpacing,"0.144px"),oi=at.extend("--ft-typography-subtitle1-line-height",Pt.lineHeight,"24px"),ni=at.extend("--ft-typography-subtitle1-text-transform",Pt.textTransform,"inherit"),ri=at.extend("--ft-typography-subtitle2-font-family",Dt),si=at.extend("--ft-typography-subtitle2-font-size",Pt.fontSize,"14px"),ai=at.extend("--ft-typography-subtitle2-font-weight",Pt.fontWeight,"normal"),li=at.extend("--ft-typography-subtitle2-letter-spacing",Pt.letterSpacing,"0.098px"),hi=at.extend("--ft-typography-subtitle2-line-height",Pt.lineHeight,"24px"),pi=at.extend("--ft-typography-subtitle2-text-transform",Pt.textTransform,"inherit"),ci=at.extend("--ft-typography-body1-font-family",Dt),fi=at.extend("--ft-typography-body1-font-size",Pt.fontSize,"16px"),di=at.extend("--ft-typography-body1-font-weight",Pt.fontWeight,"normal"),ui=at.extend("--ft-typography-body1-letter-spacing",Pt.letterSpacing,"0.496px"),yi=at.extend("--ft-typography-body1-line-height",Pt.lineHeight,"24px"),gi=at.extend("--ft-typography-body1-text-transform",Pt.textTransform,"inherit"),xi={fontFamily:at.extend("--ft-typography-body2-font-family",Dt),fontSize:at.extend("--ft-typography-body2-font-size",Pt.fontSize,"14px"),fontWeight:at.extend("--ft-typography-body2-font-weight",Pt.fontWeight,"normal"),letterSpacing:at.extend("--ft-typography-body2-letter-spacing",Pt.letterSpacing,"0.252px"),lineHeight:at.extend("--ft-typography-body2-line-height",Pt.lineHeight,"20px"),textTransform:at.extend("--ft-typography-body2-text-transform",Pt.textTransform,"inherit")},vi=at.extend("--ft-typography-caption-font-family",Dt),mi=at.extend("--ft-typography-caption-font-size",Pt.fontSize,"12px"),bi=at.extend("--ft-typography-caption-font-weight",Pt.fontWeight,"normal"),wi=at.extend("--ft-typography-caption-letter-spacing",Pt.letterSpacing,"0.396px"),$i=at.extend("--ft-typography-caption-line-height",Pt.lineHeight,"16px"),Oi=at.extend("--ft-typography-caption-text-transform",Pt.textTransform,"inherit"),Si=at.extend("--ft-typography-breadcrumb-font-family",Dt),ki=at.extend("--ft-typography-breadcrumb-font-size",Pt.fontSize,"10px"),Ci=at.extend("--ft-typography-breadcrumb-font-weight",Pt.fontWeight,"normal"),Ni=at.extend("--ft-typography-breadcrumb-letter-spacing",Pt.letterSpacing,"0.33px"),Ei=at.extend("--ft-typography-breadcrumb-line-height",Pt.lineHeight,"16px"),Ri=at.extend("--ft-typography-breadcrumb-text-transform",Pt.textTransform,"inherit"),Mi=at.extend("--ft-typography-overline-font-family",Dt),zi=at.extend("--ft-typography-overline-font-size",Pt.fontSize,"10px"),Ui=at.extend("--ft-typography-overline-font-weight",Pt.fontWeight,"normal"),Fi=at.extend("--ft-typography-overline-letter-spacing",Pt.letterSpacing,"1.5px"),ji=at.extend("--ft-typography-overline-line-height",Pt.lineHeight,"16px"),Bi=at.extend("--ft-typography-overline-text-transform",Pt.textTransform,"uppercase"),Li=at.extend("--ft-typography-button-font-family",Dt),Ai=at.extend("--ft-typography-button-font-size",Pt.fontSize,"14px"),Ti=at.extend("--ft-typography-button-font-weight",Pt.fontWeight,"600"),Di=at.extend("--ft-typography-button-letter-spacing",Pt.letterSpacing,"1.246px"),Pi=at.extend("--ft-typography-button-line-height",Pt.lineHeight,"16px"),_i=at.extend("--ft-typography-button-text-transform",Pt.textTransform,"uppercase"),Ii=f`
193
207
  .ft-typography--title {
194
- font-family: ${zt};
195
- font-size: ${Ut};
196
- font-weight: ${Ft};
197
- letter-spacing: ${jt};
198
- line-height: ${Bt};
199
- text-transform: ${Lt};
208
+ font-family: ${_t};
209
+ font-size: ${It};
210
+ font-weight: ${Wt};
211
+ letter-spacing: ${Kt};
212
+ line-height: ${Ht};
213
+ text-transform: ${Zt};
200
214
  }
201
- `,Fe=c`
215
+ `,Wi=f`
202
216
  .ft-typography--title-dense {
203
- font-family: ${At};
204
- font-size: ${Tt};
205
- font-weight: ${Dt};
206
- letter-spacing: ${Pt};
207
- line-height: ${_t};
208
- text-transform: ${It};
217
+ font-family: ${Vt};
218
+ font-size: ${qt};
219
+ font-weight: ${Xt};
220
+ letter-spacing: ${Jt};
221
+ line-height: ${Yt};
222
+ text-transform: ${Gt};
209
223
  }
210
- `,je=c`
224
+ `,Ki=f`
211
225
  .ft-typography--subtitle1 {
212
- font-family: ${Wt};
213
- font-size: ${Kt};
214
- font-weight: ${Ht};
215
- letter-spacing: ${Zt};
216
- line-height: ${Vt};
217
- text-transform: ${qt};
226
+ font-family: ${Qt};
227
+ font-size: ${ti};
228
+ font-weight: ${ii};
229
+ letter-spacing: ${ei};
230
+ line-height: ${oi};
231
+ text-transform: ${ni};
218
232
  }
219
- `,Be=c`
233
+ `,Hi=f`
220
234
  .ft-typography--subtitle2 {
221
- font-family: ${Xt};
222
- font-size: ${Jt};
223
- font-weight: ${Yt};
224
- letter-spacing: ${Gt};
225
- line-height: ${Qt};
226
- text-transform: ${te};
235
+ font-family: ${ri};
236
+ font-size: ${si};
237
+ font-weight: ${ai};
238
+ letter-spacing: ${li};
239
+ line-height: ${hi};
240
+ text-transform: ${pi};
227
241
  }
228
242
 
229
- `,Le=c`
243
+ `,Zi=f`
230
244
  .ft-typography--body1 {
231
- font-family: ${ee};
232
- font-size: ${ie};
233
- font-weight: ${oe};
234
- letter-spacing: ${ne};
235
- line-height: ${re};
236
- text-transform: ${se};
245
+ font-family: ${ci};
246
+ font-size: ${fi};
247
+ font-weight: ${di};
248
+ letter-spacing: ${ui};
249
+ line-height: ${yi};
250
+ text-transform: ${gi};
237
251
  }
238
- `,Ae=c`
252
+ `,Vi=f`
239
253
  .ft-typography--body2 {
240
- font-family: ${ae.fontFamily};
241
- font-size: ${ae.fontSize};
242
- font-weight: ${ae.fontWeight};
243
- letter-spacing: ${ae.letterSpacing};
244
- line-height: ${ae.lineHeight};
245
- text-transform: ${ae.textTransform};
254
+ font-family: ${xi.fontFamily};
255
+ font-size: ${xi.fontSize};
256
+ font-weight: ${xi.fontWeight};
257
+ letter-spacing: ${xi.letterSpacing};
258
+ line-height: ${xi.lineHeight};
259
+ text-transform: ${xi.textTransform};
246
260
  }
247
- `,Te=c`
261
+ `,qi=f`
248
262
  .ft-typography--caption {
249
- font-family: ${le};
250
- font-size: ${he};
251
- font-weight: ${pe};
252
- letter-spacing: ${ce};
253
- line-height: ${fe};
254
- text-transform: ${de};
263
+ font-family: ${vi};
264
+ font-size: ${mi};
265
+ font-weight: ${bi};
266
+ letter-spacing: ${wi};
267
+ line-height: ${$i};
268
+ text-transform: ${Oi};
255
269
  }
256
- `,De=c`
270
+ `,Xi=f`
257
271
  .ft-typography--breadcrumb {
258
- font-family: ${ue};
259
- font-size: ${ye};
260
- font-weight: ${ge};
261
- letter-spacing: ${xe};
262
- line-height: ${ve};
263
- text-transform: ${me};
272
+ font-family: ${Si};
273
+ font-size: ${ki};
274
+ font-weight: ${Ci};
275
+ letter-spacing: ${Ni};
276
+ line-height: ${Ei};
277
+ text-transform: ${Ri};
264
278
  }
265
- `,Pe=c`
279
+ `,Ji=f`
266
280
  .ft-typography--overline {
267
- font-family: ${be};
268
- font-size: ${we};
269
- font-weight: ${$e};
270
- letter-spacing: ${Oe};
271
- line-height: ${Se};
272
- text-transform: ${Ce};
281
+ font-family: ${Mi};
282
+ font-size: ${zi};
283
+ font-weight: ${Ui};
284
+ letter-spacing: ${Fi};
285
+ line-height: ${ji};
286
+ text-transform: ${Bi};
273
287
  }
274
- `,_e=c`
288
+ `,Yi=f`
275
289
  .ft-typography--button {
276
- font-family: ${ke};
277
- font-size: ${Ne};
278
- font-weight: ${Ee};
279
- letter-spacing: ${Re};
280
- line-height: ${Me};
281
- text-transform: ${ze};
290
+ font-family: ${Li};
291
+ font-size: ${Ai};
292
+ font-weight: ${Ti};
293
+ letter-spacing: ${Di};
294
+ line-height: ${Pi};
295
+ text-transform: ${_i};
282
296
  }
283
- `;class Ie extends ht{constructor(){super(...arguments),this.variant=kt.body1}render(){return this.element?Ct`
284
- <${Ot(this.element)}
297
+ `;class Gi extends pt{constructor(){super(...arguments),this.variant=Lt.body1}render(){return this.element?Bt`
298
+ <${Ft(this.element)}
285
299
  class="ft-typography ft-typography--${this.variant}">
286
300
  <slot></slot>
287
- </${Ot(this.element)}>
288
- `:Ct`
301
+ </${Ft(this.element)}>
302
+ `:Bt`
289
303
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
290
- `}}Ie.styles=[Ue,Fe,je,Be,Le,Ae,Te,De,Pe,_e,c`
304
+ `}}Gi.styles=[Ii,Wi,Ki,Hi,Zi,Vi,qi,Xi,Ji,Yi,f`
291
305
  .ft-typography {
292
306
  vertical-align: inherit;
293
307
  }
294
- `],Nt([e()],Ie.prototype,"element",void 0),Nt([e()],Ie.prototype,"variant",void 0),r("ft-typography")(Ie);
308
+ `],At([e()],Gi.prototype,"element",void 0),At([e()],Gi.prototype,"variant",void 0),s("ft-typography")(Gi);
295
309
  /**
296
310
  * @license
297
311
  * Copyright 2017 Google LLC
298
312
  * SPDX-License-Identifier: BSD-3-Clause
299
313
  */
300
- class We extends vt{constructor(t){if(super(t),this.it=_,t.type!==gt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===_||null==t)return this.vt=void 0,this.it=t;if(t===P)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 e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}We.directiveName="unsafeHTML",We.resultType=1;const Ke=xt(We);var He,Ze;!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;"}(He||(He={})),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;"}(Ze||(Ze={})),new Map([...["abw"].map((t=>[t,Ze.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,Ze.AUDIO])),...["avi"].map((t=>[t,Ze.AVI])),...["chm","xhs"].map((t=>[t,Ze.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,Ze.CODE])),...["csv"].map((t=>[t,Ze.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ze.DITA])),...["epub"].map((t=>[t,Ze.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ze.EXCEL])),...["flac"].map((t=>[t,Ze.FLAC])),...["gif"].map((t=>[t,Ze.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ze.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ze.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,Ze.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ze.JPEG])),...["json"].map((t=>[t,Ze.JSON])),...["m4a","m4p"].map((t=>[t,Ze.M4A])),...["mov","qt"].map((t=>[t,Ze.MOV])),...["mp3"].map((t=>[t,Ze.MP3])),...["mp4","m4v"].map((t=>[t,Ze.MP4])),...["ogg","oga"].map((t=>[t,Ze.OGG])),...["pdf","ps"].map((t=>[t,Ze.PDF])),...["png"].map((t=>[t,Ze.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ze.POWERPOINT])),...["rar"].map((t=>[t,Ze.RAR])),...["stp"].map((t=>[t,Ze.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ze.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,Ze.VIDEO])),...["wav"].map((t=>[t,Ze.WAV])),...["wma"].map((t=>[t,Ze.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ze.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ze.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ze.YAML])),...["zip"].map((t=>[t,Ze.ZIP]))]);var Ve,qe=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ve||(Ve={}));const Xe={size:st.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:st.extend("--ft-icon-fluid-topics-font-family",st.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:st.extend("--ft-icon-file-format-font-family",st.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:st.extend("--ft-icon-material-font-family",st.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class Je extends ht{constructor(){super(...arguments),this.variant=Ve.fluid_topics}render(){return D`
314
+ class Qi extends mt{constructor(t){if(super(t),this.it=I,t.type!==xt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===I||null==t)return this.ft=void 0,this.it=t;if(t===_)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.ft;this.it=t;const i=[t];return i.raw=i,this.ft={_$litType$:this.constructor.resultType,strings:i,values:[]}}}Qi.directiveName="unsafeHTML",Qi.resultType=1;const te=vt(Qi);var ie,ee;!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;"}(ie||(ie={})),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;"}(ee||(ee={})),new Map([...["abw"].map((t=>[t,ee.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,ee.AUDIO])),...["avi"].map((t=>[t,ee.AVI])),...["chm","xhs"].map((t=>[t,ee.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,ee.CODE])),...["csv"].map((t=>[t,ee.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ee.DITA])),...["epub"].map((t=>[t,ee.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ee.EXCEL])),...["flac"].map((t=>[t,ee.FLAC])),...["gif"].map((t=>[t,ee.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ee.GZIP])),...["html","htm","xhtml"].map((t=>[t,ee.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,ee.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ee.JPEG])),...["json"].map((t=>[t,ee.JSON])),...["m4a","m4p"].map((t=>[t,ee.M4A])),...["mov","qt"].map((t=>[t,ee.MOV])),...["mp3"].map((t=>[t,ee.MP3])),...["mp4","m4v"].map((t=>[t,ee.MP4])),...["ogg","oga"].map((t=>[t,ee.OGG])),...["pdf","ps"].map((t=>[t,ee.PDF])),...["png"].map((t=>[t,ee.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ee.POWERPOINT])),...["rar"].map((t=>[t,ee.RAR])),...["stp"].map((t=>[t,ee.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ee.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,ee.VIDEO])),...["wav"].map((t=>[t,ee.WAV])),...["wma"].map((t=>[t,ee.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ee.WORD])),...["xml","xsl","rdf"].map((t=>[t,ee.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ee.YAML])),...["zip"].map((t=>[t,ee.ZIP]))]);var oe,ne=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(oe||(oe={}));const re={size:at.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:at.extend("--ft-icon-fluid-topics-font-family",at.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:at.extend("--ft-icon-file-format-font-family",at.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:at.extend("--ft-icon-material-font-family",at.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class se extends pt{constructor(){super(...arguments),this.variant=oe.fluid_topics}render(){return P`
301
315
  <i class="ft-icon ${"ft-icon--"+this.variant}">
302
- ${Ke(this.getIcon())}
316
+ ${te(this.getIcon())}
303
317
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
304
318
  </i>
305
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===Ve.file_format?null!==(t=Ze[i.toUpperCase()])&&void 0!==t?t:i:this.variant===Ve.fluid_topics?null!==(e=He[i.toUpperCase()])&&void 0!==e?e:i:_}}Je.elementDefinitions={},Je.styles=c`
319
+ `}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===oe.file_format?null!==(t=ee[e.toUpperCase()])&&void 0!==t?t:e:this.variant===oe.fluid_topics?null!==(i=ie[e.toUpperCase()])&&void 0!==i?i:e:I}}se.elementDefinitions={},se.styles=f`
306
320
  :host, i.ft-icon {
307
321
  display: inline-block;
308
- width: ${Xe.size};
309
- height: ${Xe.size};
322
+ width: ${re.size};
323
+ height: ${re.size};
310
324
  text-align: center;
311
325
  }
312
326
 
313
327
  i.ft-icon {
314
- font-size: ${Xe.size};
328
+ font-size: ${re.size};
315
329
  line-height: 1;
316
330
  font-weight: normal;
317
331
  text-transform: none;
@@ -325,17 +339,17 @@ class We extends vt{constructor(t){if(super(t),this.it=_,t.type!==gt)throw Error
325
339
  }
326
340
 
327
341
  .ft-icon--fluid-topics {
328
- font-family: ${Xe.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
342
+ font-family: ${re.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
329
343
  }
330
344
 
331
345
  .ft-icon--file-format {
332
- font-family: ${Xe.fileFormatFontFamily}, ft-mime, sans-serif;
346
+ font-family: ${re.fileFormatFontFamily}, ft-mime, sans-serif;
333
347
  }
334
348
 
335
349
  .ft-icon--material {
336
- font-family: ${Xe.materialFontFamily}, "Material Icons", sans-serif;
350
+ font-family: ${re.materialFontFamily}, "Material Icons", sans-serif;
337
351
  }
338
- `,qe([e()],Je.prototype,"variant",void 0),qe([o("slot")],Je.prototype,"slottedContent",void 0),r("ft-icon")(Je);var Ye=function(t,e,i,o){for(var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s};const Ge=st.extend("--ft-chip-color",lt.colorOnSurface),Qe={backgroundColor:st.extend("--ft-chip-background-color",lt.colorSurface),color:Ge,fontSize:st.extend("--ft-chip-font-size",ae.fontSize),iconSize:st.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:st.extend("--ft-chip-ripple-color",Ge),horizontalPadding:st.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:st.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:st.external(lt.colorOutline,"Design system"),opacityDisabled:st.external(lt.colorOpacityDisabled,"Design system")},ti=st.extend("--ft-chip-highlighted-color",st.extend("--ft-chip-color",lt.colorOnPrimary)),ei={backgroundColor:st.extend("--ft-chip-highlighted-background-color",st.extend("--ft-chip-background-color",lt.colorPrimary)),color:ti,rippleColor:st.extend("--ft-chip-highlighted-ripple-color",ti)},ii=st.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),oi=st.create("--ft-chip-dense-vertical-padding","SIZE","4px");class ni extends CustomEvent{constructor(){super("icon-click")}}class ri extends ht{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.icon=void 0,this.trailingIcon=!1}static get styles(){return[pt,c`
352
+ `,ne([e()],se.prototype,"variant",void 0),ne([n("slot")],se.prototype,"slottedContent",void 0),s("ft-icon")(se);var ae=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};const le=at.extend("--ft-chip-color",ht.colorOnSurface),he={backgroundColor:at.extend("--ft-chip-background-color",ht.colorSurface),color:le,fontSize:at.extend("--ft-chip-font-size",xi.fontSize),iconSize:at.create("--ft-chip-icon-size","SIZE","18px"),rippleColor:at.extend("--ft-chip-ripple-color",le),horizontalPadding:at.create("--ft-chip-horizontal-padding","SIZE","6px"),verticalPadding:at.create("--ft-chip-vertical-padding","SIZE","6px"),colorOutline:at.external(ht.colorOutline,"Design system"),opacityDisabled:at.external(ht.colorOpacityDisabled,"Design system")},pe=at.extend("--ft-chip-highlighted-color",at.extend("--ft-chip-color",ht.colorOnPrimary)),ce={backgroundColor:at.extend("--ft-chip-highlighted-background-color",at.extend("--ft-chip-background-color",ht.colorPrimary)),color:pe,rippleColor:at.extend("--ft-chip-highlighted-ripple-color",pe)},fe=at.create("--ft-chip-dense-horizontal-padding","SIZE","4px"),de=at.create("--ft-chip-dense-vertical-padding","SIZE","4px");class ue extends CustomEvent{constructor(){super("icon-click")}}class ye extends pt{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.icon=void 0,this.trailingIcon=!1}static get styles(){return[ct,f`
339
353
  :host {
340
354
  display: inline-block;
341
355
  max-width: 100%;
@@ -352,27 +366,31 @@ class We extends vt{constructor(t){if(super(t),this.it=_,t.type!==gt)throw Error
352
366
  box-sizing: border-box;
353
367
  pointer-events: auto;
354
368
 
355
- --ft-chip-internal-font-size: ${Qe.fontSize};
369
+ --ft-chip-internal-font-size: ${he.fontSize};
356
370
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
357
- ${at(Xe.size,Qe.iconSize)};
358
- --ft-chip-internal-vertical-padding: ${Qe.verticalPadding};
359
- --ft-chip-internal-horizontal-padding: ${Qe.horizontalPadding};
371
+ ${lt(re.size,he.iconSize)};
372
+ --ft-chip-internal-vertical-padding: ${he.verticalPadding};
373
+ --ft-chip-internal-horizontal-padding: ${he.horizontalPadding};
360
374
  --ft-chip-internal-icon-padding: 3px;
361
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Qe.iconSize});
375
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${he.iconSize});
362
376
 
363
- border: 1px solid ${Qe.colorOutline};
364
- color: ${Qe.color};
365
- ${at(wt.color,Qe.rippleColor)};
377
+ border: 1px solid ${he.colorOutline};
378
+ color: ${he.color};
379
+ ${lt(Ot.color,he.rippleColor)};
366
380
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
367
381
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
368
- background-color: ${Qe.backgroundColor};
382
+ background-color: ${he.backgroundColor};
369
383
  line-height: var(--ft-chip-internal-content-height);
370
384
  }
371
385
 
386
+ .ft-chip > *:not(ft-ripple) {
387
+ position: relative;
388
+ }
389
+
372
390
  .ft-chip--dense {
373
391
  --ft-chip-internal-icon-padding: 3px;
374
- --ft-chip-internal-vertical-padding: ${oi};
375
- --ft-chip-internal-horizontal-padding: ${ii};
392
+ --ft-chip-internal-vertical-padding: ${de};
393
+ --ft-chip-internal-horizontal-padding: ${fe};
376
394
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
377
395
  }
378
396
 
@@ -384,15 +402,15 @@ class We extends vt{constructor(t){if(super(t),this.it=_,t.type!==gt)throw Error
384
402
  cursor: default;
385
403
  pointer-events: none;
386
404
  filter: grayscale(1);
387
- opacity: ${Qe.opacityDisabled};
405
+ opacity: ${he.opacityDisabled};
388
406
  }
389
407
 
390
408
  .ft-chip--highlighted {
391
409
  border: none;
392
410
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
393
- background-color: ${ei.backgroundColor};
394
- ${at(wt.color,ei.rippleColor)};
395
- color: ${ei.color};
411
+ background-color: ${ce.backgroundColor};
412
+ ${lt(Ot.color,ce.rippleColor)};
413
+ color: ${ce.color};
396
414
  }
397
415
 
398
416
  .ft-chip--clickable {
@@ -417,12 +435,16 @@ class We extends vt{constructor(t){if(super(t),this.it=_,t.type!==gt)throw Error
417
435
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
418
436
  }
419
437
 
438
+ .ft-chip--icon-container > *:not(ft-ripple) {
439
+ position: relative;
440
+ }
441
+
420
442
  .ft-chip--label {
421
443
  vertical-align: bottom;
422
444
  display: block;
423
445
  margin: 0 var(--ft-chip-internal-horizontal-padding);
424
- ${at(ae.fontSize,"var(--ft-chip-internal-font-size)")};
425
- ${at(ae.lineHeight,"var(--ft-chip-internal-content-height)")};
446
+ ${lt(xi.fontSize,"var(--ft-chip-internal-font-size)")};
447
+ ${lt(xi.lineHeight,"var(--ft-chip-internal-content-height)")};
426
448
  }
427
449
 
428
450
  .ft-chip--safari-fix .ft-chip--label {
@@ -457,8 +479,8 @@ class We extends vt{constructor(t){if(super(t),this.it=_,t.type!==gt)throw Error
457
479
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-container {
458
480
  order: -1;
459
481
  }
460
- `]}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":ut};return D`
461
- <div class="${mt(t)}"
482
+ `]}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":yt};return P`
483
+ <div class="${bt(t)}"
462
484
  aria-label="${this.getLabel()}"
463
485
  tabindex="${this.interactionsOnChip?0:-1}"
464
486
  @keyup=${this.onKeyUp}>
@@ -468,7 +490,7 @@ class We extends vt{constructor(t){if(super(t),this.it=_,t.type!==gt)throw Error
468
490
  </ft-typography>
469
491
  ${this.internalIcon?this.renderIcon():null}
470
492
  </div>
471
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return D`
493
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return P`
472
494
  <div class="ft-chip--icon-container ft-no-text-select ${this.interactionsOnIcon?"ft-chip--clickable":""}"
473
495
  tabindex="${this.interactionsOnIcon?0:-1}"
474
496
  @click=${this.onIconClick}
@@ -476,9 +498,9 @@ class We extends vt{constructor(t){if(super(t),this.it=_,t.type!==gt)throw Error
476
498
  <ft-ripple ?disabled=${!this.interactionsOnIcon}></ft-ripple>
477
499
  <ft-icon variant="material">${this.internalIcon}</ft-icon>
478
500
  </div>
479
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new ni))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new ni))}getLabel(){return this.label||this.textContent}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"cancel":void 0)}}ri.elementDefinitions={"ft-ripple":$t,"ft-typography":Ie,"ft-icon":Je},Ye([e({type:Boolean})],ri.prototype,"highlighted",void 0),Ye([e({type:Boolean})],ri.prototype,"removable",void 0),Ye([e({type:Boolean})],ri.prototype,"disabled",void 0),Ye([e({type:Boolean})],ri.prototype,"clickable",void 0),Ye([e({type:Boolean})],ri.prototype,"iconClickable",void 0),Ye([e({type:Boolean})],ri.prototype,"dense",void 0),Ye([e({type:Boolean})],ri.prototype,"multiLine",void 0),Ye([e({type:String})],ri.prototype,"label",void 0),Ye([e({type:String})],ri.prototype,"icon",void 0),Ye([e({type:Boolean})],ri.prototype,"trailingIcon",void 0),Ye([o("ft-typography slot")],ri.prototype,"slottedContent",void 0),r("ft-chip")(function t(e){var i;let o;if("elementDefinitions"in e){o={};const i=e.elementDefinitions;for(let e in i)o[e]=t(i[e])}return i=class extends e{constructor(...t){super(t),this._constructor=this.constructor}render(){var t;let i=null!==(t=e.styles)&&void 0!==t?t:[];return Array.isArray(i)||(i=[i]),D`
480
- ${i.map((t=>D`
501
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new ue))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new ue))}getLabel(){return this.label||this.textContent}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:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"cancel":void 0)}}ye.elementDefinitions={"ft-ripple":Mt,"ft-typography":Gi,"ft-icon":se},ae([e({type:Boolean})],ye.prototype,"highlighted",void 0),ae([e({type:Boolean})],ye.prototype,"removable",void 0),ae([e({type:Boolean})],ye.prototype,"disabled",void 0),ae([e({type:Boolean})],ye.prototype,"clickable",void 0),ae([e({type:Boolean})],ye.prototype,"iconClickable",void 0),ae([e({type:Boolean})],ye.prototype,"dense",void 0),ae([e({type:Boolean})],ye.prototype,"multiLine",void 0),ae([e({type:String})],ye.prototype,"label",void 0),ae([e({type:String})],ye.prototype,"icon",void 0),ae([e({type:Boolean})],ye.prototype,"trailingIcon",void 0),ae([n("ft-typography slot")],ye.prototype,"slottedContent",void 0),s("ft-chip")(function t(i){var e;let o;if("elementDefinitions"in i){o={};const e=i.elementDefinitions;for(let i in e)o[i]=t(e[i])}return e=class extends i{render(){var t;let e=null!==(t=i.styles)&&void 0!==t?t:[];return Array.isArray(e)||(e=[e]),P`
502
+ ${e.map((t=>P`
481
503
  <style>${t}</style>
482
504
  `))}
483
505
  ${super.render()}
484
- `}},i.styles=void 0,i.elementDefinitions=o,i}(ri))}();
506
+ `}},e.styles=void 0,e.elementDefinitions=o,e}(ye))}();