@fluid-topics/ft-filter 0.2.3 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
16
  */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,s=new WeakMap,n=new WeakMap,r=new WeakMap,l=new WeakMap;let a;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,s){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(s))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=s.prototype.attributeChangedCallback,a=new Set(s.observedAttributes||[]);d(s,a,l);const h={elementClass:s,connectedCallback:s.prototype.connectedCallback,disconnectedCallback:s.prototype.disconnectedCallback,adoptedCallback:s.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:s.formAssociated,formAssociatedCallback:s.prototype.formAssociatedCallback,formDisabledCallback:s.prototype.formDisabledCallback,formResetCallback:s.prototype.formResetCallback,formStateRestoreCallback:s.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,h),this._definitionsByClass.set(s,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(r.set(s,h),h.standInClass=c);const f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)n.delete(t),u(t,h,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(s),this._whenDefinedPromises.delete(t)),s}upgrade(){b.push(this),o.upgrade.apply(o,arguments),b.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=a;if(e)return a=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),s.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,s=o._getDefinition(e);return s?u(i,s):n.set(i,o),i}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){s.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=s.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=s.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=s.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=s.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,s){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n,s),i.call(this,n,t,s)}else o.call(this,n,s)});const s=t.prototype.removeAttribute;s&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);s.call(this,o),i.call(this,o,t,null)}else s.call(this,o)})},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),s.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 b=[document];const x=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),b.pop(),t}};x(ShadowRoot,"createElement",document),x(ShadowRoot,"importNode",document),x(Element,"insertAdjacentHTML");const y=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.pop()}})};if(y(Element,"innerHTML"),y(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==s.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),s=e.get(o)||[];this[+i]=t,s.push(t),e.set(o,s)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=s.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(hi){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
17
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,i=window.customElements.get,o=window.customElements,s=new WeakMap,n=new WeakMap,r=new WeakMap,l=new WeakMap;let a;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,s){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(s))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=s.prototype.attributeChangedCallback,a=new Set(s.observedAttributes||[]);d(s,a,l);const h={elementClass:s,connectedCallback:s.prototype.connectedCallback,disconnectedCallback:s.prototype.disconnectedCallback,adoptedCallback:s.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:s.formAssociated,formAssociatedCallback:s.prototype.formAssociatedCallback,formDisabledCallback:s.prototype.formDisabledCallback,formResetCallback:s.prototype.formResetCallback,formStateRestoreCallback:s.prototype.formStateRestoreCallback,observedAttributes:a};this._definitionsByTag.set(t,h),this._definitionsByClass.set(s,h);let c=i.call(o,t);c||(c=p(t),e.call(o,t,c)),this===window.customElements&&(r.set(s,h),h.standInClass=c);const f=this._awaitingUpgrade.get(t);if(f){this._awaitingUpgrade.delete(t);for(const t of f)n.delete(t),u(t,h,!0)}const v=this._whenDefinedPromises.get(t);return void 0!==v&&(v.resolve(s),this._whenDefinedPromises.delete(t)),s}upgrade(){b.push(this),o.upgrade.apply(o,arguments),b.pop()}get(t){return this._definitionsByTag.get(t)?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let i=this._whenDefinedPromises.get(t);return void 0===i&&(i={},i.promise=new Promise((t=>i.resolve=t)),this._whenDefinedPromises.set(t,i)),i.promise}_upgradeWhenDefined(t,e,i){let o=this._awaitingUpgrade.get(e);o||this._awaitingUpgrade.set(e,o=new Set),i?o.add(t):o.delete(t)}},window.HTMLElement=function(){let e=a;if(e)return a=void 0,e;const i=r.get(this.constructor);if(!i)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],i.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),s.set(e,i),e},window.HTMLElement.prototype=t.prototype;const h=t=>t===document||t instanceof ShadowRoot,c=t=>{let e=t.getRootNode();if(!h(e)){const t=b[b.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),h(e)||(e=l.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const i=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(i,HTMLElement.prototype);const o=c(i)||window.customElements,s=o._getDefinition(e);return s?u(i,s):n.set(i,o),i}connectedCallback(){const t=s.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=s.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){s.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=s.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=s.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=s.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=s.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,e,i)=>{if(0===e.size||void 0===i)return;const o=t.prototype.setAttribute;o&&(t.prototype.setAttribute=function(t,s){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);o.call(this,n,s),i.call(this,n,t,s)}else o.call(this,n,s)});const s=t.prototype.removeAttribute;s&&(t.prototype.removeAttribute=function(t){const o=t.toLowerCase();if(e.has(o)){const t=this.getAttribute(o);s.call(this,o),i.call(this,o,t,null)}else s.call(this,o)})},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),s.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 b=[document];const x=(t,e,i)=>{const o=(i?Object.getPrototypeOf(i):t.prototype)[e];t.prototype[e]=function(){b.push(this);const t=o.apply(i||this,arguments);return void 0!==t&&l.set(t,this),b.pop(),t}};x(ShadowRoot,"createElement",document),x(ShadowRoot,"importNode",document),x(Element,"insertAdjacentHTML");const y=(t,e)=>{const i=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...i,set(t){b.push(this),i.set.call(this,t),b.pop()}})};if(y(Element,"innerHTML"),y(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,i=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...i){const o=e.call(this,...i);return t.set(o,this),o},i.forEach((e=>{const i=window.ElementInternals.prototype,o=i[e];i[e]=function(...e){const i=t.get(this);if(!0!==s.get(i).formAssociated)throw new DOMException(`Failed to execute ${o} on 'ElementInternals': The target element is not a form-associated custom element.`);o?.call(this,...e)}}));class o extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,i)=>{const o=t.getAttribute("name"),s=e.get(o)||[];this[+i]=t,s.push(t),e.set(o,s)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new o(t))}))}namedItem(t){return this[t]}}const r=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=r.get.call(this,[]),e=[];for(const i of t){const t=s.get(i);t&&!0!==t.formAssociated||e.push(i)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(yi){const t=window.customElements.define;window.customElements.define=(e,i,o)=>{try{t.bind(window.customElements)(e,i,o)}catch(t){console.warn(e,i,o,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){this.callbacks=[t],this.debounce(e)}queue(t,e){this.callbacks.push(t),this.debounce(e)}cancel(){null!=this._debounce&&window.clearTimeout(this._debounce)}debounce(t){this.cancel(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout)}runCallbacks(){for(let t of this.callbacks)t();this.callbacks=[]}}
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
@@ -61,19 +61,19 @@ const p=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShad
61
61
  * @license
62
62
  * Copyright 2017 Google LLC
63
63
  * SPDX-License-Identifier: BSD-3-Clause
64
- */;var g;const m=window.trustedTypes,$=m?m.emptyScript:"",w=window.reactiveElementPolyfillSupport,k={toAttribute(t,e){switch(e){case Boolean:t=t?$: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}},O=(t,e)=>e!==t&&(e==e||t==t),S={attribute:!0,type:String,converter:k,reflect:!1,hasChanged:O};class C extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.set(o,i),t.push(o))})),t}static createProperty(t,e=S){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 s=this[t];this[e]=o,this.requestUpdate(t,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||S}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,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(y(t))}else void 0!==t&&e.push(y(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return x(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=S){var o,s;const n=this.constructor._$Eh(t,i);if(void 0!==n&&!0===i.reflect){const r=(null!==(s=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==s?s:k.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$Ei=null}}_$AK(t,e){var i,o,s;const n=this.constructor,r=n._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=n.getPropertyOptions(r),l=t.converter,a=null!==(s=null!==(o=null===(i=l)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof l?l:null)&&void 0!==s?s:k.fromAttribute;this._$Ei=r,this[r]=a(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||O)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$EC())}async _$EC(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
64
+ */;var g;const m=window.trustedTypes,$=m?m.emptyScript:"",w=window.reactiveElementPolyfillSupport,k={toAttribute(t,e){switch(e){case Boolean:t=t?$: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}},O=(t,e)=>e!==t&&(e==e||t==t),S={attribute:!0,type:String,converter:k,reflect:!1,hasChanged:O};class C extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const o=this._$Eh(i,e);void 0!==o&&(this._$Eu.set(o,i),t.push(o))})),t}static createProperty(t,e=S){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 s=this[t];this[e]=o,this.requestUpdate(t,s,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||S}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const t=this.properties,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(y(t))}else void 0!==t&&e.push(y(t));return e}static _$Eh(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return x(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ES(t,e,i=S){var o,s;const n=this.constructor._$Eh(t,i);if(void 0!==n&&!0===i.reflect){const r=(null!==(s=null===(o=i.converter)||void 0===o?void 0:o.toAttribute)&&void 0!==s?s:k.toAttribute)(e,i.type);this._$Ei=t,null==r?this.removeAttribute(n):this.setAttribute(n,r),this._$Ei=null}}_$AK(t,e){var i,o,s;const n=this.constructor,r=n._$Eu.get(t);if(void 0!==r&&this._$Ei!==r){const t=n.getPropertyOptions(r),l=t.converter,a=null!==(s=null!==(o=null===(i=l)||void 0===i?void 0:i.fromAttribute)&&void 0!==o?o:"function"==typeof l?l:null)&&void 0!==s?s:k.fromAttribute;this._$Ei=r,this[r]=a(e,t.type),this._$Ei=null}}requestUpdate(t,e,i){let o=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||O)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$Ei!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):o=!1),!this.isUpdatePending&&o&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$EC=void 0),this._$EU()}updated(t){}firstUpdated(t){}}
65
65
  /**
66
66
  * @license
67
67
  * Copyright 2017 Google LLC
68
68
  * SPDX-License-Identifier: BSD-3-Clause
69
69
  */
