@fluid-topics/ft-reader-toc 0.3.71 → 1.0.0-alpha.0

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,l=new WeakMap;let a;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,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 l=n.prototype.attributeChangedCallback,a=new Set(n.observedAttributes||[]);d(n,a,l);const h={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,h),this._definitionsByClass.set(n,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(r.set(n,h),h.standInClass=c);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 v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){y.push(this),o.upgrade.apply(o,arguments),y.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=a;if(e)return a=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,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),a=t;try{new e.elementClass}catch(t){f(e.elementClass),new e.elementClass}e.observedAttributes.forEach((i=>{t.hasAttribute(i)&&e.attributeChangedCallback.call(t,i,null,t.getAttribute(i))})),i&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=v.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let y=[document];const x=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){y.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),y.pop(),t}};x(ShadowRoot,"createElement",document),x(ShadowRoot,"importNode",document),x(Element,"insertAdjacentHTML");const b=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){y.push(this),i.set.call(this,t),y.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,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(Oi){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 c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(r.set(n,h),h.standInClass=c);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 v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){y.push(this),o.upgrade.apply(o,arguments),y.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,c=t=>{let e=t.getRootNode();if(!h(e)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=a.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,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)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=v.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let y=[document];const x=(t,e,i=void 0)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){y.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&a.set(t,this),y.pop(),t}};x(ShadowRoot,"createElement",document),x(ShadowRoot,"importNode",document),x(Element,"insertAdjacentHTML");const b=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){y.push(this),i.set.call(this,t),y.pop()}})};if(b(Element,"innerHTML"),b(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,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(Fi){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
@@ -39,39 +39,29 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
39
39
  * @license
40
40
  * Copyright 2021 Google LLC
41
41
  * SPDX-License-Identifier: BSD-3-Clause
42
- */var l;const a=null!=(null===(l=window.HTMLSlotElement)||void 0===l?void 0:l.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function h(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var i,o,n;if(Array.isArray(t)){if((i=t.length)!=e.length)return!1;for(o=i;0!=o--;)if(!h(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!h(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((i=(n=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(o=i;0!=o--;)if(!Object.prototype.hasOwnProperty.call(e,n[o]))return!1;for(o=i;0!=o--;){var s=n[o];if(!h(t[s],e[s]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const c=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function p(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)=>!h(t,e),...null!=e?e:{}})}
42
+ */var a;const l=null!=(null===(a=window.HTMLSlotElement)||void 0===a?void 0:a.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function h(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var i,o,n;if(Array.isArray(t)){if((i=t.length)!=e.length)return!1;for(o=i;0!=o--;)if(!h(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!h(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((i=(n=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(o=i;0!=o--;)if(!Object.prototype.hasOwnProperty.call(e,n[o]))return!1;for(o=i;0!=o--;){var s=n[o];if(!h(t[s],e[s]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const c=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function p(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)=>!h(t,e),...null!=e?e:{}})}
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2019 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
- */const d=window,f=d.ShadowRoot&&(void 0===d.ShadyCSS||d.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,u=Symbol(),v=new WeakMap;class y{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=v.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&v.set(e,t))}return t}toString(){return this.cssText}}const x=t=>new y("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 y(i,t,u)},g=(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 x(e)})(t):t
47
+ */const d=window,f=d.ShadowRoot&&(void 0===d.ShadyCSS||d.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,u=Symbol(),v=new WeakMap;let y=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=v.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&v.set(e,t))}return t}toString(){return this.cssText}};const x=t=>new y("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 y(i,t,u)},g=(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 x(e)})(t):t
48
48
  /**
49
49
  * @license
50
50
  * Copyright 2017 Google LLC
51
51
  * SPDX-License-Identifier: BSD-3-Clause
52
- */;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}},N=(t,e)=>e!==t&&(e==e||t==t),E={attribute:!0,type:String,converter:C,reflect:!1,hasChanged:N};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=E){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)||E}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 g(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=E){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||N)(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){}}
52
+ */;var w;const $=window,S=$.trustedTypes,O=S?S.emptyScript:"",k=$.reactiveElementPolyfillSupport,C={toAttribute(t,e){switch(e){case Boolean:t=t?O: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}},N=(t,e)=>e!==t&&(e==e||t==t),E={attribute:!0,type:String,converter:C,reflect:!1,hasChanged:N};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=E){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)||E}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 g(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=E){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||N)(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){}};
53
53
  /**
54
54
  * @license
55
55
  * Copyright 2017 Google LLC
56
56
  * SPDX-License-Identifier: BSD-3-Clause
57
57
  */
58
- 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 z=window,j=z.trustedTypes,A=j?j.createPolicy("lit-html",{createHTML:t=>t}):void 0,U=`lit$${(Math.random()+"").slice(9)}$`,F="?"+U,L=`<${F}>`,B=document,T=(t="")=>B.createComment(t),I=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,_=t=>P(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),D=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,W=/-->/g,H=/>/g,K=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),Z=/'/g,V=/"/g,X=/^(?:script|style|textarea|title)$/i,J=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),q=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),G=new WeakMap,Q=B.createTreeWalker(B,129,null,!1),tt=(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 l,a,h=-1,c=0;for(;c<i.length&&(r.lastIndex=c,a=r.exec(i),null!==a);)c=r.lastIndex,r===D?"!--"===a[1]?r=W:void 0!==a[1]?r=H:void 0!==a[2]?(X.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=K):void 0!==a[3]&&(r=K):r===K?">"===a[0]?(r=null!=n?n:D,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?K:'"'===a[3]?V:Z):r===V||r===Z?r=K:r===W||r===H?r=D:(r=K,n=void 0);const p=r===K&&t[e+1].startsWith("/>")?" ":"";s+=r===D?i+L:h>=0?(o.push(l),i.slice(0,h)+"$lit$"+i.slice(h)+U+p):i+U+(-2===h?(o.push(void 0),e):p)}const l=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==A?A.createHTML(l):l,o]};class et{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let n=0,s=0;const r=t.length-1,l=this.parts,[a,h]=tt(t,e);if(this.el=et.createElement(a,i),Q.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=Q.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(U)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(U),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?rt:"?"===e[1]?at:"@"===e[1]?ht:st})}else l.push({type:6,index:n})}for(const e of t)o.removeAttribute(e)}if(X.test(o.tagName)){const t=o.textContent.split(U),e=t.length-1;if(e>0){o.textContent=j?j.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],T()),Q.nextNode(),l.push({type:2,index:++n});o.append(t[e],T())}}}else if(8===o.nodeType)if(o.data===F)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(U,t+1));)l.push({type:7,index:n}),t+=U.length-1}n++}}static createElement(t,e){const i=B.createElement("template");return i.innerHTML=t,i}}function it(t,e,i=t,o){var n,s,r,l;if(e===q)return e;let a=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==a?void 0:a.constructor)!==h&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:i._$Cl=a),void 0!==a&&(e=it(t,a._$AS(t,e.values),a,o)),e}class ot{constructor(t,e){this.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:B).importNode(i,!0);Q.currentNode=n;let s=Q.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new nt(s,s.nextSibling,this,t):1===a.type?e=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(e=new ct(s,this,t)),this.u.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=Q.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 nt{constructor(t,e,i,o){var n;this.type=2,this._$AH=Y,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=it(this,t,e),I(t)?t===Y||null==t||""===t?(this._$AH!==Y&&this._$AR(),this._$AH=Y):t!==this._$AH&&t!==q&&this.g(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):_(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!==Y&&I(this._$AH)?this._$AA.nextSibling.data=t:this.T(B.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=et.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 ot(n,this),e=t.v(this.options);t.p(i),this.T(e),this._$AH=t}}_$AC(t){let e=G.get(t.strings);return void 0===e&&G.set(t.strings,e=new et(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 nt(this.O(T()),this.O(T()),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 st{constructor(t,e,i,o,n){this.type=1,this._$AH=Y,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=Y}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=it(this,t,e,0),s=!I(t)||t!==this._$AH&&t!==q,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=it(this,o[i+r],e,r),l===q&&(l=this._$AH[r]),s||(s=!I(l)||l!==this._$AH[r]),l===Y?t=Y:t!==Y&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.j(t)}j(t){t===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class rt extends st{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Y?void 0:t}}const lt=j?j.emptyScript:"";class at extends st{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Y?this.element.setAttribute(this.name,lt):this.element.removeAttribute(this.name)}}class ht extends st{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=it(this,t,e,0))&&void 0!==i?i:Y)===q)return;const o=this._$AH,n=t===Y&&o!==Y||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==Y&&(o===Y||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){it(this,t)}}const pt={P:"$lit$",A:U,M:F,C:1,L:tt,R:ot,D:_,V:it,I:nt,H:st,N:at,U:ht,B:rt,F:ct},dt=z.litHtmlPolyfillSupport;null==dt||dt(et,nt),(null!==(M=z.litHtmlVersions)&&void 0!==M?M:z.litHtmlVersions=[]).push("2.4.0");
58
+ 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 z=window,A=z.trustedTypes,j=A?A.createPolicy("lit-html",{createHTML:t=>t}):void 0,U="$lit$",F=`lit$${(Math.random()+"").slice(9)}$`,L="?"+F,I=`<${L}>`,B=document,T=()=>B.createComment(""),P=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,D=t=>_(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),W="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,K=/-->/g,Z=/>/g,V=RegExp(`>|${W}(?:([^\\s"'>=/]+)(${W}*=${W}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),X=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,Y=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),G=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),tt=new WeakMap,et=B.createTreeWalker(B,129,null,!1),it=(t,e)=>{const i=t.length-1,o=[];let n,s=2===e?"<svg>":"",r=H;for(let e=0;e<i;e++){const i=t[e];let a,l,h=-1,c=0;for(;c<i.length&&(r.lastIndex=c,l=r.exec(i),null!==l);)c=r.lastIndex,r===H?"!--"===l[1]?r=K:void 0!==l[1]?r=Z:void 0!==l[2]?(q.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=V):void 0!==l[3]&&(r=V):r===V?">"===l[0]?(r=null!=n?n:H,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?V:'"'===l[3]?J:X):r===J||r===X?r=V:r===K||r===Z?r=H:(r=V,n=void 0);const p=r===V&&t[e+1].startsWith("/>")?" ":"";s+=r===H?i+I:h>=0?(o.push(a),i.slice(0,h)+U+i.slice(h)+F+p):i+F+(-2===h?(o.push(void 0),e):p)}const a=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==j?j.createHTML(a):a,o]};class ot{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]=it(t,e);if(this.el=ot.createElement(l,i),et.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(o=et.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const e of o.getAttributeNames())if(e.endsWith(U)||e.startsWith(F)){const i=h[s++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+U).split(F),e=/([.?@])?(.*)/.exec(i);a.push({type:1,index:n,name:e[2],strings:t,ctor:"."===e[1]?lt:"?"===e[1]?ct:"@"===e[1]?pt:at})}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(F),e=t.length-1;if(e>0){o.textContent=A?A.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],T()),et.nextNode(),a.push({type:2,index:++n});o.append(t[e],T())}}}else if(8===o.nodeType)if(o.data===L)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=B.createElement("template");return i.innerHTML=t,i}}function nt(t,e,i=t,o){var n,s,r,a;if(e===G)return e;let l=void 0!==o?null===(n=i._$Co)||void 0===n?void 0:n[o]:i._$Cl;const h=P(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=nt(t,l._$AS(t,e.values),l,o)),e}class st{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:B).importNode(i,!0);et.currentNode=n;let s=et.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let e;2===l.type?e=new rt(s,s.nextSibling,this,t):1===l.type?e=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(e=new dt(s,this,t)),this._$AV.push(e),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=et.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 rt{constructor(t,e,i,o){var n;this.type=2,this._$AH=Q,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=nt(this,t,e),P(t)?t===Q||null==t||""===t?(this._$AH!==Q&&this._$AR(),this._$AH=Q):t!==this._$AH&&t!==G&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):D(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!==Q&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.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=ot.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 st(n,this),e=t.u(this.options);t.v(i),this.$(e),this._$AH=t}}_$AC(t){let e=tt.get(t.strings);return void 0===e&&tt.set(t.strings,e=new ot(t)),e}T(t){_(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 rt(this.k(T()),this.k(T()),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 at{constructor(t,e,i,o,n){this.type=1,this._$AH=Q,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=Q}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=nt(this,t,e,0),s=!P(t)||t!==this._$AH&&t!==G,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=nt(this,o[i+r],e,r),a===G&&(a=this._$AH[r]),s||(s=!P(a)||a!==this._$AH[r]),a===Q?t=Q:t!==Q&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.j(t)}j(t){t===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class lt extends at{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Q?void 0:t}}const ht=A?A.emptyScript:"";class ct extends at{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Q?this.element.setAttribute(this.name,ht):this.element.removeAttribute(this.name)}}class pt extends at{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=nt(this,t,e,0))&&void 0!==i?i:Q)===G)return;const o=this._$AH,n=t===Q&&o!==Q||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==Q&&(o===Q||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 dt{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){nt(this,t)}}const ft={O:U,P:F,A:L,C:1,M:it,L:st,D,R:nt,I:rt,V:at,H:ct,N:pt,U:lt,F:dt},ut=z.litHtmlPolyfillSupport;null==ut||ut(ot,rt),(null!==(M=z.litHtmlVersions)&&void 0!==M?M:z.litHtmlVersions=[]).push("2.7.3");
59
59
  /**
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
62
62
  * SPDX-License-Identifier: BSD-3-Clause
63
63
  */
64
- var ft,ut;class vt 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 nt(e.insertBefore(T(),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}}vt.finalized=!0,vt._$litElement$=!0,null===(ft=globalThis.litElementHydrateSupport)||void 0===ft||ft.call(globalThis,{LitElement:vt});const yt=globalThis.litElementPolyfillSupport;null==yt||yt({LitElement:vt}),(null!==(ut=globalThis.litElementVersions)&&void 0!==ut?ut:globalThis.litElementVersions=[]).push("3.2.2");class xt{static create(t,e,i){let o=t=>x(null!=t?t:i),n=b`var(${x(t)}, ${o(i)})`;return n.name=t,n.category=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>b`var(${x(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(${x(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(${x(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):x(null!=e?e:t.defaultValue),o=b`var(${x(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(${x(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 x(`${t.name}: ${e}`)}const gt={colorPrimary:xt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:xt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:xt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:xt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:xt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:xt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xt.create("--ft-color-error","COLOR","#B00020"),colorOutline:xt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:xt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:xt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:xt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:xt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:xt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:xt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:xt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:xt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:xt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:xt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:xt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:xt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:xt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:xt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:xt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:xt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:xt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:xt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:xt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:xt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
65
- /**
66
- * @license
67
- * Copyright 2021 Google LLC
68
- * SPDX-License-Identifier: BSD-3-Clause
69
- */var mt=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(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 wt 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 g(n,this.constructor.elementStyles),n}}}(vt)){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`
70
- ${t.map((t=>J`
71
- <style>${t}</style>
72
- `))}
73
- ${this.getTemplate()}
74
- `}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 l=t=>null!=t&&t.trim().length>0,a=t.filter(l).map((t=>t.trim()));if(0===a.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(l).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const c=[...h.values()].flatMap((t=>a.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}mt([o()],wt.prototype,"exportpartsPrefix",void 0),mt([p([])],wt.prototype,"exportpartsPrefixes",void 0),mt([o()],wt.prototype,"customStylesheet",void 0);const $t=b`
64
+ var vt,yt;let xt=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 rt(e.insertBefore(T(),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 G}};xt.finalized=!0,xt._$litElement$=!0,null===(vt=globalThis.litElementHydrateSupport)||void 0===vt||vt.call(globalThis,{LitElement:xt});const bt=globalThis.litElementPolyfillSupport;null==bt||bt({LitElement:xt}),(null!==(yt=globalThis.litElementVersions)&&void 0!==yt?yt:globalThis.litElementVersions=[]).push("3.3.2");class gt{static create(t,e,i){let o=t=>x(null!=t?t:i),n=b`var(${x(t)}, ${o(i)})`;return n.name=t,n.category=e,n.defaultValue=i,n.defaultCssValue=o,n.get=e=>b`var(${x(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(${x(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(${x(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):x(null!=e?e:t.defaultValue),o=b`var(${x(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(${x(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 mt(t,e){return x(`${t.name}: ${e}`)}const wt={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 $t extends xt{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 g(i,t.elementStyles),i}}var St,Ot=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 kt=Symbol("constructorPrototype"),Ct=Symbol("constructorName"),Nt=Symbol("exportpartsDebouncer");class Et extends $t{constructor(){super(),this[St]=new e(5),this[Ct]=this.constructor.name,this[kt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ct]&&Object.setPrototypeOf(this,this[kt])}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[Nt].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 c=[...h.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}St=Nt,Ot([o()],Et.prototype,"exportpartsPrefix",void 0),Ot([p([])],Et.prototype,"exportpartsPrefixes",void 0),Ot([o()],Et.prototype,"customStylesheet",void 0);const Rt=b`
75
65
  .ft-no-text-select {
76
66
  -webkit-touch-callout: none;
77
67
  -webkit-user-select: none;
@@ -92,7 +82,7 @@ var ft,ut;class vt extends R{constructor(){super(...arguments),this.renderOption
92
82
  -webkit-hyphens: auto;
93
83
  hyphens: auto
94
84
  }
95
- `;const Ot=b`
85
+ `;const Mt=b`
96
86
  .ft-safari-ellipsis-fix {
97
87
  margin-right: 0;
98
88
 
@@ -103,46 +93,28 @@ var ft,ut;class vt extends R{constructor(){super(...arguments),this.renderOption
103
93
  display: inline-block;
104
94
  width: 0;
105
95
  }
106
- `;class St{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var i,o;t=this.resolvePluralKey(t,e);let n=null!==(o=null!==(i=this.labels[t])&&void 0!==i?i:this.defaultLabels[t])&&void 0!==o?o:"";return e.forEach(((t,e)=>n=n.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,i)=>this.formatValue(t,i))))),n}resolvePluralKey(t,e){for(let i of e)if("number"==typeof i){const e=`${t}[\\=${i}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const i=i=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(i):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(i):t.toLocaleString(i);try{return i(document.documentElement.lang)}catch(t){return i()}}}const kt=t=>"object"==typeof t&&(0===Object.keys(t).length||"string"==typeof t.store||null!=t.selector||"function"==typeof t.hasChanged||null!=t.attribute),Ct=(t,e)=>{var i;const o=kt(t)?t:{};return e=null!==(i=null!=e?e:o.hasChanged)&&void 0!==i?i:(t,e)=>!h(t,e),(i,n)=>{var s,r;i.constructor.createProperty(n,{hasChanged:e,attribute:null!==(s=o.attribute)&&void 0!==s&&s});const l=i;l.reduxProperties=l.reduxProperties||new Map;const a=null!==(r=kt(t)?o.selector:t)&&void 0!==r?r:t=>t[n];l.reduxProperties.set(n,{selector:a,store:o.store})}};class Nt extends wt{constructor(){super(...arguments),this.internalStoresUnsubscribers=new Map,this.internalStores=new Map}getUnnamedStore(){if(this.internalStores.size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this.internalStores.values()][0]}get store(){return this.getUnnamedStore()}set store(t){this.unsubscribeFromStores(),this.internalStores.clear(),t&&this.addStore(t)}getStore(t){var e;return null==t?null!==(e=this.getUnnamedStore())&&void 0!==e?e:this.store:this.internalStores.get(t)}addStore(t,e){e=null!=e?e:Et(t)?t.name:"ft-lit-element-redux-default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:Et(t)?t.name:"ft-lit-element-redux-default-store";this.unsubscribeFromStore(e),this.internalStores.delete(e)}setupStore(t,e){this.internalStores.set(t,e),this.updateFromStores(),this.subscribeToStore(t,e)}setupStores(){this.unsubscribeFromStores(),0===this.internalStores.size&&null!=this.store?this.addStore(this.store):(this.updateFromStores(),this.internalStores.forEach(((t,e)=>this.subscribeToStore(e,t))))}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const i=this.constructor.getPropertyOptions(e);if(!(null==i?void 0:i.attribute)||!this.hasAttribute("string"==typeof(null==i?void 0:i.attribute)?i.attribute:e)){const i=this.getStore(t.store);i&&(this[e]=t.selector(i.getState(),this))}}))}subscribeToStore(t,e){this.internalStoresUnsubscribers.set(t,e.subscribe((()=>this.updateFromStores()))),this.onStoreAvailable(t)}unsubscribeFromStores(){Object.keys(this.internalStoresUnsubscribers).forEach((t=>this.unsubscribeFromStore(t)))}unsubscribeFromStore(t){this.internalStoresUnsubscribers.has(t)&&this.internalStoresUnsubscribers.get(t)(),this.internalStoresUnsubscribers.delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){this.unsubscribeFromStores(),super.disconnectedCallback()}}function Et(t){var e;return null===(e=t)||void 0===e?void 0:e.isFtReduxStore}var Rt,Mt,zt;const jt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(zt=null===(Mt=null===(Rt=window.safari)||void 0===Rt?void 0:Rt.pushNotification)||void 0===Mt?void 0:Mt.toString())&&void 0!==zt?zt:""),At=1,Ut=2,Ft=t=>(...e)=>({_$litDirective$:t,values:e});
96
+ `;class zt{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var i,o;t=this.resolvePluralKey(t,e);let n=null!==(o=null!==(i=this.labels[t])&&void 0!==i?i:this.defaultLabels[t])&&void 0!==o?o:"";return e.forEach(((t,e)=>n=n.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,i)=>this.formatValue(t,i))))),n}resolvePluralKey(t,e){for(let i of e)if("number"==typeof i){const e=`${String(t)}[\\=${i}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const i=i=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(i):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(i):t.toLocaleString(i);try{return i(document.documentElement.lang)}catch(t){return i()}}}var At,jt;const Ut=t=>{const e=null!=t?t:{};return(t,i)=>{var n;const s={hasChanged:(t,e)=>!h(t,e),attribute:!1,...e};o(s)(t,i);const r=t;r.reduxProperties=r.reduxProperties||new Map,r.reduxProperties.set(i,{selector:null!==(n=e.selector)&&void 0!==n?n:t=>t[i],store:e.store})}},Ft=Symbol("internalStoresUnsubscribers"),Lt=Symbol("internalStores");class It extends Et{constructor(){super(...arguments),this[At]=new Map,this[jt]=new Map}getUnnamedStore(){if(this[Lt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Lt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Lt].get(t)}addStore(t,e){e=null!=e?e:t.name,this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Lt].delete(e)}setupStore(t,e){this[Lt].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Lt].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const i=this.constructor.getPropertyOptions(e);if(!(null==i?void 0:i.attribute)||!this.hasAttribute("string"==typeof(null==i?void 0:i.attribute)?i.attribute:e)){const i=this.getStore(t.store);i&&(this[e]=t.selector(i.getState(),this))}}))}subscribeToStore(t,e){this[Ft].set(t,e.subscribe((()=>this.updateFromStores()))),this.onStoreAvailable(t)}unsubscribeFromStores(){Object.keys(this[Ft]).forEach((t=>this.unsubscribeFromStore(t)))}unsubscribeFromStore(t){this[Ft].has(t)&&this[Ft].get(t)(),this[Ft].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){this.unsubscribeFromStores(),super.disconnectedCallback()}}var Bt,Tt,Pt;At=Ft,jt=Lt;const _t=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Pt=null===(Tt=null===(Bt=window.safari)||void 0===Bt?void 0:Bt.pushNotification)||void 0===Tt?void 0:Tt.toString())&&void 0!==Pt?Pt:""),Dt=1,Wt=2,Ht=t=>(...e)=>({_$litDirective$:t,values:e});
107
97
  /**
108
98
  * @license
109
99
  * Copyright 2017 Google LLC
110
100
  * SPDX-License-Identifier: BSD-3-Clause
111
- */class Lt{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)}}
101
+ */let Kt=class{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)}};
112
102
  /**
113
103
  * @license
114
104
  * Copyright 2020 Google LLC
115
105
  * SPDX-License-Identifier: BSD-3-Clause
116
- */const{I:Bt}=pt,Tt=()=>document.createComment(""),It=(t,e,i)=>{var o;const n=t._$AA.parentNode,s=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=n.insertBefore(Tt(),s),o=n.insertBefore(Tt(),s);i=new Bt(e,o,t,t.options)}else{const e=i._$AB.nextSibling,r=i._$AM,l=r!==t;if(l){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==r._$AU&&i._$AP(e)}if(e!==s||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;n.insertBefore(t,s),t=e}}}return i},Pt=(t,e,i=t)=>(t._$AI(e,i),t),_t={},Dt=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const o=t._$AB.nextSibling;for(;i!==o;){const t=i.nextSibling;i.remove(),i=t}},Wt=(t,e,i)=>{const o=new Map;for(let n=e;n<=i;n++)o.set(t[n],n);return o},Ht=Ft(class extends Lt{constructor(t){if(super(t),t.type!==Ut)throw Error("repeat() can only be used in text expressions")}ht(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const n=[],s=[];let r=0;for(const e of t)n[r]=o?o(e,r):r,s[r]=i(e,r),r++;return{values:s,keys:n}}render(t,e,i){return this.ht(t,e,i).values}update(t,[e,i,o]){var n;const s=(t=>t._$AH)(t),{values:r,keys:l}=this.ht(e,i,o);if(!Array.isArray(s))return this.ut=l,r;const a=null!==(n=this.ut)&&void 0!==n?n:this.ut=[],h=[];let c,p,d=0,f=s.length-1,u=0,v=r.length-1;for(;d<=f&&u<=v;)if(null===s[d])d++;else if(null===s[f])f--;else if(a[d]===l[u])h[u]=Pt(s[d],r[u]),d++,u++;else if(a[f]===l[v])h[v]=Pt(s[f],r[v]),f--,v--;else if(a[d]===l[v])h[v]=Pt(s[d],r[v]),It(t,h[v+1],s[d]),d++,v--;else if(a[f]===l[u])h[u]=Pt(s[f],r[u]),It(t,s[d],s[f]),f--,u++;else if(void 0===c&&(c=Wt(l,u,v),p=Wt(a,d,f)),c.has(a[d]))if(c.has(a[f])){const e=p.get(l[u]),i=void 0!==e?s[e]:null;if(null===i){const e=It(t,s[d]);Pt(e,r[u]),h[u]=e}else h[u]=Pt(i,r[u]),It(t,s[d],i),s[e]=null;u++}else Dt(s[f]),f--;else Dt(s[d]),d++;for(;u<=v;){const e=It(t,h[v+1]);Pt(e,r[u]),h[u++]=e}for(;d<=f;){const t=s[d++];null!==t&&Dt(t)}return this.ut=l,((t,e=_t)=>{t._$AH=e})(t,h),q}}),Kt=Ft(class extends Lt{constructor(t){var e;if(super(t),t.type!==At||"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}}),Zt=Ft(class extends Lt{constructor(t){var e;if(super(t),t.type!==At||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,i)=>{const o=t[i];return null==o?e:e+`${i=i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(t,[e]){const{style:i}=t.element;if(void 0===this.vt){this.vt=new Set;for(const t in e)this.vt.add(t);return this.render(e)}this.vt.forEach((t=>{null==e[t]&&(this.vt.delete(t),t.includes("-")?i.removeProperty(t):i[t]="")}));for(const t in e){const o=e[t];null!=o&&(this.vt.add(t),t.includes("-")?i.setProperty(t,o):i[t]=o)}return q}});
106
+ */const{I:Zt}=ft,Vt=()=>document.createComment(""),Xt=(t,e,i)=>{var o;const n=t._$AA.parentNode,s=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=n.insertBefore(Vt(),s),o=n.insertBefore(Vt(),s);i=new Zt(e,o,t,t.options)}else{const e=i._$AB.nextSibling,r=i._$AM,a=r!==t;if(a){let e;null===(o=i._$AQ)||void 0===o||o.call(i,t),i._$AM=t,void 0!==i._$AP&&(e=t._$AU)!==r._$AU&&i._$AP(e)}if(e!==s||a){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;n.insertBefore(t,s),t=e}}}return i},Jt=(t,e,i=t)=>(t._$AI(e,i),t),qt={},Yt=t=>{var e;null===(e=t._$AP)||void 0===e||e.call(t,!1,!0);let i=t._$AA;const o=t._$AB.nextSibling;for(;i!==o;){const t=i.nextSibling;i.remove(),i=t}},Gt=(t,e,i)=>{const o=new Map;for(let n=e;n<=i;n++)o.set(t[n],n);return o},Qt=Ht(class extends Kt{constructor(t){if(super(t),t.type!==Wt)throw Error("repeat() can only be used in text expressions")}dt(t,e,i){let o;void 0===i?i=e:void 0!==e&&(o=e);const n=[],s=[];let r=0;for(const e of t)n[r]=o?o(e,r):r,s[r]=i(e,r),r++;return{values:s,keys:n}}render(t,e,i){return this.dt(t,e,i).values}update(t,[e,i,o]){var n;const s=(t=>t._$AH)(t),{values:r,keys:a}=this.dt(e,i,o);if(!Array.isArray(s))return this.ht=a,r;const l=null!==(n=this.ht)&&void 0!==n?n:this.ht=[],h=[];let c,p,d=0,f=s.length-1,u=0,v=r.length-1;for(;d<=f&&u<=v;)if(null===s[d])d++;else if(null===s[f])f--;else if(l[d]===a[u])h[u]=Jt(s[d],r[u]),d++,u++;else if(l[f]===a[v])h[v]=Jt(s[f],r[v]),f--,v--;else if(l[d]===a[v])h[v]=Jt(s[d],r[v]),Xt(t,h[v+1],s[d]),d++,v--;else if(l[f]===a[u])h[u]=Jt(s[f],r[u]),Xt(t,s[d],s[f]),f--,u++;else if(void 0===c&&(c=Gt(a,u,v),p=Gt(l,d,f)),c.has(l[d]))if(c.has(l[f])){const e=p.get(a[u]),i=void 0!==e?s[e]:null;if(null===i){const e=Xt(t,s[d]);Jt(e,r[u]),h[u]=e}else h[u]=Jt(i,r[u]),Xt(t,s[d],i),s[e]=null;u++}else Yt(s[f]),f--;else Yt(s[d]),d++;for(;u<=v;){const e=Xt(t,h[v+1]);Jt(e,r[u]),h[u++]=e}for(;d<=f;){const t=s[d++];null!==t&&Yt(t)}return this.ht=a,((t,e=qt)=>{t._$AH=e})(t,h),G}}),te=Ht(class extends Kt{constructor(t){var e;if(super(t),t.type!==Dt||"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 G}}),ee="important",ie=" !"+ee,oe=Ht(class extends Kt{constructor(t){var e;if(super(t),t.type!==Dt||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,i)=>{const o=t[i];return null==o?e:e+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(t,[e]){const{style:i}=t.element;if(void 0===this.ut){this.ut=new Set;for(const t in e)this.ut.add(t);return this.render(e)}this.ut.forEach((t=>{null==e[t]&&(this.ut.delete(t),t.includes("-")?i.removeProperty(t):i[t]="")}));for(const t in e){const o=e[t];if(null!=o){this.ut.add(t);const e="string"==typeof o&&o.endsWith(ie);t.includes("-")||e?i.setProperty(t,e?o.slice(0,-11):o,e?ee:""):i[t]=o}}return G}});
117
107
  /**
118
108
  * @license
119
109
  * Copyright 2017 Google LLC
120
110
  * SPDX-License-Identifier: BSD-3-Clause
121
- */var Vt=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(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 Xt extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}class Jt extends(function(t){class e extends t{constructor(){super(...arguments),this.registerIntervalReader=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this.registerIntervalReader=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this.registerIntervalReader):this.dispatchEvent(new Xt)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Vt([n()],e.prototype,"stateManager",void 0),e}(Nt)){}
111
+ */var ne=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 se extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const re=Symbol("registerInterval");class ae extends(function(t){var e;class i extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[re]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[re]):this.dispatchEvent(new se)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=re,ne([n()],i.prototype,"stateManager",void 0),i}(It)){}
122
112
  /**
123
113
  * @license
124
114
  * Copyright 2020 Google LLC
125
115
  * SPDX-License-Identifier: BSD-3-Clause
126
- */const qt=Symbol.for(""),Yt=t=>{if((null==t?void 0:t.r)===qt)return null==t?void 0:t._$litStatic$},Gt=t=>({_$litStatic$:t,r:qt}),Qt=new Map,te=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],l=[];let a,h=0,c=!1;for(;h<o;){for(a=e[h];h<o&&void 0!==(s=i[h],n=Yt(s));)a+=n+e[++h],c=!0;l.push(s),r.push(a),h++}if(h===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=Qt.get(t))&&(r.raw=r,Qt.set(t,e=r)),i=l}return t(e,...i)})(J);var ee;!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"}(ee||(ee={}));const ie=xt.extend("--ft-typography-font-family",gt.titleFont),oe=xt.extend("--ft-typography-font-family",gt.contentFont),ne={fontFamily:oe,fontSize:xt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:xt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:xt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:xt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:xt.create("--ft-typography-text-transform","UNKNOWN","inherit")},se=xt.extend("--ft-typography-title-font-family",ie),re=xt.extend("--ft-typography-title-font-size",ne.fontSize,"20px"),le=xt.extend("--ft-typography-title-font-weight",ne.fontWeight,"normal"),ae=xt.extend("--ft-typography-title-letter-spacing",ne.letterSpacing,"0.15px"),he=xt.extend("--ft-typography-title-line-height",ne.lineHeight,"1.2"),ce=xt.extend("--ft-typography-title-text-transform",ne.textTransform,"inherit"),pe=xt.extend("--ft-typography-title-dense-font-family",ie),de=xt.extend("--ft-typography-title-dense-font-size",ne.fontSize,"14px"),fe=xt.extend("--ft-typography-title-dense-font-weight",ne.fontWeight,"normal"),ue=xt.extend("--ft-typography-title-dense-letter-spacing",ne.letterSpacing,"0.105px"),ve=xt.extend("--ft-typography-title-dense-line-height",ne.lineHeight,"1.7"),ye=xt.extend("--ft-typography-title-dense-text-transform",ne.textTransform,"inherit"),xe=xt.extend("--ft-typography-subtitle1-font-family",oe),be=xt.extend("--ft-typography-subtitle1-font-size",ne.fontSize,"16px"),ge=xt.extend("--ft-typography-subtitle1-font-weight",ne.fontWeight,"600"),me=xt.extend("--ft-typography-subtitle1-letter-spacing",ne.letterSpacing,"0.144px"),we=xt.extend("--ft-typography-subtitle1-line-height",ne.lineHeight,"1.5"),$e=xt.extend("--ft-typography-subtitle1-text-transform",ne.textTransform,"inherit"),Oe=xt.extend("--ft-typography-subtitle2-font-family",oe),Se=xt.extend("--ft-typography-subtitle2-font-size",ne.fontSize,"14px"),ke=xt.extend("--ft-typography-subtitle2-font-weight",ne.fontWeight,"normal"),Ce=xt.extend("--ft-typography-subtitle2-letter-spacing",ne.letterSpacing,"0.098px"),Ne=xt.extend("--ft-typography-subtitle2-line-height",ne.lineHeight,"1.7"),Ee=xt.extend("--ft-typography-subtitle2-text-transform",ne.textTransform,"inherit"),Re=xt.extend("--ft-typography-body1-font-family",oe),Me=xt.extend("--ft-typography-body1-font-size",ne.fontSize,"16px"),ze=xt.extend("--ft-typography-body1-font-weight",ne.fontWeight,"normal"),je=xt.extend("--ft-typography-body1-letter-spacing",ne.letterSpacing,"0.496px"),Ae=xt.extend("--ft-typography-body1-line-height",ne.lineHeight,"1.5"),Ue=xt.extend("--ft-typography-body1-text-transform",ne.textTransform,"inherit"),Fe=xt.extend("--ft-typography-body2-font-family",oe),Le=xt.extend("--ft-typography-body2-font-size",ne.fontSize,"14px"),Be=xt.extend("--ft-typography-body2-font-weight",ne.fontWeight,"normal"),Te=xt.extend("--ft-typography-body2-letter-spacing",ne.letterSpacing,"0.252px"),Ie=xt.extend("--ft-typography-body2-line-height",ne.lineHeight,"1.4"),Pe=xt.extend("--ft-typography-body2-text-transform",ne.textTransform,"inherit"),_e=xt.extend("--ft-typography-caption-font-family",oe),De=xt.extend("--ft-typography-caption-font-size",ne.fontSize,"12px"),We=xt.extend("--ft-typography-caption-font-weight",ne.fontWeight,"normal"),He=xt.extend("--ft-typography-caption-letter-spacing",ne.letterSpacing,"0.396px"),Ke=xt.extend("--ft-typography-caption-line-height",ne.lineHeight,"1.33"),Ze=xt.extend("--ft-typography-caption-text-transform",ne.textTransform,"inherit"),Ve=xt.extend("--ft-typography-breadcrumb-font-family",oe),Xe=xt.extend("--ft-typography-breadcrumb-font-size",ne.fontSize,"10px"),Je=xt.extend("--ft-typography-breadcrumb-font-weight",ne.fontWeight,"normal"),qe=xt.extend("--ft-typography-breadcrumb-letter-spacing",ne.letterSpacing,"0.33px"),Ye=xt.extend("--ft-typography-breadcrumb-line-height",ne.lineHeight,"1.6"),Ge=xt.extend("--ft-typography-breadcrumb-text-transform",ne.textTransform,"inherit"),Qe=xt.extend("--ft-typography-overline-font-family",oe),ti=xt.extend("--ft-typography-overline-font-size",ne.fontSize,"10px"),ei=xt.extend("--ft-typography-overline-font-weight",ne.fontWeight,"normal"),ii=xt.extend("--ft-typography-overline-letter-spacing",ne.letterSpacing,"1.5px"),oi=xt.extend("--ft-typography-overline-line-height",ne.lineHeight,"1.6"),ni=xt.extend("--ft-typography-overline-text-transform",ne.textTransform,"uppercase"),si={fontFamily:xt.extend("--ft-typography-button-font-family",oe),fontSize:xt.extend("--ft-typography-button-font-size",ne.fontSize,"14px"),fontWeight:xt.extend("--ft-typography-button-font-weight",ne.fontWeight,"600"),letterSpacing:xt.extend("--ft-typography-button-letter-spacing",ne.letterSpacing,"1.246px"),lineHeight:xt.extend("--ft-typography-button-line-height",ne.lineHeight,"1.15"),textTransform:xt.extend("--ft-typography-button-text-transform",ne.textTransform,"uppercase")},ri=b`
116
+ */const le=Symbol.for(""),he=t=>{if((null==t?void 0:t.r)===le)return null==t?void 0:t._$litStatic$},ce=t=>({_$litStatic$:t,r:le}),pe=new Map,de=(t=>(e,...i)=>{const o=i.length;let n,s;const r=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=e[h];h<o&&void 0!==(s=i[h],n=he(s));)l+=n+e[++h],c=!0;h!==o&&a.push(s),r.push(l),h++}if(h===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=pe.get(t))&&(r.raw=r,pe.set(t,e=r)),i=a}return t(e,...i)})(Y);var fe;!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"}(fe||(fe={}));const ue=gt.extend("--ft-typography-font-family",wt.titleFont),ve=gt.extend("--ft-typography-font-family",wt.contentFont),ye={fontFamily:ve,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")},xe=gt.extend("--ft-typography-title-font-family",ue),be=gt.extend("--ft-typography-title-font-size",ye.fontSize,"20px"),ge=gt.extend("--ft-typography-title-font-weight",ye.fontWeight,"normal"),me=gt.extend("--ft-typography-title-letter-spacing",ye.letterSpacing,"0.15px"),we=gt.extend("--ft-typography-title-line-height",ye.lineHeight,"1.2"),$e=gt.extend("--ft-typography-title-text-transform",ye.textTransform,"inherit"),Se=gt.extend("--ft-typography-title-dense-font-family",ue),Oe=gt.extend("--ft-typography-title-dense-font-size",ye.fontSize,"14px"),ke=gt.extend("--ft-typography-title-dense-font-weight",ye.fontWeight,"normal"),Ce=gt.extend("--ft-typography-title-dense-letter-spacing",ye.letterSpacing,"0.105px"),Ne=gt.extend("--ft-typography-title-dense-line-height",ye.lineHeight,"1.7"),Ee=gt.extend("--ft-typography-title-dense-text-transform",ye.textTransform,"inherit"),Re=gt.extend("--ft-typography-subtitle1-font-family",ve),Me=gt.extend("--ft-typography-subtitle1-font-size",ye.fontSize,"16px"),ze=gt.extend("--ft-typography-subtitle1-font-weight",ye.fontWeight,"600"),Ae=gt.extend("--ft-typography-subtitle1-letter-spacing",ye.letterSpacing,"0.144px"),je=gt.extend("--ft-typography-subtitle1-line-height",ye.lineHeight,"1.5"),Ue=gt.extend("--ft-typography-subtitle1-text-transform",ye.textTransform,"inherit"),Fe=gt.extend("--ft-typography-subtitle2-font-family",ve),Le=gt.extend("--ft-typography-subtitle2-font-size",ye.fontSize,"14px"),Ie=gt.extend("--ft-typography-subtitle2-font-weight",ye.fontWeight,"normal"),Be=gt.extend("--ft-typography-subtitle2-letter-spacing",ye.letterSpacing,"0.098px"),Te=gt.extend("--ft-typography-subtitle2-line-height",ye.lineHeight,"1.7"),Pe=gt.extend("--ft-typography-subtitle2-text-transform",ye.textTransform,"inherit"),_e=gt.extend("--ft-typography-body1-font-family",ve),De=gt.extend("--ft-typography-body1-font-size",ye.fontSize,"16px"),We=gt.extend("--ft-typography-body1-font-weight",ye.fontWeight,"normal"),He=gt.extend("--ft-typography-body1-letter-spacing",ye.letterSpacing,"0.496px"),Ke=gt.extend("--ft-typography-body1-line-height",ye.lineHeight,"1.5"),Ze=gt.extend("--ft-typography-body1-text-transform",ye.textTransform,"inherit"),Ve=gt.extend("--ft-typography-body2-font-family",ve),Xe=gt.extend("--ft-typography-body2-font-size",ye.fontSize,"14px"),Je=gt.extend("--ft-typography-body2-font-weight",ye.fontWeight,"normal"),qe=gt.extend("--ft-typography-body2-letter-spacing",ye.letterSpacing,"0.252px"),Ye=gt.extend("--ft-typography-body2-line-height",ye.lineHeight,"1.4"),Ge=gt.extend("--ft-typography-body2-text-transform",ye.textTransform,"inherit"),Qe=gt.extend("--ft-typography-caption-font-family",ve),ti=gt.extend("--ft-typography-caption-font-size",ye.fontSize,"12px"),ei=gt.extend("--ft-typography-caption-font-weight",ye.fontWeight,"normal"),ii=gt.extend("--ft-typography-caption-letter-spacing",ye.letterSpacing,"0.396px"),oi=gt.extend("--ft-typography-caption-line-height",ye.lineHeight,"1.33"),ni=gt.extend("--ft-typography-caption-text-transform",ye.textTransform,"inherit"),si=gt.extend("--ft-typography-breadcrumb-font-family",ve),ri=gt.extend("--ft-typography-breadcrumb-font-size",ye.fontSize,"10px"),ai=gt.extend("--ft-typography-breadcrumb-font-weight",ye.fontWeight,"normal"),li=gt.extend("--ft-typography-breadcrumb-letter-spacing",ye.letterSpacing,"0.33px"),hi=gt.extend("--ft-typography-breadcrumb-line-height",ye.lineHeight,"1.6"),ci=gt.extend("--ft-typography-breadcrumb-text-transform",ye.textTransform,"inherit"),pi=gt.extend("--ft-typography-overline-font-family",ve),di=gt.extend("--ft-typography-overline-font-size",ye.fontSize,"10px"),fi=gt.extend("--ft-typography-overline-font-weight",ye.fontWeight,"normal"),ui=gt.extend("--ft-typography-overline-letter-spacing",ye.letterSpacing,"1.5px"),vi=gt.extend("--ft-typography-overline-line-height",ye.lineHeight,"1.6"),yi=gt.extend("--ft-typography-overline-text-transform",ye.textTransform,"uppercase"),xi={fontFamily:gt.extend("--ft-typography-button-font-family",ve),fontSize:gt.extend("--ft-typography-button-font-size",ye.fontSize,"14px"),fontWeight:gt.extend("--ft-typography-button-font-weight",ye.fontWeight,"600"),letterSpacing:gt.extend("--ft-typography-button-letter-spacing",ye.letterSpacing,"1.246px"),lineHeight:gt.extend("--ft-typography-button-line-height",ye.lineHeight,"1.15"),textTransform:gt.extend("--ft-typography-button-text-transform",ye.textTransform,"uppercase")},bi=b`
127
117
  .ft-typography--title {
128
- font-family: ${se};
129
- font-size: ${re};
130
- font-weight: ${le};
131
- letter-spacing: ${ae};
132
- line-height: ${he};
133
- text-transform: ${ce};
134
- }
135
- `,li=b`
136
- .ft-typography--title-dense {
137
- font-family: ${pe};
138
- font-size: ${de};
139
- font-weight: ${fe};
140
- letter-spacing: ${ue};
141
- line-height: ${ve};
142
- text-transform: ${ye};
143
- }
144
- `,ai=b`
145
- .ft-typography--subtitle1 {
146
118
  font-family: ${xe};
147
119
  font-size: ${be};
148
120
  font-weight: ${ge};
@@ -150,36 +122,36 @@ var ft,ut;class vt extends R{constructor(){super(...arguments),this.renderOption
150
122
  line-height: ${we};
151
123
  text-transform: ${$e};
152
124
  }
153
- `,hi=b`
154
- .ft-typography--subtitle2 {
155
- font-family: ${Oe};
156
- font-size: ${Se};
125
+ `,gi=b`
126
+ .ft-typography--title-dense {
127
+ font-family: ${Se};
128
+ font-size: ${Oe};
157
129
  font-weight: ${ke};
158
130
  letter-spacing: ${Ce};
159
131
  line-height: ${Ne};
160
132
  text-transform: ${Ee};
161
133
  }
162
-
163
- `,ci=b`
164
- .ft-typography--body1 {
134
+ `,mi=b`
135
+ .ft-typography--subtitle1 {
165
136
  font-family: ${Re};
166
137
  font-size: ${Me};
167
138
  font-weight: ${ze};
168
- letter-spacing: ${je};
169
- line-height: ${Ae};
139
+ letter-spacing: ${Ae};
140
+ line-height: ${je};
170
141
  text-transform: ${Ue};
171
142
  }
172
- `,pi=b`
173
- .ft-typography--body2 {
143
+ `,wi=b`
144
+ .ft-typography--subtitle2 {
174
145
  font-family: ${Fe};
175
146
  font-size: ${Le};
176
- font-weight: ${Be};
177
- letter-spacing: ${Te};
178
- line-height: ${Ie};
147
+ font-weight: ${Ie};
148
+ letter-spacing: ${Be};
149
+ line-height: ${Te};
179
150
  text-transform: ${Pe};
180
151
  }
181
- `,di=b`
182
- .ft-typography--caption {
152
+
153
+ `,$i=b`
154
+ .ft-typography--body1 {
183
155
  font-family: ${_e};
184
156
  font-size: ${De};
185
157
  font-weight: ${We};
@@ -187,8 +159,8 @@ var ft,ut;class vt extends R{constructor(){super(...arguments),this.renderOption
187
159
  line-height: ${Ke};
188
160
  text-transform: ${Ze};
189
161
  }
190
- `,fi=b`
191
- .ft-typography--breadcrumb {
162
+ `,Si=b`
163
+ .ft-typography--body2 {
192
164
  font-family: ${Ve};
193
165
  font-size: ${Xe};
194
166
  font-weight: ${Je};
@@ -196,8 +168,8 @@ var ft,ut;class vt extends R{constructor(){super(...arguments),this.renderOption
196
168
  line-height: ${Ye};
197
169
  text-transform: ${Ge};
198
170
  }
199
- `,ui=b`
200
- .ft-typography--overline {
171
+ `,Oi=b`
172
+ .ft-typography--caption {
201
173
  font-family: ${Qe};
202
174
  font-size: ${ti};
203
175
  font-weight: ${ei};
@@ -205,52 +177,70 @@ var ft,ut;class vt extends R{constructor(){super(...arguments),this.renderOption
205
177
  line-height: ${oi};
206
178
  text-transform: ${ni};
207
179
  }
208
- `,vi=b`
180
+ `,ki=b`
181
+ .ft-typography--breadcrumb {
182
+ font-family: ${si};
183
+ font-size: ${ri};
184
+ font-weight: ${ai};
185
+ letter-spacing: ${li};
186
+ line-height: ${hi};
187
+ text-transform: ${ci};
188
+ }
189
+ `,Ci=b`
190
+ .ft-typography--overline {
191
+ font-family: ${pi};
192
+ font-size: ${di};
193
+ font-weight: ${fi};
194
+ letter-spacing: ${ui};
195
+ line-height: ${vi};
196
+ text-transform: ${yi};
197
+ }
198
+ `,Ni=b`
209
199
  .ft-typography--button {
210
- font-family: ${si.fontFamily};
211
- font-size: ${si.fontSize};
212
- font-weight: ${si.fontWeight};
213
- letter-spacing: ${si.letterSpacing};
214
- line-height: ${si.lineHeight};
215
- text-transform: ${si.textTransform};
216
- }
217
- `,yi=b`
200
+ font-family: ${xi.fontFamily};
201
+ font-size: ${xi.fontSize};
202
+ font-weight: ${xi.fontWeight};
203
+ letter-spacing: ${xi.letterSpacing};
204
+ line-height: ${xi.lineHeight};
205
+ text-transform: ${xi.textTransform};
206
+ }
207
+ `,Ei=b`
218
208
  .ft-typography {
219
209
  vertical-align: inherit;
220
210
  }
221
- `;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,l=t.length-1;l>=0;l--)(n=t[l])&&(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 wt{constructor(){super(...arguments),this.variant=ee.body1}render(){return this.element?te`
222
- <${Gt(this.element)}
211
+ `;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 Mi extends Et{constructor(){super(...arguments),this.variant=fe.body1}render(){return this.element?de`
212
+ <${ce(this.element)}
223
213
  class="ft-typography ft-typography--${this.variant}">
224
214
  <slot></slot>
225
- </${Gt(this.element)}>
226
- `:te`
215
+ </${ce(this.element)}>
216
+ `:de`
227
217
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
228
- `}}bi.styles=[ri,li,ai,hi,ci,pi,di,fi,ui,vi,yi],xi([o()],bi.prototype,"element",void 0),xi([o()],bi.prototype,"variant",void 0),c("ft-typography")(bi);const gi=xt.extend("--ft-reader-internal-link-outline-color",gt.colorPrimary),mi=b`
218
+ `}}Mi.styles=[bi,gi,mi,wi,$i,Si,Oi,ki,Ci,Ni,Ei],Ri([o()],Mi.prototype,"element",void 0),Ri([o()],Mi.prototype,"variant",void 0),c("ft-typography")(Mi);const zi=gt.extend("--ft-reader-internal-link-outline-color",wt.colorPrimary),Ai=b`
229
219
  :host {
230
220
  display: contents;
231
221
  }
232
222
 
233
223
  a:focus {
234
- outline-color: ${gi};
224
+ outline-color: ${zi};
235
225
  }
236
226
 
237
227
  .ft-reader-link--remove-style {
238
228
  text-decoration: none;
239
229
  color: inherit;
240
230
  }
241
- `;var wi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(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 Jt{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let e=Kt({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return J`
231
+ `;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 Ui extends ae{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let e=te({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return Y`
242
232
  <a class=${e}
243
233
  href="${null===(t=this.service)||void 0===t?void 0:t.getLink(this.tocId,this.pageNumber,this.section)}"
244
234
  @click=${t=>this.onLinkClick(t)}>
245
235
  <slot></slot>
246
236
  </a>
247
- `}onLinkClick(t){var e;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),this.tocId&&(null===(e=this.stateManager)||void 0===e||e.navigateToTopic(this.tocId,this.section,this.pageNumber)),this.click())}}$i.styles=mi,wi([o()],$i.prototype,"tocId",void 0),wi([o()],$i.prototype,"section",void 0),wi([o({type:Number})],$i.prototype,"pageNumber",void 0),wi([o({type:Boolean})],$i.prototype,"removeStyle",void 0),c("ft-reader-internal-link")($i);
237
+ `}onLinkClick(t){var e;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),this.tocId&&(null===(e=this.stateManager)||void 0===e||e.navigateToTopic(this.tocId,this.section,this.pageNumber)),this.click())}}Ui.styles=Ai,ji([o()],Ui.prototype,"tocId",void 0),ji([o()],Ui.prototype,"section",void 0),ji([o({type:Number})],Ui.prototype,"pageNumber",void 0),ji([o({type:Boolean})],Ui.prototype,"removeStyle",void 0),c("ft-reader-internal-link")(Ui);
248
238
  /**
249
239
  * @license
250
240
  * Copyright 2017 Google LLC
251
241
  * SPDX-License-Identifier: BSD-3-Clause
252
242
  */
253
- class Oi extends Lt{constructor(t){if(super(t),this.it=Y,t.type!==Ut)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Y||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:[]}}}Oi.directiveName="unsafeHTML",Oi.resultType=1;const Si=Ft(Oi);var ki,Ci;!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;"}(ki||(ki={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Ci||(Ci={})),new Map([...["abw"].map((t=>[t,Ci.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,Ci.AUDIO])),...["avi"].map((t=>[t,Ci.AVI])),...["chm","xhs"].map((t=>[t,Ci.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,Ci.CODE])),...["csv"].map((t=>[t,Ci.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ci.DITA])),...["epub"].map((t=>[t,Ci.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ci.EXCEL])),...["flac"].map((t=>[t,Ci.FLAC])),...["gif"].map((t=>[t,Ci.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ci.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ci.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,Ci.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ci.JPEG])),...["json"].map((t=>[t,Ci.JSON])),...["m4a","m4p"].map((t=>[t,Ci.M4A])),...["mov","qt"].map((t=>[t,Ci.MOV])),...["mp3"].map((t=>[t,Ci.MP3])),...["mp4","m4v"].map((t=>[t,Ci.MP4])),...["ogg","oga"].map((t=>[t,Ci.OGG])),...["pdf","ps"].map((t=>[t,Ci.PDF])),...["png"].map((t=>[t,Ci.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ci.POWERPOINT])),...["rar"].map((t=>[t,Ci.RAR])),...["stp"].map((t=>[t,Ci.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ci.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,Ci.VIDEO])),...["wav"].map((t=>[t,Ci.WAV])),...["wma"].map((t=>[t,Ci.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ci.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ci.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ci.YAML])),...["zip"].map((t=>[t,Ci.ZIP]))]);const Ni={size:xt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:xt.extend("--ft-icon-fluid-topics-font-family",xt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:xt.extend("--ft-icon-file-format-font-family",xt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:xt.extend("--ft-icon-material-font-family",xt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:xt.create("--ft-icon-vertical-align","UNKNOWN","unset")},Ei=b`
243
+ class Fi extends Kt{constructor(t){if(super(t),this.et=Q,t.type!==Wt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Q||null==t)return this.ft=void 0,this.et=t;if(t===G)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:[]}}}Fi.directiveName="unsafeHTML",Fi.resultType=1;const Li=Ht(Fi);var Ii,Bi;!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;"}(Ii||(Ii={})),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;"}(Bi||(Bi={})),new Map([...["abw"].map((t=>[t,Bi.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,Bi.AUDIO])),...["avi"].map((t=>[t,Bi.AVI])),...["chm","xhs"].map((t=>[t,Bi.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,Bi.CODE])),...["csv"].map((t=>[t,Bi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Bi.DITA])),...["epub"].map((t=>[t,Bi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Bi.EXCEL])),...["flac"].map((t=>[t,Bi.FLAC])),...["gif"].map((t=>[t,Bi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Bi.GZIP])),...["html","htm","xhtml"].map((t=>[t,Bi.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,Bi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Bi.JPEG])),...["json"].map((t=>[t,Bi.JSON])),...["m4a","m4p"].map((t=>[t,Bi.M4A])),...["mov","qt"].map((t=>[t,Bi.MOV])),...["mp3"].map((t=>[t,Bi.MP3])),...["mp4","m4v"].map((t=>[t,Bi.MP4])),...["ogg","oga"].map((t=>[t,Bi.OGG])),...["pdf","ps"].map((t=>[t,Bi.PDF])),...["png"].map((t=>[t,Bi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Bi.POWERPOINT])),...["rar"].map((t=>[t,Bi.RAR])),...["stp"].map((t=>[t,Bi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Bi.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,Bi.VIDEO])),...["wav"].map((t=>[t,Bi.WAV])),...["wma"].map((t=>[t,Bi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Bi.WORD])),...["xml","xsl","rdf"].map((t=>[t,Bi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Bi.YAML])),...["zip"].map((t=>[t,Bi.ZIP]))]);const Ti={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")},Pi=b`
254
244
  :host, i.ft-icon {
255
245
  display: inline-flex;
256
246
  align-items: center;
@@ -259,14 +249,14 @@ class Oi extends Lt{constructor(t){if(super(t),this.it=Y,t.type!==Ut)throw Error
259
249
  }
260
250
 
261
251
  :host {
262
- width: ${Ni.size};
263
- height: ${Ni.size};
252
+ width: ${Ti.size};
253
+ height: ${Ti.size};
264
254
  }
265
255
 
266
256
  i.ft-icon {
267
257
  width: 100%;
268
258
  height: 100%;
269
- font-size: ${Ni.size};
259
+ font-size: ${Ti.size};
270
260
  line-height: 1;
271
261
  font-weight: normal;
272
262
  text-transform: none;
@@ -277,32 +267,32 @@ class Oi extends Lt{constructor(t){if(super(t),this.it=Y,t.type!==Ut)throw Error
277
267
  text-rendering: auto;
278
268
  -webkit-font-smoothing: antialiased;
279
269
  -moz-osx-font-smoothing: grayscale;
280
- vertical-align: ${Ni.verticalAlign};
270
+ vertical-align: ${Ti.verticalAlign};
281
271
  }
282
272
 
283
273
  i.ft-icon.ft-icon--fluid-topics {
284
- font-family: ${Ni.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
274
+ font-family: ${Ti.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
285
275
 
286
276
  /* Ugly fix because font is broken */
287
- font-size: calc(0.9 * ${Ni.size});
277
+ font-size: calc(0.75 * ${Ti.size});
288
278
  position: relative;
289
- top: -5%;
279
+ top: -4%;
290
280
  justify-content: center;
291
281
  }
292
282
 
293
283
  .ft-icon--file-format {
294
- font-family: ${Ni.fileFormatFontFamily}, ft-mime, sans-serif;
284
+ font-family: ${Ti.fileFormatFontFamily}, ft-mime, sans-serif;
295
285
  }
296
286
 
297
287
  .ft-icon--material {
298
- font-family: ${Ni.materialFontFamily}, "Material Icons", sans-serif;
288
+ font-family: ${Ti.materialFontFamily}, "Material Icons", sans-serif;
299
289
  }
300
- `;var Ri;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ri||(Ri={}));var Mi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(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 zi extends wt{constructor(){super(...arguments),this.resolvedIcon=Y}render(){var t;const e=null!==(t=this.variant)&&void 0!==t?t:Ri.fluid_topics,i="material"!==e||this.value;return J`
301
- <i class="ft-icon ${"ft-icon--"+e}">
302
- ${Si(this.resolvedIcon)}
303
- <slot ?hidden=${i}></slot>
290
+ `;var _i;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(_i||(_i={}));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 Wi extends Et{constructor(){super(...arguments),this.resolvedIcon=Q}render(){const t=this.variant&&Object.values(_i).includes(this.variant)?this.variant:_i.fluid_topics,e=t!==_i.material||!!this.value;return Y`
291
+ <i class="ft-icon ${"ft-icon--"+t}">
292
+ ${Li(this.resolvedIcon)}
293
+ <slot ?hidden=${e}></slot>
304
294
  </i>
305
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}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 Ri.file_format:this.resolvedIcon=null!==(t=Ci[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Ri.material:this.resolvedIcon=this.value||Y;break;default:this.resolvedIcon=null!==(e=ki[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}zi.elementDefinitions={},zi.styles=Ei,Mi([o()],zi.prototype,"variant",void 0),Mi([o()],zi.prototype,"value",void 0),Mi([n()],zi.prototype,"resolvedIcon",void 0),Mi([r("slot")],zi.prototype,"slottedContent",void 0),c("ft-icon")(zi);const ji=xt.extend("--ft-ripple-color",gt.colorContent),Ai={color:ji,backgroundColor:xt.extend("--ft-ripple-background-color",ji),opacityContentOnSurfacePressed:xt.external(gt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:xt.external(gt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:xt.external(gt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:xt.external(gt.opacityContentOnSurfaceSelected,"Design system")},Ui=xt.extend("--ft-ripple-color",gt.colorPrimary),Fi=Ui,Li=xt.extend("--ft-ripple-background-color",Ui),Bi=xt.extend("--ft-ripple-color",gt.colorSecondary),Ti=Bi,Ii=xt.extend("--ft-ripple-background-color",Bi),Pi=b`
295
+ `}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 _i.file_format:this.resolvedIcon=null!==(t=Bi[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case _i.material:this.resolvedIcon=this.value||Q;break;default:this.resolvedIcon=null!==(e=Ii[i.replace("-","_").toUpperCase()])&&void 0!==e?e:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Wi.elementDefinitions={},Wi.styles=Pi,Di([o()],Wi.prototype,"variant",void 0),Di([o()],Wi.prototype,"value",void 0),Di([n()],Wi.prototype,"resolvedIcon",void 0),Di([r("slot")],Wi.prototype,"slottedContent",void 0),c("ft-icon")(Wi);const Hi=gt.extend("--ft-ripple-color",wt.colorContent),Ki={color:Hi,backgroundColor:gt.extend("--ft-ripple-background-color",Hi),opacityContentOnSurfacePressed:gt.external(wt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:gt.external(wt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:gt.external(wt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:gt.external(wt.opacityContentOnSurfaceSelected,"Design system")},Zi=gt.extend("--ft-ripple-color",wt.colorPrimary),Vi=Zi,Xi=gt.extend("--ft-ripple-background-color",Zi),Ji=gt.extend("--ft-ripple-color",wt.colorSecondary),qi=Ji,Yi=gt.extend("--ft-ripple-background-color",Ji),Gi=b`
306
296
  :host {
307
297
  display: contents;
308
298
  }
@@ -324,27 +314,27 @@ class Oi extends Lt{constructor(t){if(super(t),this.it=Y,t.type!==Ut)throw Error
324
314
  }
325
315
 
326
316
  .ft-ripple .ft-ripple--background {
327
- background-color: ${Ai.backgroundColor};
317
+ background-color: ${Ki.backgroundColor};
328
318
  }
329
319
 
330
320
  .ft-ripple .ft-ripple--effect {
331
- background-color: ${Ai.color};
321
+ background-color: ${Ki.color};
332
322
  }
333
323
 
334
324
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
335
- background-color: ${Ii};
325
+ background-color: ${Yi};
336
326
  }
337
327
 
338
328
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
339
- background-color: ${Ti};
329
+ background-color: ${qi};
340
330
  }
341
331
 
342
332
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
343
- background-color: ${Li};
333
+ background-color: ${Xi};
344
334
  }
345
335
 
346
336
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
347
- background-color: ${Fi};
337
+ background-color: ${Vi};
348
338
  }
349
339
 
350
340
  .ft-ripple .ft-ripple--background {
@@ -376,22 +366,22 @@ class Oi extends Lt{constructor(t){if(super(t),this.it=Y,t.type!==Ut)throw Error
376
366
  }
377
367
 
378
368
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
379
- opacity: ${Ai.opacityContentOnSurfaceHover};
369
+ opacity: ${Ki.opacityContentOnSurfaceHover};
380
370
  }
381
371
 
382
372
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
383
- opacity: ${Ai.opacityContentOnSurfaceSelected};
373
+ opacity: ${Ki.opacityContentOnSurfaceSelected};
384
374
  }
385
375
 
386
376
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
387
- opacity: ${Ai.opacityContentOnSurfaceFocused};
377
+ opacity: ${Ki.opacityContentOnSurfaceFocused};
388
378
  }
389
379
 
390
380
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
391
- opacity: ${Ai.opacityContentOnSurfacePressed};
381
+ opacity: ${Ki.opacityContentOnSurfacePressed};
392
382
  transform: translate(-50%, -50%) scale(1);
393
383
  }
394
- `;var _i=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(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 Di extends wt{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`
384
+ `;var Qi=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 to extends Et{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 Y`
395
385
  <style>
396
386
  .ft-ripple .ft-ripple--effect,
397
387
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -404,11 +394,11 @@ class Oi extends Lt{constructor(t){if(super(t),this.it=Y,t.type!==Ut)throw Error
404
394
  top: ${this.originY}px;
405
395
  }
406
396
  </style>
407
- <div class="${Kt(t)}">
397
+ <div class="${te(t)}">
408
398
  <div class="ft-ripple--background"></div>
409
399
  <div class="ft-ripple--effect"></div>
410
400
  </div>
411
- `}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()}}Di.elementDefinitions={},Di.styles=Pi,_i([o({type:Boolean})],Di.prototype,"primary",void 0),_i([o({type:Boolean})],Di.prototype,"secondary",void 0),_i([o({type:Boolean})],Di.prototype,"unbounded",void 0),_i([o({type:Boolean})],Di.prototype,"activated",void 0),_i([o({type:Boolean})],Di.prototype,"selected",void 0),_i([o({type:Boolean})],Di.prototype,"disabled",void 0),_i([n()],Di.prototype,"hovered",void 0),_i([n()],Di.prototype,"focused",void 0),_i([n()],Di.prototype,"pressed",void 0),_i([n()],Di.prototype,"rippling",void 0),_i([n()],Di.prototype,"rippleSize",void 0),_i([n()],Di.prototype,"originX",void 0),_i([n()],Di.prototype,"originY",void 0),_i([r(".ft-ripple")],Di.prototype,"ripple",void 0),_i([r(".ft-ripple--effect")],Di.prototype,"rippleEffect",void 0),c("ft-ripple")(Di);const Wi=xt.create("--ft-tooltip-distance","SIZE","4px"),Hi=xt.create("--ft-tooltip-color","COLOR","#FFFFFF"),Ki=xt.create("--ft-tooltip-background-color","COLOR","#666666"),Zi=xt.create("--ft-tooltip-z-index","NUMBER","1"),Vi=xt.external(gt.borderRadiusS,"Design system"),Xi=xt.create("--ft-tooltip-max-width","SIZE","150px"),Ji=b`
401
+ `}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()}}to.elementDefinitions={},to.styles=Gi,Qi([o({type:Boolean})],to.prototype,"primary",void 0),Qi([o({type:Boolean})],to.prototype,"secondary",void 0),Qi([o({type:Boolean})],to.prototype,"unbounded",void 0),Qi([o({type:Boolean})],to.prototype,"activated",void 0),Qi([o({type:Boolean})],to.prototype,"selected",void 0),Qi([o({type:Boolean})],to.prototype,"disabled",void 0),Qi([n()],to.prototype,"hovered",void 0),Qi([n()],to.prototype,"focused",void 0),Qi([n()],to.prototype,"pressed",void 0),Qi([n()],to.prototype,"rippling",void 0),Qi([n()],to.prototype,"rippleSize",void 0),Qi([n()],to.prototype,"originX",void 0),Qi([n()],to.prototype,"originY",void 0),Qi([r(".ft-ripple")],to.prototype,"ripple",void 0),Qi([r(".ft-ripple--effect")],to.prototype,"rippleEffect",void 0),c("ft-ripple")(to);const eo=gt.create("--ft-tooltip-distance","SIZE","4px"),io=gt.create("--ft-tooltip-color","COLOR","#FFFFFF"),oo=gt.create("--ft-tooltip-background-color","COLOR","#666666"),no=gt.create("--ft-tooltip-z-index","NUMBER","1"),so=gt.external(wt.borderRadiusS,"Design system"),ro=gt.create("--ft-tooltip-max-width","SIZE","150px"),ao=b`
412
402
  .ft-tooltip--container {
413
403
  display: block;
414
404
  position: relative;
@@ -424,23 +414,23 @@ class Oi extends Lt{constructor(t){if(super(t),this.it=Y,t.type!==Ut)throw Error
424
414
  box-sizing: border-box;
425
415
  overflow: hidden;
426
416
  width: max-content;
427
- max-width: ${Xi};
417
+ max-width: ${ro};
428
418
  text-align: center;
429
- padding: ${Wi};
430
- z-index: ${Zi};
419
+ padding: ${eo};
420
+ z-index: ${no};
431
421
  }
432
422
 
433
423
  .ft-tooltip--content {
434
424
  padding: 4px 8px;
435
- border-radius: ${Vi};
436
- background-color: ${Ki};
437
- color: ${Hi};
425
+ border-radius: ${so};
426
+ background-color: ${oo};
427
+ color: ${io};
438
428
  top: -500px;
439
429
  left: -500px;
440
430
  position: relative;
441
431
  word-break: break-word;
442
432
  }
443
- `;var qi=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(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 Yi extends wt{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`
433
+ `;var lo=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 ho extends Et{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 Y`
444
434
  <div part="container"
445
435
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
446
436
  @mouseenter=${this.onHover}
@@ -458,13 +448,13 @@ class Oi extends Lt{constructor(t){if(super(t),this.it=Y,t.type!==Ut)throw Error
458
448
  </div>
459
449
  </div>
460
450
  </div>
461
- `}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, ${Xi})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}Yi.elementDefinitions={"ft-typography":bi},Yi.styles=Ji,qi([o()],Yi.prototype,"text",void 0),qi([o({type:Boolean})],Yi.prototype,"manual",void 0),qi([o({type:Boolean})],Yi.prototype,"inline",void 0),qi([o({type:Number})],Yi.prototype,"delay",void 0),qi([o()],Yi.prototype,"position",void 0),qi([
451
+ `}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, ${ro})`}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())}}ho.elementDefinitions={"ft-typography":Mi},ho.styles=ao,lo([o()],ho.prototype,"text",void 0),lo([o({type:Boolean})],ho.prototype,"manual",void 0),lo([o({type:Boolean})],ho.prototype,"inline",void 0),lo([o({type:Number})],ho.prototype,"delay",void 0),lo([o()],ho.prototype,"position",void 0),lo([
462
452
  /**
463
453
  * @license
464
454
  * Copyright 2017 Google LLC
465
455
  * SPDX-License-Identifier: BSD-3-Clause
466
456
  */
467
- function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return s({descriptor:o=>({get(){var o;const n="slot"+(e?`[name=${e}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),r=null!=s?a(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({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)],Yi.prototype,"slotNodes",void 0),qi([r(".ft-tooltip--container")],Yi.prototype,"container",void 0),qi([r("slot")],Yi.prototype,"target",void 0),qi([r(".ft-tooltip")],Yi.prototype,"tooltip",void 0),qi([r(".ft-tooltip--content")],Yi.prototype,"tooltipContent",void 0),qi([n()],Yi.prototype,"visible",void 0),c("ft-tooltip")(Yi);const Gi={color:xt.extend("--ft-loader-color",gt.colorPrimary),size:xt.create("--ft-loader-size","SIZE","80px")},Qi=b`
457
+ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},i?function(t){const{slot:e,selector:i}=null!=t?t:{};return s({descriptor:o=>({get(){var o;const n="slot"+(e?`[name=${e}]`:":not([name])"),s=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(n),r=null!=s?l(s,t):[];return i?r.filter((t=>t.matches(i))):r},enumerable:!0,configurable:!0})})}({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)],ho.prototype,"slotNodes",void 0),lo([r(".ft-tooltip--container")],ho.prototype,"container",void 0),lo([r("slot")],ho.prototype,"target",void 0),lo([r(".ft-tooltip")],ho.prototype,"tooltip",void 0),lo([r(".ft-tooltip--content")],ho.prototype,"tooltipContent",void 0),lo([n()],ho.prototype,"visible",void 0),c("ft-tooltip")(ho);const co={color:gt.extend("--ft-loader-color",wt.colorPrimary),size:gt.create("--ft-loader-size","SIZE","80px")},po=b`
468
458
  :host {
469
459
  line-height: 0;
470
460
  }
@@ -473,8 +463,8 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
473
463
  display: inline-block;
474
464
  position: relative;
475
465
 
476
- width: ${Gi.size};
477
- height: ${Gi.size};
466
+ width: ${co.size};
467
+ height: ${co.size};
478
468
  }
479
469
 
480
470
  .ft-loader div {
@@ -483,7 +473,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
483
473
  width: 25%;
484
474
  height: 25%;
485
475
  border-radius: 50%;
486
- background: ${Gi.color};
476
+ background: ${co.color};
487
477
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
488
478
  }
489
479
 
@@ -530,17 +520,17 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
530
520
  transform: translate(0, 0);
531
521
  }
532
522
  100% {
533
- transform: translate(calc(0.35 * ${Gi.size}), 0);
523
+ transform: translate(calc(0.35 * ${co.size}), 0);
534
524
  }
535
525
  }
536
- `;class to extends wt{render(){return J`
526
+ `;class fo extends Et{render(){return Y`
537
527
  <div class="ft-loader">
538
528
  <div></div>
539
529
  <div></div>
540
530
  <div></div>
541
531
  <div></div>
542
532
  </div>
543
- `}}to.styles=Qi,c("ft-loader")(to);const eo=xt.extend("--ft-button-color",gt.colorPrimary),io={backgroundColor:xt.extend("--ft-button-background-color",gt.colorSurface),borderRadius:xt.extend("--ft-button-border-radius",gt.borderRadiusL),color:eo,fontSize:xt.extend("--ft-button-font-size",si.fontSize),iconSize:xt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:xt.extend("--ft-button-ripple-color",eo),verticalPadding:xt.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:xt.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:xt.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:xt.external(gt.colorOpacityDisabled,"Design system")},oo=xt.extend("--ft-button-primary-color",xt.extend("--ft-button-color",gt.colorOnPrimary)),no={backgroundColor:xt.extend("--ft-button-primary-background-color",xt.extend("--ft-button-background-color",gt.colorPrimary)),color:oo,rippleColor:xt.extend("--ft-button-primary-ripple-color",oo)},so=xt.extend("--ft-button-dense-border-radius",xt.extend("--ft-button-border-radius",gt.borderRadiusM)),ro=xt.create("--ft-button-dense-vertical-padding","SIZE","2px"),lo=xt.create("--ft-button-dense-horizontal-padding","SIZE","4px"),ao=xt.create("--ft-button-dense-icon-padding","SIZE","4px"),ho=[$t,b`
533
+ `}}fo.styles=po,c("ft-loader")(fo);const uo=gt.extend("--ft-button-color",wt.colorPrimary),vo={backgroundColor:gt.extend("--ft-button-background-color",wt.colorSurface),borderRadius:gt.extend("--ft-button-border-radius",wt.borderRadiusL),color:uo,fontSize:gt.extend("--ft-button-font-size",xi.fontSize),iconSize:gt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:gt.extend("--ft-button-ripple-color",uo),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(wt.colorOpacityDisabled,"Design system")},yo=gt.extend("--ft-button-primary-color",gt.extend("--ft-button-color",wt.colorOnPrimary)),xo={backgroundColor:gt.extend("--ft-button-primary-background-color",gt.extend("--ft-button-background-color",wt.colorPrimary)),color:yo,rippleColor:gt.extend("--ft-button-primary-ripple-color",yo)},bo=gt.extend("--ft-button-dense-border-radius",gt.extend("--ft-button-border-radius",wt.borderRadiusM)),go=gt.create("--ft-button-dense-vertical-padding","SIZE","2px"),mo=gt.create("--ft-button-dense-horizontal-padding","SIZE","4px"),wo=gt.create("--ft-button-dense-icon-padding","SIZE","4px"),$o=[Rt,b`
544
534
  :host {
545
535
  display: inline-block;
546
536
  max-width: 100%;
@@ -551,7 +541,7 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
551
541
  box-shadow: 0px 0px 0px transparent;
552
542
  border: 0px solid transparent;
553
543
  text-shadow: 0px 0px 0px transparent;
554
- font-size: ${io.fontSize};
544
+ font-size: ${vo.fontSize};
555
545
  }
556
546
 
557
547
  button:hover {
@@ -580,32 +570,32 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
580
570
  border: none;
581
571
  pointer-events: auto;
582
572
 
583
- --ft-button-internal-line-height: calc(${io.fontSize} + 2px);
584
- --ft-button-internal-color: ${io.color};
585
- ${bt(Ni.size,io.iconSize)};
586
- ${bt(Ai.color,io.rippleColor)};
587
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${io.iconSize});
573
+ --ft-button-internal-line-height: calc(${vo.fontSize} + 2px);
574
+ --ft-button-internal-color: ${vo.color};
575
+ ${mt(Ti.size,vo.iconSize)};
576
+ ${mt(Ki.color,vo.rippleColor)};
577
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${vo.iconSize});
588
578
 
589
- border-radius: ${io.borderRadius};
590
- padding: ${io.verticalPadding} ${io.horizontalPadding};
591
- background-color: ${io.backgroundColor};
579
+ border-radius: ${vo.borderRadius};
580
+ padding: ${vo.verticalPadding} ${vo.horizontalPadding};
581
+ background-color: ${vo.backgroundColor};
592
582
  color: var(--ft-button-internal-color);
593
583
  -webkit-mask-image: radial-gradient(white, black);
594
584
  }
595
585
 
596
586
  .ft-button.ft-button--outlined {
597
587
  border: 1px solid var(--ft-button-internal-color);
598
- padding: calc(${io.verticalPadding} - 1px) calc(${io.horizontalPadding} - 1px);
588
+ padding: calc(${vo.verticalPadding} - 1px) calc(${vo.horizontalPadding} - 1px);
599
589
  }
600
590
 
601
591
  .ft-button.ft-button--dense {
602
- padding: ${ro} ${lo};
603
- border-radius: ${so};
604
- gap: ${ao};
592
+ padding: ${go} ${mo};
593
+ border-radius: ${bo};
594
+ gap: ${wo};
605
595
  }
606
596
 
607
597
  .ft-button.ft-button--dense.ft-button--outlined {
608
- padding: calc(${ro} - 1px) calc(${lo} - 1px);
598
+ padding: calc(${go} - 1px) calc(${mo} - 1px);
609
599
  }
610
600
 
611
601
  .ft-button:not([disabled]):hover {
@@ -613,22 +603,22 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
613
603
  }
614
604
 
615
605
  .ft-button--round {
616
- border-radius: calc(var(--ft-button-internal-content-height) / 2 + ${io.verticalPadding});
606
+ border-radius: calc(var(--ft-button-internal-content-height) / 2 + ${vo.verticalPadding});
617
607
  }
618
608
 
619
609
  .ft-button--round.ft-button--dense {
620
- border-radius: calc(var(--ft-button-internal-content-height) / 2 + ${ro});
610
+ border-radius: calc(var(--ft-button-internal-content-height) / 2 + ${go});
621
611
  }
622
612
 
623
613
  .ft-button[disabled] {
624
614
  filter: grayscale(1);
625
- opacity: ${io.opacityDisabled};
615
+ opacity: ${vo.opacityDisabled};
626
616
  }
627
617
 
628
618
  .ft-button.ft-button--primary {
629
- background-color: ${no.backgroundColor};
630
- --ft-button-internal-color: ${no.color};
631
- ${bt(Ai.color,no.rippleColor)};
619
+ background-color: ${xo.backgroundColor};
620
+ --ft-button-internal-color: ${xo.color};
621
+ ${mt(Ki.color,xo.rippleColor)};
632
622
  }
633
623
 
634
624
  .ft-button:focus {
@@ -641,13 +631,13 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
641
631
  white-space: nowrap;
642
632
  text-overflow: ellipsis;
643
633
  display: block;
644
- margin: 0 ${io.iconPadding};
645
- ${bt(si.fontSize,"1em")};
646
- ${bt(si.lineHeight,"var(--ft-button-internal-content-height)")};
634
+ margin: 0 ${vo.iconPadding};
635
+ ${mt(xi.fontSize,"1em")};
636
+ ${mt(xi.lineHeight,"var(--ft-button-internal-content-height)")};
647
637
  }
648
638
 
649
639
  .ft-button--dense .ft-button--label {
650
- margin: 0 ${ao};
640
+ margin: 0 ${wo};
651
641
  }
652
642
 
653
643
  .ft-button--label[hidden] {
@@ -660,13 +650,13 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
660
650
  }
661
651
 
662
652
  .ft-button--label[hidden] + ft-icon {
663
- margin: 0 calc(${io.horizontalPadding} * -1);
664
- padding: 0 ${io.verticalPadding};
653
+ margin: 0 calc(${vo.horizontalPadding} * -1);
654
+ padding: 0 ${vo.verticalPadding};
665
655
  }
666
656
 
667
657
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
668
- margin: 0 calc(${lo} * -1);
669
- padding: 0 ${ro};
658
+ margin: 0 calc(${mo} * -1);
659
+ padding: 0 ${go};
670
660
  }
671
661
 
672
662
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -675,33 +665,33 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
675
665
  }
676
666
 
677
667
  ft-loader {
678
- ${bt(Gi.size,io.iconSize)};
679
- ${bt(Gi.color,"var(--ft-button-internal-color)")};
668
+ ${mt(co.size,vo.iconSize)};
669
+ ${mt(co.color,"var(--ft-button-internal-color)")};
680
670
  }
681
- `];var co,po=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(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 fo extends wt{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=Ri.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`
671
+ `];var So,Oo=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 ko extends Et{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(Y`
682
672
  <button part="button"
683
- class="${Kt(t)}"
673
+ class="${te(t)}"
684
674
  aria-label="${this.getLabel()}"
685
675
  ?disabled=${this.isDisabled()}>
686
676
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
687
677
  <ft-typography part="label"
688
678
  variant="button"
689
679
  element="span"
690
- class="ft-button--label ${jt?"ft-safari-ellipsis-fix":""}"
680
+ class="ft-button--label ${_t?"ft-safari-ellipsis-fix":""}"
691
681
  ?hidden=${!this.hasTextContent()}>
692
682
  <slot @slotchange=${this.onSlotchange}></slot>
693
683
  </ft-typography>
694
684
  ${this.resolveIcon()}
695
685
  </button>
696
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?J`
686
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Y`
697
687
  <ft-tooltip part="tooltip"
698
688
  text="${this.getLabel()}"
699
689
  position="${this.tooltipPosition}">
700
690
  ${t}
701
691
  </ft-tooltip>
702
- `:t}resolveIcon(){return this.loading?J`
703
- <ft-loader part="loader icon"></ft-loader> `:this.icon?J`
704
- <ft-icon part="icon" variant="${this.iconVariant}" value="${this.icon}"></ft-icon> `:Y}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}}fo.elementDefinitions={"ft-ripple":Di,"ft-tooltip":Yi,"ft-typography":bi,"ft-icon":zi,"ft-loader":to},fo.styles=[Ot,ho],po([o({type:String,reflect:!0})],fo.prototype,"role",void 0),po([o({type:Boolean})],fo.prototype,"primary",void 0),po([o({type:Boolean})],fo.prototype,"outlined",void 0),po([o({type:Boolean})],fo.prototype,"disabled",void 0),po([o({type:Boolean})],fo.prototype,"dense",void 0),po([o({type:Boolean})],fo.prototype,"round",void 0),po([o({type:String})],fo.prototype,"label",void 0),po([o({type:String})],fo.prototype,"icon",void 0),po([o({type:String})],fo.prototype,"iconVariant",void 0),po([o({type:Boolean})],fo.prototype,"trailingIcon",void 0),po([o({type:Boolean})],fo.prototype,"loading",void 0),po([o({type:String})],fo.prototype,"tooltipPosition",void 0),po([o({type:Boolean})],fo.prototype,"hideTooltip",void 0),po([o({type:Boolean})],fo.prototype,"forceTooltip",void 0),po([r(".ft-button")],fo.prototype,"button",void 0),po([r(".ft-button--label slot")],fo.prototype,"slottedContent",void 0),c("ft-button")(fo),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(co||(co={}));const uo=b`
692
+ `:t}resolveIcon(){return this.loading?Y`
693
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?Y`
694
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:Q}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}}ko.elementDefinitions={"ft-ripple":to,"ft-tooltip":ho,"ft-typography":Mi,"ft-icon":Wi,"ft-loader":fo},ko.styles=[Mt,$o],Oo([o({type:String,reflect:!0})],ko.prototype,"role",void 0),Oo([o({type:Boolean})],ko.prototype,"primary",void 0),Oo([o({type:Boolean})],ko.prototype,"outlined",void 0),Oo([o({type:Boolean})],ko.prototype,"disabled",void 0),Oo([o({type:Boolean})],ko.prototype,"dense",void 0),Oo([o({type:Boolean})],ko.prototype,"round",void 0),Oo([o()],ko.prototype,"label",void 0),Oo([o()],ko.prototype,"icon",void 0),Oo([o()],ko.prototype,"iconVariant",void 0),Oo([o({type:Boolean})],ko.prototype,"trailingIcon",void 0),Oo([o({type:Boolean})],ko.prototype,"loading",void 0),Oo([o()],ko.prototype,"tooltipPosition",void 0),Oo([o({type:Boolean})],ko.prototype,"hideTooltip",void 0),Oo([o({type:Boolean})],ko.prototype,"forceTooltip",void 0),Oo([r(".ft-button")],ko.prototype,"button",void 0),Oo([r(".ft-button--label slot")],ko.prototype,"slottedContent",void 0),c("ft-button")(ko),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(So||(So={}));const Co=b`
705
695
  .ft-size-watcher--pixel {
706
696
  width: 0;
707
697
  height: 0;
@@ -720,34 +710,34 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
720
710
  .ft-size-watcher--local .ft-size-watcher--watcher {
721
711
  width: 100%;
722
712
  }
723
- `;var vo=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(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 yo extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class xo extends wt{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=co.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new e}render(){return J`
713
+ `;var No=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 Eo extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class Ro extends Et{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=So.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new e}render(){return Y`
724
714
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
725
715
  <div class="ft-size-watcher--watcher"></div>
726
716
  </div>
727
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=co.S:this.size<976?this.category=co.M:this.size<1024?this.category=co.L:this.size<1440?this.category=co.XL:this.category=co.XXL,this.dispatchEvent(new yo(this.size,this.category)))}),this.debounceTimeout)}}xo.elementDefinitions={},xo.styles=uo,vo([o({type:Number})],xo.prototype,"debounceTimeout",void 0),vo([o({type:Boolean})],xo.prototype,"local",void 0),vo([o({type:Number,reflect:!0})],xo.prototype,"size",void 0),vo([o({type:String,reflect:!0})],xo.prototype,"category",void 0),vo([r(".ft-size-watcher--watcher")],xo.prototype,"watcher",void 0),c("ft-size-watcher")(xo);const bo={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},go={tabulationSize:xt.create("--ft-reader-toc-tabulation-size","SIZE","16px"),verticalSpacing:xt.create("--ft-reader-toc-vertical-spacing","SIZE","4px"),textColor:xt.extend("--ft-reader-toc-text-color",gt.colorOnSurface),hoverColor:xt.extend("--ft-reader-toc-hover-color",gt.colorPrimary),highlightedTextColor:xt.extend("--ft-reader-toc-highlighted-text-color",gt.colorPrimary),highlightedFontWeight:xt.create("--ft-reader-toc-highlighted-font-weight","UNKNOWN","bold"),highlightedBackgroundColor:xt.create("--ft-reader-toc-highlighted-background-color","COLOR","transparent"),iconFontSize:xt.create("--ft-reader-toc-icon-font-size","SIZE","16px")},mo=b`
717
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=So.S:this.size<976?this.category=So.M:this.size<1024?this.category=So.L:this.size<1440?this.category=So.XL:this.category=So.XXL,this.dispatchEvent(new Eo(this.size,this.category)))}),this.debounceTimeout)}}Ro.elementDefinitions={},Ro.styles=Co,No([o({type:Number})],Ro.prototype,"debounceTimeout",void 0),No([o({type:Boolean})],Ro.prototype,"local",void 0),No([o({type:Number,reflect:!0})],Ro.prototype,"size",void 0),No([o({type:String,reflect:!0})],Ro.prototype,"category",void 0),No([r(".ft-size-watcher--watcher")],Ro.prototype,"watcher",void 0),c("ft-size-watcher")(Ro);const Mo={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},zo={tabulationSize:gt.create("--ft-reader-toc-tabulation-size","SIZE","16px"),verticalSpacing:gt.create("--ft-reader-toc-vertical-spacing","SIZE","4px"),textColor:gt.extend("--ft-reader-toc-text-color",wt.colorOnSurface),hoverColor:gt.extend("--ft-reader-toc-hover-color",wt.colorPrimary),highlightedTextColor:gt.extend("--ft-reader-toc-highlighted-text-color",wt.colorPrimary),highlightedFontWeight:gt.create("--ft-reader-toc-highlighted-font-weight","UNKNOWN","bold"),highlightedBackgroundColor:gt.create("--ft-reader-toc-highlighted-background-color","COLOR","transparent"),iconFontSize:gt.create("--ft-reader-toc-icon-font-size","SIZE","16px")},Ao=b`
728
718
  .ft-reader-toc {
729
- color: ${go.textColor};
719
+ color: ${zo.textColor};
730
720
  }
731
721
 
732
722
  .ft-reader-toc--node-highlighted > .ft-reader-toc--link-container {
733
- background-color: ${go.highlightedBackgroundColor};
734
- color: ${go.highlightedTextColor};
735
- ${bt(ne.fontWeight,go.highlightedFontWeight)}
723
+ background-color: ${zo.highlightedBackgroundColor};
724
+ color: ${zo.highlightedTextColor};
725
+ ${mt(ye.fontWeight,zo.highlightedFontWeight)}
736
726
  }
737
727
 
738
728
  .ft-reader-toc--link-container {
739
729
  display: flex;
740
730
  gap: 4px;
741
- padding: ${go.verticalSpacing} 4px; /* left padding is override on inline style */
731
+ padding: ${zo.verticalSpacing} 4px; /* left padding is override on inline style */
742
732
  align-items: center;
743
733
  }
744
734
 
745
735
  .ft-reader-toc--link-container ft-reader-internal-link:hover {
746
- color: ${go.hoverColor};
736
+ color: ${zo.hoverColor};
747
737
  }
748
738
 
749
739
  ft-button {
750
- ${bt(io.iconSize,go.iconFontSize)};
740
+ ${mt(vo.iconSize,zo.iconFontSize)};
751
741
  }
752
742
 
753
743
  .ft-reader-toc--toggle-container {
@@ -755,11 +745,11 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
755
745
  }
756
746
 
757
747
  .ft-reader-toc-mobile .ft-reader-toc--toggle-container {
758
- width: calc(${go.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
748
+ width: calc(${zo.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
759
749
  }
760
750
 
761
751
  .ft-reader-toc-desktop .ft-reader-toc--toggle-container {
762
- width: calc(${go.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
752
+ width: calc(${zo.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
763
753
  }
764
754
 
765
755
  .ft-reader-toc-expanded .ft-reader-toc--toggle-container {
@@ -782,20 +772,20 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
782
772
  .ft-reader-toc-expand-collapse-all-justify ft-button {
783
773
  flex-grow: 1;
784
774
  }
785
- `;var wo=function(t,e,i,o){for(var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(n=t[l])&&(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 $o extends Jt{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=Ri.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.expandCollapseAllIconVariant=Ri.fluid_topics,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scope="pages",this.hideIfEmpty=!1,this.empty=!0,this.labels={},this.labelResolver=new St(bo,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=co.M,this.nodesToExpandExist=!1}get isCurrentPageToc(){return"current-page"===this.scope}update(t){var e,i,o;super.update(t),t.has("toc")&&(this.nodesToExpandExist=(null!==(e=this.toc)&&void 0!==e?e:[]).some((t=>t.children.length>0))),t.has("labels")&&(this.labelResolver=new St(bo,this.labels)),t.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes(null!==(i=this.highlightedTocIds)&&void 0!==i?i:[])),this.empty=0===(null!==(o=this.toc)&&void 0!==o?o:[]).length}render(){var t;const e={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===co.S,"ft-reader-toc-desktop":this.viewportSize!==co.S,"ft-reader-toc-loaded":null!=this.currentPage,"ft-reader-toc-expanded":this.expanded};return J`
786
- ${this.hideIfEmpty&&this.empty?J`
775
+ `;var jo=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 Uo extends ae{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=_i.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scope="pages",this.hideIfEmpty=!1,this.empty=!0,this.labels={},this.labelResolver=new zt(Mo,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=So.M,this.nodesToExpandExist=!1}get isCurrentPageToc(){return"current-page"===this.scope}update(t){var e,i,o;super.update(t),t.has("toc")&&(this.nodesToExpandExist=(null!==(e=this.toc)&&void 0!==e?e:[]).some((t=>t.children.length>0))),t.has("labels")&&(this.labelResolver=new zt(Mo,this.labels)),t.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes(null!==(i=this.highlightedTocIds)&&void 0!==i?i:[])),this.empty=0===(null!==(o=this.toc)&&void 0!==o?o:[]).length}render(){var t;const e={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===So.S,"ft-reader-toc-desktop":this.viewportSize!==So.S,"ft-reader-toc-loaded":null!=this.currentPage,"ft-reader-toc-expanded":this.expanded};return Y`
776
+ ${this.hideIfEmpty&&this.empty?Y`
787
777
  <style>
788
778
  :host {
789
779
  display: none !important;
790
780
  }
791
781
  </style>
792
- `:Y}
793
- <div class=${Kt(e)}>
782
+ `:Q}
783
+ <div class=${te(e)}>
794
784
  <ft-size-watcher @change=${this.onViewportSizeChange}></ft-size-watcher>
795
785
  ${this.renderExpandCollapseAll()}
796
- ${Ht(null!==(t=this.toc)&&void 0!==t?t:[],(t=>t.tocId),(t=>this.renderNode(t)))}
786
+ ${Qt(null!==(t=this.toc)&&void 0!==t?t:[],(t=>t.tocId),(t=>this.renderNode(t)))}
797
787
  </div>
798
- `}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?J`
788
+ `}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?Y`
799
789
  <div part="expand-collapse-all-container"
800
790
  class="ft-reader-toc-expand-collapse-all-container ft-reader-toc-expand-collapse-all-${this.expandCollapseAllAlignment}">
801
791
  <ft-button
@@ -810,18 +800,18 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
810
800
  ${this.expandCollapseAllHideLabel?"":this.labelResolver.resolve(this.expandAll?"collapseAll":"expandAll")}
811
801
  </ft-button>
812
802
  </div>
813
- `:Y}renderNode(t){var e,i,o;const n=null===(e=this.highlightedTocIds)||void 0===e?void 0:e.includes(t.tocId),s=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),r=t.children.length>0,l=this.isCurrentPageToc?(null!==(o=null===(i=this.currentPage)||void 0===i?void 0:i.breadcrumb.length)&&void 0!==o?o:0)+1:0,a=t.depth-1-l,h={"padding-left":`calc( ${go.tabulationSize} * ${a} + 4px)`};return J`
803
+ `:Q}renderNode(t){var e,i,o;const n=null===(e=this.highlightedTocIds)||void 0===e?void 0:e.includes(t.tocId),s=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),r=t.children.length>0,a=this.isCurrentPageToc?(null!==(o=null===(i=this.currentPage)||void 0===i?void 0:i.breadcrumb.length)&&void 0!==o?o:0)+1:0,l=t.depth-1-a,h={"padding-left":`calc( ${zo.tabulationSize} * ${l} + 4px)`};return Y`
814
804
  <div class="ft-reader-toc--node ${n?"ft-reader-toc--node-highlighted":""}">
815
- <div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${Zt(h)}>
816
- ${this.nodesToExpandExist&&!this.expanded?J`
805
+ <div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${oe(h)}>
806
+ ${this.nodesToExpandExist&&!this.expanded?Y`
817
807
  <div class="ft-reader-toc--toggle-container">
818
- ${r?J`
808
+ ${r?Y`
819
809
  <ft-button
820
810
  part="expand-collapse-node"
821
811
  round hideTooltip
822
- ?dense=${this.viewportSize!==co.S}
812
+ ?dense=${this.viewportSize!==So.S}
823
813
  label="${this.labelResolver.resolve(s?"collapse":"expand",t.title)}"
824
- iconVariant="${this.iconVariant}"
814
+ .iconVariant="${this.iconVariant}"
825
815
  icon="${s?this.collapseIcon||"MINUS":this.expandIcon||"PLUS"}"
826
816
  @click=${()=>this.manuallyToggle(t.tocId,s)}
827
817
  data-expand-node="${t.tocId}"
@@ -829,9 +819,9 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
829
819
  aria-expanded="${s}"
830
820
  >
831
821
  </ft-button>
832
- `:Y}
822
+ `:Q}
833
823
  </div>
834
- `:Y}
824
+ `:Q}
835
825
  <ft-reader-internal-link
836
826
  part="node-link"
837
827
  tocId="${t.tocId}"
@@ -839,11 +829,11 @@ function(t,e,i){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:e},
839
829
  <ft-typography part="node-label" variant="body2">${t.title}</ft-typography>
840
830
  </ft-reader-internal-link>
841
831
  </div>
842
- ${r?J`
832
+ ${r?Y`
843
833
  <div class="ft-reader-toc--node-children" id="${t.tocId}-children"
844
834
  ?hidden=${!s}>
845
- ${s?Ht(t.children,(t=>t.tocId),(t=>this.renderNode(t))):Y}
835
+ ${s?Qt(t.children,(t=>t.tocId),(t=>this.renderNode(t))):Q}
846
836
  </div>
847
- `:Y}
837
+ `:Q}
848
838
  </div>
849
- `}buildAutomaticallyExpandedNodes(t){var e,i;let o=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let n of t){let t=n;for(;t&&!o.has(t);)o.add(t),this.manuallyCollapsedNodes.delete(t),t=null===(i=null===(e=this.service)||void 0===e?void 0:e.getTocNodeNow(t))||void 0===i?void 0:i.parentTocId}return o}manuallyToggle(t,e){e?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}}$o.elementDefinitions={"ft-button":fo,"ft-reader-internal-link":$i,"ft-size-watcher":xo,"ft-typography":bi},$o.styles=mo,wo([o({type:Boolean})],$o.prototype,"expanded",void 0),wo([o()],$o.prototype,"iconVariant",void 0),wo([o()],$o.prototype,"collapseIcon",void 0),wo([o()],$o.prototype,"expandIcon",void 0),wo([o({type:Boolean})],$o.prototype,"expandCollapseAll",void 0),wo([o({type:Boolean})],$o.prototype,"expandCollapseAllHideLabel",void 0),wo([o({type:Boolean})],$o.prototype,"expandCollapseAllTrailingIcon",void 0),wo([o()],$o.prototype,"expandCollapseAllAlignment",void 0),wo([o({type:Boolean})],$o.prototype,"expandCollapseAllHideIcon",void 0),wo([o()],$o.prototype,"expandCollapseAllIconVariant",void 0),wo([o()],$o.prototype,"collapseAllIcon",void 0),wo([o()],$o.prototype,"expandAllIcon",void 0),wo([o({type:Boolean})],$o.prototype,"autoCollapse",void 0),wo([o()],$o.prototype,"scope",void 0),wo([o({type:Boolean})],$o.prototype,"hideIfEmpty",void 0),wo([o({type:Boolean,reflect:!0})],$o.prototype,"empty",void 0),wo([p({})],$o.prototype,"labels",void 0),wo([Ct(((t,e)=>{var i,o,n;return e.isCurrentPageToc?(null===(i=t.paginationConfiguration)||void 0===i?void 0:i.splitCurrentPageToc)?null===(o=t.currentPage)||void 0===o?void 0:o.toc:void 0:(null===(n=t.paginationConfiguration)||void 0===n?void 0:n.splitCurrentPageToc)?t.pagesToc:t.toc}))],$o.prototype,"toc",void 0),wo([Ct((t=>{var e;return null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc}))],$o.prototype,"splitToc",void 0),wo([Ct()],$o.prototype,"currentPage",void 0),wo([Ct(((t,e)=>{var i,o;return(null===(i=t.paginationConfiguration)||void 0===i?void 0:i.splitCurrentPageToc)&&!e.isCurrentPageToc?[null===(o=t.currentPage)||void 0===o?void 0:o.rootTocId]:t.visibleTopics}))],$o.prototype,"highlightedTocIds",void 0),wo([n({hasChanged:(t,e)=>!h(t,e)})],$o.prototype,"automaticallyExpandedNodes",void 0),wo([n({hasChanged:(t,e)=>!h(t,e)})],$o.prototype,"manuallyExpandedNodes",void 0),wo([n({hasChanged:(t,e)=>!h(t,e)})],$o.prototype,"manuallyCollapsedNodes",void 0),wo([n()],$o.prototype,"expandAll",void 0),wo([n()],$o.prototype,"viewportSize",void 0),c("ft-reader-toc")($o),t.DEFAULT_LABELS=bo,t.FtReaderToc=$o,t.FtReaderTocCssVariables=go,t.styles=mo,Object.defineProperty(t,"i",{value:!0})}({});
839
+ `}buildAutomaticallyExpandedNodes(t){var e,i;let o=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let n of t){let t=n;for(;t&&!o.has(t);)o.add(t),this.manuallyCollapsedNodes.delete(t),t=null===(i=null===(e=this.service)||void 0===e?void 0:e.getTocNodeNow(t))||void 0===i?void 0:i.parentTocId}return o}manuallyToggle(t,e){e?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}}Uo.elementDefinitions={"ft-button":ko,"ft-reader-internal-link":Ui,"ft-size-watcher":Ro,"ft-typography":Mi},Uo.styles=Ao,jo([o({type:Boolean})],Uo.prototype,"expanded",void 0),jo([o()],Uo.prototype,"iconVariant",void 0),jo([o()],Uo.prototype,"collapseIcon",void 0),jo([o()],Uo.prototype,"expandIcon",void 0),jo([o({type:Boolean})],Uo.prototype,"expandCollapseAll",void 0),jo([o({type:Boolean})],Uo.prototype,"expandCollapseAllHideLabel",void 0),jo([o({type:Boolean})],Uo.prototype,"expandCollapseAllTrailingIcon",void 0),jo([o()],Uo.prototype,"expandCollapseAllAlignment",void 0),jo([o({type:Boolean})],Uo.prototype,"expandCollapseAllHideIcon",void 0),jo([o()],Uo.prototype,"expandCollapseAllIconVariant",void 0),jo([o()],Uo.prototype,"collapseAllIcon",void 0),jo([o()],Uo.prototype,"expandAllIcon",void 0),jo([o({type:Boolean})],Uo.prototype,"autoCollapse",void 0),jo([o()],Uo.prototype,"scope",void 0),jo([o({type:Boolean})],Uo.prototype,"hideIfEmpty",void 0),jo([o({type:Boolean,reflect:!0})],Uo.prototype,"empty",void 0),jo([p({})],Uo.prototype,"labels",void 0),jo([Ut({selector:(t,e)=>{var i,o,n;return e.isCurrentPageToc?(null===(i=t.paginationConfiguration)||void 0===i?void 0:i.splitCurrentPageToc)?null===(o=t.currentPage)||void 0===o?void 0:o.toc:void 0:(null===(n=t.paginationConfiguration)||void 0===n?void 0:n.splitCurrentPageToc)?t.pagesToc:t.toc}})],Uo.prototype,"toc",void 0),jo([Ut({selector:t=>{var e;return null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc}})],Uo.prototype,"splitToc",void 0),jo([Ut()],Uo.prototype,"currentPage",void 0),jo([Ut({selector:(t,e)=>{var i,o;return(null===(i=t.paginationConfiguration)||void 0===i?void 0:i.splitCurrentPageToc)&&!e.isCurrentPageToc?[null===(o=t.currentPage)||void 0===o?void 0:o.rootTocId]:t.visibleTopics}})],Uo.prototype,"highlightedTocIds",void 0),jo([n({hasChanged:(t,e)=>!h(t,e)})],Uo.prototype,"automaticallyExpandedNodes",void 0),jo([n({hasChanged:(t,e)=>!h(t,e)})],Uo.prototype,"manuallyExpandedNodes",void 0),jo([n({hasChanged:(t,e)=>!h(t,e)})],Uo.prototype,"manuallyCollapsedNodes",void 0),jo([n()],Uo.prototype,"expandAll",void 0),jo([n()],Uo.prototype,"viewportSize",void 0),c("ft-reader-toc")(Uo),t.DEFAULT_LABELS=Mo,t.FtReaderToc=Uo,t.FtReaderTocCssVariables=zo,t.styles=Ao}({});