@fluid-topics/ft-dialog 0.3.71 → 1.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,s=new WeakMap,r=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||[]);d(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&&(r.set(n,h),h.standInClass=p);const f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)s.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=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),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):s.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.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)}},d=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,n),i.call(this,s,t,n)}else o.call(this,s,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)})},f=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):f(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){f(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},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 v=(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}};v(ShadowRoot,"createElement",document),v(ShadowRoot,"importNode",document),v(Element,"insertAdjacentHTML");const x=(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(x(Element,"innerHTML"),x(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 s{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 r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(Qe){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,n=new WeakMap,s=new WeakMap,r=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||[]);d(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&&(r.set(n,h),h.standInClass=p);const f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)s.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(){v.push(this),o.upgrade.apply(o,arguments),v.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),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=v[v.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):s.set(i,o),i}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=n.get(this);t?.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)}},d=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,n){const s=t.toLowerCase();if(e.has(s)){const t=this.getAttribute(s);o.call(this,s,n),i.call(this,s,t,n)}else o.call(this,s,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)})},f=e=>{const i=Object.getPrototypeOf(e);if(i!==window.HTMLElement)return i===t||"HTMLElement"===i?.prototype?.constructor?.name?Object.setPrototypeOf(e,window.HTMLElement):f(i)},u=(t,e,i=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),l=t;try{new e.elementClass}catch(t){f(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let v=[document];const g=(t,e,i=void 0)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){v.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),v.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const b=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){v.push(this),i.set.call(this,t),v.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,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 s{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 r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=n.get(i);t&&!0!==t.formAssociated||e.push(i)}return new s(e)}})}}try{window.customElements.define("custom-element",null)}catch(ri){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.info(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const i=[...this.callbacks];this.callbacks=[];const o=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of i)try{await t()}catch(t){return void o(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -50,34 +50,24 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
50
50
  * Copyright 2019 Google LLC
51
51
  * SPDX-License-Identifier: BSD-3-Clause
52
52
  */
53
- const d=window,f=d.ShadowRoot&&(void 0===d.ShadyCSS||d.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,u=Symbol(),y=new WeakMap;class g{constructor(t,e,i){if(this._$cssResult$=!0,i!==u)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(f&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=y.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&y.set(e,t))}return t}toString(){return this.cssText}}const v=t=>new g("string"==typeof t?t:t+"",void 0,u),x=(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 g(i,t,u)},b=(t,e)=>{f?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=d.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},m=f?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return v(e)})(t):t
53
+ const d=window,f=d.ShadowRoot&&(void 0===d.ShadyCSS||d.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,u=Symbol(),y=new WeakMap;let v=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==u)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(f&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=y.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&y.set(e,t))}return t}toString(){return this.cssText}};const g=t=>new v("string"==typeof t?t:t+"",void 0,u),b=(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 v(i,t,u)},x=(t,e)=>{f?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),o=d.litNonce;void 0!==o&&i.setAttribute("nonce",o),i.textContent=e.cssText,t.appendChild(i)}))},m=f?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return g(e)})(t):t
54
54
  /**
55
55
  * @license
56
56
  * Copyright 2017 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
- */;var w;const $=window,O=$.trustedTypes,S=O?O.emptyScript:"",k=$.reactiveElementPolyfillSupport,C={toAttribute(t,e){switch(e){case Boolean:t=t?S: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}},E=(t,e)=>e!==t&&(e==e||t==t),N={attribute:!0,type:String,converter:C,reflect:!1,hasChanged:E};class R extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;null!==(e=this.h)&&void 0!==e||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=N){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)||N}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._$Ev=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(m(t))}else void 0!==t&&e.push(m(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).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._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.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 b(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||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._$ES)||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)}_$EO(t,e,i=N){var o;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const s=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:C).toAttribute(e,i.type);this._$El=t,null==s?this.removeAttribute(n):this.setAttribute(n,s),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,n=o._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=o.getPropertyOptions(n),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:C;this._$El=n,this[n]=s.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||E)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}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._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||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._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||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)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}
58
+ */;var w;const $=window,O=$.trustedTypes,S=O?O.emptyScript:"",k=$.reactiveElementPolyfillSupport,C={toAttribute(t,e){switch(e){case Boolean:t=t?S: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}},E=(t,e)=>e!==t&&(e==e||t==t),N={attribute:!0,type:String,converter:C,reflect:!1,hasChanged:E};let R=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;this.finalize(),(null!==(e=this.h)&&void 0!==e?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Ep(i,e);void 0!==o&&(this._$Ev.set(o,i),t.push(o))})),t}static createProperty(t,e=N){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)||N}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=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(m(t))}else void 0!==t&&e.push(m(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).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._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.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 x(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||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._$ES)||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)}_$EO(t,e,i=N){var o;const n=this.constructor._$Ep(t,i);if(void 0!==n&&!0===i.reflect){const s=(void 0!==(null===(o=i.converter)||void 0===o?void 0:o.toAttribute)?i.converter:C).toAttribute(e,i.type);this._$El=t,null==s?this.removeAttribute(n):this.setAttribute(n,s),this._$El=null}}_$AK(t,e){var i;const o=this.constructor,n=o._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=o.getPropertyOptions(n),s="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:C;this._$El=n,this[n]=s.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||E)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}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._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||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._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||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)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
59
59
  /**
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
62
62
  * SPDX-License-Identifier: BSD-3-Clause
63
63
  */
64
- var M;R.finalized=!0,R.elementProperties=new Map,R.elementStyles=[],R.shadowRootOptions={mode:"open"},null==k||k({ReactiveElement:R}),(null!==(w=$.reactiveElementVersions)&&void 0!==w?w:$.reactiveElementVersions=[]).push("1.4.1");const U=window,j=U.trustedTypes,z=j?j.createPolicy("lit-html",{createHTML:t=>t}):void 0,F=`lit$${(Math.random()+"").slice(9)}$`,B="?"+F,A=`<${B}>`,T=document,L=(t="")=>T.createComment(t),I=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,D=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,W=/>/g,Z=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),H=/'/g,K=/"/g,V=/^(?:script|style|textarea|title)$/i,J=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),q=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Y=new WeakMap,G=T.createTreeWalker(T,129,null,!1),Q=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=D;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,p=0;for(;p<i.length&&(r.lastIndex=p,l=r.exec(i),null!==l);)p=r.lastIndex,r===D?"!--"===l[1]?r=_:void 0!==l[1]?r=W:void 0!==l[2]?(V.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=Z):void 0!==l[3]&&(r=Z):r===Z?">"===l[0]?(r=null!=n?n:D,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?Z:'"'===l[3]?K:H):r===K||r===H?r=Z:r===_||r===W?r=D:(r=Z,n=void 0);const c=r===Z&&t[e+1].startsWith("/>")?" ":"";s+=r===D?i+A:h>=0?(o.push(a),i.slice(0,h)+"$lit$"+i.slice(h)+F+c):i+F+(-2===h?(o.push(void 0),e):c)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==z?z.createHTML(a):a,o]};class tt{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,h]=Q(t,e);if(this.el=tt.createElement(l,i),G.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=G.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(F)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(F),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?st:"?"===e[1]?at:"@"===e[1]?lt:nt})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(V.test(o.tagName)){const t=o.textContent.split(F),e=t.length-1;if(e>0){o.textContent=j?j.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],L()),G.nextNode(),a.push({type:2,index:++n});o.append(t[e],L())}}}else if(8===o.nodeType)if(o.data===B)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(F,t+1));)a.push({type:7,index:n}),t+=F.length-1}n++}}static createElement(t,e){const i=T.createElement("template");return i.innerHTML=t,i}}function et(t,e,i=t,o){var n,s,r,a;if(e===q)return e;let l=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const h=I(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(r=(a=i)._$Co)&&void 0!==r?r:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=et(t,l._$AS(t,e.values),l,o)),e}class it{constructor(t,e){this.u=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}v(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:T).importNode(i,!0);G.currentNode=n;let s=G.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new ot(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new ht(s,this,t)),this.u.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=G.nextNode(),r++)}return n}p(t){let e=0;for(const i of this.u)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class ot{constructor(t,e,i,o){var n;this.type=2,this._$AH=X,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cm=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._$Cm}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=et(this,t,e),I(t)?t===X||null==t||""===t?(this._$AH!==X&&this._$AR(),this._$AH=X):t!==this._$AH&&t!==q&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>P(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this.g(t)}O(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}g(t){this._$AH!==X&&I(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=tt.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.p(i);else{const t=new it(n,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=Y.get(t.strings);return void 0===e&&Y.set(t.strings,e=new tt(t)),e}k(t){P(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 ot(this.O(L()),this.O(L()),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._$Cm=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class nt{constructor(t,e,i,o,n){this.type=1,this._$AH=X,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=X}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=et(this,t,e,0),s=!I(t)||t!==this._$AH&&t!==q,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=et(this,o[i+r],e,r),a===q&&(a=this._$AH[r]),s||(s=!I(a)||a!==this._$AH[r]),a===X?t=X:t!==X&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.j(t)}j(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class st extends nt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===X?void 0:t}}const rt=j?j.emptyScript:"";class at extends nt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==X?this.element.setAttribute(this.name,rt):this.element.removeAttribute(this.name)}}class lt extends nt{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=et(this,t,e,0))&&void 0!==i?i:X)===q)return;const o=this._$AH,n=t===X&&o!==X||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==X&&(o===X||n);n&&this.element.removeEventListener(this.name,this,o),s&&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 ht{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){et(this,t)}}const pt=U.litHtmlPolyfillSupport;null==pt||pt(tt,ot),(null!==(M=U.litHtmlVersions)&&void 0!==M?M:U.litHtmlVersions=[]).push("2.4.0");
64
+ var M;R.finalized=!0,R.elementProperties=new Map,R.elementStyles=[],R.shadowRootOptions={mode:"open"},null==k||k({ReactiveElement:R}),(null!==(w=$.reactiveElementVersions)&&void 0!==w?w:$.reactiveElementVersions=[]).push("1.6.1");const U=window,j=U.trustedTypes,z=j?j.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",B=`lit$${(Math.random()+"").slice(9)}$`,A="?"+B,T=`<${A}>`,L=document,P=()=>L.createComment(""),I=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,_="[ \t\n\f\r]",W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Z=/-->/g,H=/>/g,K=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,X=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),Y=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Q=new WeakMap,tt=L.createTreeWalker(L,129,null,!1),et=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=W;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,p=0;for(;p<i.length&&(r.lastIndex=p,l=r.exec(i),null!==l);)p=r.lastIndex,r===W?"!--"===l[1]?r=Z:void 0!==l[1]?r=H:void 0!==l[2]?(q.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=K):void 0!==l[3]&&(r=K):r===K?">"===l[0]?(r=null!=n?n:W,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?K:'"'===l[3]?J:V):r===J||r===V?r=K:r===Z||r===H?r=W:(r=K,n=void 0);const c=r===K&&t[e+1].startsWith("/>")?" ":"";s+=r===W?i+T:h>=0?(o.push(a),i.slice(0,h)+F+i.slice(h)+B+c):i+B+(-2===h?(o.push(void 0),e):c)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==z?z.createHTML(a):a,o]};class it{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,h]=et(t,e);if(this.el=it.createElement(l,i),tt.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=tt.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(F)||e.startsWith(B)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+F).split(B),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?at:"?"===e[1]?ht:"@"===e[1]?pt:rt})}else a.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(q.test(o.tagName)){const t=o.textContent.split(B),e=t.length-1;if(e>0){o.textContent=j?j.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],P()),tt.nextNode(),a.push({type:2,index:++n});o.append(t[e],P())}}}else if(8===o.nodeType)if(o.data===A)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(B,t+1));)a.push({type:7,index:n}),t+=B.length-1}n++}}static createElement(t,e){const i=L.createElement("template");return i.innerHTML=t,i}}function ot(t,e,i=t,o){var n,s,r,a;if(e===Y)return e;let l=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const h=I(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,i,o)),void 0!==o?(null!==(r=(a=i)._$Co)&&void 0!==r?r:a._$Co=[])[o]=l:i._$Cl=l),void 0!==l&&(e=ot(t,l._$AS(t,e.values),l,o)),e}class nt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:i},parts:o}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:L).importNode(i,!0);tt.currentNode=n;let s=tt.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new st(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new ct(s,this,t)),this._$AV.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=tt.nextNode(),r++)}return n}v(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class st{constructor(t,e,i,o){var n;this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cp=null===(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._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ot(this,t,e),I(t)?t===G||null==t||""===t?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==Y&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>D(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==G&&I(this._$AH)?this._$AA.nextSibling.data=t:this.$(L.createTextNode(t)),this._$AH=t}g(t){var e;const{values:i,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=it.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.v(i);else{const t=new nt(n,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=Q.get(t.strings);return void 0===e&&Q.set(t.strings,e=new it(t)),e}T(t){D(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 st(this.k(P()),this.k(P()),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._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class rt{constructor(t,e,i,o,n){this.type=1,this._$AH=G,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=G}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const n=this.strings;let s=!1;if(void 0===n)t=ot(this,t,e,0),s=!I(t)||t!==this._$AH&&t!==Y,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=ot(this,o[i+r],e,r),a===Y&&(a=this._$AH[r]),s||(s=!I(a)||a!==this._$AH[r]),a===G?t=G:t!==G&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.j(t)}j(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class at extends rt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===G?void 0:t}}const lt=j?j.emptyScript:"";class ht extends rt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==G?this.element.setAttribute(this.name,lt):this.element.removeAttribute(this.name)}}class pt extends rt{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=ot(this,t,e,0))&&void 0!==i?i:G)===Y)return;const o=this._$AH,n=t===G&&o!==G||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==G&&(o===G||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class ct{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){ot(this,t)}}const dt=U.litHtmlPolyfillSupport;null==dt||dt(it,st),(null!==(M=U.litHtmlVersions)&&void 0!==M?M:U.litHtmlVersions=[]).push("2.7.3");
65
65
  /**
66
66
  * @license
67
67
  * Copyright 2017 Google LLC
68
68
  * SPDX-License-Identifier: BSD-3-Clause
69
69
  */