70
- var E;C.finalized=!0,C.elementProperties=new Map,C.elementStyles=[],C.shadowRootOptions={mode:"open"},null==w||w({ReactiveElement:C}),(null!==(g=globalThis.reactiveElementVersions)&&void 0!==g?g:globalThis.reactiveElementVersions=[]).push("1.2.2");const N=globalThis.trustedTypes,z=N?N.createPolicy("lit-html",{createHTML:t=>t}):void 0,M=`lit$${(Math.random()+"").slice(9)}$`,R="?"+M,F=`<${R}>`,B=document,j=(t="")=>B.createComment(t),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,L=t=>{var e;return D(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,_=/>/g,P=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,I=/'/g,H=/"/g,W=/^(?:script|style|textarea|title)$/i,K=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),V=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),J=new WeakMap,q=B.createTreeWalker(B,129,null,!1),X=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=T;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===T?"!--"===a[1]?r=A:void 0!==a[1]?r=_:void 0!==a[2]?(W.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=P):void 0!==a[3]&&(r=P):r===P?">"===a[0]?(r=null!=s?s:T,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?P:'"'===a[3]?H:I):r===H||r===I?r=P:r===A||r===_?r=T:(r=P,s=void 0);const p=r===P&&t[e+1].startsWith("/>")?" ":"";n+=r===T?i+F:h>=0?(o.push(l),i.slice(0,h)+"$lit$"+i.slice(h)+M+p):i+M+(-2===h?(o.push(void 0),e):p)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==z?z.createHTML(l):l,o]};class Y{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,h]=X(t,e);if(this.el=Y.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(M)){const i=h[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(M),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?it:"?"===e[1]?st:"@"===e[1]?nt:et})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(W.test(o.tagName)){const t=o.textContent.split(M),e=t.length-1;if(e>0){o.textContent=N?N.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],j()),q.nextNode(),l.push({type:2,index:++s});o.append(t[e],j())}}}else if(8===o.nodeType)if(o.data===R)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(M,t+1));)l.push({type:7,index:s}),t+=M.length-1}s++}}static createElement(t,e){const i=B.createElement("template");return i.innerHTML=t,i}}function G(t,e,i=t,o){var s,n,r,l;if(e===V)return e;let a=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const h=U(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:i._$Cu=a),void 0!==a&&(e=G(t,a._$AS(t,e.values),a,o)),e}class Q{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:B).importNode(i,!0);q.currentNode=s;let n=q.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new tt(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new rt(n,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=q.nextNode(),r++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class tt{constructor(t,e,i,o){var s;this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=G(this,t,e),U(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==V&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):L(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==Z&&U(this._$AH)?this._$AA.nextSibling.data=t:this.S(B.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Y.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new Q(s,this),e=t.p(this.options);t.m(i),this.S(e),this._$AH=t}}_$AC(t){let e=J.get(t.strings);return void 0===e&&J.set(t.strings,e=new Y(t)),e}A(t){D(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new tt(this.M(j()),this.M(j()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class et{constructor(t,e,i,o,s){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Z}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=G(this,t,e,0),n=!U(t)||t!==this._$AH&&t!==V,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=G(this,o[i+r],e,r),l===V&&(l=this._$AH[r]),n||(n=!U(l)||l!==this._$AH[r]),l===Z?t=Z:t!==Z&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.k(t)}k(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class it extends et{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===Z?void 0:t}}const ot=N?N.emptyScript:"";class st extends et{constructor(){super(...arguments),this.type=4}k(t){t&&t!==Z?this.element.setAttribute(this.name,ot):this.element.removeAttribute(this.name)}}class nt extends et{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=G(this,t,e,0))&&void 0!==i?i:Z)===V)return;const o=this._$AH,s=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==Z&&(o===Z||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class rt{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){G(this,t)}}const lt={P:"$lit$",V:M,L:R,I:1,N:X,R:Q,D:L,j:G,H:tt,O:et,F:st,B:nt,W:it,Z:rt},at=window.litHtmlPolyfillSupport;
70
+ var E;C.finalized=!0,C.elementProperties=new Map,C.elementStyles=[],C.shadowRootOptions={mode:"open"},null==w||w({ReactiveElement:C}),(null!==(g=globalThis.reactiveElementVersions)&&void 0!==g?g:globalThis.reactiveElementVersions=[]).push("1.3.2");const N=globalThis.trustedTypes,z=N?N.createPolicy("lit-html",{createHTML:t=>t}):void 0,M=`lit$${(Math.random()+"").slice(9)}$`,R="?"+M,F=`<${R}>`,B=document,j=(t="")=>B.createComment(t),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,L=t=>{var e;return D(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,_=/>/g,P=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,I=/'/g,H=/"/g,W=/^(?:script|style|textarea|title)$/i,K=(t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1),V=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),J=new WeakMap,q=B.createTreeWalker(B,129,null,!1),X=(t,e)=>{const i=t.length-1,o=[];let s,n=2===e?"<svg>":"",r=T;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===T?"!--"===a[1]?r=A:void 0!==a[1]?r=_:void 0!==a[2]?(W.test(a[2])&&(s=RegExp("</"+a[2],"g")),r=P):void 0!==a[3]&&(r=P):r===P?">"===a[0]?(r=null!=s?s:T,h=-1):void 0===a[1]?h=-2:(h=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?P:'"'===a[3]?H:I):r===H||r===I?r=P:r===A||r===_?r=T:(r=P,s=void 0);const p=r===P&&t[e+1].startsWith("/>")?" ":"";n+=r===T?i+F:h>=0?(o.push(l),i.slice(0,h)+"$lit$"+i.slice(h)+M+p):i+M+(-2===h?(o.push(void 0),e):p)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==z?z.createHTML(l):l,o]};class Y{constructor({strings:t,_$litType$:e},i){let o;this.parts=[];let s=0,n=0;const r=t.length-1,l=this.parts,[a,h]=X(t,e);if(this.el=Y.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(M)){const i=h[n++];if(t.push(e),void 0!==i){const t=o.getAttribute(i.toLowerCase()+"$lit$").split(M),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:s,name:e[2],strings:t,ctor:"."===e[1]?it:"?"===e[1]?st:"@"===e[1]?nt:et})}else l.push({type:6,index:s})}for(const e of t)o.removeAttribute(e)}if(W.test(o.tagName)){const t=o.textContent.split(M),e=t.length-1;if(e>0){o.textContent=N?N.emptyScript:"";for(let i=0;i<e;i++)o.append(t[i],j()),q.nextNode(),l.push({type:2,index:++s});o.append(t[e],j())}}}else if(8===o.nodeType)if(o.data===R)l.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(M,t+1));)l.push({type:7,index:s}),t+=M.length-1}s++}}static createElement(t,e){const i=B.createElement("template");return i.innerHTML=t,i}}function G(t,e,i=t,o){var s,n,r,l;if(e===V)return e;let a=void 0!==o?null===(s=i._$Cl)||void 0===s?void 0:s[o]:i._$Cu;const h=U(e)?void 0:e._$litDirective$;return(null==a?void 0:a.constructor)!==h&&(null===(n=null==a?void 0:a._$AO)||void 0===n||n.call(a,!1),void 0===h?a=void 0:(a=new h(t),a._$AT(t,i,o)),void 0!==o?(null!==(r=(l=i)._$Cl)&&void 0!==r?r:l._$Cl=[])[o]=a:i._$Cu=a),void 0!==a&&(e=G(t,a._$AS(t,e.values),a,o)),e}class Q{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:o}=this._$AD,s=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:B).importNode(i,!0);q.currentNode=s;let n=q.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new tt(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new rt(n,this,t)),this.v.push(e),a=o[++l]}r!==(null==a?void 0:a.index)&&(n=q.nextNode(),r++)}return s}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class tt{constructor(t,e,i,o){var s;this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=o,this._$Cg=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=G(this,t,e),U(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==V&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):L(t)?this.S(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==Z&&U(this._$AH)?this._$AA.nextSibling.data=t:this.k(B.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=Y.createElement(o.h,this.options)),o);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===s)this._$AH.m(i);else{const t=new Q(s,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=J.get(t.strings);return void 0===e&&J.set(t.strings,e=new Y(t)),e}S(t){D(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,o=0;for(const s of t)o===e.length?e.push(i=new tt(this.M(j()),this.M(j()),this,this.options)):i=e[o],i._$AI(s),o++;o<e.length&&(this._$AR(i&&i._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class et{constructor(t,e,i,o,s){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=s,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Z}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,o){const s=this.strings;let n=!1;if(void 0===s)t=G(this,t,e,0),n=!U(t)||t!==this._$AH&&t!==V,n&&(this._$AH=t);else{const o=t;let r,l;for(t=s[0],r=0;r<s.length-1;r++)l=G(this,o[i+r],e,r),l===V&&(l=this._$AH[r]),n||(n=!U(l)||l!==this._$AH[r]),l===Z?t=Z:t!==Z&&(t+=(null!=l?l:"")+s[r+1]),this._$AH[r]=l}n&&!o&&this.C(t)}C(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class it extends et{constructor(){super(...arguments),this.type=3}C(t){this.element[this.name]=t===Z?void 0:t}}const ot=N?N.emptyScript:"";class st extends et{constructor(){super(...arguments),this.type=4}C(t){t&&t!==Z?this.element.setAttribute(this.name,ot):this.element.removeAttribute(this.name)}}class nt extends et{constructor(t,e,i,o,s){super(t,e,i,o,s),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=G(this,t,e,0))&&void 0!==i?i:Z)===V)return;const o=this._$AH,s=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==Z&&(o===Z||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class rt{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){G(this,t)}}const lt={L:"$lit$",P:M,V:R,I:1,N:X,R:Q,j:L,D:G,H:tt,F:et,O:st,W:nt,B:it,Z:rt},at=window.litHtmlPolyfillSupport;
71
71
  /**
72
72
  * @license
73
73
  * Copyright 2017 Google LLC
74
74
  * SPDX-License-Identifier: BSD-3-Clause
75
75
  */
76
- var ht,ct;null==at||at(Y,tt),(null!==(E=globalThis.litHtmlVersions)&&void 0!==E?E:globalThis.litHtmlVersions=[]).push("2.1.3");class pt extends C{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var o,s;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=n._$litPart$;if(void 0===r){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;n._$litPart$=r=new tt(e.insertBefore(j(),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._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return V}}pt.finalized=!0,pt._$litElement$=!0,null===(ht=globalThis.litElementHydrateSupport)||void 0===ht||ht.call(globalThis,{LitElement:pt});const dt=globalThis.litElementPolyfillSupport;null==dt||dt({LitElement:pt}),(null!==(ct=globalThis.litElementVersions)&&void 0!==ct?ct:globalThis.litElementVersions=[]).push("3.1.2");class ft{constructor(t,e,i,o,s){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=s,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new ft(t,e,void 0,i)}static extend(t,e,i){return new ft(t,e.category,e,i)}static external(t,e){return new ft(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return b`var(${v(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):v(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function ut(t,e){return v(`${t.name}: ${e}`)}const vt={colorPrimary:ft.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ft.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ft.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ft.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ft.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ft.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ft.create("--ft-color-error","COLOR","#B00020"),colorOutline:ft.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ft.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ft.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ft.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ft.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ft.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ft.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ft.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ft.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ft.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ft.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ft.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ft.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ft.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ft.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ft.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ft.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ft.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ft.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ft.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ft.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ft.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ft.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ft.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ft.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ft.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ft.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ft.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ft.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ft.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ft.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ft.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ft.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ft.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ft.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ft.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ft.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ft.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:ft.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:ft.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:ft.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:ft.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:ft.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:ft.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:ft.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:ft.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:ft.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:ft.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ft.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ft.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ft.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ft.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ft.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ft.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ft.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
76
+ var ht,ct;null==at||at(Y,tt),(null!==(E=globalThis.litHtmlVersions)&&void 0!==E?E:globalThis.litHtmlVersions=[]).push("2.2.4");class pt extends C{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=((t,e,i)=>{var o,s;const n=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let r=n._$litPart$;if(void 0===r){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;n._$litPart$=r=new tt(e.insertBefore(j(),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._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return V}}pt.finalized=!0,pt._$litElement$=!0,null===(ht=globalThis.litElementHydrateSupport)||void 0===ht||ht.call(globalThis,{LitElement:pt});const dt=globalThis.litElementPolyfillSupport;null==dt||dt({LitElement:pt}),(null!==(ct=globalThis.litElementVersions)&&void 0!==ct?ct:globalThis.litElementVersions=[]).push("3.2.0");class ft{constructor(t,e,i,o,s){this.name=t,this.category=e,this.fallbackVariable=i,this.defaultValue=o,this.context=s,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,i){return new ft(t,e,void 0,i)}static extend(t,e,i){return new ft(t,e.category,e,i)}static external(t,e){return new ft(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return b`var(${v(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):v(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}function ut(t,e){return v(`${t.name}: ${e}`)}const vt={colorPrimary:ft.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:ft.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:ft.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:ft.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:ft.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:ft.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ft.create("--ft-color-error","COLOR","#B00020"),colorOutline:ft.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ft.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:ft.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:ft.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:ft.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:ft.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:ft.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ft.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ft.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:ft.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:ft.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ft.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ft.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ft.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ft.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ft.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ft.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:ft.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:ft.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:ft.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:ft.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:ft.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:ft.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ft.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ft.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:ft.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ft.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ft.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ft.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ft.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ft.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ft.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:ft.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ft.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ft.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ft.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ft.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:ft.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:ft.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:ft.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:ft.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:ft.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:ft.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:ft.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:ft.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:ft.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:ft.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:ft.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:ft.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:ft.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:ft.create("--ft-border-radius-XL","SIZE","16px"),titleFont:ft.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ft.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ft.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:ft.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
77
77
  /**
78
78
  * @license
79
79
  * Copyright 2021 Google LLC
@@ -92,129 +92,129 @@ var ht,ct;null==at||at(Y,tt),(null!==(E=globalThis.litHtmlVersions)&&void 0!==E?
92
92
  -ms-user-select: none;
93
93
  user-select: none;
94
94
  }
95
- `;var yt,gt,mt;const $t=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(mt=null===(gt=null===(yt=window.safari)||void 0===yt?void 0:yt.pushNotification)||void 0===gt?void 0:gt.toString())&&void 0!==mt?mt:""),wt=t=>({_$litStatic$:t}),kt=new Map,Ot=(t=>(e,...i)=>{var o;const s=i.length;let n,r;const l=[],a=[];let h,c=0,p=!1;for(;c<s;){for(h=e[c];c<s&&void 0!==(r=i[c],n=null===(o=r)||void 0===o?void 0:o._$litStatic$);)h+=n+e[++c],p=!0;a.push(r),l.push(h),c++}if(c===s&&l.push(e[s]),p){const t=l.join("$$lit$$");void 0===(e=kt.get(t))&&(l.raw=l,kt.set(t,e=l)),i=a}return t(e,...i)})(K);
95
+ `;var yt,gt,mt;const $t=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(mt=null===(gt=null===(yt=window.safari)||void 0===yt?void 0:yt.pushNotification)||void 0===gt?void 0:gt.toString())&&void 0!==mt?mt:""),wt=Symbol.for(""),kt=t=>{var e,i;if((null===(e=t)||void 0===e?void 0:e.r)===wt)return null===(i=t)||void 0===i?void 0:i._$litStatic$},Ot=t=>({_$litStatic$:t,r:wt}),St=new Map,Ct=(t=>(e,...i)=>{const o=i.length;let s,n;const r=[],l=[];let a,h=0,c=!1;for(;h<o;){for(a=e[h];h<o&&void 0!==(n=i[h],s=kt(n));)a+=s+e[++h],c=!0;l.push(n),r.push(a),h++}if(h===o&&r.push(e[o]),c){const t=r.join("$$lit$$");void 0===(e=St.get(t))&&(r.raw=r,St.set(t,e=r)),i=l}return t(e,...i)})(K);
96
96
  /**
97
97
  * @license
98
98
  * Copyright 2020 Google LLC
99
99
  * SPDX-License-Identifier: BSD-3-Clause
100
- */var St,Ct=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!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"}(St||(St={}));const Et=ft.extend("--ft-typography-font-family",vt.titleFont),Nt=ft.extend("--ft-typography-font-family",vt.contentFont),zt={fontFamily:Nt,fontSize:ft.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ft.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ft.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ft.create("--ft-typography-line-height","SIZE","24px"),textTransform:ft.create("--ft-typography-text-transform","UNKNOWN","inherit")},Mt=ft.extend("--ft-typography-title-font-family",Et),Rt=ft.extend("--ft-typography-title-font-size",zt.fontSize,"20px"),Ft=ft.extend("--ft-typography-title-font-weight",zt.fontWeight,"normal"),Bt=ft.extend("--ft-typography-title-letter-spacing",zt.letterSpacing,"0.15px"),jt=ft.extend("--ft-typography-title-line-height",zt.lineHeight,"24px"),Ut=ft.extend("--ft-typography-title-text-transform",zt.textTransform,"inherit"),Dt=ft.extend("--ft-typography-title-dense-font-family",Et),Lt=ft.extend("--ft-typography-title-dense-font-size",zt.fontSize,"14px"),Tt=ft.extend("--ft-typography-title-dense-font-weight",zt.fontWeight,"normal"),At=ft.extend("--ft-typography-title-dense-letter-spacing",zt.letterSpacing,"0.105px"),_t=ft.extend("--ft-typography-title-dense-line-height",zt.lineHeight,"24px"),Pt=ft.extend("--ft-typography-title-dense-text-transform",zt.textTransform,"inherit"),It=ft.extend("--ft-typography-subtitle1-font-family",Nt),Ht=ft.extend("--ft-typography-subtitle1-font-size",zt.fontSize,"16px"),Wt=ft.extend("--ft-typography-subtitle1-font-weight",zt.fontWeight,"600"),Kt=ft.extend("--ft-typography-subtitle1-letter-spacing",zt.letterSpacing,"0.144px"),Vt=ft.extend("--ft-typography-subtitle1-line-height",zt.lineHeight,"24px"),Zt=ft.extend("--ft-typography-subtitle1-text-transform",zt.textTransform,"inherit"),Jt=ft.extend("--ft-typography-subtitle2-font-family",Nt),qt=ft.extend("--ft-typography-subtitle2-font-size",zt.fontSize,"14px"),Xt=ft.extend("--ft-typography-subtitle2-font-weight",zt.fontWeight,"normal"),Yt=ft.extend("--ft-typography-subtitle2-letter-spacing",zt.letterSpacing,"0.098px"),Gt=ft.extend("--ft-typography-subtitle2-line-height",zt.lineHeight,"24px"),Qt=ft.extend("--ft-typography-subtitle2-text-transform",zt.textTransform,"inherit"),te=ft.extend("--ft-typography-body1-font-family",Nt),ee=ft.extend("--ft-typography-body1-font-size",zt.fontSize,"16px"),ie=ft.extend("--ft-typography-body1-font-weight",zt.fontWeight,"normal"),oe=ft.extend("--ft-typography-body1-letter-spacing",zt.letterSpacing,"0.496px"),se=ft.extend("--ft-typography-body1-line-height",zt.lineHeight,"24px"),ne=ft.extend("--ft-typography-body1-text-transform",zt.textTransform,"inherit"),re={fontFamily:ft.extend("--ft-typography-body2-font-family",Nt),fontSize:ft.extend("--ft-typography-body2-font-size",zt.fontSize,"14px"),fontWeight:ft.extend("--ft-typography-body2-font-weight",zt.fontWeight,"normal"),letterSpacing:ft.extend("--ft-typography-body2-letter-spacing",zt.letterSpacing,"0.252px"),lineHeight:ft.extend("--ft-typography-body2-line-height",zt.lineHeight,"20px"),textTransform:ft.extend("--ft-typography-body2-text-transform",zt.textTransform,"inherit")},le=ft.extend("--ft-typography-caption-font-family",Nt),ae=ft.extend("--ft-typography-caption-font-size",zt.fontSize,"12px"),he=ft.extend("--ft-typography-caption-font-weight",zt.fontWeight,"normal"),ce=ft.extend("--ft-typography-caption-letter-spacing",zt.letterSpacing,"0.396px"),pe=ft.extend("--ft-typography-caption-line-height",zt.lineHeight,"16px"),de=ft.extend("--ft-typography-caption-text-transform",zt.textTransform,"inherit"),fe=ft.extend("--ft-typography-breadcrumb-font-family",Nt),ue=ft.extend("--ft-typography-breadcrumb-font-size",zt.fontSize,"10px"),ve=ft.extend("--ft-typography-breadcrumb-font-weight",zt.fontWeight,"normal"),be=ft.extend("--ft-typography-breadcrumb-letter-spacing",zt.letterSpacing,"0.33px"),xe=ft.extend("--ft-typography-breadcrumb-line-height",zt.lineHeight,"16px"),ye=ft.extend("--ft-typography-breadcrumb-text-transform",zt.textTransform,"inherit"),ge=ft.extend("--ft-typography-overline-font-family",Nt),me=ft.extend("--ft-typography-overline-font-size",zt.fontSize,"10px"),$e=ft.extend("--ft-typography-overline-font-weight",zt.fontWeight,"normal"),we=ft.extend("--ft-typography-overline-letter-spacing",zt.letterSpacing,"1.5px"),ke=ft.extend("--ft-typography-overline-line-height",zt.lineHeight,"16px"),Oe=ft.extend("--ft-typography-overline-text-transform",zt.textTransform,"uppercase"),Se={fontFamily:ft.extend("--ft-typography-button-font-family",Nt),fontSize:ft.extend("--ft-typography-button-font-size",zt.fontSize,"14px"),fontWeight:ft.extend("--ft-typography-button-font-weight",zt.fontWeight,"600"),letterSpacing:ft.extend("--ft-typography-button-letter-spacing",zt.letterSpacing,"1.246px"),lineHeight:ft.extend("--ft-typography-button-line-height",zt.lineHeight,"16px"),textTransform:ft.extend("--ft-typography-button-text-transform",zt.textTransform,"uppercase")},Ce=b`
100
+ */var Et,Nt=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!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"}(Et||(Et={}));const zt=ft.extend("--ft-typography-font-family",vt.titleFont),Mt=ft.extend("--ft-typography-font-family",vt.contentFont),Rt={fontFamily:Mt,fontSize:ft.create("--ft-typography-font-size","SIZE","16px"),fontWeight:ft.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:ft.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:ft.create("--ft-typography-line-height","SIZE","24px"),textTransform:ft.create("--ft-typography-text-transform","UNKNOWN","inherit")},Ft=ft.extend("--ft-typography-title-font-family",zt),Bt=ft.extend("--ft-typography-title-font-size",Rt.fontSize,"20px"),jt=ft.extend("--ft-typography-title-font-weight",Rt.fontWeight,"normal"),Ut=ft.extend("--ft-typography-title-letter-spacing",Rt.letterSpacing,"0.15px"),Dt=ft.extend("--ft-typography-title-line-height",Rt.lineHeight,"24px"),Lt=ft.extend("--ft-typography-title-text-transform",Rt.textTransform,"inherit"),Tt=ft.extend("--ft-typography-title-dense-font-family",zt),At=ft.extend("--ft-typography-title-dense-font-size",Rt.fontSize,"14px"),_t=ft.extend("--ft-typography-title-dense-font-weight",Rt.fontWeight,"normal"),Pt=ft.extend("--ft-typography-title-dense-letter-spacing",Rt.letterSpacing,"0.105px"),It=ft.extend("--ft-typography-title-dense-line-height",Rt.lineHeight,"24px"),Ht=ft.extend("--ft-typography-title-dense-text-transform",Rt.textTransform,"inherit"),Wt=ft.extend("--ft-typography-subtitle1-font-family",Mt),Kt=ft.extend("--ft-typography-subtitle1-font-size",Rt.fontSize,"16px"),Vt=ft.extend("--ft-typography-subtitle1-font-weight",Rt.fontWeight,"600"),Zt=ft.extend("--ft-typography-subtitle1-letter-spacing",Rt.letterSpacing,"0.144px"),Jt=ft.extend("--ft-typography-subtitle1-line-height",Rt.lineHeight,"24px"),qt=ft.extend("--ft-typography-subtitle1-text-transform",Rt.textTransform,"inherit"),Xt=ft.extend("--ft-typography-subtitle2-font-family",Mt),Yt=ft.extend("--ft-typography-subtitle2-font-size",Rt.fontSize,"14px"),Gt=ft.extend("--ft-typography-subtitle2-font-weight",Rt.fontWeight,"normal"),Qt=ft.extend("--ft-typography-subtitle2-letter-spacing",Rt.letterSpacing,"0.098px"),te=ft.extend("--ft-typography-subtitle2-line-height",Rt.lineHeight,"24px"),ee=ft.extend("--ft-typography-subtitle2-text-transform",Rt.textTransform,"inherit"),ie=ft.extend("--ft-typography-body1-font-family",Mt),oe=ft.extend("--ft-typography-body1-font-size",Rt.fontSize,"16px"),se=ft.extend("--ft-typography-body1-font-weight",Rt.fontWeight,"normal"),ne=ft.extend("--ft-typography-body1-letter-spacing",Rt.letterSpacing,"0.496px"),re=ft.extend("--ft-typography-body1-line-height",Rt.lineHeight,"24px"),le=ft.extend("--ft-typography-body1-text-transform",Rt.textTransform,"inherit"),ae={fontFamily:ft.extend("--ft-typography-body2-font-family",Mt),fontSize:ft.extend("--ft-typography-body2-font-size",Rt.fontSize,"14px"),fontWeight:ft.extend("--ft-typography-body2-font-weight",Rt.fontWeight,"normal"),letterSpacing:ft.extend("--ft-typography-body2-letter-spacing",Rt.letterSpacing,"0.252px"),lineHeight:ft.extend("--ft-typography-body2-line-height",Rt.lineHeight,"20px"),textTransform:ft.extend("--ft-typography-body2-text-transform",Rt.textTransform,"inherit")},he=ft.extend("--ft-typography-caption-font-family",Mt),ce=ft.extend("--ft-typography-caption-font-size",Rt.fontSize,"12px"),pe=ft.extend("--ft-typography-caption-font-weight",Rt.fontWeight,"normal"),de=ft.extend("--ft-typography-caption-letter-spacing",Rt.letterSpacing,"0.396px"),fe=ft.extend("--ft-typography-caption-line-height",Rt.lineHeight,"16px"),ue=ft.extend("--ft-typography-caption-text-transform",Rt.textTransform,"inherit"),ve=ft.extend("--ft-typography-breadcrumb-font-family",Mt),be=ft.extend("--ft-typography-breadcrumb-font-size",Rt.fontSize,"10px"),xe=ft.extend("--ft-typography-breadcrumb-font-weight",Rt.fontWeight,"normal"),ye=ft.extend("--ft-typography-breadcrumb-letter-spacing",Rt.letterSpacing,"0.33px"),ge=ft.extend("--ft-typography-breadcrumb-line-height",Rt.lineHeight,"16px"),me=ft.extend("--ft-typography-breadcrumb-text-transform",Rt.textTransform,"inherit"),$e=ft.extend("--ft-typography-overline-font-family",Mt),we=ft.extend("--ft-typography-overline-font-size",Rt.fontSize,"10px"),ke=ft.extend("--ft-typography-overline-font-weight",Rt.fontWeight,"normal"),Oe=ft.extend("--ft-typography-overline-letter-spacing",Rt.letterSpacing,"1.5px"),Se=ft.extend("--ft-typography-overline-line-height",Rt.lineHeight,"16px"),Ce=ft.extend("--ft-typography-overline-text-transform",Rt.textTransform,"uppercase"),Ee={fontFamily:ft.extend("--ft-typography-button-font-family",Mt),fontSize:ft.extend("--ft-typography-button-font-size",Rt.fontSize,"14px"),fontWeight:ft.extend("--ft-typography-button-font-weight",Rt.fontWeight,"600"),letterSpacing:ft.extend("--ft-typography-button-letter-spacing",Rt.letterSpacing,"1.246px"),lineHeight:ft.extend("--ft-typography-button-line-height",Rt.lineHeight,"16px"),textTransform:ft.extend("--ft-typography-button-text-transform",Rt.textTransform,"uppercase")},Ne=b`
101
101
  .ft-typography--title {
102
- font-family: ${Mt};
103
- font-size: ${Rt};
104
- font-weight: ${Ft};
105
- letter-spacing: ${Bt};
106
- line-height: ${jt};
107
- text-transform: ${Ut};
102
+ font-family: ${Ft};
103
+ font-size: ${Bt};
104
+ font-weight: ${jt};
105
+ letter-spacing: ${Ut};
106
+ line-height: ${Dt};
107
+ text-transform: ${Lt};
108
108
  }
109
- `,Ee=b`
109
+ `,ze=b`
110
110
  .ft-typography--title-dense {
111
- font-family: ${Dt};
112
- font-size: ${Lt};
113
- font-weight: ${Tt};
114
- letter-spacing: ${At};
115
- line-height: ${_t};
116
- text-transform: ${Pt};
111
+ font-family: ${Tt};
112
+ font-size: ${At};
113
+ font-weight: ${_t};
114
+ letter-spacing: ${Pt};
115
+ line-height: ${It};
116
+ text-transform: ${Ht};
117
117
  }
118
- `,Ne=b`
118
+ `,Me=b`
119
119
  .ft-typography--subtitle1 {
120
- font-family: ${It};
121
- font-size: ${Ht};
122
- font-weight: ${Wt};
123
- letter-spacing: ${Kt};
124
- line-height: ${Vt};
125
- text-transform: ${Zt};
120
+ font-family: ${Wt};
121
+ font-size: ${Kt};
122
+ font-weight: ${Vt};
123
+ letter-spacing: ${Zt};
124
+ line-height: ${Jt};
125
+ text-transform: ${qt};
126
126
  }
127
- `,ze=b`
127
+ `,Re=b`
128
128
  .ft-typography--subtitle2 {
129
- font-family: ${Jt};
130
- font-size: ${qt};
131
- font-weight: ${Xt};
132
- letter-spacing: ${Yt};
133
- line-height: ${Gt};
134
- text-transform: ${Qt};
129
+ font-family: ${Xt};
130
+ font-size: ${Yt};
131
+ font-weight: ${Gt};
132
+ letter-spacing: ${Qt};
133
+ line-height: ${te};
134
+ text-transform: ${ee};
135
135
  }
136
136
 
137
- `,Me=b`
137
+ `,Fe=b`
138
138
  .ft-typography--body1 {
139
- font-family: ${te};
140
- font-size: ${ee};
141
- font-weight: ${ie};
142
- letter-spacing: ${oe};
143
- line-height: ${se};
144
- text-transform: ${ne};
139
+ font-family: ${ie};
140
+ font-size: ${oe};
141
+ font-weight: ${se};
142
+ letter-spacing: ${ne};
143
+ line-height: ${re};
144
+ text-transform: ${le};
145
145
  }
146
- `,Re=b`
146
+ `,Be=b`
147
147
  .ft-typography--body2 {
148
- font-family: ${re.fontFamily};
149
- font-size: ${re.fontSize};
150
- font-weight: ${re.fontWeight};
151
- letter-spacing: ${re.letterSpacing};
152
- line-height: ${re.lineHeight};
153
- text-transform: ${re.textTransform};
148
+ font-family: ${ae.fontFamily};
149
+ font-size: ${ae.fontSize};
150
+ font-weight: ${ae.fontWeight};
151
+ letter-spacing: ${ae.letterSpacing};
152
+ line-height: ${ae.lineHeight};
153
+ text-transform: ${ae.textTransform};
154
154
  }
155
- `,Fe=b`
155
+ `,je=b`
156
156
  .ft-typography--caption {
157
- font-family: ${le};
158
- font-size: ${ae};
159
- font-weight: ${he};
160
- letter-spacing: ${ce};
161
- line-height: ${pe};
162
- text-transform: ${de};
157
+ font-family: ${he};
158
+ font-size: ${ce};
159
+ font-weight: ${pe};
160
+ letter-spacing: ${de};
161
+ line-height: ${fe};
162
+ text-transform: ${ue};
163
163
  }
164
- `,Be=b`
164
+ `,Ue=b`
165
165
  .ft-typography--breadcrumb {
166
- font-family: ${fe};
167
- font-size: ${ue};
168
- font-weight: ${ve};
169
- letter-spacing: ${be};
170
- line-height: ${xe};
171
- text-transform: ${ye};
166
+ font-family: ${ve};
167
+ font-size: ${be};
168
+ font-weight: ${xe};
169
+ letter-spacing: ${ye};
170
+ line-height: ${ge};
171
+ text-transform: ${me};
172
172
  }
173
- `,je=b`
173
+ `,De=b`
174
174
  .ft-typography--overline {
175
- font-family: ${ge};
176
- font-size: ${me};
177
- font-weight: ${$e};
178
- letter-spacing: ${we};
179
- line-height: ${ke};
180
- text-transform: ${Oe};
175
+ font-family: ${$e};
176
+ font-size: ${we};
177
+ font-weight: ${ke};
178
+ letter-spacing: ${Oe};
179
+ line-height: ${Se};
180
+ text-transform: ${Ce};
181
181
  }
182
- `,Ue=b`
182
+ `,Le=b`
183
183
  .ft-typography--button {
184
- font-family: ${Se.fontFamily};
185
- font-size: ${Se.fontSize};
186
- font-weight: ${Se.fontWeight};
187
- letter-spacing: ${Se.letterSpacing};
188
- line-height: ${Se.lineHeight};
189
- text-transform: ${Se.textTransform};
184
+ font-family: ${Ee.fontFamily};
185
+ font-size: ${Ee.fontSize};
186
+ font-weight: ${Ee.fontWeight};
187
+ letter-spacing: ${Ee.letterSpacing};
188
+ line-height: ${Ee.lineHeight};
189
+ text-transform: ${Ee.textTransform};
190
190
  }
191
- `;class De extends bt{constructor(){super(...arguments),this.variant=St.body1}render(){return this.element?Ot`
192
- <${wt(this.element)}
191
+ `;class Te extends bt{constructor(){super(...arguments),this.variant=Et.body1}render(){return this.element?Ct`
192
+ <${Ot(this.element)}
193
193
  class="ft-typography ft-typography--${this.variant}">
194
194
  <slot></slot>
195
- </${wt(this.element)}>
196
- `:Ot`
195
+ </${Ot(this.element)}>
196
+ `:Ct`
197
197
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
198
- `}}function Le(t,e){return t.flatMap((t=>[t,...Le(e(t),e)]))}
198
+ `}}function Ae(t,e){return t.flatMap((t=>[t,...Ae(e(t),e)]))}
199
199
  /**
200
200
  * @license
201
201
  * Copyright 2017 Google LLC
202
202
  * SPDX-License-Identifier: BSD-3-Clause
203
- */De.styles=[Ce,Ee,Ne,ze,Me,Re,Fe,Be,je,Ue,b`
203
+ */Te.styles=[Ne,ze,Me,Re,Fe,Be,je,Ue,De,Le,b`
204
204
  .ft-typography {
205
205
  vertical-align: inherit;
206
206
  }
207
- `],Ct([o()],De.prototype,"element",void 0),Ct([o()],De.prototype,"variant",void 0),c("ft-typography")(De);const Te=1,Ae=2,_e=t=>(...e)=>({_$litDirective$:t,values:e});class Pe{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)}}
207
+ `],Nt([o()],Te.prototype,"element",void 0),Nt([o()],Te.prototype,"variant",void 0),c("ft-typography")(Te);const _e=1,Pe=2,Ie=t=>(...e)=>({_$litDirective$:t,values:e});class He{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)}}
208
208
  /**
209
209
  * @license
210
210
  * Copyright 2020 Google LLC
211
211
  * SPDX-License-Identifier: BSD-3-Clause
212
- */const{H:Ie}=lt,He=()=>document.createComment(""),We=(t,e,i)=>{var o;const s=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=s.insertBefore(He(),n),o=s.insertBefore(He(),n);i=new Ie(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!==n||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;s.insertBefore(t,n),t=e}}}return i},Ke=(t,e,i=t)=>(t._$AI(e,i),t),Ve={},Ze=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}},Je=(t,e,i)=>{const o=new Map;for(let s=e;s<=i;s++)o.set(t[s],s);return o},qe=_e(class extends Pe{constructor(t){if(super(t),t.type!==Ae)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 s=[],n=[];let r=0;for(const e of t)s[r]=o?o(e,r):r,n[r]=i(e,r),r++;return{values:n,keys:s}}render(t,e,i){return this.dt(t,e,i).values}update(t,[e,i,o]){var s;const n=(t=>t._$AH)(t),{values:r,keys:l}=this.dt(e,i,o);if(!Array.isArray(n))return this.at=l,r;const a=null!==(s=this.at)&&void 0!==s?s:this.at=[],h=[];let c,p,d=0,f=n.length-1,u=0,v=r.length-1;for(;d<=f&&u<=v;)if(null===n[d])d++;else if(null===n[f])f--;else if(a[d]===l[u])h[u]=Ke(n[d],r[u]),d++,u++;else if(a[f]===l[v])h[v]=Ke(n[f],r[v]),f--,v--;else if(a[d]===l[v])h[v]=Ke(n[d],r[v]),We(t,h[v+1],n[d]),d++,v--;else if(a[f]===l[u])h[u]=Ke(n[f],r[u]),We(t,n[d],n[f]),f--,u++;else if(void 0===c&&(c=Je(l,u,v),p=Je(a,d,f)),c.has(a[d]))if(c.has(a[f])){const e=p.get(l[u]),i=void 0!==e?n[e]:null;if(null===i){const e=We(t,n[d]);Ke(e,r[u]),h[u]=e}else h[u]=Ke(i,r[u]),We(t,n[d],i),n[e]=null;u++}else Ze(n[f]),f--;else Ze(n[d]),d++;for(;u<=v;){const e=We(t,h[v+1]);Ke(e,r[u]),h[u++]=e}for(;d<=f;){const t=n[d++];null!==t&&Ze(t)}return this.at=l,((t,e=Ve)=>{t._$AH=e})(t,h),V}}),Xe=_e(class extends Pe{constructor(t){var e;if(super(t),t.type!==Te||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,o;if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.et=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.et)||void 0===i?void 0:i.has(t))&&this.st.add(t);return this.render(e)}const s=t.element.classList;this.st.forEach((t=>{t in e||(s.remove(t),this.st.delete(t))}));for(const t in e){const i=!!e[t];i===this.st.has(t)||(null===(o=this.et)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.st.add(t)):(s.remove(t),this.st.delete(t)))}return V}});
212
+ */const{H:We}=lt,Ke=()=>document.createComment(""),Ve=(t,e,i)=>{var o;const s=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===i){const e=s.insertBefore(Ke(),n),o=s.insertBefore(Ke(),n);i=new We(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!==n||l){let t=i._$AA;for(;t!==e;){const e=t.nextSibling;s.insertBefore(t,n),t=e}}}return i},Ze=(t,e,i=t)=>(t._$AI(e,i),t),Je={},qe=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}},Xe=(t,e,i)=>{const o=new Map;for(let s=e;s<=i;s++)o.set(t[s],s);return o},Ye=Ie(class extends He{constructor(t){if(super(t),t.type!==Pe)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 s=[],n=[];let r=0;for(const e of t)s[r]=o?o(e,r):r,n[r]=i(e,r),r++;return{values:n,keys:s}}render(t,e,i){return this.dt(t,e,i).values}update(t,[e,i,o]){var s;const n=(t=>t._$AH)(t),{values:r,keys:l}=this.dt(e,i,o);if(!Array.isArray(n))return this.ut=l,r;const a=null!==(s=this.ut)&&void 0!==s?s:this.ut=[],h=[];let c,p,d=0,f=n.length-1,u=0,v=r.length-1;for(;d<=f&&u<=v;)if(null===n[d])d++;else if(null===n[f])f--;else if(a[d]===l[u])h[u]=Ze(n[d],r[u]),d++,u++;else if(a[f]===l[v])h[v]=Ze(n[f],r[v]),f--,v--;else if(a[d]===l[v])h[v]=Ze(n[d],r[v]),Ve(t,h[v+1],n[d]),d++,v--;else if(a[f]===l[u])h[u]=Ze(n[f],r[u]),Ve(t,n[d],n[f]),f--,u++;else if(void 0===c&&(c=Xe(l,u,v),p=Xe(a,d,f)),c.has(a[d]))if(c.has(a[f])){const e=p.get(l[u]),i=void 0!==e?n[e]:null;if(null===i){const e=Ve(t,n[d]);Ze(e,r[u]),h[u]=e}else h[u]=Ze(i,r[u]),Ve(t,n[d],i),n[e]=null;u++}else qe(n[f]),f--;else qe(n[d]),d++;for(;u<=v;){const e=Ve(t,h[v+1]);Ze(e,r[u]),h[u++]=e}for(;d<=f;){const t=n[d++];null!==t&&qe(t)}return this.ut=l,((t,e=Je)=>{t._$AH=e})(t,h),V}}),Ge=Ie(class extends He{constructor(t){var e;if(super(t),t.type!==_e||"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.et){this.et=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.et.add(t);return this.render(e)}const s=t.element.classList;this.et.forEach((t=>{t in e||(s.remove(t),this.et.delete(t))}));for(const t in e){const i=!!e[t];i===this.et.has(t)||(null===(o=this.st)||void 0===o?void 0:o.has(t))||(i?(s.add(t),this.et.add(t)):(s.remove(t),this.et.delete(t)))}return V}});
213
213
  /**
214
214
  * @license
215
215
  * Copyright 2017 Google LLC
216
216
  * SPDX-License-Identifier: BSD-3-Clause
217
- */var Ye=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Ge={color:ft.extend("--ft-ripple-color",vt.colorContent),primaryColor:ft.extend("--ft-ripple-primary-color",ft.extend("--ft-ripple-color",vt.colorPrimary)),secondaryColor:ft.extend("--ft-ripple-secondary-color",ft.extend("--ft-ripple-color",vt.colorSecondary)),opacityContentOnSurfacePressed:ft.external(vt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ft.external(vt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ft.external(vt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ft.external(vt.opacityContentOnSurfaceSelected,"Design system")};class Qe extends bt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed)},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),n=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-n.x:n.width/2),this.originY=Math.round(null!=s?s-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.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 K`
217
+ */var Qe=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const ti=ft.extend("--ft-ripple-color",vt.colorContent),ei={color:ti,backgroundColor:ft.extend("--ft-ripple-background-color",ti),opacityContentOnSurfacePressed:ft.external(vt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ft.external(vt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ft.external(vt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ft.external(vt.opacityContentOnSurfaceSelected,"Design system")},ii=ft.extend("--ft-ripple-color",vt.colorPrimary),oi=ii,si=ft.extend("--ft-ripple-background-color",ii),ni=ft.extend("--ft-ripple-color",vt.colorSecondary),ri=ni,li=ft.extend("--ft-ripple-background-color",ni);class ai extends bt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.moveRipple=t=>{var e,i;let{x:o,y:s}=this.getCoordinates(t),n=null!==(i=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==i?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-n.x:n.width/2),this.originY=Math.round(null!=s?s-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=!this.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 K`
218
218
  <style>
219
219
  .ft-ripple .ft-ripple--effect,
220
220
  .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
@@ -227,11 +227,11 @@ var ht,ct;null==at||at(Y,tt),(null!==(E=globalThis.litHtmlVersions)&&void 0!==E?
227
227
  top: ${this.originY}px;
228
228
  }
229
229
  </style>
230
- <div class="${Xe(t)}">
230
+ <div class="${Ge(t)}">
231
231
  <div class="ft-ripple--background"></div>
232
232
  <div class="ft-ripple--effect"></div>
233
233
  </div>
234
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){super.updated(t),t.has("disabled")&&this.disabled&&this.endRipple(),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}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()}}Qe.elementDefinitions={},Qe.styles=b`
234
+ `}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(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(e),this.setRippleSize()}setupFor(t){if(this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},i=e("mouseup","contextmenu"),o=e("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",i),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",i),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0}}getCoordinates(t){const e=t,i=t;let o,s;return null!=e.x?({x:o,y:s}=e):null!=i.touches&&(o=i.touches[0].clientX,s=i.touches[0].clientY),{x:o,y:s}}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()}}ai.elementDefinitions={},ai.styles=b`
235
235
  :host {
236
236
  display: contents;
237
237
  }
@@ -250,17 +250,30 @@ var ht,ct;null==at||at(Y,tt),(null!==(E=globalThis.litHtmlVersions)&&void 0!==E?
250
250
  .ft-ripple .ft-ripple--effect {
251
251
  position: absolute;
252
252
  opacity: 0;
253
- background-color: ${Ge.color};
254
253
  }
255
254
 
256
- .ft-ripple.ft-ripple--secondary .ft-ripple--background,
255
+ .ft-ripple .ft-ripple--background {
256
+ background-color: ${ei.backgroundColor};
257
+ }
258
+
259
+ .ft-ripple .ft-ripple--effect {
260
+ background-color: ${ei.color};
261
+ }
262
+
263
+ .ft-ripple.ft-ripple--secondary .ft-ripple--background {
264
+ background-color: ${li};
265
+ }
266
+
257
267
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
258
- background-color: ${Ge.secondaryColor};
268
+ background-color: ${ri};
269
+ }
270
+
271
+ .ft-ripple.ft-ripple--primary .ft-ripple--background {
272
+ background-color: ${si};
259
273
  }
260
274
 
261
- .ft-ripple.ft-ripple--primary .ft-ripple--background,
262
275
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
263
- background-color: ${Ge.primaryColor};
276
+ background-color: ${oi};
264
277
  }
265
278
 
266
279
  .ft-ripple .ft-ripple--background {
@@ -268,6 +281,7 @@ var ht,ct;null==at||at(Y,tt),(null!==(E=globalThis.litHtmlVersions)&&void 0!==E?
268
281
  left: 0;
269
282
  height: 100%;
270
283
  width: 100%;
284
+ transition: opacity 75ms linear;
271
285
  }
272
286
 
273
287
  .ft-ripple .ft-ripple--effect,
@@ -291,22 +305,22 @@ var ht,ct;null==at||at(Y,tt),(null!==(E=globalThis.litHtmlVersions)&&void 0!==E?
291
305
  }
292
306
 
293
307
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
294
- opacity: ${Ge.opacityContentOnSurfaceHover};
308
+ opacity: ${ei.opacityContentOnSurfaceHover};
295
309
  }
296
310
 
297
311
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
298
- opacity: ${Ge.opacityContentOnSurfaceSelected};
312
+ opacity: ${ei.opacityContentOnSurfaceSelected};
299
313
  }
300
314
 
301
315
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
302
- opacity: ${Ge.opacityContentOnSurfaceFocused};
316
+ opacity: ${ei.opacityContentOnSurfaceFocused};
303
317
  }
304
318
 
305
319
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
306
- opacity: ${Ge.opacityContentOnSurfacePressed};
320
+ opacity: ${ei.opacityContentOnSurfacePressed};
307
321
  transform: translate(-50%, -50%) scale(1);