70
- var ct,dt;class ft extends R{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=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._$Do=((t,e,i)=>{var o,n;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=s._$litPart$;if(void 0===r){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;s._$litPart$=r=new ot(e.insertBefore(L(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return q}}ft.finalized=!0,ft._$litElement$=!0,null===(ct=globalThis.litElementHydrateSupport)||void 0===ct||ct.call(globalThis,{LitElement:ft});const ut=globalThis.litElementPolyfillSupport;null==ut||ut({LitElement:ft}),(null!==(dt=globalThis.litElementVersions)&&void 0!==dt?dt:globalThis.litElementVersions=[]).push("3.2.2");class yt{static create(t,e,i){let o=t=>v(null!=t?t:i),n=x`var(${v(t)}, ${o(i)})`;return n.name=t,n.category=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>x`var(${v(t)}, ${o(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),n=x`var(${v(t)}, ${o(i)})`;return n.name=t,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>x`var(${v(t)}, ${o(e)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>i,n}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):v(null!=e?e:t.defaultValue),o=x`var(${v(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>x`var(${v(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function gt(t,e){return v(`${t.name}: ${e}`)}const vt={colorPrimary:yt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:yt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:yt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:yt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:yt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:yt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:yt.create("--ft-color-error","COLOR","#B00020"),colorOutline:yt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:yt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:yt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:yt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:yt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:yt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:yt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:yt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:yt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:yt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:yt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:yt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:yt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:yt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:yt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:yt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:yt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:yt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:yt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:yt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:yt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:yt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:yt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:yt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:yt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:yt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:yt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:yt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:yt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:yt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:yt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:yt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:yt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:yt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:yt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:yt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:yt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:yt.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:yt.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:yt.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:yt.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:yt.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:yt.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:yt.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:yt.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:yt.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:yt.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:yt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:yt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:yt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:yt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:yt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:yt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:yt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:yt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
71
- /**
72
- * @license
73
- * Copyright 2021 Google LLC
74
- * SPDX-License-Identifier: BSD-3-Clause
75
- */var xt=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class bt 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 b(n,this.constructor.elementStyles),n}}}(ft)){constructor(){super(),this.exportpartsDebouncer=new e(5),this.constructorName=this.constructor.name,this.constructorPrototype=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this.constructorName&&Object.setPrototypeOf(this,this.constructorPrototype)}getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),J`
76
- ${t.map((t=>J`
77
- <style>${t}</style>
78
- `))}
79
- ${this.getTemplate()}
80
- `}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this.exportpartsDebouncer.run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,n,s,r;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],i=null!==(r=null===(s=t.getAttribute("exportparts"))||void 0===s?void 0:s.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const p=[...h.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}xt([o()],bt.prototype,"exportpartsPrefix",void 0),xt([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!p(t,e),...null!=e?e:{}})}([])],bt.prototype,"exportpartsPrefixes",void 0),xt([o()],bt.prototype,"customStylesheet",void 0);const mt=x`
70
+ var ft,ut;let yt=class extends R{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=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._$Do=((t,e,i)=>{var o,n;const s=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=s._$litPart$;if(void 0===r){const t=null!==(n=null==i?void 0:i.renderBefore)&&void 0!==n?n:null;s._$litPart$=r=new st(e.insertBefore(P(),t),t,void 0,null!=i?i:{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return Y}};yt.finalized=!0,yt._$litElement$=!0,null===(ft=globalThis.litElementHydrateSupport)||void 0===ft||ft.call(globalThis,{LitElement:yt});const vt=globalThis.litElementPolyfillSupport;null==vt||vt({LitElement:yt}),(null!==(ut=globalThis.litElementVersions)&&void 0!==ut?ut:globalThis.litElementVersions=[]).push("3.3.2");class gt{static create(t,e,i){let o=t=>g(null!=t?t:i),n=b`var(${g(t)}, ${o(i)})`;return n.name=t,n.category=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>b`var(${g(t)}, ${o(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),n=b`var(${g(t)}, ${o(i)})`;return n.name=t,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>b`var(${g(t)}, ${o(e)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>i,n}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):g(null!=e?e:t.defaultValue),o=b`var(${g(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>b`var(${g(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}function bt(t,e){return g(`${t.name}: ${e}`)}const xt={colorPrimary:gt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:gt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:gt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:gt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:gt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:gt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:gt.create("--ft-color-error","COLOR","#B00020"),colorOutline:gt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:gt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:gt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:gt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:gt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:gt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:gt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:gt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:gt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:gt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:gt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:gt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:gt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:gt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:gt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:gt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:gt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:gt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:gt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:gt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:gt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:gt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:gt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:gt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:gt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:gt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:gt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:gt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:gt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:gt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:gt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:gt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:gt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:gt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:gt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:gt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:gt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:gt.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:gt.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:gt.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:gt.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:gt.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:gt.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:gt.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:gt.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:gt.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:gt.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:gt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:gt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:gt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:gt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:gt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:gt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:gt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:gt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class mt extends yt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return x(i,t.elementStyles),i}}var wt,$t=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const Ot=Symbol("constructorPrototype"),St=Symbol("constructorName"),kt=Symbol("exportpartsDebouncer");class Ct extends mt{constructor(){super(),this[wt]=new e(5),this[St]=this.constructor.name,this[Ot]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[St]&&Object.setPrototypeOf(this,this[Ot])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[kt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,n,s,r;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],i=null!==(r=null===(s=t.getAttribute("exportparts"))||void 0===s?void 0:s.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];new Array(...e,...i).filter(a).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const p=[...h.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}wt=kt,$t([o()],Ct.prototype,"exportpartsPrefix",void 0),$t([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!p(t,e),...null!=e?e:{}})}([])],Ct.prototype,"exportpartsPrefixes",void 0),$t([o()],Ct.prototype,"customStylesheet",void 0);const Et=b`
81
71
  .ft-no-text-select {
82
72
  -webkit-touch-callout: none;
83
73
  -webkit-user-select: none;
@@ -86,7 +76,7 @@ var ct,dt;class ft extends R{constructor(){super(...arguments),this.renderOption
86
76
  -ms-user-select: none;
87
77
  user-select: none;
88
78
  }
89
- `;x`
79
+ `;b`
90
80
  .ft-word-wrap {
91
81
  white-space: normal;
92
82
  word-wrap: break-word;
@@ -98,7 +88,7 @@ var ct,dt;class ft extends R{constructor(){super(...arguments),this.renderOption
98
88
  -webkit-hyphens: auto;
99
89
  hyphens: auto
100
90
  }
101
- `;const wt=x`
91
+ `;const Nt=b`
102
92
  .ft-safari-ellipsis-fix {
103
93
  margin-right: 0;
104
94
 
@@ -109,125 +99,125 @@ var ct,dt;class ft extends R{constructor(){super(...arguments),this.renderOption
109
99
  display: inline-block;
110
100
  width: 0;
111
101
  }
112
- `;var $t,Ot,St;const kt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(St=null===(Ot=null===($t=window.safari)||void 0===$t?void 0:$t.pushNotification)||void 0===Ot?void 0:Ot.toString())&&void 0!==St?St:""),Ct=Symbol.for(""),Et=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void 0:t._$litStatic$},Nt=t=>({_$litStatic$:t,r:Ct}),Rt=new Map,Mt=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],a=[];let l,h=0,p=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(s=i[h],n=Et(s));)l+=n+e[++h],p=!0;a.push(s),r.push(l),h++}if(h===o&&r.push(e[o]),p){const t=r.join("$$lit$$");void 0===(e=Rt.get(t))&&(r.raw=r,Rt.set(t,e=r)),i=a}return t(e,...i)})(J);
102
+ `;var Rt,Mt,Ut;const jt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ut=null===(Mt=null===(Rt=window.safari)||void 0===Rt?void 0:Rt.pushNotification)||void 0===Mt?void 0:Mt.toString())&&void 0!==Ut?Ut:""),zt=Symbol.for(""),Ft=t=>{if((null==t?void 0:t.r)===zt)return null==t?void 0:t._$litStatic$},Bt=t=>({_$litStatic$:t,r:zt}),At=new Map,Tt=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],a=[];let l,h=0,p=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(s=i[h],n=Ft(s));)l+=n+e[++h],p=!0;h!==o&&a.push(s),r.push(l),h++}if(h===o&&r.push(e[o]),p){const t=r.join("$$lit$$");void 0===(e=At.get(t))&&(r.raw=r,At.set(t,e=r)),i=a}return t(e,...i)})(X);
113
103
  /**
114
104
  * @license
115
105
  * Copyright 2020 Google LLC
116
106
  * SPDX-License-Identifier: BSD-3-Clause
117
- */var Ut;!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"}(Ut||(Ut={}));const jt=yt.extend("--ft-typography-font-family",vt.titleFont),zt=yt.extend("--ft-typography-font-family",vt.contentFont),Ft={fontFamily:zt,fontSize:yt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:yt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:yt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:yt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:yt.create("--ft-typography-text-transform","UNKNOWN","inherit")},Bt=yt.extend("--ft-typography-title-font-family",jt),At=yt.extend("--ft-typography-title-font-size",Ft.fontSize,"20px"),Tt=yt.extend("--ft-typography-title-font-weight",Ft.fontWeight,"normal"),Lt=yt.extend("--ft-typography-title-letter-spacing",Ft.letterSpacing,"0.15px"),It=yt.extend("--ft-typography-title-line-height",Ft.lineHeight,"1.2"),Pt=yt.extend("--ft-typography-title-text-transform",Ft.textTransform,"inherit"),Dt=yt.extend("--ft-typography-title-dense-font-family",jt),_t=yt.extend("--ft-typography-title-dense-font-size",Ft.fontSize,"14px"),Wt=yt.extend("--ft-typography-title-dense-font-weight",Ft.fontWeight,"normal"),Zt=yt.extend("--ft-typography-title-dense-letter-spacing",Ft.letterSpacing,"0.105px"),Ht=yt.extend("--ft-typography-title-dense-line-height",Ft.lineHeight,"1.7"),Kt=yt.extend("--ft-typography-title-dense-text-transform",Ft.textTransform,"inherit"),Vt=yt.extend("--ft-typography-subtitle1-font-family",zt),Jt=yt.extend("--ft-typography-subtitle1-font-size",Ft.fontSize,"16px"),qt=yt.extend("--ft-typography-subtitle1-font-weight",Ft.fontWeight,"600"),Xt=yt.extend("--ft-typography-subtitle1-letter-spacing",Ft.letterSpacing,"0.144px"),Yt=yt.extend("--ft-typography-subtitle1-line-height",Ft.lineHeight,"1.5"),Gt=yt.extend("--ft-typography-subtitle1-text-transform",Ft.textTransform,"inherit"),Qt=yt.extend("--ft-typography-subtitle2-font-family",zt),te=yt.extend("--ft-typography-subtitle2-font-size",Ft.fontSize,"14px"),ee=yt.extend("--ft-typography-subtitle2-font-weight",Ft.fontWeight,"normal"),ie=yt.extend("--ft-typography-subtitle2-letter-spacing",Ft.letterSpacing,"0.098px"),oe=yt.extend("--ft-typography-subtitle2-line-height",Ft.lineHeight,"1.7"),ne=yt.extend("--ft-typography-subtitle2-text-transform",Ft.textTransform,"inherit"),se=yt.extend("--ft-typography-body1-font-family",zt),re=yt.extend("--ft-typography-body1-font-size",Ft.fontSize,"16px"),ae=yt.extend("--ft-typography-body1-font-weight",Ft.fontWeight,"normal"),le=yt.extend("--ft-typography-body1-letter-spacing",Ft.letterSpacing,"0.496px"),he=yt.extend("--ft-typography-body1-line-height",Ft.lineHeight,"1.5"),pe=yt.extend("--ft-typography-body1-text-transform",Ft.textTransform,"inherit"),ce=yt.extend("--ft-typography-body2-font-family",zt),de=yt.extend("--ft-typography-body2-font-size",Ft.fontSize,"14px"),fe=yt.extend("--ft-typography-body2-font-weight",Ft.fontWeight,"normal"),ue=yt.extend("--ft-typography-body2-letter-spacing",Ft.letterSpacing,"0.252px"),ye=yt.extend("--ft-typography-body2-line-height",Ft.lineHeight,"1.4"),ge=yt.extend("--ft-typography-body2-text-transform",Ft.textTransform,"inherit"),ve=yt.extend("--ft-typography-caption-font-family",zt),xe=yt.extend("--ft-typography-caption-font-size",Ft.fontSize,"12px"),be=yt.extend("--ft-typography-caption-font-weight",Ft.fontWeight,"normal"),me=yt.extend("--ft-typography-caption-letter-spacing",Ft.letterSpacing,"0.396px"),we=yt.extend("--ft-typography-caption-line-height",Ft.lineHeight,"1.33"),$e=yt.extend("--ft-typography-caption-text-transform",Ft.textTransform,"inherit"),Oe=yt.extend("--ft-typography-breadcrumb-font-family",zt),Se=yt.extend("--ft-typography-breadcrumb-font-size",Ft.fontSize,"10px"),ke=yt.extend("--ft-typography-breadcrumb-font-weight",Ft.fontWeight,"normal"),Ce=yt.extend("--ft-typography-breadcrumb-letter-spacing",Ft.letterSpacing,"0.33px"),Ee=yt.extend("--ft-typography-breadcrumb-line-height",Ft.lineHeight,"1.6"),Ne=yt.extend("--ft-typography-breadcrumb-text-transform",Ft.textTransform,"inherit"),Re=yt.extend("--ft-typography-overline-font-family",zt),Me=yt.extend("--ft-typography-overline-font-size",Ft.fontSize,"10px"),Ue=yt.extend("--ft-typography-overline-font-weight",Ft.fontWeight,"normal"),je=yt.extend("--ft-typography-overline-letter-spacing",Ft.letterSpacing,"1.5px"),ze=yt.extend("--ft-typography-overline-line-height",Ft.lineHeight,"1.6"),Fe=yt.extend("--ft-typography-overline-text-transform",Ft.textTransform,"uppercase"),Be={fontFamily:yt.extend("--ft-typography-button-font-family",zt),fontSize:yt.extend("--ft-typography-button-font-size",Ft.fontSize,"14px"),fontWeight:yt.extend("--ft-typography-button-font-weight",Ft.fontWeight,"600"),letterSpacing:yt.extend("--ft-typography-button-letter-spacing",Ft.letterSpacing,"1.246px"),lineHeight:yt.extend("--ft-typography-button-line-height",Ft.lineHeight,"1.15"),textTransform:yt.extend("--ft-typography-button-text-transform",Ft.textTransform,"uppercase")},Ae=x`
107
+ */var Lt;!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 Pt=gt.extend("--ft-typography-font-family",xt.titleFont),It=gt.extend("--ft-typography-font-family",xt.contentFont),Dt={fontFamily:It,fontSize:gt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:gt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:gt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:gt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:gt.create("--ft-typography-text-transform","UNKNOWN","inherit")},_t=gt.extend("--ft-typography-title-font-family",Pt),Wt=gt.extend("--ft-typography-title-font-size",Dt.fontSize,"20px"),Zt=gt.extend("--ft-typography-title-font-weight",Dt.fontWeight,"normal"),Ht=gt.extend("--ft-typography-title-letter-spacing",Dt.letterSpacing,"0.15px"),Kt=gt.extend("--ft-typography-title-line-height",Dt.lineHeight,"1.2"),Vt=gt.extend("--ft-typography-title-text-transform",Dt.textTransform,"inherit"),Jt=gt.extend("--ft-typography-title-dense-font-family",Pt),qt=gt.extend("--ft-typography-title-dense-font-size",Dt.fontSize,"14px"),Xt=gt.extend("--ft-typography-title-dense-font-weight",Dt.fontWeight,"normal"),Yt=gt.extend("--ft-typography-title-dense-letter-spacing",Dt.letterSpacing,"0.105px"),Gt=gt.extend("--ft-typography-title-dense-line-height",Dt.lineHeight,"1.7"),Qt=gt.extend("--ft-typography-title-dense-text-transform",Dt.textTransform,"inherit"),te=gt.extend("--ft-typography-subtitle1-font-family",It),ee=gt.extend("--ft-typography-subtitle1-font-size",Dt.fontSize,"16px"),ie=gt.extend("--ft-typography-subtitle1-font-weight",Dt.fontWeight,"600"),oe=gt.extend("--ft-typography-subtitle1-letter-spacing",Dt.letterSpacing,"0.144px"),ne=gt.extend("--ft-typography-subtitle1-line-height",Dt.lineHeight,"1.5"),se=gt.extend("--ft-typography-subtitle1-text-transform",Dt.textTransform,"inherit"),re=gt.extend("--ft-typography-subtitle2-font-family",It),ae=gt.extend("--ft-typography-subtitle2-font-size",Dt.fontSize,"14px"),le=gt.extend("--ft-typography-subtitle2-font-weight",Dt.fontWeight,"normal"),he=gt.extend("--ft-typography-subtitle2-letter-spacing",Dt.letterSpacing,"0.098px"),pe=gt.extend("--ft-typography-subtitle2-line-height",Dt.lineHeight,"1.7"),ce=gt.extend("--ft-typography-subtitle2-text-transform",Dt.textTransform,"inherit"),de=gt.extend("--ft-typography-body1-font-family",It),fe=gt.extend("--ft-typography-body1-font-size",Dt.fontSize,"16px"),ue=gt.extend("--ft-typography-body1-font-weight",Dt.fontWeight,"normal"),ye=gt.extend("--ft-typography-body1-letter-spacing",Dt.letterSpacing,"0.496px"),ve=gt.extend("--ft-typography-body1-line-height",Dt.lineHeight,"1.5"),ge=gt.extend("--ft-typography-body1-text-transform",Dt.textTransform,"inherit"),be=gt.extend("--ft-typography-body2-font-family",It),xe=gt.extend("--ft-typography-body2-font-size",Dt.fontSize,"14px"),me=gt.extend("--ft-typography-body2-font-weight",Dt.fontWeight,"normal"),we=gt.extend("--ft-typography-body2-letter-spacing",Dt.letterSpacing,"0.252px"),$e=gt.extend("--ft-typography-body2-line-height",Dt.lineHeight,"1.4"),Oe=gt.extend("--ft-typography-body2-text-transform",Dt.textTransform,"inherit"),Se=gt.extend("--ft-typography-caption-font-family",It),ke=gt.extend("--ft-typography-caption-font-size",Dt.fontSize,"12px"),Ce=gt.extend("--ft-typography-caption-font-weight",Dt.fontWeight,"normal"),Ee=gt.extend("--ft-typography-caption-letter-spacing",Dt.letterSpacing,"0.396px"),Ne=gt.extend("--ft-typography-caption-line-height",Dt.lineHeight,"1.33"),Re=gt.extend("--ft-typography-caption-text-transform",Dt.textTransform,"inherit"),Me=gt.extend("--ft-typography-breadcrumb-font-family",It),Ue=gt.extend("--ft-typography-breadcrumb-font-size",Dt.fontSize,"10px"),je=gt.extend("--ft-typography-breadcrumb-font-weight",Dt.fontWeight,"normal"),ze=gt.extend("--ft-typography-breadcrumb-letter-spacing",Dt.letterSpacing,"0.33px"),Fe=gt.extend("--ft-typography-breadcrumb-line-height",Dt.lineHeight,"1.6"),Be=gt.extend("--ft-typography-breadcrumb-text-transform",Dt.textTransform,"inherit"),Ae=gt.extend("--ft-typography-overline-font-family",It),Te=gt.extend("--ft-typography-overline-font-size",Dt.fontSize,"10px"),Le=gt.extend("--ft-typography-overline-font-weight",Dt.fontWeight,"normal"),Pe=gt.extend("--ft-typography-overline-letter-spacing",Dt.letterSpacing,"1.5px"),Ie=gt.extend("--ft-typography-overline-line-height",Dt.lineHeight,"1.6"),De=gt.extend("--ft-typography-overline-text-transform",Dt.textTransform,"uppercase"),_e={fontFamily:gt.extend("--ft-typography-button-font-family",It),fontSize:gt.extend("--ft-typography-button-font-size",Dt.fontSize,"14px"),fontWeight:gt.extend("--ft-typography-button-font-weight",Dt.fontWeight,"600"),letterSpacing:gt.extend("--ft-typography-button-letter-spacing",Dt.letterSpacing,"1.246px"),lineHeight:gt.extend("--ft-typography-button-line-height",Dt.lineHeight,"1.15"),textTransform:gt.extend("--ft-typography-button-text-transform",Dt.textTransform,"uppercase")},We=b`
118
108
  .ft-typography--title {
119
- font-family: ${Bt};
120
- font-size: ${At};
121
- font-weight: ${Tt};
122
- letter-spacing: ${Lt};
123
- line-height: ${It};
124
- text-transform: ${Pt};
125
- }
126
- `,Te=x`
109
+ font-family: ${_t};
110
+ font-size: ${Wt};
111
+ font-weight: ${Zt};
112
+ letter-spacing: ${Ht};
113
+ line-height: ${Kt};
114
+ text-transform: ${Vt};
115
+ }
116
+ `,Ze=b`
127
117
  .ft-typography--title-dense {
128
- font-family: ${Dt};
129
- font-size: ${_t};
130
- font-weight: ${Wt};
131
- letter-spacing: ${Zt};
132
- line-height: ${Ht};
133
- text-transform: ${Kt};
134
- }
135
- `,Le=x`
118
+ font-family: ${Jt};
119
+ font-size: ${qt};
120
+ font-weight: ${Xt};
121
+ letter-spacing: ${Yt};
122
+ line-height: ${Gt};
123
+ text-transform: ${Qt};
124
+ }
125
+ `,He=b`
136
126
  .ft-typography--subtitle1 {
137
- font-family: ${Vt};
138
- font-size: ${Jt};
139
- font-weight: ${qt};
140
- letter-spacing: ${Xt};
141
- line-height: ${Yt};
142
- text-transform: ${Gt};
143
- }
144
- `,Ie=x`
127
+ font-family: ${te};
128
+ font-size: ${ee};
129
+ font-weight: ${ie};
130
+ letter-spacing: ${oe};
131
+ line-height: ${ne};
132
+ text-transform: ${se};
133
+ }
134
+ `,Ke=b`
145
135
  .ft-typography--subtitle2 {
146
- font-family: ${Qt};
147
- font-size: ${te};
148
- font-weight: ${ee};
149
- letter-spacing: ${ie};
150
- line-height: ${oe};
151
- text-transform: ${ne};
136
+ font-family: ${re};
137
+ font-size: ${ae};
138
+ font-weight: ${le};
139
+ letter-spacing: ${he};
140
+ line-height: ${pe};
141
+ text-transform: ${ce};
152
142
  }
153
143
 
154
- `,Pe=x`
144
+ `,Ve=b`
155
145
  .ft-typography--body1 {
156
- font-family: ${se};
157
- font-size: ${re};
158
- font-weight: ${ae};
159
- letter-spacing: ${le};
160
- line-height: ${he};
161
- text-transform: ${pe};
162
- }
163
- `,De=x`
164
- .ft-typography--body2 {
165
- font-family: ${ce};
166
- font-size: ${de};
167
- font-weight: ${fe};
168
- letter-spacing: ${ue};
169
- line-height: ${ye};
146
+ font-family: ${de};
147
+ font-size: ${fe};
148
+ font-weight: ${ue};
149
+ letter-spacing: ${ye};
150
+ line-height: ${ve};
170
151
  text-transform: ${ge};
171
152
  }
172
- `,_e=x`
173
- .ft-typography--caption {
174
- font-family: ${ve};
153
+ `,Je=b`
154
+ .ft-typography--body2 {
155
+ font-family: ${be};
175
156
  font-size: ${xe};
176
- font-weight: ${be};
177
- letter-spacing: ${me};
178
- line-height: ${we};
179
- text-transform: ${$e};
157
+ font-weight: ${me};
158
+ letter-spacing: ${we};
159
+ line-height: ${$e};
160
+ text-transform: ${Oe};
180
161
  }
181
- `,We=x`
162
+ `,qe=b`
163
+ .ft-typography--caption {
164
+ font-family: ${Se};
165
+ font-size: ${ke};
166
+ font-weight: ${Ce};
167
+ letter-spacing: ${Ee};
168
+ line-height: ${Ne};
169
+ text-transform: ${Re};
170
+ }
171
+ `,Xe=b`
182
172
  .ft-typography--breadcrumb {
183
- font-family: ${Oe};
184
- font-size: ${Se};
185
- font-weight: ${ke};
186
- letter-spacing: ${Ce};
187
- line-height: ${Ee};
188
- text-transform: ${Ne};
189
- }
190
- `,Ze=x`
173
+ font-family: ${Me};
174
+ font-size: ${Ue};
175
+ font-weight: ${je};
176
+ letter-spacing: ${ze};
177
+ line-height: ${Fe};
178
+ text-transform: ${Be};
179
+ }
180
+ `,Ye=b`
191
181
  .ft-typography--overline {
192
- font-family: ${Re};
193
- font-size: ${Me};
194
- font-weight: ${Ue};
195
- letter-spacing: ${je};
196
- line-height: ${ze};
197
- text-transform: ${Fe};
198
- }
199
- `,He=x`
182
+ font-family: ${Ae};
183
+ font-size: ${Te};
184
+ font-weight: ${Le};
185
+ letter-spacing: ${Pe};
186
+ line-height: ${Ie};
187
+ text-transform: ${De};
188
+ }
189
+ `,Ge=b`
200
190
  .ft-typography--button {
201
- font-family: ${Be.fontFamily};
202
- font-size: ${Be.fontSize};
203
- font-weight: ${Be.fontWeight};
204
- letter-spacing: ${Be.letterSpacing};
205
- line-height: ${Be.lineHeight};
206
- text-transform: ${Be.textTransform};
207
- }
208
- `,Ke=x`
191
+ font-family: ${_e.fontFamily};
192
+ font-size: ${_e.fontSize};
193
+ font-weight: ${_e.fontWeight};
194
+ letter-spacing: ${_e.letterSpacing};
195
+ line-height: ${_e.lineHeight};
196
+ text-transform: ${_e.textTransform};
197
+ }
198
+ `,Qe=b`
209
199
  .ft-typography {
210
200
  vertical-align: inherit;
211
201
  }
212
- `;var Ve=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Je extends bt{constructor(){super(...arguments),this.variant=Ut.body1}render(){return this.element?Mt`
213
- <${Nt(this.element)}
202
+ `;var ti=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class ei extends Ct{constructor(){super(...arguments),this.variant=Lt.body1}render(){return this.element?Tt`
203
+ <${Bt(this.element)}
214
204
  class="ft-typography ft-typography--${this.variant}">
215
205
  <slot></slot>
216
- </${Nt(this.element)}>
217
- `:Mt`
206
+ </${Bt(this.element)}>
207
+ `:Tt`
218
208
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
219
- `}}Je.styles=[Ae,Te,Le,Ie,Pe,De,_e,We,Ze,He,Ke],Ve([o()],Je.prototype,"element",void 0),Ve([o()],Je.prototype,"variant",void 0),c("ft-typography")(Je);
209
+ `}}ei.styles=[We,Ze,He,Ke,Ve,Je,qe,Xe,Ye,Ge,Qe],ti([o()],ei.prototype,"element",void 0),ti([o()],ei.prototype,"variant",void 0),c("ft-typography")(ei);
220
210
  /**
221
211
  * @license
222
212
  * Copyright 2017 Google LLC
223
213
  * SPDX-License-Identifier: BSD-3-Clause
224
214
  */
225
- const qe=1,Xe=2,Ye=t=>(...e)=>({_$litDirective$:t,values:e});class Ge{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)}}
215
+ const ii=1,oi=2,ni=t=>(...e)=>({_$litDirective$:t,values:e});class si{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)}}
226
216
  /**
227
217
  * @license
228
218
  * Copyright 2017 Google LLC
229
219
  * SPDX-License-Identifier: BSD-3-Clause
230
- */class Qe extends Ge{constructor(t){if(super(t),this.it=X,t.type!==Xe)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===X||null==t)return this._t=void 0,this.it=t;if(t===q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Qe.directiveName="unsafeHTML",Qe.resultType=1;const ti=Ye(Qe);var ei,ii;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;"}(ei||(ei={})),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;"}(ii||(ii={})),new Map([...["abw"].map((t=>[t,ii.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,ii.AUDIO])),...["avi"].map((t=>[t,ii.AVI])),...["chm","xhs"].map((t=>[t,ii.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,ii.CODE])),...["csv"].map((t=>[t,ii.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ii.DITA])),...["epub"].map((t=>[t,ii.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ii.EXCEL])),...["flac"].map((t=>[t,ii.FLAC])),...["gif"].map((t=>[t,ii.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ii.GZIP])),...["html","htm","xhtml"].map((t=>[t,ii.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,ii.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ii.JPEG])),...["json"].map((t=>[t,ii.JSON])),...["m4a","m4p"].map((t=>[t,ii.M4A])),...["mov","qt"].map((t=>[t,ii.MOV])),...["mp3"].map((t=>[t,ii.MP3])),...["mp4","m4v"].map((t=>[t,ii.MP4])),...["ogg","oga"].map((t=>[t,ii.OGG])),...["pdf","ps"].map((t=>[t,ii.PDF])),...["png"].map((t=>[t,ii.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ii.POWERPOINT])),...["rar"].map((t=>[t,ii.RAR])),...["stp"].map((t=>[t,ii.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ii.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,ii.VIDEO])),...["wav"].map((t=>[t,ii.WAV])),...["wma"].map((t=>[t,ii.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ii.WORD])),...["xml","xsl","rdf"].map((t=>[t,ii.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ii.YAML])),...["zip"].map((t=>[t,ii.ZIP]))]);const oi={size:yt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:yt.extend("--ft-icon-fluid-topics-font-family",yt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:yt.extend("--ft-icon-file-format-font-family",yt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:yt.extend("--ft-icon-material-font-family",yt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:yt.create("--ft-icon-vertical-align","UNKNOWN","unset")},ni=x`
220
+ */class ri extends si{constructor(t){if(super(t),this.et=G,t.type!==oi)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===G||null==t)return this.ft=void 0,this.et=t;if(t===Y)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}ri.directiveName="unsafeHTML",ri.resultType=1;const ai=ni(ri);var li,hi;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;"}(li||(li={})),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;"}(hi||(hi={})),new Map([...["abw"].map((t=>[t,hi.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,hi.AUDIO])),...["avi"].map((t=>[t,hi.AVI])),...["chm","xhs"].map((t=>[t,hi.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,hi.CODE])),...["csv"].map((t=>[t,hi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,hi.DITA])),...["epub"].map((t=>[t,hi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,hi.EXCEL])),...["flac"].map((t=>[t,hi.FLAC])),...["gif"].map((t=>[t,hi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,hi.GZIP])),...["html","htm","xhtml"].map((t=>[t,hi.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,hi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,hi.JPEG])),...["json"].map((t=>[t,hi.JSON])),...["m4a","m4p"].map((t=>[t,hi.M4A])),...["mov","qt"].map((t=>[t,hi.MOV])),...["mp3"].map((t=>[t,hi.MP3])),...["mp4","m4v"].map((t=>[t,hi.MP4])),...["ogg","oga"].map((t=>[t,hi.OGG])),...["pdf","ps"].map((t=>[t,hi.PDF])),...["png"].map((t=>[t,hi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,hi.POWERPOINT])),...["rar"].map((t=>[t,hi.RAR])),...["stp"].map((t=>[t,hi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,hi.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,hi.VIDEO])),...["wav"].map((t=>[t,hi.WAV])),...["wma"].map((t=>[t,hi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,hi.WORD])),...["xml","xsl","rdf"].map((t=>[t,hi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,hi.YAML])),...["zip"].map((t=>[t,hi.ZIP]))]);const pi={size:gt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:gt.extend("--ft-icon-fluid-topics-font-family",gt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:gt.extend("--ft-icon-file-format-font-family",gt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:gt.extend("--ft-icon-material-font-family",gt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:gt.create("--ft-icon-vertical-align","UNKNOWN","unset")},ci=b`
231
221
  :host, i.ft-icon {
232
222
  display: inline-flex;
233
223
  align-items: center;
@@ -236,14 +226,14 @@ const qe=1,Xe=2,Ye=t=>(...e)=>({_$litDirective$:t,values:e});class Ge{constructo
236
226
  }
237
227
 
238
228
  :host {
239
- width: ${oi.size};
240
- height: ${oi.size};
229
+ width: ${pi.size};
230
+ height: ${pi.size};
241
231
  }
242
232
 
243
233
  i.ft-icon {
244
234
  width: 100%;
245
235
  height: 100%;
246
- font-size: ${oi.size};
236
+ font-size: ${pi.size};
247
237
  line-height: 1;
248
238
  font-weight: normal;
249
239
  text-transform: none;
@@ -254,38 +244,38 @@ const qe=1,Xe=2,Ye=t=>(...e)=>({_$litDirective$:t,values:e});class Ge{constructo
254
244
  text-rendering: auto;
255
245
  -webkit-font-smoothing: antialiased;
256
246
  -moz-osx-font-smoothing: grayscale;
257
- vertical-align: ${oi.verticalAlign};
247
+ vertical-align: ${pi.verticalAlign};
258
248
  }
259
249
 
260
250
  i.ft-icon.ft-icon--fluid-topics {
261
- font-family: ${oi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
251
+ font-family: ${pi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
262
252
 
263
253
  /* Ugly fix because font is broken */
264
- font-size: calc(0.9 * ${oi.size});
254
+ font-size: calc(0.75 * ${pi.size});
265
255
  position: relative;
266
- top: -5%;
256
+ top: -4%;
267
257
  justify-content: center;
268
258
  }
269
259
 
270
260
  .ft-icon--file-format {
271
- font-family: ${oi.fileFormatFontFamily}, ft-mime, sans-serif;
261
+ font-family: ${pi.fileFormatFontFamily}, ft-mime, sans-serif;
272
262
  }
273
263
 
274
264
  .ft-icon--material {
275
- font-family: ${oi.materialFontFamily}, "Material Icons", sans-serif;
265
+ font-family: ${pi.materialFontFamily}, "Material Icons", sans-serif;
276
266
  }
277
- `;var si;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(si||(si={}));var ri=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class ai extends bt{constructor(){super(...arguments),this.resolvedIcon=X}render(){var t;const e=null!==(t=this.variant)&&void 0!==t?t:si.fluid_topics,i="material"!==e||this.value;return J`
278
- <i class="ft-icon ${"ft-icon--"+e}">
279
- ${ti(this.resolvedIcon)}
280
- <slot ?hidden=${i}></slot>
267
+ `;var di;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(di||(di={}));var fi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class ui extends Ct{constructor(){super(...arguments),this.resolvedIcon=G}render(){const t=this.variant&&Object.values(di).includes(this.variant)?this.variant:di.fluid_topics,e=t!==di.material||!!this.value;return X`
268
+ <i class="ft-icon ${"ft-icon--"+t}">
269
+ ${ai(this.resolvedIcon)}
270
+ <slot ?hidden=${e}></slot>
281
271
  </i>
282
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case si.file_format:this.resolvedIcon=null!==(t=ii[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case si.material:this.resolvedIcon=this.value||X;break;default:this.resolvedIcon=null!==(e=ei[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ai.elementDefinitions={},ai.styles=ni,ri([o()],ai.prototype,"variant",void 0),ri([o()],ai.prototype,"value",void 0),ri([n()],ai.prototype,"resolvedIcon",void 0),ri([r("slot")],ai.prototype,"slottedContent",void 0),c("ft-icon")(ai);
272
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let i=this.value||this.textContent;switch(this.variant){case di.file_format:this.resolvedIcon=null!==(t=hi[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case di.material:this.resolvedIcon=this.value||G;break;default:this.resolvedIcon=null!==(e=li[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ui.elementDefinitions={},ui.styles=ci,fi([o()],ui.prototype,"variant",void 0),fi([o()],ui.prototype,"value",void 0),fi([n()],ui.prototype,"resolvedIcon",void 0),fi([r("slot")],ui.prototype,"slottedContent",void 0),c("ft-icon")(ui);
283
273
  /**
284
274
  * @license
285
275
  * Copyright 2018 Google LLC
286
276
  * SPDX-License-Identifier: BSD-3-Clause
287
277
  */
288
- const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const n=t.element.classList;this.nt.forEach((t=>{t in e||(n.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.nt.add(t)):(n.remove(t),this.nt.delete(t)))}return q}}),hi=yt.extend("--ft-ripple-color",vt.colorContent),pi={color:hi,backgroundColor:yt.extend("--ft-ripple-background-color",hi),opacityContentOnSurfacePressed:yt.external(vt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:yt.external(vt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:yt.external(vt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:yt.external(vt.opacityContentOnSurfaceSelected,"Design system")},ci=yt.extend("--ft-ripple-color",vt.colorPrimary),di=ci,fi=yt.extend("--ft-ripple-background-color",ci),ui=yt.extend("--ft-ripple-color",vt.colorSecondary),yi=ui,gi=yt.extend("--ft-ripple-background-color",ui),vi=x`
278
+ const yi=ni(class extends si{constructor(t){var e;if(super(t),t.type!==ii||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.nt)||void 0===i?void 0:i.has(t))&&this.it.add(t);return this.render(e)}const n=t.element.classList;this.it.forEach((t=>{t in e||(n.remove(t),this.it.delete(t))}));for(const t in e){const i=!!e[t];i===this.it.has(t)||(null===(o=this.nt)||void 0===o?void 0:o.has(t))||(i?(n.add(t),this.it.add(t)):(n.remove(t),this.it.delete(t)))}return Y}}),vi=gt.extend("--ft-ripple-color",xt.colorContent),gi={color:vi,backgroundColor:gt.extend("--ft-ripple-background-color",vi),opacityContentOnSurfacePressed:gt.external(xt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:gt.external(xt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:gt.external(xt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:gt.external(xt.opacityContentOnSurfaceSelected,"Design system")},bi=gt.extend("--ft-ripple-color",xt.colorPrimary),xi=bi,mi=gt.extend("--ft-ripple-background-color",bi),wi=gt.extend("--ft-ripple-color",xt.colorSecondary),$i=wi,Oi=gt.extend("--ft-ripple-background-color",wi),Si=b`
289
279
  :host {
290
280
  display: contents;
291
281
  }
@@ -307,27 +297,27 @@ const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"clas
307
297
  }
308
298
 
309
299
  .ft-ripple .ft-ripple--background {
310
- background-color: ${pi.backgroundColor};
300
+ background-color: ${gi.backgroundColor};
311
301
  }
312
302
 
313
303
  .ft-ripple .ft-ripple--effect {
314
- background-color: ${pi.color};
304
+ background-color: ${gi.color};
315
305
  }
316
306
 
317
307
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
318
- background-color: ${gi};
308
+ background-color: ${Oi};
319
309
  }
320
310
 
321
311
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
322
- background-color: ${yi};
312
+ background-color: ${$i};
323
313
  }
324
314
 
325
315
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
326
- background-color: ${fi};
316
+ background-color: ${mi};
327
317
  }
328
318
 
329
319
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
330
- background-color: ${di};
320
+ background-color: ${xi};
331
321
  }
332
322
 
333
323
  .ft-ripple .ft-ripple--background {
@@ -359,22 +349,22 @@ const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"clas
359
349
  }
360
350
 
361
351
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
362
- opacity: ${pi.opacityContentOnSurfaceHover};
352
+ opacity: ${gi.opacityContentOnSurfaceHover};
363
353
  }
364
354
 
365
355
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
366
- opacity: ${pi.opacityContentOnSurfaceSelected};
356
+ opacity: ${gi.opacityContentOnSurfaceSelected};
367
357
  }
368
358
 
369
359
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
370
- opacity: ${pi.opacityContentOnSurfaceFocused};
360
+ opacity: ${gi.opacityContentOnSurfaceFocused};
371
361
  }
372
362
 
373
363
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
374
- opacity: ${pi.opacityContentOnSurfacePressed};
364
+ opacity: ${gi.opacityContentOnSurfacePressed};
375
365
  transform: translate(-50%, -50%) scale(1);
376
366
  }
377
- `;var xi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class bi extends bt{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 e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,i;let{x:o,y:n}=this.getCoordinates(t),s=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-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.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 J`
367
+ `;var ki=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Ci extends Ct{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 e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,i;let{x:o,y:n}=this.getCoordinates(t),s=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-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.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 X`
378
368
  <style>
379
369
  .ft-ripple .ft-ripple--effect,
380
370
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -387,11 +377,11 @@ const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"clas
387
377
  top: ${this.originY}px;
388
378
  }
389
379
  </style>
390
- <div class="${li(t)}">
380
+ <div class="${yi(t)}">
391
381
  <div class="ft-ripple--background"></div>
392
382
  <div class="ft-ripple--effect"></div>
393
383
  </div>
394
- `}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 e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),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(){super.connectedCallback(),this.setupDebouncer.run((()=>{var t;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,this.target=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()}}bi.elementDefinitions={},bi.styles=vi,xi([o({type:Boolean})],bi.prototype,"primary",void 0),xi([o({type:Boolean})],bi.prototype,"secondary",void 0),xi([o({type:Boolean})],bi.prototype,"unbounded",void 0),xi([o({type:Boolean})],bi.prototype,"activated",void 0),xi([o({type:Boolean})],bi.prototype,"selected",void 0),xi([o({type:Boolean})],bi.prototype,"disabled",void 0),xi([n()],bi.prototype,"hovered",void 0),xi([n()],bi.prototype,"focused",void 0),xi([n()],bi.prototype,"pressed",void 0),xi([n()],bi.prototype,"rippling",void 0),xi([n()],bi.prototype,"rippleSize",void 0),xi([n()],bi.prototype,"originX",void 0),xi([n()],bi.prototype,"originY",void 0),xi([r(".ft-ripple")],bi.prototype,"ripple",void 0),xi([r(".ft-ripple--effect")],bi.prototype,"rippleEffect",void 0),c("ft-ripple")(bi);const mi=yt.create("--ft-tooltip-distance","SIZE","4px"),wi=yt.create("--ft-tooltip-color","COLOR","#FFFFFF"),$i=yt.create("--ft-tooltip-background-color","COLOR","#666666"),Oi=yt.create("--ft-tooltip-z-index","NUMBER","1"),Si=yt.external(vt.borderRadiusS,"Design system"),ki=yt.create("--ft-tooltip-max-width","SIZE","150px"),Ci=x`
384
+ `}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 e,i;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(i=this.target)||void 0===i||i.setAttribute("data-is-ft-ripple-target","true")),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(){super.connectedCallback(),this.setupDebouncer.run((()=>{var t;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,this.target=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()}}Ci.elementDefinitions={},Ci.styles=Si,ki([o({type:Boolean})],Ci.prototype,"primary",void 0),ki([o({type:Boolean})],Ci.prototype,"secondary",void 0),ki([o({type:Boolean})],Ci.prototype,"unbounded",void 0),ki([o({type:Boolean})],Ci.prototype,"activated",void 0),ki([o({type:Boolean})],Ci.prototype,"selected",void 0),ki([o({type:Boolean})],Ci.prototype,"disabled",void 0),ki([n()],Ci.prototype,"hovered",void 0),ki([n()],Ci.prototype,"focused",void 0),ki([n()],Ci.prototype,"pressed",void 0),ki([n()],Ci.prototype,"rippling",void 0),ki([n()],Ci.prototype,"rippleSize",void 0),ki([n()],Ci.prototype,"originX",void 0),ki([n()],Ci.prototype,"originY",void 0),ki([r(".ft-ripple")],Ci.prototype,"ripple",void 0),ki([r(".ft-ripple--effect")],Ci.prototype,"rippleEffect",void 0),c("ft-ripple")(Ci);const Ei=gt.create("--ft-tooltip-distance","SIZE","4px"),Ni=gt.create("--ft-tooltip-color","COLOR","#FFFFFF"),Ri=gt.create("--ft-tooltip-background-color","COLOR","#666666"),Mi=gt.create("--ft-tooltip-z-index","NUMBER","1"),Ui=gt.external(xt.borderRadiusS,"Design system"),ji=gt.create("--ft-tooltip-max-width","SIZE","150px"),zi=b`
395
385
  .ft-tooltip--container {
396
386
  display: block;
397
387
  position: relative;
@@ -407,23 +397,23 @@ const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"clas
407
397
  box-sizing: border-box;
408
398
  overflow: hidden;
409
399
  width: max-content;
410
- max-width: ${ki};
400
+ max-width: ${ji};
411
401
  text-align: center;
412
- padding: ${mi};
413
- z-index: ${Oi};
402
+ padding: ${Ei};
403
+ z-index: ${Mi};
414
404
  }
415
405
 
416
406
  .ft-tooltip--content {
417
407
  padding: 4px 8px;
418
- border-radius: ${Si};
419
- background-color: ${$i};
420
- color: ${wi};
408
+ border-radius: ${Ui};
409
+ background-color: ${Ri};
410
+ color: ${Ni};
421
411
  top: -500px;
422
412
  left: -500px;
423
413
  position: relative;
424
414
  word-break: break-word;
425
415
  }
426
- `;var Ei=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Ni extends bt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return J`
416
+ `;var Fi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Bi extends Ct{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return X`
427
417
  <div part="container"
428
418
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
429
419
  @mouseenter=${this.onHover}
@@ -441,7 +431,7 @@ const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"clas
441
431
  </div>
442
432
  </div>
443
433
  </div>
444
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2;let n=0,s=0;switch(this.validPosition){case"top":s=-this.tooltip.clientHeight,n=o;break;case"bottom":s=e.height,n=o;break;case"left":s=i,n=-this.tooltip.clientWidth;break;case"right":s=i,n=e.width}e.left+n+this.tooltip.clientWidth>window.innerWidth&&(n=window.innerWidth-this.tooltip.clientWidth-e.left),e.left+n<0&&(n=0);const r=this.tooltip.style;r.left=n+"px",r.top=s+"px",r.maxWidth=`max(${e.width}px, ${ki})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}Ni.elementDefinitions={"ft-typography":Je},Ni.styles=Ci,Ei([o()],Ni.prototype,"text",void 0),Ei([o({type:Boolean})],Ni.prototype,"manual",void 0),Ei([o({type:Boolean})],Ni.prototype,"inline",void 0),Ei([o({type:Number})],Ni.prototype,"delay",void 0),Ei([o()],Ni.prototype,"position",void 0),Ei([function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?h({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],Ni.prototype,"slotNodes",void 0),Ei([r(".ft-tooltip--container")],Ni.prototype,"container",void 0),Ei([r("slot")],Ni.prototype,"target",void 0),Ei([r(".ft-tooltip")],Ni.prototype,"tooltip",void 0),Ei([r(".ft-tooltip--content")],Ni.prototype,"tooltipContent",void 0),Ei([n()],Ni.prototype,"visible",void 0),c("ft-tooltip")(Ni);const Ri={color:yt.extend("--ft-loader-color",vt.colorPrimary),size:yt.create("--ft-loader-size","SIZE","80px")},Mi=x`
434
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2;let n=0,s=0;switch(this.validPosition){case"top":s=-this.tooltip.clientHeight,n=o;break;case"bottom":s=e.height,n=o;break;case"left":s=i,n=-this.tooltip.clientWidth;break;case"right":s=i,n=e.width}e.left+n+this.tooltip.clientWidth>window.innerWidth&&(n=window.innerWidth-this.tooltip.clientWidth-e.left),e.left+n<0&&(n=0);const r=this.tooltip.style;r.left=n+"px",r.top=s+"px",r.maxWidth=`max(${e.width}px, ${ji})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}Bi.elementDefinitions={"ft-typography":ei},Bi.styles=zi,Fi([o()],Bi.prototype,"text",void 0),Fi([o({type:Boolean})],Bi.prototype,"manual",void 0),Fi([o({type:Boolean})],Bi.prototype,"inline",void 0),Fi([o({type:Number})],Bi.prototype,"delay",void 0),Fi([o()],Bi.prototype,"position",void 0),Fi([function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?h({slot:n,flatten:e,selector:i}):s({descriptor:t=>({get(){var t,e;const i="slot"+(n?`[name=${n}]`:":not([name])"),s=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==s?void 0:s.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],Bi.prototype,"slotNodes",void 0),Fi([r(".ft-tooltip--container")],Bi.prototype,"container",void 0),Fi([r("slot")],Bi.prototype,"target",void 0),Fi([r(".ft-tooltip")],Bi.prototype,"tooltip",void 0),Fi([r(".ft-tooltip--content")],Bi.prototype,"tooltipContent",void 0),Fi([n()],Bi.prototype,"visible",void 0),c("ft-tooltip")(Bi);const Ai={color:gt.extend("--ft-loader-color",xt.colorPrimary),size:gt.create("--ft-loader-size","SIZE","80px")},Ti=b`
445
435
  :host {
446
436
  line-height: 0;
447
437
  }
@@ -450,8 +440,8 @@ const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"clas
450
440
  display: inline-block;
451
441
  position: relative;
452
442
 
453
- width: ${Ri.size};
454
- height: ${Ri.size};
443
+ width: ${Ai.size};
444
+ height: ${Ai.size};
455
445
  }
456
446
 
457
447
  .ft-loader div {
@@ -460,7 +450,7 @@ const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"clas
460
450
  width: 25%;
461
451
  height: 25%;
462
452
  border-radius: 50%;
463
- background: ${Ri.color};
453
+ background: ${Ai.color};
464
454
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
465
455
  }
466
456
 
@@ -507,17 +497,17 @@ const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"clas
507
497
  transform: translate(0, 0);
508
498
  }
509
499
  100% {
510
- transform: translate(calc(0.35 * ${Ri.size}), 0);
500
+ transform: translate(calc(0.35 * ${Ai.size}), 0);
511
501
  }
512
502
  }
513
- `;class Ui extends bt{render(){return J`
503
+ `;class Li extends Ct{render(){return X`
514
504
  <div class="ft-loader">
515
505
  <div></div>
516
506
  <div></div>
517
507
  <div></div>
518
508
  <div></div>
519
509
  </div>
520
- `}}Ui.styles=Mi,c("ft-loader")(Ui);const ji=yt.extend("--ft-button-color",vt.colorPrimary),zi={backgroundColor:yt.extend("--ft-button-background-color",vt.colorSurface),borderRadius:yt.extend("--ft-button-border-radius",vt.borderRadiusL),color:ji,fontSize:yt.extend("--ft-button-font-size",Be.fontSize),iconSize:yt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:yt.extend("--ft-button-ripple-color",ji),verticalPadding:yt.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:yt.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:yt.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:yt.external(vt.colorOpacityDisabled,"Design system")},Fi=yt.extend("--ft-button-primary-color",yt.extend("--ft-button-color",vt.colorOnPrimary)),Bi={backgroundColor:yt.extend("--ft-button-primary-background-color",yt.extend("--ft-button-background-color",vt.colorPrimary)),color:Fi,rippleColor:yt.extend("--ft-button-primary-ripple-color",Fi)},Ai=yt.extend("--ft-button-dense-border-radius",yt.extend("--ft-button-border-radius",vt.borderRadiusM)),Ti=yt.create("--ft-button-dense-vertical-padding","SIZE","2px"),Li=yt.create("--ft-button-dense-horizontal-padding","SIZE","4px"),Ii=yt.create("--ft-button-dense-icon-padding","SIZE","4px"),Pi=[mt,x`
510
+ `}}Li.styles=Ti,c("ft-loader")(Li);const Pi=gt.extend("--ft-button-color",xt.colorPrimary),Ii={backgroundColor:gt.extend("--ft-button-background-color",xt.colorSurface),borderRadius:gt.extend("--ft-button-border-radius",xt.borderRadiusL),color:Pi,fontSize:gt.extend("--ft-button-font-size",_e.fontSize),iconSize:gt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:gt.extend("--ft-button-ripple-color",Pi),verticalPadding:gt.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:gt.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:gt.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:gt.external(xt.colorOpacityDisabled,"Design system")},Di=gt.extend("--ft-button-primary-color",gt.extend("--ft-button-color",xt.colorOnPrimary)),_i={backgroundColor:gt.extend("--ft-button-primary-background-color",gt.extend("--ft-button-background-color",xt.colorPrimary)),color:Di,rippleColor:gt.extend("--ft-button-primary-ripple-color",Di)},Wi=gt.extend("--ft-button-dense-border-radius",gt.extend("--ft-button-border-radius",xt.borderRadiusM)),Zi=gt.create("--ft-button-dense-vertical-padding","SIZE","2px"),Hi=gt.create("--ft-button-dense-horizontal-padding","SIZE","4px"),Ki=gt.create("--ft-button-dense-icon-padding","SIZE","4px"),Vi=[Et,b`
521
511
  :host {
522
512
  display: inline-block;
523
513
  max-width: 100%;
@@ -528,7 +518,7 @@ const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"clas
528
518
  box-shadow: 0px 0px 0px transparent;
529
519
  border: 0px solid transparent;
530
520
  text-shadow: 0px 0px 0px transparent;
531
- font-size: ${zi.fontSize};
521
+ font-size: ${Ii.fontSize};
532
522
  }
533
523
 
534
524
  button:hover {
@@ -557,32 +547,32 @@ const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"clas
557
547
  border: none;
558
548
  pointer-events: auto;
559
549
 
560
- --ft-button-internal-line-height: calc(${zi.fontSize} + 2px);
561
- --ft-button-internal-color: ${zi.color};
562
- ${gt(oi.size,zi.iconSize)};
563
- ${gt(pi.color,zi.rippleColor)};
564
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${zi.iconSize});
550
+ --ft-button-internal-line-height: calc(${Ii.fontSize} + 2px);
551
+ --ft-button-internal-color: ${Ii.color};
552
+ ${bt(pi.size,Ii.iconSize)};
553
+ ${bt(gi.color,Ii.rippleColor)};
554
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Ii.iconSize});
565
555
 
566
- border-radius: ${zi.borderRadius};
567
- padding: ${zi.verticalPadding} ${zi.horizontalPadding};
568
- background-color: ${zi.backgroundColor};
556
+ border-radius: ${Ii.borderRadius};
557
+ padding: ${Ii.verticalPadding} ${Ii.horizontalPadding};
558
+ background-color: ${Ii.backgroundColor};
569
559
  color: var(--ft-button-internal-color);
570
560
  -webkit-mask-image: radial-gradient(white, black);
571
561
  }
572
562
 
573
563
  .ft-button.ft-button--outlined {
574
564
  border: 1px solid var(--ft-button-internal-color);
575
- padding: calc(${zi.verticalPadding} - 1px) calc(${zi.horizontalPadding} - 1px);
565
+ padding: calc(${Ii.verticalPadding} - 1px) calc(${Ii.horizontalPadding} - 1px);
576
566
  }
577
567
 
578
568
  .ft-button.ft-button--dense {
579
- padding: ${Ti} ${Li};
580
- border-radius: ${Ai};
581
- gap: ${Ii};
569
+ padding: ${Zi} ${Hi};
570
+ border-radius: ${Wi};
571
+ gap: ${Ki};
582
572
  }
583
573
 
584
574
  .ft-button.ft-button--dense.ft-button--outlined {
585
- padding: calc(${Ti} - 1px) calc(${Li} - 1px);
575
+ padding: calc(${Zi} - 1px) calc(${Hi} - 1px);
586
576
  }
587
577
 
588
578
  .ft-button:not([disabled]):hover {
@@ -590,22 +580,22 @@ const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"clas
590
580
  }
591
581
 
592
582
  .ft-button--round {
593
- border-radius: calc(var(--ft-button-internal-content-height) / 2 + ${zi.verticalPadding});
583
+ border-radius: calc(var(--ft-button-internal-content-height) / 2 + ${Ii.verticalPadding});
594
584
  }
595
585
 
596
586
  .ft-button--round.ft-button--dense {
597
- border-radius: calc(var(--ft-button-internal-content-height) / 2 + ${Ti});
587
+ border-radius: calc(var(--ft-button-internal-content-height) / 2 + ${Zi});
598
588
  }
599
589
 
600
590
  .ft-button[disabled] {
601
591
  filter: grayscale(1);
602
- opacity: ${zi.opacityDisabled};
592
+ opacity: ${Ii.opacityDisabled};
603
593
  }
604
594
 
605
595
  .ft-button.ft-button--primary {
606
- background-color: ${Bi.backgroundColor};
607
- --ft-button-internal-color: ${Bi.color};
608
- ${gt(pi.color,Bi.rippleColor)};
596
+ background-color: ${_i.backgroundColor};
597
+ --ft-button-internal-color: ${_i.color};
598
+ ${bt(gi.color,_i.rippleColor)};
609
599
  }
610
600
 
611
601
  .ft-button:focus {
@@ -618,13 +608,13 @@ const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"clas
618
608
  white-space: nowrap;
619
609
  text-overflow: ellipsis;
620
610
  display: block;
621
- margin: 0 ${zi.iconPadding};
622
- ${gt(Be.fontSize,"1em")};
623
- ${gt(Be.lineHeight,"var(--ft-button-internal-content-height)")};
611
+ margin: 0 ${Ii.iconPadding};
612
+ ${bt(_e.fontSize,"1em")};
613
+ ${bt(_e.lineHeight,"var(--ft-button-internal-content-height)")};
624
614
  }
625
615
 
626
616
  .ft-button--dense .ft-button--label {
627
- margin: 0 ${Ii};
617
+ margin: 0 ${Ki};
628
618
  }
629
619
 
630
620
  .ft-button--label[hidden] {
@@ -637,13 +627,13 @@ const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"clas
637
627
  }
638
628
 
639
629
  .ft-button--label[hidden] + ft-icon {
640
- margin: 0 calc(${zi.horizontalPadding} * -1);
641
- padding: 0 ${zi.verticalPadding};
630
+ margin: 0 calc(${Ii.horizontalPadding} * -1);
631
+ padding: 0 ${Ii.verticalPadding};
642
632
  }
643
633
 
644
634
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
645
- margin: 0 calc(${Li} * -1);
646
- padding: 0 ${Ti};
635
+ margin: 0 calc(${Hi} * -1);
636
+ padding: 0 ${Zi};
647
637
  }
648
638
 
649
639
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -652,40 +642,40 @@ const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"clas
652
642
  }
653
643
 
654
644
  ft-loader {
655
- ${gt(Ri.size,zi.iconSize)};
656
- ${gt(Ri.color,"var(--ft-button-internal-color)")};
645
+ ${bt(Ai.size,Ii.iconSize)};
646
+ ${bt(Ai.color,"var(--ft-button-internal-color)")};
657
647
  }
658
- `];var Di=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class _i extends bt{constructor(){super(...arguments),this.role="button",this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.iconVariant=si.material,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0};return this.addTooltipIfNeeded(J`
648
+ `];var Ji=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class qi extends Ct{constructor(){super(...arguments),this.role="button",this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0};return this.addTooltipIfNeeded(X`
659
649
  <button part="button"
660
- class="${li(t)}"
650
+ class="${yi(t)}"
661
651
  aria-label="${this.getLabel()}"
662
652
  ?disabled=${this.isDisabled()}>
663
653
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
664
654
  <ft-typography part="label"
665
655
  variant="button"
666
656
  element="span"
667
- class="ft-button--label ${kt?"ft-safari-ellipsis-fix":""}"
657
+ class="ft-button--label ${jt?"ft-safari-ellipsis-fix":""}"
668
658
  ?hidden=${!this.hasTextContent()}>
669
659
  <slot @slotchange=${this.onSlotchange}></slot>
670
660
  </ft-typography>
671
661
  ${this.resolveIcon()}
672
662
  </button>
673
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?J`
663
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?X`
674
664
  <ft-tooltip part="tooltip"
675
665
  text="${this.getLabel()}"
676
666
  position="${this.tooltipPosition}">
677
667
  ${t}
678
668
  </ft-tooltip>
679
- `:t}resolveIcon(){return this.loading?J`
680
- <ft-loader part="loader icon"></ft-loader> `:this.icon?J`
681
- <ft-icon part="icon" variant="${this.iconVariant}" value="${this.icon}"></ft-icon> `:X}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}_i.elementDefinitions={"ft-ripple":bi,"ft-tooltip":Ni,"ft-typography":Je,"ft-icon":ai,"ft-loader":Ui},_i.styles=[wt,Pi],Di([o({type:String,reflect:!0})],_i.prototype,"role",void 0),Di([o({type:Boolean})],_i.prototype,"primary",void 0),Di([o({type:Boolean})],_i.prototype,"outlined",void 0),Di([o({type:Boolean})],_i.prototype,"disabled",void 0),Di([o({type:Boolean})],_i.prototype,"dense",void 0),Di([o({type:Boolean})],_i.prototype,"round",void 0),Di([o({type:String})],_i.prototype,"label",void 0),Di([o({type:String})],_i.prototype,"icon",void 0),Di([o({type:String})],_i.prototype,"iconVariant",void 0),Di([o({type:Boolean})],_i.prototype,"trailingIcon",void 0),Di([o({type:Boolean})],_i.prototype,"loading",void 0),Di([o({type:String})],_i.prototype,"tooltipPosition",void 0),Di([o({type:Boolean})],_i.prototype,"hideTooltip",void 0),Di([o({type:Boolean})],_i.prototype,"forceTooltip",void 0),Di([r(".ft-button")],_i.prototype,"button",void 0),Di([r(".ft-button--label slot")],_i.prototype,"slottedContent",void 0),c("ft-button")(_i);const Wi={zIndex:yt.create("--ft-dialog-z-index","NUMBER","2"),overlayBackgroundColor:yt.create("--ft-dialog-overlay-background-color","COLOR","rgba(0, 0, 0, 0.3)"),height:yt.create("--ft-dialog-height","SIZE","unset"),width:yt.create("--ft-dialog-width","SIZE","unset"),minWidth:yt.create("--ft-dialog-min-width","SIZE","unset"),paddingTop:yt.create("--ft-dialog-padding-top","SIZE","20px"),paddingSide:yt.create("--ft-dialog-padding-side","SIZE","16px"),paddingButtons:yt.create("--ft-dialog-padding-buttons","SIZE","20px"),colorSurface:yt.external(vt.colorSurface,"Design system"),headingColor:yt.external(vt.colorOnSurfaceMedium,"Design system"),borderRadiusS:yt.external(vt.borderRadiusS,"Design system"),elevation24:yt.external(vt.elevation24,"Design system")},Zi=x`
669
+ `:t}resolveIcon(){return this.loading?X`
670
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?X`
671
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:G}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}qi.elementDefinitions={"ft-ripple":Ci,"ft-tooltip":Bi,"ft-typography":ei,"ft-icon":ui,"ft-loader":Li},qi.styles=[Nt,Vi],Ji([o({type:String,reflect:!0})],qi.prototype,"role",void 0),Ji([o({type:Boolean})],qi.prototype,"primary",void 0),Ji([o({type:Boolean})],qi.prototype,"outlined",void 0),Ji([o({type:Boolean})],qi.prototype,"disabled",void 0),Ji([o({type:Boolean})],qi.prototype,"dense",void 0),Ji([o({type:Boolean})],qi.prototype,"round",void 0),Ji([o()],qi.prototype,"label",void 0),Ji([o()],qi.prototype,"icon",void 0),Ji([o()],qi.prototype,"iconVariant",void 0),Ji([o({type:Boolean})],qi.prototype,"trailingIcon",void 0),Ji([o({type:Boolean})],qi.prototype,"loading",void 0),Ji([o()],qi.prototype,"tooltipPosition",void 0),Ji([o({type:Boolean})],qi.prototype,"hideTooltip",void 0),Ji([o({type:Boolean})],qi.prototype,"forceTooltip",void 0),Ji([r(".ft-button")],qi.prototype,"button",void 0),Ji([r(".ft-button--label slot")],qi.prototype,"slottedContent",void 0),c("ft-button")(qi);const Xi={zIndex:gt.create("--ft-dialog-z-index","NUMBER","2"),overlayBackgroundColor:gt.create("--ft-dialog-overlay-background-color","COLOR","rgba(0, 0, 0, 0.3)"),height:gt.create("--ft-dialog-height","SIZE","unset"),width:gt.create("--ft-dialog-width","SIZE","unset"),minWidth:gt.create("--ft-dialog-min-width","SIZE","unset"),paddingTop:gt.create("--ft-dialog-padding-top","SIZE","20px"),paddingSide:gt.create("--ft-dialog-padding-side","SIZE","16px"),paddingButtons:gt.create("--ft-dialog-padding-buttons","SIZE","20px"),colorSurface:gt.external(xt.colorSurface,"Design system"),headingColor:gt.external(xt.colorOnSurfaceMedium,"Design system"),borderRadiusS:gt.external(xt.borderRadiusS,"Design system"),elevation24:gt.external(xt.elevation24,"Design system")},Yi=b`
682
672
  .ft-dialog {
683
673
  position: fixed;
684
674
  top: 0;
685
675
  right: 0;
686
676
  bottom: 0;
687
677
  left: 0;
688
- z-index: ${Wi.zIndex};
678
+ z-index: ${Xi.zIndex};
689
679
 
690
680
  display: flex;
691
681
  flex-direction: column;
@@ -705,7 +695,7 @@ const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"clas
705
695
  height: 100%;
706
696
  width: 100%;
707
697
 
708
- background-color: ${Wi.overlayBackgroundColor};
698
+ background-color: ${Xi.overlayBackgroundColor};
709
699
 
710
700
  }
711
701
 
@@ -713,26 +703,26 @@ const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"clas
713
703
  position: fixed;
714
704
  display: flex;
715
705
  flex-direction: column;
716
- gap: ${Wi.paddingButtons};
706
+ gap: ${Xi.paddingButtons};
717
707
 
718
- width: ${Wi.width};
719
- height: ${Wi.height};
708
+ width: ${Xi.width};
709
+ height: ${Xi.height};
720
710
  max-width: 95vw;
721
711
  max-height: 95vh;
722
- min-width: ${Wi.minWidth};
712
+ min-width: ${Xi.minWidth};
723
713
 
724
- padding-top: ${Wi.paddingTop};
725
- padding-bottom: ${Wi.paddingTop};
714
+ padding-top: ${Xi.paddingTop};
715
+ padding-bottom: ${Xi.paddingTop};
726
716
 
727
- background-color: ${Wi.colorSurface};
717
+ background-color: ${Xi.colorSurface};
728
718
 
729
- border-radius: ${Wi.borderRadiusS};
730
- box-shadow: ${Wi.elevation24};
719
+ border-radius: ${Xi.borderRadiusS};
720
+ box-shadow: ${Xi.elevation24};
731
721
  }
732
722
 
733
723
  .ft-dialog-wrapper > * {
734
- padding-right: ${Wi.paddingSide};
735
- padding-left: ${Wi.paddingSide};
724
+ padding-right: ${Xi.paddingSide};
725
+ padding-left: ${Xi.paddingSide};
736
726
  }
737
727
 
738
728
  .ft-dialog-content {
@@ -747,7 +737,7 @@ const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"clas
747
737
  align-items: center;
748
738
  gap: 8px;
749
739
 
750
- color: ${Wi.headingColor};
740
+ color: ${Xi.headingColor};
751
741
  }
752
742
 
753
743
  .ft-dialog-heading * {
@@ -763,7 +753,7 @@ const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"clas
763
753
  }
764
754
 
765
755
  .ft-dialog-heading ft-button {
766
- ${gt(zi.color,Wi.headingColor)};
756
+ ${bt(Ii.color,Xi.headingColor)};
767
757
  }
768
758
 
769
759
  .ft-dialog-buttons.ft-dialog-no-buttons {
@@ -777,23 +767,25 @@ const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"clas
777
767
  gap: 8px;
778
768
  }
779
769
 
780
- `;var Hi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Ki extends bt{constructor(){super(...arguments),this.opened=!1,this.closeOnEsc=!1,this.closeOnClickOutside=!1,this.closable=!1,this.beforeClose=()=>!0,this.heading="",this.icon="",this.watchEscapeKey=t=>{"Escape"===t.key&&this.closeOnEsc&&this.close()}}render(){return this.opened?J`
770
+ `;var Gi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};class Qi extends Ct{constructor(){super(...arguments),this.opened=!1,this.closeOnEsc=!1,this.closeOnClickOutside=!1,this.closable=!1,this.beforeClose=()=>!0,this.heading="",this.icon="",this.watchEscapeKey=t=>{"Escape"===t.key&&this.closeOnEsc&&this.close()}}render(){return this.opened?X`
781
771
  <div class="ft-dialog">
782
772
  <div class="ft-dialog-overlay" @click="${()=>this.onClickOutside()}"></div>
783
773
  <div class="ft-dialog-wrapper">
784
- ${this.heading?J`
774
+ ${this.heading?X`
785
775
  <div class="ft-dialog-heading">
786
- ${this.icon?J`
787
- <ft-icon variant="material">${this.icon}</ft-icon>
776
+ ${this.icon?X`
777
+ <ft-icon .variant=${this.iconVariant} value="${this.icon}"></ft-icon>
788
778
  `:void 0}
789
779
  <ft-typography element="span" variant="title">${this.heading}</ft-typography>
790
- ${this.closable?J`
780
+ ${this.closable?X`
791
781
  <ft-button round icon="close" @click=${this.close}></ft-button>
792
782
  `:void 0}
793
783
  </div>
794
784
  `:null}
795
785
  <div class="ft-dialog-content">
796
- <slot></slot>
786
+ <ft-typography variant="body1">
787
+ <slot></slot>
788
+ </ft-typography>
797
789
  </div>
798
790
  <slot name="buttons"
799
791
  class="ft-dialog-buttons ${this.buttons.length>0?"":"ft-dialog-no-buttons"}"
@@ -801,4 +793,4 @@ const li=Ye(class extends Ge{constructor(t){var e;if(super(t),t.type!==qe||"clas
801
793
  ></slot>
802
794
  </div>
803
795
  </div>
804
- `:null}updated(t){t.has("opened")&&(this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:this.opened}})),this.opened?setTimeout((()=>{document.addEventListener("keydown",this.watchEscapeKey)}),0):document.removeEventListener("keydown",this.watchEscapeKey))}close(){this.beforeClose()&&(this.opened=!1)}open(){this.opened=!0}onClickOutside(){this.closeOnClickOutside&&this.close()}}Ki.elementDefinitions={"ft-typography":Je,"ft-icon":ai,"ft-button":_i},Ki.styles=Zi,Hi([o({type:Boolean,hasChanged:(t,e)=>!1===e&&!0===t||!0===e&&!1===t})],Ki.prototype,"opened",void 0),Hi([o({type:Boolean})],Ki.prototype,"closeOnEsc",void 0),Hi([o({type:Boolean})],Ki.prototype,"closeOnClickOutside",void 0),Hi([o({type:Boolean})],Ki.prototype,"closable",void 0),Hi([o({type:()=>Boolean})],Ki.prototype,"beforeClose",void 0),Hi([o({type:String})],Ki.prototype,"heading",void 0),Hi([o({type:String})],Ki.prototype,"icon",void 0),Hi([h({slot:"buttons"})],Ki.prototype,"buttons",void 0),c("ft-dialog")(Ki),t.FtDialog=Ki,t.FtDialogCssVariables=Wi,t.styles=Zi,Object.defineProperty(t,"i",{value:!0})}({});
796
+ `:null}updated(t){t.has("opened")&&(this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:this.opened}})),this.opened?setTimeout((()=>{document.addEventListener("keydown",this.watchEscapeKey)}),0):document.removeEventListener("keydown",this.watchEscapeKey))}close(){this.beforeClose()&&(this.opened=!1)}open(){this.opened=!0}onClickOutside(){this.closeOnClickOutside&&this.close()}}Qi.elementDefinitions={"ft-typography":ei,"ft-icon":ui,"ft-button":qi},Qi.styles=Yi,Gi([o({type:Boolean,hasChanged:(t,e)=>!1===e&&!0===t||!0===e&&!1===t})],Qi.prototype,"opened",void 0),Gi([o({type:Boolean})],Qi.prototype,"closeOnEsc",void 0),Gi([o({type:Boolean})],Qi.prototype,"closeOnClickOutside",void 0),Gi([o({type:Boolean})],Qi.prototype,"closable",void 0),Gi([o({type:()=>Boolean})],Qi.prototype,"beforeClose",void 0),Gi([o()],Qi.prototype,"heading",void 0),Gi([o()],Qi.prototype,"icon",void 0),Gi([o()],Qi.prototype,"iconVariant",void 0),Gi([h({slot:"buttons"})],Qi.prototype,"buttons",void 0),c("ft-dialog")(Qi),t.FtDialog=Qi,t.FtDialogCssVariables=Xi,t.styles=Yi}({});