308
322
  }
309
- `,Ye([o({type:Boolean})],Qe.prototype,"primary",void 0),Ye([o({type:Boolean})],Qe.prototype,"secondary",void 0),Ye([o({type:Boolean})],Qe.prototype,"unbounded",void 0),Ye([o({type:Boolean})],Qe.prototype,"activated",void 0),Ye([o({type:Boolean})],Qe.prototype,"selected",void 0),Ye([o({type:Boolean})],Qe.prototype,"disabled",void 0),Ye([s()],Qe.prototype,"hovered",void 0),Ye([s()],Qe.prototype,"focused",void 0),Ye([s()],Qe.prototype,"pressed",void 0),Ye([s()],Qe.prototype,"rippling",void 0),Ye([s()],Qe.prototype,"rippleSize",void 0),Ye([s()],Qe.prototype,"originX",void 0),Ye([s()],Qe.prototype,"originY",void 0),Ye([r(".ft-ripple")],Qe.prototype,"ripple",void 0),Ye([r(".ft-ripple--effect")],Qe.prototype,"rippleEffect",void 0),c("ft-ripple")(Qe);var ti=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const ei=ft.create("--ft-tooltip-distance","SIZE","4px"),ii=ft.create("--ft-tooltip-color","COLOR","#FFFFFF"),oi=ft.create("--ft-tooltip-background-color","COLOR","#666666"),si=ft.create("--ft-tooltip-z-index","NUMBER","1"),ni=ft.external(vt.borderRadiusS,"Design system");class ri extends bt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new e,this.revealDebouncer=new e}render(){return K`
323
+ `,Qe([o({type:Boolean})],ai.prototype,"primary",void 0),Qe([o({type:Boolean})],ai.prototype,"secondary",void 0),Qe([o({type:Boolean})],ai.prototype,"unbounded",void 0),Qe([o({type:Boolean})],ai.prototype,"activated",void 0),Qe([o({type:Boolean})],ai.prototype,"selected",void 0),Qe([o({type:Boolean})],ai.prototype,"disabled",void 0),Qe([s()],ai.prototype,"hovered",void 0),Qe([s()],ai.prototype,"focused",void 0),Qe([s()],ai.prototype,"pressed",void 0),Qe([s()],ai.prototype,"rippling",void 0),Qe([s()],ai.prototype,"rippleSize",void 0),Qe([s()],ai.prototype,"originX",void 0),Qe([s()],ai.prototype,"originY",void 0),Qe([r(".ft-ripple")],ai.prototype,"ripple",void 0),Qe([r(".ft-ripple--effect")],ai.prototype,"rippleEffect",void 0),c("ft-ripple")(ai);var hi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const ci=ft.create("--ft-tooltip-distance","SIZE","4px"),pi=ft.create("--ft-tooltip-color","COLOR","#FFFFFF"),di=ft.create("--ft-tooltip-background-color","COLOR","#666666"),fi=ft.create("--ft-tooltip-z-index","NUMBER","1"),ui=ft.external(vt.borderRadiusS,"Design system");class vi extends bt{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.hideDebounce=new e,this.revealDebouncer=new e}render(){return K`
310
324
  <div part="container"
311
325
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
312
326
  @mouseenter=${this.onHover}
@@ -321,7 +335,7 @@ var ht,ct;null==at||at(Y,tt),(null!==(E=globalThis.litHtmlVersions)&&void 0!==E?
321
335
  </div>
322
336
  <slot></slot>
323
337
  </div>
324
- `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2,s=this.tooltip.style;switch(this.position){case"top":s.top=-this.tooltip.clientHeight+"px",s.left=o+"px";break;case"bottom":s.top=e.height+"px",s.left=o+"px";break;case"left":s.top=i+"px",s.left=-this.tooltip.clientWidth+"px";break;case"right":s.top=i+"px",s.left=e.width+"px"}s.maxWidth=Math.max(e.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}ri.elementDefinitions={"ft-typography":De},ri.styles=b`
338
+ `}update(t){t.has("visible")&&!this.visible&&this.resetTooltipContent(),super.update(t)}contentAvailableCallback(t){t.has("visible")&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.position){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=t.getBoundingClientRect(),i=(e.height-this.tooltip.clientHeight)/2,o=(e.width-this.tooltip.clientWidth)/2,s=this.tooltip.style;switch(this.position){case"top":s.top=-this.tooltip.clientHeight+"px",s.left=o+"px";break;case"bottom":s.top=e.height+"px",s.left=o+"px";break;case"left":s.top=i+"px",s.left=-this.tooltip.clientWidth+"px";break;case"right":s.top=i+"px",s.left=e.width+"px"}s.maxWidth=Math.max(e.width,150)+"px"}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}}vi.elementDefinitions={"ft-typography":Te},vi.styles=b`
325
339
  .ft-tooltip--container {
326
340
  display: block;
327
341
  position: relative;
@@ -339,21 +353,21 @@ var ht,ct;null==at||at(Y,tt),(null!==(E=globalThis.litHtmlVersions)&&void 0!==E?
339
353
  width: max-content;
340
354
  max-width: 150px;
341
355
  text-align: center;
342
- padding: ${ei};
343
- z-index: ${si};
356
+ padding: ${ci};
357
+ z-index: ${fi};
344
358
  }
345
359
 
346
360
  .ft-tooltip--content {
347
361
  padding: 4px 8px;
348
- border-radius: ${ni};
349
- background-color: ${oi};
350
- color: ${ii};
362
+ border-radius: ${ui};
363
+ background-color: ${di};
364
+ color: ${pi};
351
365
  top: -500px;
352
366
  left: -500px;
353
367
  position: relative;
354
368
  word-break: break-word;
355
369
  }
356
- `,ti([o()],ri.prototype,"text",void 0),ti([o({type:Boolean})],ri.prototype,"manual",void 0),ti([o({type:Boolean})],ri.prototype,"inline",void 0),ti([o({type:Number})],ri.prototype,"delay",void 0),ti([o()],ri.prototype,"position",void 0),ti([function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},i?h({slot:s,flatten:e,selector:i}):n({descriptor:t=>({get(){var t,e;const i="slot"+(s?`[name=${s}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==n?void 0:n.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],ri.prototype,"slotNodes",void 0),ti([r(".ft-tooltip--container")],ri.prototype,"container",void 0),ti([r("slot")],ri.prototype,"target",void 0),ti([r(".ft-tooltip")],ri.prototype,"tooltip",void 0),ti([r(".ft-tooltip--content")],ri.prototype,"tooltipContent",void 0),ti([s()],ri.prototype,"visible",void 0),c("ft-tooltip")(ri);const li={color:ft.extend("--ft-loader-color",vt.colorPrimary),size:ft.create("--ft-loader-size","SIZE","80px")};class ai extends bt{static get styles(){return b`
370
+ `,hi([o()],vi.prototype,"text",void 0),hi([o({type:Boolean})],vi.prototype,"manual",void 0),hi([o({type:Boolean})],vi.prototype,"inline",void 0),hi([o({type:Number})],vi.prototype,"delay",void 0),hi([o()],vi.prototype,"position",void 0),hi([function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},i?h({slot:s,flatten:e,selector:i}):n({descriptor:t=>({get(){var t,e;const i="slot"+(s?`[name=${s}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(i);return null!==(e=null==n?void 0:n.assignedNodes(o))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}("",!0)],vi.prototype,"slotNodes",void 0),hi([r(".ft-tooltip--container")],vi.prototype,"container",void 0),hi([r("slot")],vi.prototype,"target",void 0),hi([r(".ft-tooltip")],vi.prototype,"tooltip",void 0),hi([r(".ft-tooltip--content")],vi.prototype,"tooltipContent",void 0),hi([s()],vi.prototype,"visible",void 0),c("ft-tooltip")(vi);const bi={color:ft.extend("--ft-loader-color",vt.colorPrimary),size:ft.create("--ft-loader-size","SIZE","80px")};class xi extends bt{static get styles(){return b`
357
371
  :host {
358
372
  line-height: 0;
359
373
  }
@@ -362,8 +376,8 @@ var ht,ct;null==at||at(Y,tt),(null!==(E=globalThis.litHtmlVersions)&&void 0!==E?
362
376
  display: inline-block;
363
377
  position: relative;
364
378
 
365
- width: ${li.size};
366
- height: ${li.size};
379
+ width: ${bi.size};
380
+ height: ${bi.size};
367
381
  }
368
382
 
369
383
  .ft-loader div {
@@ -372,7 +386,7 @@ var ht,ct;null==at||at(Y,tt),(null!==(E=globalThis.litHtmlVersions)&&void 0!==E?
372
386
  width: 25%;
373
387
  height: 25%;
374
388
  border-radius: 50%;
375
- background: ${li.color};
389
+ background: ${bi.color};
376
390
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
377
391
  }
378
392
 
@@ -419,7 +433,7 @@ var ht,ct;null==at||at(Y,tt),(null!==(E=globalThis.litHtmlVersions)&&void 0!==E?
419
433
  transform: translate(0, 0);
420
434
  }
421
435
  100% {
422
- transform: translate(calc(0.35 * ${li.size}), 0);
436
+ transform: translate(calc(0.35 * ${bi.size}), 0);
423
437
  }
424
438
  }
425
439
  `}render(){return K`
@@ -429,27 +443,27 @@ var ht,ct;null==at||at(Y,tt),(null!==(E=globalThis.litHtmlVersions)&&void 0!==E?
429
443
  <div></div>
430
444
  <div></div>
431
445
  </div>
432
- `}}c("ft-loader")(ai);
446
+ `}}c("ft-loader")(xi);
433
447
  /**
434
448
  * @license
435
449
  * Copyright 2017 Google LLC
436
450
  * SPDX-License-Identifier: BSD-3-Clause
437
451
  */
438
- class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this.vt=void 0,this.it=t;if(t===V)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.vt;this.it=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}hi.directiveName="unsafeHTML",hi.resultType=1;const ci=_e(hi);var pi,di;!function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(pi||(pi={})),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;"}(di||(di={})),new Map([...["abw"].map((t=>[t,di.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,di.AUDIO])),...["avi"].map((t=>[t,di.AVI])),...["chm","xhs"].map((t=>[t,di.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,di.CODE])),...["csv"].map((t=>[t,di.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,di.DITA])),...["epub"].map((t=>[t,di.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,di.EXCEL])),...["flac"].map((t=>[t,di.FLAC])),...["gif"].map((t=>[t,di.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,di.GZIP])),...["html","htm","xhtml"].map((t=>[t,di.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,di.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,di.JPEG])),...["json"].map((t=>[t,di.JSON])),...["m4a","m4p"].map((t=>[t,di.M4A])),...["mov","qt"].map((t=>[t,di.MOV])),...["mp3"].map((t=>[t,di.MP3])),...["mp4","m4v"].map((t=>[t,di.MP4])),...["ogg","oga"].map((t=>[t,di.OGG])),...["pdf","ps"].map((t=>[t,di.PDF])),...["png"].map((t=>[t,di.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,di.POWERPOINT])),...["rar"].map((t=>[t,di.RAR])),...["stp"].map((t=>[t,di.STP])),...["txt","rtf","md","mdown"].map((t=>[t,di.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,di.VIDEO])),...["wav"].map((t=>[t,di.WAV])),...["wma"].map((t=>[t,di.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,di.WORD])),...["xml","xsl","rdf"].map((t=>[t,di.XML])),...["yaml","yml","x-yaml"].map((t=>[t,di.YAML])),...["zip"].map((t=>[t,di.ZIP]))]);var fi,ui=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(fi||(fi={}));const vi={size:ft.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ft.extend("--ft-icon-fluid-topics-font-family",ft.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ft.extend("--ft-icon-file-format-font-family",ft.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ft.extend("--ft-icon-material-font-family",ft.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class bi extends bt{constructor(){super(...arguments),this.variant=fi.fluid_topics}render(){return K`
452
+ class yi extends He{constructor(t){if(super(t),this.it=Z,t.type!==Pe)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this.ft=void 0,this.it=t;if(t===V)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this.ft;this.it=t;const e=[t];return e.raw=e,this.ft={_$litType$:this.constructor.resultType,strings:e,values:[]}}}yi.directiveName="unsafeHTML",yi.resultType=1;const gi=Ie(yi);var mi,$i;!function(t){t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.STAR_PLAIN="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN_PLAIN="&#xe94d;",t.THUMBS_DOWN="&#xe94e;",t.THUMBS_UP_PLAIN="&#xe94f;",t.THUMBS_UP="&#xe950;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe900;",t.EYE="\f06e",t.DISC="&#xe901;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe902;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe90f;",t.ADMIN_USERS="&#xe910;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe912;"}(mi||(mi={})),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;"}($i||($i={})),new Map([...["abw"].map((t=>[t,$i.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,$i.AUDIO])),...["avi"].map((t=>[t,$i.AVI])),...["chm","xhs"].map((t=>[t,$i.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,$i.CODE])),...["csv"].map((t=>[t,$i.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,$i.DITA])),...["epub"].map((t=>[t,$i.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,$i.EXCEL])),...["flac"].map((t=>[t,$i.FLAC])),...["gif"].map((t=>[t,$i.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,$i.GZIP])),...["html","htm","xhtml"].map((t=>[t,$i.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,$i.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,$i.JPEG])),...["json"].map((t=>[t,$i.JSON])),...["m4a","m4p"].map((t=>[t,$i.M4A])),...["mov","qt"].map((t=>[t,$i.MOV])),...["mp3"].map((t=>[t,$i.MP3])),...["mp4","m4v"].map((t=>[t,$i.MP4])),...["ogg","oga"].map((t=>[t,$i.OGG])),...["pdf","ps"].map((t=>[t,$i.PDF])),...["png"].map((t=>[t,$i.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,$i.POWERPOINT])),...["rar"].map((t=>[t,$i.RAR])),...["stp"].map((t=>[t,$i.STP])),...["txt","rtf","md","mdown"].map((t=>[t,$i.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,$i.VIDEO])),...["wav"].map((t=>[t,$i.WAV])),...["wma"].map((t=>[t,$i.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,$i.WORD])),...["xml","xsl","rdf"].map((t=>[t,$i.XML])),...["yaml","yml","x-yaml"].map((t=>[t,$i.YAML])),...["zip"].map((t=>[t,$i.ZIP]))]);var wi,ki=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(wi||(wi={}));const Oi={size:ft.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:ft.extend("--ft-icon-fluid-topics-font-family",ft.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:ft.extend("--ft-icon-file-format-font-family",ft.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:ft.extend("--ft-icon-material-font-family",ft.create("--ft-icon-font-family","UNKNOWN","Material Icons"))};class Si extends bt{constructor(){super(...arguments),this.variant=wi.fluid_topics}render(){return K`
439
453
  <i class="ft-icon ${"ft-icon--"+this.variant}">
440
- ${ci(this.getIcon())}
454
+ ${gi(this.getIcon())}
441
455
  <slot @slotchange=${()=>this.requestUpdate()} ?hidden=${"material"!==this.variant}></slot>
442
456
  </i>
443
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===fi.file_format?null!==(t=di[i.toUpperCase()])&&void 0!==t?t:i:this.variant===fi.fluid_topics?null!==(e=pi[i.toUpperCase()])&&void 0!==e?e:i:Z}}bi.elementDefinitions={},bi.styles=b`
457
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}getIcon(){var t,e;let i=this.textContent;return this.variant===wi.file_format?null!==(t=$i[i.toUpperCase()])&&void 0!==t?t:i:this.variant===wi.fluid_topics?null!==(e=mi[i.toUpperCase()])&&void 0!==e?e:i:Z}}Si.elementDefinitions={},Si.styles=b`
444
458
  :host, i.ft-icon {
445
459
  display: inline-block;
446
- width: ${vi.size};
447
- height: ${vi.size};
460
+ width: ${Oi.size};
461
+ height: ${Oi.size};
448
462
  text-align: center;
449
463
  }
450
464
 
451
465
  i.ft-icon {
452
- font-size: ${vi.size};
466
+ font-size: ${Oi.size};
453
467
  line-height: 1;
454
468
  font-weight: normal;
455
469
  text-transform: none;
@@ -463,17 +477,17 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
463
477
  }
464
478
 
465
479
  .ft-icon--fluid-topics {
466
- font-family: ${vi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
480
+ font-family: ${Oi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
467
481
  }
468
482
 
469
483
  .ft-icon--file-format {
470
- font-family: ${vi.fileFormatFontFamily}, ft-mime, sans-serif;
484
+ font-family: ${Oi.fileFormatFontFamily}, ft-mime, sans-serif;
471
485
  }
472
486
 
473
487
  .ft-icon--material {
474
- font-family: ${vi.materialFontFamily}, "Material Icons", sans-serif;
488
+ font-family: ${Oi.materialFontFamily}, "Material Icons", sans-serif;
475
489
  }
476
- `,ui([o()],bi.prototype,"variant",void 0),ui([r("slot")],bi.prototype,"slottedContent",void 0),c("ft-icon")(bi);var xi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const yi=ft.extend("--ft-button-color",vt.colorPrimary),gi={backgroundColor:ft.extend("--ft-button-background-color",vt.colorSurface),borderRadius:ft.extend("--ft-button-border-radius",vt.borderRadiusL),color:yi,fontSize:ft.extend("--ft-button-font-size",Se.fontSize),iconSize:ft.create("--ft-button-icon-size","SIZE","24px"),rippleColor:ft.extend("--ft-button-ripple-color",yi),opacityDisabled:ft.external(vt.colorOpacityDisabled,"Design system")},mi=ft.extend("--ft-button-primary-color",ft.extend("--ft-button-color",vt.colorOnPrimary)),$i={backgroundColor:ft.extend("--ft-button-primary-background-color",ft.extend("--ft-button-background-color",vt.colorPrimary)),color:mi,rippleColor:ft.extend("--ft-button-primary-ripple-color",mi)},wi=ft.extend("--ft-button-dense-border-radius",ft.extend("--ft-button-border-radius",vt.borderRadiusM));class ki extends bt{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[xt,b`
490
+ `,ki([o()],Si.prototype,"variant",void 0),ki([r("slot")],Si.prototype,"slottedContent",void 0),c("ft-icon")(Si);var Ci=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Ei=ft.extend("--ft-button-color",vt.colorPrimary),Ni={backgroundColor:ft.extend("--ft-button-background-color",vt.colorSurface),borderRadius:ft.extend("--ft-button-border-radius",vt.borderRadiusL),color:Ei,fontSize:ft.extend("--ft-button-font-size",Ee.fontSize),iconSize:ft.create("--ft-button-icon-size","SIZE","24px"),rippleColor:ft.extend("--ft-button-ripple-color",Ei),opacityDisabled:ft.external(vt.colorOpacityDisabled,"Design system")},zi=ft.extend("--ft-button-primary-color",ft.extend("--ft-button-color",vt.colorOnPrimary)),Mi={backgroundColor:ft.extend("--ft-button-primary-background-color",ft.extend("--ft-button-background-color",vt.colorPrimary)),color:zi,rippleColor:ft.extend("--ft-button-primary-ripple-color",zi)},Ri=ft.extend("--ft-button-dense-border-radius",ft.extend("--ft-button-border-radius",vt.borderRadiusM));class Fi extends bt{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.disabled=!1,this.dense=!1,this.round=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.onclick=t=>{this.isDisabled()&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}}static get styles(){return[xt,b`
477
491
  :host {
478
492
  display: inline-block;
479
493
  max-width: 100%;
@@ -512,18 +526,18 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
512
526
  border: none;
513
527
  pointer-events: auto;
514
528
 
515
- --ft-button-internal-font-size: ${gi.fontSize};
529
+ --ft-button-internal-font-size: ${Ni.fontSize};
516
530
  --ft-button-internal-line-height: calc(var(--ft-button-internal-font-size) + 2px);
517
- --ft-button-internal-color: ${gi.color};
518
- ${ut(vi.size,gi.iconSize)};
531
+ --ft-button-internal-color: ${Ni.color};
532
+ ${ut(Oi.size,Ni.iconSize)};
519
533
  --ft-button-internal-vertical-padding: 6px;
520
534
  --ft-button-internal-horizontal-padding: 8px;
521
- ${ut(Ge.color,gi.rippleColor)};
522
- --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${gi.iconSize});
535
+ ${ut(ei.color,Ni.rippleColor)};
536
+ --ft-button-internal-content-height: max(var(--ft-button-internal-line-height), ${Ni.iconSize});
523
537
 
524
- border-radius: ${gi.borderRadius};
538
+ border-radius: ${Ni.borderRadius};
525
539
  padding: var(--ft-button-internal-vertical-padding) var(--ft-button-internal-horizontal-padding);
526
- background-color: ${gi.backgroundColor};
540
+ background-color: ${Ni.backgroundColor};
527
541
  color: var(--ft-button-internal-color);
528
542
  -webkit-mask-image: radial-gradient(white, black);
529
543
  }
@@ -535,7 +549,7 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
535
549
  .ft-button--dense {
536
550
  --ft-button-internal-vertical-padding: 2px;
537
551
  --ft-button-internal-horizontal-padding: 4px;
538
- border-radius: ${wi};
552
+ border-radius: ${Ri};
539
553
  }
540
554
 
541
555
  .ft-button--round {
@@ -544,13 +558,13 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
544
558
 
545
559
  .ft-button[disabled] {
546
560
  filter: grayscale(1);
547
- opacity: ${gi.opacityDisabled};
561
+ opacity: ${Ni.opacityDisabled};
548
562
  }
549
563
 
550
564
  .ft-button.ft-button--primary {
551
- background-color: ${$i.backgroundColor};
552
- --ft-button-internal-color: ${$i.color};
553
- ${ut(Ge.color,$i.rippleColor)};
565
+ background-color: ${Mi.backgroundColor};
566
+ --ft-button-internal-color: ${Mi.color};
567
+ ${ut(ei.color,Mi.rippleColor)};
554
568
  }
555
569
 
556
570
  .ft-button.ft-button--outlined {
@@ -563,13 +577,14 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
563
577
  }
564
578
 
565
579
  .ft-button--label {
580
+ position: relative;
566
581
  overflow: hidden;
567
582
  white-space: nowrap;
568
583
  text-overflow: ellipsis;
569
584
  display: block;
570
585
  margin: 0 var(--ft-button-internal-horizontal-padding);
571
- ${ut(Se.fontSize,"var(--ft-button-internal-font-size)")};
572
- ${ut(Se.lineHeight,"var(--ft-button-internal-content-height)")};
586
+ ${ut(Ee.fontSize,"var(--ft-button-internal-font-size)")};
587
+ ${ut(Ee.lineHeight,"var(--ft-button-internal-content-height)")};
573
588
  }
574
589
 
575
590
  .ft-button--safari-fix .ft-button--label {
@@ -588,6 +603,7 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
588
603
 
589
604
  ft-icon {
590
605
  flex-shrink: 0;
606
+ position: relative;
591
607
  }
592
608
 
593
609
  .ft-button--label[hidden] + ft-icon {
@@ -601,12 +617,12 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
601
617
  }
602
618
 
603
619
  ft-loader {
604
- ${ut(li.size,gi.iconSize)};
605
- ${ut(li.color,"var(--ft-button-internal-color)")};
620
+ ${ut(bi.size,Ni.iconSize)};
621
+ ${ut(bi.color,"var(--ft-button-internal-color)")};
606
622
  }
607
623
  `]}render(){const t={"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--safari-fix":$t,"ft-no-text-select":!0};return this.addTooltip(K`
608
624
  <button part="button"
609
- class="${Xe(t)}"
625
+ class="${Ge(t)}"
610
626
  aria-label="${this.getLabel()}"
611
627
  ?disabled=${this.isDisabled()}>
612
628
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
@@ -626,8 +642,8 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
626
642
  </ft-tooltip>
627
643
  `}resolveIcon(){return this.loading?K`
628
644
  <ft-loader></ft-loader> `:this.icon?K`
629
- <ft-icon variant="material">${this.icon}</ft-icon> `:Z}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}}ki.elementDefinitions={"ft-ripple":Qe,"ft-tooltip":ri,"ft-typography":De,"ft-icon":bi,"ft-loader":ai},xi([o({type:Boolean})],ki.prototype,"primary",void 0),xi([o({type:Boolean})],ki.prototype,"outlined",void 0),xi([o({type:Boolean})],ki.prototype,"disabled",void 0),xi([o({type:Boolean})],ki.prototype,"dense",void 0),xi([o({type:Boolean})],ki.prototype,"round",void 0),xi([o({type:String})],ki.prototype,"label",void 0),xi([o({type:String})],ki.prototype,"icon",void 0),xi([o({type:Boolean})],ki.prototype,"trailingIcon",void 0),xi([o({type:Boolean})],ki.prototype,"loading",void 0),xi([o({type:String})],ki.prototype,"tooltipPosition",void 0),xi([r(".ft-button")],ki.prototype,"button",void 0),xi([r(".ft-button--label slot")],ki.prototype,"slottedContent",void 0),c("ft-button")(ki);var Oi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Si=ft.extend("--ft-checkbox-text-color",vt.colorOnSurfaceHigh),Ci=ft.external(vt.colorPrimary,"Design system"),Ei=ft.external(vt.colorOnPrimary,"Design system"),Ni=ft.extend("--ft-checkbox-border-color",vt.colorOnSurfaceMedium),zi=ft.external(vt.colorOnSurfaceDisabled,"Design system");class Mi extends bt{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return K`
630
- <label class="${Xe(t)}">
645
+ <ft-icon variant="material">${this.icon}</ft-icon> `:Z}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}}Fi.elementDefinitions={"ft-ripple":ai,"ft-tooltip":vi,"ft-typography":Te,"ft-icon":Si,"ft-loader":xi},Ci([o({type:Boolean})],Fi.prototype,"primary",void 0),Ci([o({type:Boolean})],Fi.prototype,"outlined",void 0),Ci([o({type:Boolean})],Fi.prototype,"disabled",void 0),Ci([o({type:Boolean})],Fi.prototype,"dense",void 0),Ci([o({type:Boolean})],Fi.prototype,"round",void 0),Ci([o({type:String})],Fi.prototype,"label",void 0),Ci([o({type:String})],Fi.prototype,"icon",void 0),Ci([o({type:Boolean})],Fi.prototype,"trailingIcon",void 0),Ci([o({type:Boolean})],Fi.prototype,"loading",void 0),Ci([o({type:String})],Fi.prototype,"tooltipPosition",void 0),Ci([r(".ft-button")],Fi.prototype,"button",void 0),Ci([r(".ft-button--label slot")],Fi.prototype,"slottedContent",void 0),c("ft-button")(Fi);var Bi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const ji=ft.extend("--ft-checkbox-text-color",vt.colorOnSurfaceHigh),Ui=ft.external(vt.colorPrimary,"Design system"),Di=ft.external(vt.colorOnPrimary,"Design system"),Li=ft.extend("--ft-checkbox-border-color",vt.colorOnSurfaceMedium),Ti=ft.external(vt.colorOnSurfaceDisabled,"Design system");class Ai extends bt{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return K`
646
+ <label class="${Ge(t)}">
631
647
  <div class="ft-checkbox--box-container">
632
648
  <input type="checkbox"
633
649
  name=${this.name}
@@ -651,14 +667,14 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
651
667
  <slot></slot>
652
668
  </ft-typography>
653
669
  </label>
654
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}Mi.elementDefinitions={"ft-ripple":Qe,"ft-typography":De},Mi.styles=b`
670
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}Ai.elementDefinitions={"ft-ripple":ai,"ft-typography":Te},Ai.styles=b`
655
671
  * {
656
672
  box-sizing: border-box;
657
673
  }
658
674
 
659
675
  .ft-checkbox {
660
676
  box-sizing: border-box;
661
- color: ${Si};
677
+ color: ${ji};
662
678
 
663
679
  display: inline-flex;
664
680
  align-items: center;
@@ -666,7 +682,7 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
666
682
  }
667
683
 
668
684
  .ft-checkbox--disabled {
669
- color: ${zi};
685
+ color: ${Ti};
670
686
  }
671
687
 
672
688
  input {
@@ -689,26 +705,26 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
689
705
  }
690
706
 
691
707
  .ft-checkbox--box {
692
- border: 2px solid ${Ni};
708
+ border: 2px solid ${Li};
693
709
  border-radius: 2px;
694
710
 
695
711
  width: 18px;
696
712
  height: 18px;
697
713
 
698
- color: ${Ei};
714
+ color: ${Di};
699
715
  }
700
716
 
701
717
 
702
718
  .ft-checkbox--checked .ft-checkbox--box,
703
719
  .ft-checkbox--indeterminate .ft-checkbox--box {
704
- border-color: ${Ci};
705
- background-color: ${Ci};
720
+ border-color: ${Ui};
721
+ background-color: ${Ui};
706
722
  }
707
723
 
708
724
  .ft-checkbox--disabled .ft-checkbox--box {
709
- border-color: ${zi};
725
+ border-color: ${Ti};
710
726
  background-color: transparent;
711
- color: ${zi};
727
+ color: ${Ti};
712
728
  }
713
729
 
714
730
  .ft-checkbox--checkmark {
@@ -727,8 +743,8 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
727
743
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
728
744
  opacity: 1;
729
745
  }
730
- `,Oi([o()],Mi.prototype,"name",void 0),Oi([o({type:Boolean})],Mi.prototype,"checked",void 0),Oi([o({type:Boolean})],Mi.prototype,"indeterminate",void 0),Oi([o({type:Boolean})],Mi.prototype,"disabled",void 0),Oi([r(".ft-checkbox")],Mi.prototype,"container",void 0),Oi([r("ft-ripple")],Mi.prototype,"ripple",void 0),c("ft-checkbox")(Mi);var Ri=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Fi=ft.extend("--ft-radio-text-color",vt.colorOnSurfaceHigh),Bi=ft.external(vt.colorPrimary,"Design system"),ji=(ft.external(vt.colorOnPrimary,"Design system"),ft.extend("--ft-radio-border-color",vt.colorOnSurfaceMedium)),Ui=ft.external(vt.colorOnSurfaceDisabled,"Design system");class Di extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Li extends bt{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return K`
731
- <div class="${Xe(t)}">
746
+ `,Bi([o()],Ai.prototype,"name",void 0),Bi([o({type:Boolean})],Ai.prototype,"checked",void 0),Bi([o({type:Boolean})],Ai.prototype,"indeterminate",void 0),Bi([o({type:Boolean})],Ai.prototype,"disabled",void 0),Bi([r(".ft-checkbox")],Ai.prototype,"container",void 0),Bi([r("ft-ripple")],Ai.prototype,"ripple",void 0),c("ft-checkbox")(Ai);var _i=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Pi=ft.extend("--ft-radio-text-color",vt.colorOnSurfaceHigh),Ii=ft.external(vt.colorPrimary,"Design system"),Hi=(ft.external(vt.colorOnPrimary,"Design system"),ft.extend("--ft-radio-border-color",vt.colorOnSurfaceMedium)),Wi=ft.external(vt.colorOnSurfaceDisabled,"Design system");class Ki extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Vi extends bt{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return K`
747
+ <div class="${Ge(t)}">
732
748
  <div class="ft-radio--box-container">
733
749
  <input id="radio-button"
734
750
  type="radio"
@@ -752,14 +768,14 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
752
768
  </ft-typography>
753
769
  </label>
754
770
  </div>
755
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Di(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Di(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Li.elementDefinitions={"ft-ripple":Qe,"ft-typography":De},Li.styles=b`
771
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Ki(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Ki(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Vi.elementDefinitions={"ft-ripple":ai,"ft-typography":Te},Vi.styles=b`
756
772
  * {
757
773
  box-sizing: border-box;
758
774
  }
759
775
 
760
776
  .ft-radio {
761
777
  box-sizing: border-box;
762
- color: ${Fi};
778
+ color: ${Pi};
763
779
 
764
780
  display: inline-flex;
765
781
  align-items: center;
@@ -767,7 +783,7 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
767
783
  }
768
784
 
769
785
  .ft-radio--disabled {
770
- color: ${Ui};
786
+ color: ${Wi};
771
787
  }
772
788
 
773
789
  input {
@@ -790,7 +806,7 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
790
806
  }
791
807
 
792
808
  .ft-radio--box {
793
- border: 2px solid ${ji};
809
+ border: 2px solid ${Hi};
794
810
  border-radius: 50%;
795
811
 
796
812
  display: flex;
@@ -803,7 +819,7 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
803
819
 
804
820
  .ft-radio--box:after {
805
821
  content: " ";
806
- background-color: ${Bi};
822
+ background-color: ${Ii};
807
823
 
808
824
  border-radius: 50%;
809
825
 
@@ -815,7 +831,7 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
815
831
  }
816
832
 
817
833
  .ft-radio--checked .ft-radio--box {
818
- border-color: ${Bi};
834
+ border-color: ${Ii};
819
835
  }
820
836
 
821
837
 
@@ -824,24 +840,24 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
824
840
  }
825
841
 
826
842
  .ft-radio--disabled .ft-radio--box {
827
- border-color: ${Ui};
843
+ border-color: ${Wi};
828
844
  background-color: transparent;
829
845
  }
830
846
 
831
847
  .ft-radio--disabled .ft-radio--box:after {
832
- background-color: ${Ui};
848
+ background-color: ${Wi};
833
849
  }
834
- `,Ri([o()],Li.prototype,"value",void 0),Ri([o()],Li.prototype,"name",void 0),Ri([o({type:Boolean})],Li.prototype,"checked",void 0),Ri([o({type:Boolean})],Li.prototype,"disabled",void 0),Ri([r(".ft-radio")],Li.prototype,"container",void 0),Ri([r("ft-ripple")],Li.prototype,"ripple",void 0),Ri([r("input")],Li.prototype,"input",void 0);var Ti=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Ai extends bt{constructor(){super(...arguments),this.name=""}render(){return K`
850
+ `,_i([o()],Vi.prototype,"value",void 0),_i([o()],Vi.prototype,"name",void 0),_i([o({type:Boolean})],Vi.prototype,"checked",void 0),_i([o({type:Boolean})],Vi.prototype,"disabled",void 0),_i([r(".ft-radio")],Vi.prototype,"container",void 0),_i([r("ft-ripple")],Vi.prototype,"ripple",void 0),_i([r("input")],Vi.prototype,"input",void 0);var Zi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Ji extends bt{constructor(){super(...arguments),this.name=""}render(){return K`
835
851
  <slot @slotchange=${this.onSlotChange}
836
852
  @change=${this.onChange}
837
853
  @keydown=${this.onKeyDown}
838
854
  @focusin=${this.onFocusIn}
839
855
  ></slot>
840
- `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value}))}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),i=this.radioButtons.indexOf(e)-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}onFocusIn(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Ai.elementDefinitions={},Ai.styles=b`
856
+ `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value}))}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),i=this.radioButtons.indexOf(e)-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}onFocusIn(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Ji.elementDefinitions={},Ji.styles=b`
841
857
  :host {
842
858
  display: contents;
843
859
  }
844
- `,Ti([o()],Ai.prototype,"name",void 0),Ti([h()],Ai.prototype,"radioButtons",void 0),c("ft-radio")(Li),c("ft-radio-group")(Ai);var _i=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Pi={borderRadiusM:ft.external(vt.borderRadiusM,"Design system"),colorOutline:ft.external(vt.colorOutline,"Design system"),colorOnSurface:ft.external(vt.colorOnSurface,"Design system"),colorOnSurfaceMedium:ft.external(vt.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ft.external(vt.colorOnSurfaceDisabled,"Design system"),colorPrimary:ft.external(vt.colorPrimary,"Design system"),colorOnPrimary:ft.external(vt.colorOnPrimary,"Design system"),fontFamily:ft.external(re.fontFamily,"Body2 typography"),fontSize:ft.external(re.fontSize,"Body2 typography"),fontWeight:ft.external(re.fontWeight,"Body2 typography"),letterSpacing:ft.external(re.letterSpacing,"Body2 typography"),lineHeight:ft.external(re.lineHeight,"Body2 typography"),textTransform:ft.external(re.textTransform,"Body2 typography")};class Ii extends bt{constructor(){super(...arguments),this.id="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=this.options;this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return K`
860
+ `,Zi([o()],Ji.prototype,"name",void 0),Zi([h()],Ji.prototype,"radioButtons",void 0),c("ft-radio")(Vi),c("ft-radio-group")(Ji);var qi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Xi={borderRadiusM:ft.external(vt.borderRadiusM,"Design system"),colorOutline:ft.external(vt.colorOutline,"Design system"),colorOnSurface:ft.external(vt.colorOnSurface,"Design system"),colorOnSurfaceMedium:ft.external(vt.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ft.external(vt.colorOnSurfaceDisabled,"Design system"),colorPrimary:ft.external(vt.colorPrimary,"Design system"),colorOnPrimary:ft.external(vt.colorOnPrimary,"Design system"),fontFamily:ft.external(ae.fontFamily,"Body2 typography"),fontSize:ft.external(ae.fontSize,"Body2 typography"),fontWeight:ft.external(ae.fontWeight,"Body2 typography"),letterSpacing:ft.external(ae.letterSpacing,"Body2 typography"),lineHeight:ft.external(ae.lineHeight,"Body2 typography"),textTransform:ft.external(ae.textTransform,"Body2 typography")};class Yi extends bt{constructor(){super(...arguments),this.id="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=this.options;this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return K`
845
861
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
846
862
  ${null==this.parent?null:K`
847
863
  <div tabindex="0"
@@ -854,7 +870,7 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
854
870
  <ft-typography variant="body2">${this.parent.label}</ft-typography>
855
871
  </div>
856
872
  `}
857
- ${qe(e,(t=>t.value),(t=>{var e;return K`
873
+ ${Ye(e,(t=>t.value),(t=>{var e;return K`
858
874
  <div class="ft-filter-level--option" part="options">
859
875
  ${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
860
876
  ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?Z:K`
@@ -880,7 +896,7 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
880
896
  <ft-checkbox name="${this.id}"
881
897
  .checked=${t.selected}
882
898
  .disabled=${this.disabled}
883
- .indeterminate=${Le(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
899
+ .indeterminate=${Ae(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
884
900
  @change=${e=>this.optionsChanged(e,t)}>
885
901
  ${t.label}
886
902
  </ft-checkbox>
@@ -894,7 +910,7 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
894
910
 
895
911
  ${t.label}
896
912
  </ft-radio>
897
- `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}Ii.elementDefinitions={"ft-button":ki,"ft-ripple":Qe,"ft-typography":De,"ft-checkbox":Mi,"ft-icon":bi,"ft-radio":Li},Ii.styles=[b`
913
+ `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}Yi.elementDefinitions={"ft-button":Fi,"ft-ripple":ai,"ft-typography":Te,"ft-checkbox":Ai,"ft-icon":Si,"ft-radio":Vi},Yi.styles=[b`
898
914
  .ft-filter-level--container {
899
915
  display: flex;
900
916
  flex-direction: column;
@@ -908,14 +924,14 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
908
924
  flex-shrink: 0;
909
925
  text-decoration: none;
910
926
  position: relative;
911
- border-radius: ${Pi.borderRadiusM};
927
+ border-radius: ${Xi.borderRadiusM};
912
928
  overflow: hidden;
913
929
  display: flex;
914
930
  align-items: center;
915
931
  padding: 4px 4px;
916
932
  gap: 4px;
917
933
  cursor: pointer;
918
- color: ${Pi.colorOnSurface};
934
+ color: ${Xi.colorOnSurface};
919
935
  }
920
936
 
921
937
  .ft-filter-level--go-back:focus {
@@ -944,7 +960,7 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
944
960
  }
945
961
 
946
962
  ft-button {
947
- ${ut(gi.color,Pi.colorOnSurface)};
963
+ ${ut(Ni.color,Xi.colorOnSurface)};
948
964
  }
949
965
 
950
966
  ft-radio, ft-checkbox {
@@ -955,7 +971,7 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
955
971
  margin-left: -10px;
956
972
  word-break: break-word;
957
973
  }
958
- `],_i([o({type:String})],Ii.prototype,"id",void 0),_i([o({type:Object})],Ii.prototype,"parent",void 0),_i([o({type:Array})],Ii.prototype,"options",void 0),_i([o({type:Boolean})],Ii.prototype,"multivalued",void 0),_i([o({type:Boolean})],Ii.prototype,"disabled",void 0),_i([o({type:Boolean})],Ii.prototype,"hideSelectedOptions",void 0),_i([o({type:Boolean})],Ii.prototype,"preventNavigation",void 0),_i([o({type:String})],Ii.prototype,"filter",void 0),_i([o({type:String})],Ii.prototype,"moreValuesButtonLabel",void 0),_i([o({type:Number})],Ii.prototype,"displayedValuesLimit",void 0),_i([r(".ft-filter-level--container")],Ii.prototype,"container",void 0),_i([s()],Ii.prototype,"displayedPages",void 0);var Hi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Wi={buttonsColor:ft.extend("--ft-snap-scroll-buttons-color",vt.colorPrimary),buttonsZIndex:ft.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:ft.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:ft.external(vt.colorSurface,"Design system")};class Ki extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class Vi extends bt{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new e(200),this.updateScrollDebouncer=new e(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<i||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=Xe({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":$t}),e=this.controls&&this.withScroll;return K`
974
+ `],qi([o({type:String})],Yi.prototype,"id",void 0),qi([o({type:Object})],Yi.prototype,"parent",void 0),qi([o({type:Array})],Yi.prototype,"options",void 0),qi([o({type:Boolean})],Yi.prototype,"multivalued",void 0),qi([o({type:Boolean})],Yi.prototype,"disabled",void 0),qi([o({type:Boolean})],Yi.prototype,"hideSelectedOptions",void 0),qi([o({type:Boolean})],Yi.prototype,"preventNavigation",void 0),qi([o({type:String})],Yi.prototype,"filter",void 0),qi([o({type:String})],Yi.prototype,"moreValuesButtonLabel",void 0),qi([o({type:Number})],Yi.prototype,"displayedValuesLimit",void 0),qi([r(".ft-filter-level--container")],Yi.prototype,"container",void 0),qi([s()],Yi.prototype,"displayedPages",void 0);var Gi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Qi={buttonsColor:ft.extend("--ft-snap-scroll-buttons-color",vt.colorPrimary),buttonsZIndex:ft.create("--ft-snap-scroll-buttons-z-index","COLOR","1"),gap:ft.create("--ft-snap-scroll-gap","SIZE","0"),colorSurface:ft.external(vt.colorSurface,"Design system")};class to extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class eo extends bt{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new e(200),this.updateScrollDebouncer=new e(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<i||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=Ge({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":$t}),e=this.controls&&this.withScroll;return K`
959
975
  <div part="container" class="${t}">
960
976
  <ft-button
961
977
  class="ft-snap-scroll--previous"
@@ -979,7 +995,7 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
979
995
  @click=${this.next}
980
996
  ></ft-button>
981
997
  </div>
982
- `}updated(t){var e;super.updated(t),this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer!==this.contentSlot&&(this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Ki(this.currentElement,this.elements[this.currentElement]))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,i;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(i=this.contentSlot)||void 0===i||i.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}Vi.elementDefinitions={"ft-button":ki},Vi.styles=b`
998
+ `}updated(t){var e;super.updated(t),this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer!==this.contentSlot&&(this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new to(this.currentElement,this.elements[this.currentElement]))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,i;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(i=this.contentSlot)||void 0===i||i.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}eo.elementDefinitions={"ft-button":Fi},eo.styles=b`
983
999
  .ft-snap-scroll {
984
1000
  box-sizing: border-box;
985
1001
  position: relative;
@@ -1014,7 +1030,7 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
1014
1030
  flex-wrap: nowrap;
1015
1031
  align-items: flex-start;
1016
1032
  justify-content: flex-start;
1017
- gap: ${Wi.gap};
1033
+ gap: ${Qi.gap};
1018
1034
  }
1019
1035
 
1020
1036
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1057,11 +1073,11 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
1057
1073
  .ft-snap-scroll--next {
1058
1074
  position: absolute;
1059
1075
  display: flex;
1060
- z-index: ${Wi.buttonsZIndex};
1076
+ z-index: ${Qi.buttonsZIndex};
1061
1077
  opacity: 1;
1062
1078
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1063
- ${ut(gi.backgroundColor,"transparent")};
1064
- ${ut(gi.color,Wi.buttonsColor)};
1079
+ ${ut(Ni.backgroundColor,"transparent")};
1080
+ ${ut(Ni.color,Qi.buttonsColor)};
1065
1081
  }
1066
1082
 
1067
1083
  .ft-snap-scroll--previous[hidden],
@@ -1074,37 +1090,37 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
1074
1090
  top: 0;
1075
1091
  left: -1px;
1076
1092
  bottom: 0;
1077
- background: linear-gradient(to right, ${Wi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1093
+ background: linear-gradient(to right, ${Qi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1078
1094
  }
1079
1095
 
1080
1096
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1081
1097
  top: -1px;
1082
1098
  left: 0;
1083
1099
  right: 0;
1084
- background: linear-gradient(to bottom, ${Wi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1100
+ background: linear-gradient(to bottom, ${Qi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1085
1101
  }
1086
1102
 
1087
1103
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1088
1104
  top: 0;
1089
1105
  right: -1px;
1090
1106
  bottom: 0;
1091
- background: linear-gradient(to left, ${Wi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1107
+ background: linear-gradient(to left, ${Qi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1092
1108
  }
1093
1109
 
1094
1110
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1095
1111
  left: 0;
1096
1112
  right: 0;
1097
1113
  bottom: -1px;
1098
- background: linear-gradient(to top, ${Wi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1114
+ background: linear-gradient(to top, ${Qi.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1099
1115
  }
1100
1116
 
1101
1117
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1102
1118
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1103
1119
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1104
1120
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1105
- background-color: ${Wi.colorSurface};
1121
+ background-color: ${Qi.colorSurface};
1106
1122
  }
1107
- `,Hi([o({type:Boolean})],Vi.prototype,"horizontal",void 0),Hi([o({type:Boolean})],Vi.prototype,"hideScrollbar",void 0),Hi([o({type:Boolean})],Vi.prototype,"controls",void 0),Hi([o({type:Boolean})],Vi.prototype,"limitSize",void 0),Hi([s()],Vi.prototype,"elements",void 0),Hi([s()],Vi.prototype,"currentElement",void 0),Hi([s()],Vi.prototype,"withScroll",void 0),Hi([s()],Vi.prototype,"startReached",void 0),Hi([s()],Vi.prototype,"endReached",void 0),Hi([r(".ft-snap-scroll--content")],Vi.prototype,"contentSlot",void 0),c("ft-snap-scroll")(Vi);var Zi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Ji={colorOutline:ft.external(vt.colorOutline,"Design system"),colorOnSurface:ft.external(vt.colorOnSurface,"Design system"),colorOnSurfaceMedium:ft.external(vt.colorOnSurfaceMedium,"Design system"),colorPrimary:ft.external(vt.colorPrimary,"Design system"),colorSurface:ft.external(vt.colorSurface,"Design system"),transitionDuration:ft.external(vt.transitionDuration,"Design system"),transitionTimingFunction:ft.external(vt.transitionTimingFunction,"Design system")};class qi extends CustomEvent{constructor(t){super("change",{detail:t})}}class Xi extends bt{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new e(300),this.changeDebouncer=new e(10)}get flatOptions(){return Le(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}render(){var t,e;const i=this.flatOptions.some((t=>t.selected));let o=this.withScroll||this.filter||null!==(e=null===(t=this.lastLevel)||void 0===t?void 0:t.hasHiddenValues)&&void 0!==e&&e;return K`
1123
+ `,Gi([o({type:Boolean})],eo.prototype,"horizontal",void 0),Gi([o({type:Boolean})],eo.prototype,"hideScrollbar",void 0),Gi([o({type:Boolean})],eo.prototype,"controls",void 0),Gi([o({type:Boolean})],eo.prototype,"limitSize",void 0),Gi([s()],eo.prototype,"elements",void 0),Gi([s()],eo.prototype,"currentElement",void 0),Gi([s()],eo.prototype,"withScroll",void 0),Gi([s()],eo.prototype,"startReached",void 0),Gi([s()],eo.prototype,"endReached",void 0),Gi([r(".ft-snap-scroll--content")],eo.prototype,"contentSlot",void 0),c("ft-snap-scroll")(eo);var io=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const oo={colorOutline:ft.external(vt.colorOutline,"Design system"),colorOnSurface:ft.external(vt.colorOnSurface,"Design system"),colorOnSurfaceMedium:ft.external(vt.colorOnSurfaceMedium,"Design system"),colorPrimary:ft.external(vt.colorPrimary,"Design system"),colorSurface:ft.external(vt.colorSurface,"Design system"),transitionDuration:ft.external(vt.transitionDuration,"Design system"),transitionTimingFunction:ft.external(vt.transitionTimingFunction,"Design system")};class so extends CustomEvent{constructor(t){super("change",{detail:t})}}class no extends bt{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new e(300),this.changeDebouncer=new e(10)}get flatOptions(){return Ae(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}render(){var t,e;const i=this.flatOptions.some((t=>t.selected));let o=this.withScroll||this.filter||null!==(e=null===(t=this.lastLevel)||void 0===t?void 0:t.hasHiddenValues)&&void 0!==e&&e;return K`
1108
1124
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1109
1125
  part="container">
1110
1126
  ${this.label||i?K`
@@ -1169,7 +1185,7 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
1169
1185
  @display-level=${this.onDisplayLevel}
1170
1186
  part="values"
1171
1187
  ></ft-filter-level>
1172
- `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const i=this.flatOptions.find((e=>e.value===t.detail.value));i.selected=!i.selected;const o=t=>{var e;t!==i&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(o)};this.multivalued?null===(e=i.subOptions)||void 0===e||e.forEach(o):this.options.forEach(o),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;const e=this.flatOptions.filter((t=>t.selected)).map((t=>t.value));this.dispatchEvent(new qi(e)),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(t){const e=t.composedPath()[0];this.filter=e.value}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}Xi.elementDefinitions={"ft-button":ki,"ft-filter-level":Ii,"ft-snap-scroll":Vi,"ft-typography":De},Xi.styles=[Fe,b`
1188
+ `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const i=this.flatOptions.find((e=>e.value===t.detail.value));i.selected=!i.selected;const o=t=>{var e;t!==i&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(o)};this.multivalued?null===(e=i.subOptions)||void 0===e||e.forEach(o):this.options.forEach(o),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;const e=this.flatOptions.filter((t=>t.selected)).map((t=>t.value));this.dispatchEvent(new so(e)),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(t){const e=t.composedPath()[0];this.filter=e.value}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}no.elementDefinitions={"ft-button":Fi,"ft-filter-level":Yi,"ft-snap-scroll":eo,"ft-typography":Te},no.styles=[je,b`
1173
1189
  :host {
1174
1190
  display: flex;
1175
1191
  max-height: 100%;
@@ -1182,8 +1198,8 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
1182
1198
  flex-direction: column;
1183
1199
  max-height: 100%;
1184
1200
  max-width: 100%;
1185
- color: ${Ji.colorOnSurface};
1186
- background: ${Ji.colorSurface};
1201
+ color: ${oo.colorOnSurface};
1202
+ background: ${oo.colorSurface};
1187
1203
  }
1188
1204
 
1189
1205
  .ft-filter--header {
@@ -1193,13 +1209,13 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
1193
1209
  flex-shrink: 0;
1194
1210
  padding: 0 10px;
1195
1211
  margin-bottom: 8px;
1196
- ${ut(zt.fontSize,"14px")};
1212
+ ${ut(Rt.fontSize,"14px")};
1197
1213
  }
1198
1214
 
1199
1215
  .ft-filter--header ft-button {
1200
1216
  flex-shrink: 0;
1201
1217
  margin-left: auto;
1202
- ${ut(gi.iconSize,"18px")};
1218
+ ${ut(Ni.iconSize,"18px")};
1203
1219
  }
1204
1220
 
1205
1221
  .ft-filter--label {
@@ -1207,8 +1223,8 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
1207
1223
  flex-shrink: 1;
1208
1224
  flex-grow: 1;
1209
1225
  word-break: break-word;
1210
- ${ut(zt.lineHeight,"22px")};
1211
- ${ut(zt.fontWeight,"bold")};
1226
+ ${ut(Rt.lineHeight,"22px")};
1227
+ ${ut(Rt.fontWeight,"bold")};
1212
1228
  }
1213
1229
 
1214
1230
  .ft-filter--filter {
@@ -1219,8 +1235,8 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
1219
1235
  padding: 0 10px;
1220
1236
  overflow: hidden;
1221
1237
  height: 32px;
1222
- transition: height ${Ji.transitionDuration} ${Ji.transitionTimingFunction},
1223
- margin ${Ji.transitionDuration} ${Ji.transitionTimingFunction};
1238
+ transition: height ${oo.transitionDuration} ${oo.transitionTimingFunction},
1239
+ margin ${oo.transitionDuration} ${oo.transitionTimingFunction};
1224
1240
  transition-delay: 500ms;
1225
1241
  }
1226
1242
 
@@ -1233,11 +1249,11 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
1233
1249
  display: block;
1234
1250
  width: 100%;
1235
1251
  border-radius: 4px;
1236
- border: 1px solid ${Ji.colorOutline};
1252
+ border: 1px solid ${oo.colorOutline};
1237
1253
  padding: 4px;
1238
- background-color: ${Ji.colorSurface};
1239
- color: ${Ji.colorOnSurfaceMedium};
1240
- outline-color: ${Ji.colorPrimary};
1254
+ background-color: ${oo.colorSurface};
1255
+ color: ${oo.colorOnSurfaceMedium};
1256
+ outline-color: ${oo.colorPrimary};
1241
1257
  }
1242
1258
 
1243
1259
  .ft-filter--values {
@@ -1249,7 +1265,7 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
1249
1265
  }
1250
1266
 
1251
1267
  .ft-filter--separator {
1252
- border-top: 1px solid ${Ji.colorOutline};
1268
+ border-top: 1px solid ${oo.colorOutline};
1253
1269
  margin: 4px 10px;
1254
1270
  }
1255
1271
 
@@ -1274,6 +1290,6 @@ class hi extends Pe{constructor(t){if(super(t),this.it=Z,t.type!==Ae)throw Error
1274
1290
  slot {
1275
1291
  display: none;
1276
1292
  }
1277
- `],Zi([o({type:String})],Xi.prototype,"id",void 0),Zi([o({type:String})],Xi.prototype,"label",void 0),Zi([o({type:String})],Xi.prototype,"filterPlaceHolder",void 0),Zi([o({type:String})],Xi.prototype,"clearButtonLabel",void 0),Zi([o({type:String})],Xi.prototype,"moreValuesButtonLabel",void 0),Zi([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],Xi.prototype,"options",void 0),Zi([o({type:Boolean})],Xi.prototype,"multivalued",void 0),Zi([o({type:Boolean})],Xi.prototype,"disabled",void 0),Zi([o({type:Boolean})],Xi.prototype,"raiseSelectedOptions",void 0),Zi([o({type:Number})],Xi.prototype,"displayedValuesLimit",void 0),Zi([r(".ft-filter--slot")],Xi.prototype,"slotElement",void 0),Zi([r(".ft-filter--container")],Xi.prototype,"container",void 0),Zi([r(".ft-filter--values")],Xi.prototype,"valuesContainer",void 0),Zi([r(".ft-filter--levels")],Xi.prototype,"levelsContainer",void 0),Zi([r(".ft-filter--levels ft-filter-level:last-child")],Xi.prototype,"lastLevel",void 0),Zi([function(t){return n({descriptor:e=>({get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelectorAll(t))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}(".ft-filter--levels ft-filter-level")],Xi.prototype,"levels",void 0),Zi([s()],Xi.prototype,"withScroll",void 0),Zi([s()],Xi.prototype,"filter",void 0),Zi([s()],Xi.prototype,"slideIn",void 0),Zi([s()],Xi.prototype,"slideOut",void 0);var Yi=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Gi extends bt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return K`
1293
+ `],io([o({type:String})],no.prototype,"id",void 0),io([o({type:String})],no.prototype,"label",void 0),io([o({type:String})],no.prototype,"filterPlaceHolder",void 0),io([o({type:String})],no.prototype,"clearButtonLabel",void 0),io([o({type:String})],no.prototype,"moreValuesButtonLabel",void 0),io([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},...null!=e?e:{}})}([])],no.prototype,"options",void 0),io([o({type:Boolean})],no.prototype,"multivalued",void 0),io([o({type:Boolean})],no.prototype,"disabled",void 0),io([o({type:Boolean})],no.prototype,"raiseSelectedOptions",void 0),io([o({type:Number})],no.prototype,"displayedValuesLimit",void 0),io([r(".ft-filter--slot")],no.prototype,"slotElement",void 0),io([r(".ft-filter--container")],no.prototype,"container",void 0),io([r(".ft-filter--values")],no.prototype,"valuesContainer",void 0),io([r(".ft-filter--levels")],no.prototype,"levelsContainer",void 0),io([r(".ft-filter--levels ft-filter-level:last-child")],no.prototype,"lastLevel",void 0),io([function(t){return n({descriptor:e=>({get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelectorAll(t))&&void 0!==i?i:[]},enumerable:!0,configurable:!0})})}(".ft-filter--levels ft-filter-level")],no.prototype,"levels",void 0),io([s()],no.prototype,"withScroll",void 0),io([s()],no.prototype,"filter",void 0),io([s()],no.prototype,"slideIn",void 0),io([s()],no.prototype,"slideOut",void 0);var ro=function(t,e,i,o){for(var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class lo extends bt{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return K`
1278
1294
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1279
- `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Gi.elementDefinitions={},Yi([o({type:String})],Gi.prototype,"label",void 0),Yi([o({type:Object,converter:t=>t})],Gi.prototype,"value",void 0),Yi([o({type:Boolean,reflect:!0})],Gi.prototype,"selected",void 0),Yi([o({type:Object})],Gi.prototype,"subOptions",void 0),Yi([r(".ft-filter-option--slot")],Gi.prototype,"slotElement",void 0),c("ft-filter")(Xi),c("ft-filter-option")(Gi),t.FtFilter=Xi,t.FtFilterChangeEvent=qi,t.FtFilterCssVariables=Ji,t.FtFilterOption=Gi,Object.defineProperty(t,"t",{value:!0})}({});
1295
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}updated(t){super.updated(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}lo.elementDefinitions={},ro([o({type:String})],lo.prototype,"label",void 0),ro([o({type:Object,converter:t=>t})],lo.prototype,"value",void 0),ro([o({type:Boolean,reflect:!0})],lo.prototype,"selected",void 0),ro([o({type:Object})],lo.prototype,"subOptions",void 0),ro([r(".ft-filter-option--slot")],lo.prototype,"slotElement",void 0),c("ft-filter")(no),c("ft-filter-option")(lo),t.FtFilter=no,t.FtFilterChangeEvent=so,t.FtFilterCssVariables=oo,t.FtFilterOption=lo,Object.defineProperty(t,"t",{value:!0})}({});