@fluid-topics/ft-pager 1.1.15

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.
@@ -0,0 +1,1358 @@
1
+ !function(t){
2
+ /**
3
+ * @license
4
+ * Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
5
+ * This code may only be used under the BSD style license found at
6
+ * http://polymer.github.io/LICENSE.txt
7
+ * The complete set of authors may be found at
8
+ * http://polymer.github.io/AUTHORS.txt
9
+ * The complete set of contributors may be found at
10
+ * http://polymer.github.io/CONTRIBUTORS.txt
11
+ * Code distributed by Google as part of the polymer project is also
12
+ * subject to an additional IP rights grant found at
13
+ * http://polymer.github.io/PATENTS.txt
14
+ */
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){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(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let f=o.call(i,t);f||(f=p(t),e.call(i,t,f)),this===window.customElements&&(a.set(r,c),c.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=f(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(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,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i 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,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(tn){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
16
+ /**
17
+ * @license
18
+ * Copyright 2019 Google LLC
19
+ * SPDX-License-Identifier: BSD-3-Clause
20
+ */const o=globalThis,i=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const a=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(i&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&n.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),s=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return a(e)})(t):t
21
+ /**
22
+ * @license
23
+ * Copyright 2017 Google LLC
24
+ * SPDX-License-Identifier: BSD-3-Clause
25
+ */,{is:l,defineProperty:c,getOwnPropertyDescriptor:f,getOwnPropertyNames:p,getOwnPropertySymbols:h,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,e)=>t,x={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},v=(t,e)=>!l(t,e),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let S=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=O){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=f(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,e=[...p(t),...h(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(s(t))}else void 0!==t&&e.push(s(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(i)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),r=o.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=i.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:x).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??v)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[m("elementProperties")]=new Map,S[m("finalized")]=new Map,b?.({ReactiveElement:S}),(u.reactiveElementVersions??=[]).push("2.0.2");
26
+ /**
27
+ * @license
28
+ * Copyright 2017 Google LLC
29
+ * SPDX-License-Identifier: BSD-3-Clause
30
+ */
31
+ const w={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},N=(t=w,e,o)=>{const{kind:i,metadata:r}=o;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(o.name,t),"accessor"===i){const{name:i}=o;return{set(o){const r=e.get.call(this);e.set.call(this,o),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t),e}}}if("setter"===i){const{name:i}=o;return function(o){const r=this[i];e.call(this,o),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function $(t){return(e,o)=>"object"==typeof o?N(t,e,o):((t,e,o)=>{const i=e.hasOwnProperty(o);return e.constructor.createProperty(o,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
32
+ /**
33
+ * @license
34
+ * Copyright 2017 Google LLC
35
+ * SPDX-License-Identifier: BSD-3-Clause
36
+ */}function C(t){return $({...t,state:!0,attribute:!1})}
37
+ /**
38
+ * @license
39
+ * Copyright 2017 Google LLC
40
+ * SPDX-License-Identifier: BSD-3-Clause
41
+ */function E(t){return(e,o)=>{const i="function"==typeof e?e:e[o];Object.assign(i,t)}}
42
+ /**
43
+ * @license
44
+ * Copyright 2017 Google LLC
45
+ * SPDX-License-Identifier: BSD-3-Clause
46
+ */const R=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
47
+ /**
48
+ * @license
49
+ * Copyright 2017 Google LLC
50
+ * SPDX-License-Identifier: BSD-3-Clause
51
+ */;function k(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return R(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return R(0,0,{get(){return n(this)}})}}
52
+ /**
53
+ * @license
54
+ * Copyright 2021 Google LLC
55
+ * SPDX-License-Identifier: BSD-3-Clause
56
+ */
57
+ /**
58
+ * @license
59
+ * Copyright 2017 Google LLC
60
+ * SPDX-License-Identifier: BSD-3-Clause
61
+ */
62
+ function U(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}function I(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!I(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!I(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!I(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const L=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
63
+ /**
64
+ * @license
65
+ * Copyright 2017 Google LLC
66
+ * SPDX-License-Identifier: BSD-3-Clause
67
+ */
68
+ const W=globalThis,z=W.trustedTypes,K=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,B="?"+Z,D=`<${B}>`,M=document,A=()=>M.createComment(""),P=t=>null===t||"object"!=typeof t&&"function"!=typeof t,H=Array.isArray,j="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,G=/>/g,V=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,X=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),et=new WeakMap,ot=M.createTreeWalker(M,129);function it(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(e):e}let rt=class t{constructor({strings:e,_$litType$:o},i){let r;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,f]=((t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=T;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===T?"!--"===l[1]?a=_:void 0!==l[1]?a=G:void 0!==l[2]?(q.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=V):void 0!==l[3]&&(a=V):a===V?">"===l[0]?(a=r??T,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?V:'"'===l[3]?J:Y):a===J||a===Y?a=V:a===_||a===G?a=T:(a=V,r=void 0);const p=a===V&&t[e+1].startsWith("/>")?" ":"";n+=a===T?o+D:c>=0?(i.push(s),o.slice(0,c)+F+o.slice(c)+Z+p):o+Z+(-2===c?e:p)}return[it(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]})(e,o);if(this.el=t.createElement(c,i),ot.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ot.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(F)){const e=f[a++],o=r.getAttribute(t).split(Z),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?lt:"?"===i[1]?ct:"@"===i[1]?ft:st}),r.removeAttribute(t)}else t.startsWith(Z)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(q.test(r.tagName)){const t=r.textContent.split(Z),e=t.length-1;if(e>0){r.textContent=z?z.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],A()),ot.nextNode(),l.push({type:2,index:++n});r.append(t[e],A())}}}else if(8===r.nodeType)if(r.data===B)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(Z,t+1));)l.push({type:7,index:n}),t+=Z.length-1}n++}}static createElement(t,e){const o=M.createElement("template");return o.innerHTML=t,o}};function nt(t,e,o=t,i){if(e===Q)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=P(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=nt(t,r._$AS(t,e.values),r,i)),e}let at=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}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=nt(this,t,e),P(t)?t===tt||null==t||""===t?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==Q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>H(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==tt&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(M.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=rt.createElement(it(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??M).importNode(e,!0);ot.currentNode=i;let r=ot.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new at(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new pt(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=ot.nextNode(),n++)}return ot.currentNode=M,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=et.get(t.strings);return void 0===e&&et.set(t.strings,e=new rt(t)),e}T(e){H(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(A()),this.k(A()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},st=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=tt}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=nt(this,t,e,0),n=!P(t)||t!==this._$AH&&t!==Q,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=nt(this,i[o+a],e,a),s===Q&&(s=this._$AH[a]),n||=!P(s)||s!==this._$AH[a],s===tt?t=tt:t!==tt&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},lt=class extends st{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},ct=class extends st{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},ft=class extends st{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=nt(this,t,e,0)??tt)===Q)return;const o=this._$AH,i=t===tt&&o!==tt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==tt&&(o===tt||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},pt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){nt(this,t)}};const ht=W.litHtmlPolyfillSupport;ht?.(rt,at),(W.litHtmlVersions??=[]).push("3.1.0");
69
+ /**
70
+ * @license
71
+ * Copyright 2019 Google LLC
72
+ * SPDX-License-Identifier: BSD-3-Clause
73
+ */
74
+ const dt=globalThis,ut=dt.ShadowRoot&&(void 0===dt.ShadyCSS||dt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yt=Symbol(),gt=new WeakMap;let bt=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==yt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(ut&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=gt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&gt.set(e,t))}return t}toString(){return this.cssText}};const mt=t=>new bt("string"==typeof t?t:t+"",void 0,yt),xt=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1]),t[0]);return new bt(o,t,yt)},vt=ut?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return mt(e)})(t):t
75
+ /**
76
+ * @license
77
+ * Copyright 2017 Google LLC
78
+ * SPDX-License-Identifier: BSD-3-Clause
79
+ */,{is:Ot,defineProperty:St,getOwnPropertyDescriptor:wt,getOwnPropertyNames:Nt,getOwnPropertySymbols:$t,getPrototypeOf:Ct}=Object,Et=globalThis,Rt=Et.trustedTypes,kt=Rt?Rt.emptyScript:"",Ut=Et.reactiveElementPolyfillSupport,It=(t,e)=>t,Lt={toAttribute(t,e){switch(e){case Boolean:t=t?kt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},Wt=(t,e)=>!Ot(t,e),zt={attribute:!0,type:String,converter:Lt,reflect:!1,hasChanged:Wt};Symbol.metadata??=Symbol("metadata"),Et.litPropertyMetadata??=new WeakMap;class Kt extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=zt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&St(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=wt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??zt}static _$Ei(){if(this.hasOwnProperty(It("elementProperties")))return;const t=Ct(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(It("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(It("properties"))){const t=this.properties,e=[...Nt(t),...$t(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(vt(t))}else void 0!==t&&e.push(vt(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(ut)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=dt.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:Lt).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Lt;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Wt)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}Kt.elementStyles=[],Kt.shadowRootOptions={mode:"open"},Kt[It("elementProperties")]=new Map,Kt[It("finalized")]=new Map,Ut?.({ReactiveElement:Kt}),(Et.reactiveElementVersions??=[]).push("2.0.2");
80
+ /**
81
+ * @license
82
+ * Copyright 2017 Google LLC
83
+ * SPDX-License-Identifier: BSD-3-Clause
84
+ */
85
+ const Ft=globalThis,Zt=Ft.trustedTypes,Bt=Zt?Zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Dt="$lit$",Mt=`lit$${(Math.random()+"").slice(9)}$`,At="?"+Mt,Pt=`<${At}>`,Ht=document,jt=()=>Ht.createComment(""),Tt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_t=Array.isArray,Gt="[ \t\n\f\r]",Vt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Yt=/-->/g,Jt=/>/g,qt=RegExp(`>|${Gt}(?:([^\\s"'>=/]+)(${Gt}*=${Gt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Xt=/'/g,Qt=/"/g,te=/^(?:script|style|textarea|title)$/i,ee=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),oe=Symbol.for("lit-noChange"),ie=Symbol.for("lit-nothing"),re=new WeakMap,ne=Ht.createTreeWalker(Ht,129);function ae(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Bt?Bt.createHTML(e):e}const se=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=Vt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===Vt?"!--"===l[1]?a=Yt:void 0!==l[1]?a=Jt:void 0!==l[2]?(te.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=qt):void 0!==l[3]&&(a=qt):a===qt?">"===l[0]?(a=r??Vt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?qt:'"'===l[3]?Qt:Xt):a===Qt||a===Xt?a=qt:a===Yt||a===Jt?a=Vt:(a=qt,r=void 0);const p=a===qt&&t[e+1].startsWith("/>")?" ":"";n+=a===Vt?o+Pt:c>=0?(i.push(s),o.slice(0,c)+Dt+o.slice(c)+Mt+p):o+Mt+(-2===c?e:p)}return[ae(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class le{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=se(t,e);if(this.el=le.createElement(l,o),ne.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=ne.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Dt)){const e=c[n++],o=i.getAttribute(t).split(Mt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?he:"?"===a[1]?de:"@"===a[1]?ue:pe}),i.removeAttribute(t)}else t.startsWith(Mt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(te.test(i.tagName)){const t=i.textContent.split(Mt),e=t.length-1;if(e>0){i.textContent=Zt?Zt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],jt()),ne.nextNode(),s.push({type:2,index:++r});i.append(t[e],jt())}}}else if(8===i.nodeType)if(i.data===At)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Mt,t+1));)s.push({type:7,index:r}),t+=Mt.length-1}r++}}static createElement(t,e){const o=Ht.createElement("template");return o.innerHTML=t,o}}function ce(t,e,o=t,i){if(e===oe)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=Tt(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=ce(t,r._$AS(t,e.values),r,i)),e}class fe{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=ie,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}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=ce(this,t,e),Tt(t)?t===ie||null==t||""===t?(this._$AH!==ie&&this._$AR(),this._$AH=ie):t!==this._$AH&&t!==oe&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_t(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ie&&Tt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ht.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=le.createElement(ae(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??Ht).importNode(e,!0);ne.currentNode=i;let r=ne.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new fe(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new ye(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=ne.nextNode(),n++)}return ne.currentNode=Ht,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=re.get(t.strings);return void 0===e&&re.set(t.strings,e=new le(t)),e}T(t){_t(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new fe(this.k(jt()),this.k(jt()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class pe{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=ie,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ie}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=ce(this,t,e,0),n=!Tt(t)||t!==this._$AH&&t!==oe,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=ce(this,i[o+a],e,a),s===oe&&(s=this._$AH[a]),n||=!Tt(s)||s!==this._$AH[a],s===ie?t=ie:t!==ie&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ie?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class he extends pe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ie?void 0:t}}class de extends pe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ie)}}class ue extends pe{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=ce(this,t,e,0)??ie)===oe)return;const o=this._$AH,i=t===ie&&o!==ie||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==ie&&(o===ie||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class ye{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ce(this,t)}}const ge=Ft.litHtmlPolyfillSupport;ge?.(le,fe),(Ft.litHtmlVersions??=[]).push("3.1.0");
86
+ /**
87
+ * @license
88
+ * Copyright 2017 Google LLC
89
+ * SPDX-License-Identifier: BSD-3-Clause
90
+ */
91
+ class be extends Kt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new fe(e.insertBefore(jt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return oe}}be._$litElement$=!0,be.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:be});const me=globalThis.litElementPolyfillSupport;me?.({LitElement:be}),(globalThis.litElementVersions??=[]).push("4.0.2");const xe=t=>"string"==typeof t?mt(t):t;class ve{static create(t,e,o,i){const r=t=>xe(null!=t?t:i),n=xt`var(${xe(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>xt`var(${xe(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=xt`var(${xe(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>xt`var(${xe(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):xe(null!=e?e:t.lastResortDefaultValue()),i=xt`var(${xe(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>xt`var(${xe(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Oe(t,e){return xe(`${t.name}: ${e}`)}const Se={colorWhite:ve.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ve.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ve.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ve.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ve.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ve.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ve.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ve.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ve.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ve.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ve.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ve.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ve.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ve.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ve.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ve.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ve.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ve.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ve.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ve.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ve.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ve.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ve.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ve.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ve.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ve.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ve.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ve.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ve.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ve.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ve.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ve.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ve.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ve.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ve.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ve.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ve.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ve.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ve.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ve.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ve.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ve.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ve.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ve.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ve.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ve.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ve.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ve.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ve.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ve.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ve.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ve.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ve.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ve.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ve.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ve.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ve.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ve.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ve.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ve.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ve.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ve.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ve.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ve.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:ve.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:ve.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:ve.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:ve.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:ve.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:ve.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:ve.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:ve.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:ve.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:ve.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:ve.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:ve.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:ve.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:ve.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:ve.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ve.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ve.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ve.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ve.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ve.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ve.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ve.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ve.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ve.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ve.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ve.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ve.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ve.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ve.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ve.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ve.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ve.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ve.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ve.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ve.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ve.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ve.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ve.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ve.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ve.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ve.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ve.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ve.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ve.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ve.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ve.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ve.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ve.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ve.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ve.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ve.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ve.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ve.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ve.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ve.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ve.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ve.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ve.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ve.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ve.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ve.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ve.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ve.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ve.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ve.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ve.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ve.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ve.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ve.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ve.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ve.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ve.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ve.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ve.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ve.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ve.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ve.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ve.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ve.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ve.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ve.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ve.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ve.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ve.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ve.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ve.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ve.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ve.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ve.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ve.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ve.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ve.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ve.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ve.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ve.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ve.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ve.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ve.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ve.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ve.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ve.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ve.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ve.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ve.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ve.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ve.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ve.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ve.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ve.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ve.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ve.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ve.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ve.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ve.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ve.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ve.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ve.create("--ft-opacity-0","","NUMBER","0"),opacity8:ve.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ve.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ve.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ve.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ve.create("--ft-opacity-80","","NUMBER","0.8")},we={display:{fontFamily:ve.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ve.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:ve.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:ve.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:ve.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:ve.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:ve.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:ve.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ve.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:ve.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ve.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:ve.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:ve.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:ve.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ve.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:ve.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:ve.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:ve.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:ve.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:ve.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:ve.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:ve.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:ve.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:ve.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:ve.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:ve.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:ve.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:ve.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:ve.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ne={backgroundActionPrimary:ve.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Se.colorBrand0),backgroundErrorPrimary:ve.extend("--ft-background-error-primary","Used as background of error components.",Se.colorRed0),backgroundErrorSubtle:ve.extend("--ft-background-error-subtle","Used as background of subtle error components.",Se.colorRed10),backgroundInfoPrimary:ve.extend("--ft-background-info-primary","Used as background of information components.",Se.colorCyan200),backgroundInfoSubtle:ve.extend("--ft-background-info-subtle","Used as background of subtle information components.",Se.colorCyan10),backgroundWarningPrimary:ve.extend("--ft-background-warning-primary","Used as background of warning components.",Se.colorOrange300),backgroundWarningSubtle:ve.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Se.colorOrange10),backgroundSuccessPrimary:ve.extend("--ft-background-success-primary","Used as background of success components.",Se.colorGreen200),backgroundSuccessSubtle:ve.extend("--ft-background-success-subtle","Used as background of subtle success components.",Se.colorGreen10),backgroundGlobalSurface:ve.extend("--ft-background-global-surface","Used as app background.",Se.colorWhite),backgroundGlobalOnSurface:ve.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Se.colorGray10),backgroundGlobalOnSurfaceDark:ve.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Se.colorGray30),contentActionPrimary:ve.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Se.colorBrand0),contentWarningPrimary:ve.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Se.colorOrange300),contentWarningIconOnly:ve.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Se.colorOrange0),contentErrorPrimary:ve.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Se.colorRed0),contentErrorIconOnly:ve.extend("--ft-content-error-icon-only","Used on error status icons alone",Se.colorRed0),contentInfoPrimary:ve.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Se.colorCyan200),contentInfoIconOnly:ve.extend("--ft-content-info-icon-only","Used on info status icons alone",Se.colorCyan0),contentSuccessIconOnly:ve.extend("--ft-content-success-icon-only","Used on success status icons alone",Se.colorGreen0),contentSuccessPrimary:ve.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Se.colorGreen200),contentGlobalPrimary:ve.extend("--ft-content-global-primary","Used for main content on the page.",Se.colorGray500),contentGlobalSecondary:ve.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Se.colorGray200),contentGlobalSubtle:ve.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Se.colorGray0),contentGlobalOnColor:ve.extend("--ft-content-global-on-color","Used for content on a dominant color.",Se.colorWhite),borderActionPrimary:ve.extend("--ft-border-action-primary","Used as border for primary action components.",Se.colorBrand0),borderActionFocusRing:ve.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Se.colorCyan0),borderWarningPrimary:ve.extend("--ft-border-warning-primary","Used as border for warning components.",Se.colorOrange30),borderSuccessPrimary:ve.extend("--ft-border-success-primary","Used as border for success components.",Se.colorGreen30),borderErrorPrimary:ve.extend("--ft-border-error-primary","Used as border for error components.",Se.colorRed30),borderInfoPrimary:ve.extend("--ft-border-info-primary","Used as border for information components.",Se.colorCyan30),borderGlobalSubtle:ve.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Se.colorGray30),borderGlobalPrimary:ve.extend("--ft-border-global-primary","Used as border for element like input.",Se.colorGray50),borderInputPrimary:ve.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Se.colorGray80)},$e={largeHeight:ve.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ve.extend("--ft-button-large-horizontal-padding","",Se.spacing4),largeGap:ve.extend("--ft-button-large-gap","",Se.spacing2),largeBorderRadius:ve.extend("--ft-button-large-border-radius","",Se.borderRadiusS),largeIconSize:ve.extend("--ft-button-large-icon-size","",Se.iconSize3),largeBorderWidth:ve.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:ve.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ve.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:ve.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:ve.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:ve.extend("--ft-button-small-horizontal-padding","",Se.spacing3),smallGap:ve.extend("--ft-button-small-gap","",Se.spacing2),smallBorderRadius:ve.extend("--ft-button-small-border-radius","",Se.borderRadiusS),smallIconSize:ve.extend("--ft-button-small-icon-size","",Se.iconSize2),smallBorderWidth:ve.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:ve.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ve.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:ve.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:ve.extend("--ft-button-primary-background-color","",Ne.backgroundActionPrimary),primaryColor:ve.extend("--ft-button-primary-color","",Ne.contentGlobalOnColor),primaryIconColor:ve.extend("--ft-button-primary-icon-color","",Ne.contentGlobalOnColor),primaryStateLayerColor:ve.extend("--ft-button-primary-state-layer-color","",Ne.contentGlobalOnColor),primaryStateLayerOpacityHover:ve.extend("--ft-button-primary-state-layer-opacity-hover","",Se.opacity16),primaryStateLayerOpacityFocus:ve.extend("--ft-button-primary-state-layer-opacity-focus","",Se.opacity16),primaryStateLayerOpacityActive:ve.extend("--ft-button-primary-state-layer-opacity-active","",Se.opacity24),primaryComponentOpacityDisabled:ve.extend("--ft-button-primary-component-opacity-disabled","",Se.opacity40),focusFocusRingColor:ve.extend("--ft-button-focus-focus-ring-color","",Ne.borderActionFocusRing),tertiaryBackgroundColor:ve.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ve.extend("--ft-button-tertiary-color","",Ne.contentActionPrimary),tertiaryIconColor:ve.extend("--ft-button-tertiary-icon-color","",Ne.contentActionPrimary),tertiaryStateLayerColor:ve.extend("--ft-button-tertiary-state-layer-color","",Ne.contentActionPrimary),tertiaryStateLayerOpacityHover:ve.extend("--ft-button-tertiary-state-layer-opacity-hover","",Se.opacity8),tertiaryStateLayerOpacityFocus:ve.extend("--ft-button-tertiary-state-layer-opacity-focus","",Se.opacity8),tertiaryStateLayerOpacityActive:ve.extend("--ft-button-tertiary-state-layer-opacity-active","",Se.opacity16),tertiaryComponentOpacityDisabled:ve.extend("--ft-button-tertiary-component-opacity-disabled","",Se.opacity40),secondaryBackgroundColor:ve.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ve.extend("--ft-button-secondary-color","",Ne.contentActionPrimary),secondaryIconColor:ve.extend("--ft-button-secondary-icon-color","",Ne.contentActionPrimary),secondaryStateLayerColor:ve.extend("--ft-button-secondary-state-layer-color","",Ne.contentActionPrimary),secondaryStateLayerOpacityHover:ve.extend("--ft-button-secondary-state-layer-opacity-hover","",Se.opacity8),secondaryStateLayerOpacityFocus:ve.extend("--ft-button-secondary-state-layer-opacity-focus","",Se.opacity8),secondaryStateLayerOpacityActive:ve.extend("--ft-button-secondary-state-layer-opacity-active","",Se.opacity16),secondaryComponentOpacityDisabled:ve.extend("--ft-button-secondary-component-opacity-disabled","",Se.opacity40),secondaryBorderColor:ve.extend("--ft-button-secondary-border-color","",Ne.borderActionPrimary),neutralBackgroundColor:ve.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ve.extend("--ft-button-neutral-icon-color","",Ne.contentGlobalSecondary),neutralColor:ve.extend("--ft-button-neutral-color","",Ne.contentGlobalSecondary),neutralStateLayerColor:ve.extend("--ft-button-neutral-state-layer-color","",Ne.contentGlobalSecondary),neutralStateLayerOpacityHover:ve.extend("--ft-button-neutral-state-layer-opacity-hover","",Se.opacity8),neutralStateLayerOpacityFocus:ve.extend("--ft-button-neutral-state-layer-opacity-focus","",Se.opacity8),neutralStateLayerOpacityActive:ve.extend("--ft-button-neutral-state-layer-opacity-active","",Se.opacity16),neutralComponentOpacityDisabled:ve.extend("--ft-button-neutral-component-opacity-disabled","",Se.opacity40)};ve.extend("--ft-tabs-top-left-border-radius","",Se.borderRadiusS),ve.extend("--ft-tabs-top-right-border-radius","",Se.borderRadiusS),ve.extend("--ft-tabs-label-horizontal-padding","",Se.spacing4),ve.extend("--ft-tabs-label-vertical-padding","",Se.spacing3),ve.extend("--ft-tabs-label-gap","",Se.spacing1),ve.extend("--ft-switch-group-horizontal-padding","",Se.spacing1),ve.extend("--ft-switch-group-vertical-padding","",Se.spacing1),ve.extend("--ft-switch-group-gap","",Se.spacing1),ve.extend("--ft-switch-group-background-color","",Ne.backgroundGlobalSurface),ve.extend("--ft-switch-group-border-color","",Ne.borderGlobalSubtle),ve.create("--ft-switch-group-border-radius","","SIZE","6px"),ve.extend("--ft-switch-label-horizontal-padding","",Se.spacing2),ve.extend("--ft-switch-label-vertical-padding","",Se.spacing1),ve.extend("--ft-switch-icon-horizontal-padding","",Se.spacing1),ve.extend("--ft-switch-icon-vertical-padding","",Se.spacing1),ve.create("--ft-switch-focus-outline-width","","SIZE","2px"),ve.extend("--ft-switch-focus-focus-ring-color","",Ne.borderActionFocusRing),ve.extend("--ft-switch-option-border-radius","",Se.borderRadiusS),ve.extend("--ft-switch-off-state-layer-opacity-hover","",Se.opacity8),ve.extend("--ft-switch-off-state-layer-opacity-focus","",Se.opacity8),ve.extend("--ft-switch-off-state-layer-opacity-active","",Se.opacity16),ve.extend("--ft-switch-off-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-switch-off-color","",Ne.contentGlobalSubtle),ve.extend("--ft-switch-off-state-layer-color","",Ne.contentGlobalSubtle),ve.extend("--ft-chart-1-light","for area color charts",Se.colorBrand40),ve.extend("--ft-chart-1-base","for line charts",Se.colorBrand0),ve.extend("--ft-chart-2-light","for area color charts",Se.colorYellow60),ve.extend("--ft-chart-2-base","for line charts",Se.colorYellow100),ve.extend("--ft-chart-3-light","",Se.colorUltramarine40),ve.extend("--ft-chart-3-base","",Se.colorUltramarine70),ve.extend("--ft-chart-4-light","",Se.colorCyan50),ve.extend("--ft-chart-4-base","",Se.colorCyan100),ve.extend("--ft-chart-5-light","",Se.colorRed40),ve.extend("--ft-chart-5-base","",Se.colorRed60),ve.extend("--ft-chart-6-light","",Se.colorGreen40),ve.extend("--ft-chart-6-base","",Se.colorGreen70),ve.extend("--ft-chart-7-light","",Se.colorOrange70),ve.extend("--ft-chart-7-base","",Se.colorOrange100),ve.extend("--ft-chart-8-light","",Se.colorAvocado70),ve.extend("--ft-chart-8-base","",Se.colorAvocado200),ve.extend("--ft-chart-9-light","",Se.colorBrown50),ve.extend("--ft-chart-9-base","",Se.colorBrown200),ve.extend("--ft-chart-10-light","",Se.colorGray50),ve.extend("--ft-chart-10-base","",Se.colorGray80),ve.extend("--ft-chart-monochrome-10","",Se.colorBrand10),ve.extend("--ft-chart-monochrome-20","",Se.colorBrand20),ve.extend("--ft-chart-monochrome-30","",Se.colorBrand40),ve.extend("--ft-chart-monochrome-40","",Se.colorBrand60),ve.extend("--ft-chart-monochrome-50","",Se.colorBrand0),ve.extend("--ft-chart-monochrome-60","",Se.colorBrand200),ve.extend("--ft-chip-large-horizontal-padding","",Se.spacing4),ve.extend("--ft-chip-large-vertical-padding","",Se.spacing2),ve.extend("--ft-chip-large-gap","",Se.spacing1),ve.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),ve.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),ve.extend("--ft-chip-large-border-radius","",Se.borderRadiusPill),ve.create("--ft-chip-large-border-width","","SIZE","1px"),ve.extend("--ft-chip-large-icon-size","",Se.iconSize3),ve.extend("--ft-chip-medium-horizontal-padding","",Se.spacing3),ve.extend("--ft-chip-medium-vertical-padding","",Se.spacing1),ve.extend("--ft-chip-medium-gap","",Se.spacing1),ve.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),ve.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),ve.extend("--ft-chip-medium-border-radius","",Se.borderRadiusPill),ve.create("--ft-chip-medium-border-width","","SIZE","1px"),ve.extend("--ft-chip-medium-icon-size","",Se.iconSize2),ve.extend("--ft-chip-small-horizontal-padding","",Se.spacing2),ve.extend("--ft-chip-small-vertical-padding","",Se.spacing05),ve.extend("--ft-chip-small-gap","",Se.spacing1),ve.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),ve.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),ve.extend("--ft-chip-small-border-radius","",Se.borderRadiusPill),ve.create("--ft-chip-small-border-width","","SIZE","1px"),ve.extend("--ft-chip-small-icon-size","",Se.iconSize1),ve.extend("--ft-chip-neutral-background-color","",Ne.backgroundGlobalOnSurface),ve.extend("--ft-chip-neutral-color","",Ne.contentGlobalPrimary),ve.extend("--ft-chip-neutral-border-color","",Ne.borderGlobalSubtle),ve.extend("--ft-chip-info-background-color","",Ne.backgroundInfoSubtle),ve.extend("--ft-chip-info-color","",Ne.contentInfoPrimary),ve.extend("--ft-chip-info-border-color","",Ne.borderInfoPrimary),ve.extend("--ft-chip-success-background-color","",Ne.backgroundSuccessSubtle),ve.extend("--ft-chip-success-color","",Ne.contentSuccessPrimary),ve.extend("--ft-chip-success-border-color","",Ne.borderSuccessPrimary),ve.extend("--ft-chip-warning-background-color","",Ne.backgroundWarningSubtle),ve.extend("--ft-chip-warning-color","",Ne.contentWarningPrimary),ve.extend("--ft-chip-warning-border-color","",Ne.borderWarningPrimary),ve.extend("--ft-chip-error-background-color","",Ne.backgroundErrorSubtle),ve.extend("--ft-chip-error-color","",Ne.contentErrorPrimary),ve.extend("--ft-chip-error-border-color","",Ne.borderErrorPrimary),ve.create("--ft-notice-border-width","","SIZE","1px"),ve.extend("--ft-notice-horizontal-padding","",Se.spacing2),ve.extend("--ft-notice-vertical-padding","",Se.spacing1),ve.extend("--ft-notice-border-radius","",Se.borderRadiusS),ve.extend("--ft-notice-gap","",Se.spacing2),ve.extend("--ft-notice-icon-size","",Se.iconSize3),ve.extend("--ft-notice-info-background-color","",Ne.backgroundInfoSubtle),ve.extend("--ft-notice-info-border-color","",Ne.borderInfoPrimary),ve.extend("--ft-notice-info-color","",Ne.contentInfoPrimary),ve.extend("--ft-notice-warning-background-color","",Ne.backgroundWarningSubtle),ve.extend("--ft-notice-warning-border-color","",Ne.borderWarningPrimary),ve.extend("--ft-notice-warning-color","",Ne.contentWarningPrimary),ve.extend("--ft-checkbox-label-color","",Ne.contentGlobalPrimary),ve.extend("--ft-checkbox-checked-background-color","",Ne.contentActionPrimary),ve.extend("--ft-checkbox-checked-state-layer-color","",Ne.contentActionPrimary),ve.extend("--ft-checkbox-checked-color","",Ne.contentGlobalOnColor),ve.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-checkbox-checked-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-checkbox-checked-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-checkbox-unchecked-border-color","",Se.colorGray80),ve.extend("--ft-checkbox-unchecked-state-layer-color","",Se.colorGray80),ve.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-checkbox-focus-focus-ring-color","",Ne.borderActionFocusRing),ve.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),ve.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),ve.extend("--ft-checkbox-gap","",Se.spacing3),ve.extend("--ft-toggle-off-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-toggle-off-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-toggle-off-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-toggle-off-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-toggle-off-background-color","",Ne.contentGlobalSubtle),ve.extend("--ft-toggle-off-icon-color","",Ne.contentGlobalSubtle),ve.extend("--ft-toggle-off-state-layer-color","",Ne.contentGlobalSubtle),ve.extend("--ft-toggle-on-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-toggle-on-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-toggle-on-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-toggle-on-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-toggle-on-background-color","",Ne.contentActionPrimary),ve.extend("--ft-toggle-on-icon-color","",Ne.contentActionPrimary),ve.extend("--ft-toggle-on-state-layer-color","",Ne.contentActionPrimary),ve.extend("--ft-toggle-label-color","",Ne.contentGlobalPrimary),ve.extend("--ft-toggle-focus-focus-ring-color","",Ne.borderActionFocusRing),ve.extend("--ft-toggle-gap","",Se.spacing3),ve.extend("--ft-radio-label-color","",Ne.contentGlobalPrimary),ve.extend("--ft-radio-selected-color","",Ne.contentActionPrimary),ve.extend("--ft-radio-selected-state-layer-color","",Ne.contentActionPrimary),ve.extend("--ft-radio-selected-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-radio-selected-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-radio-selected-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-radio-selected-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-radio-unselected-state-layer-color","",Se.colorGray80),ve.extend("--ft-radio-unselected-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-radio-unselected-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-radio-unselected-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-radio-unselected-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-radio-focus-focus-ring-color","",Ne.borderActionFocusRing),ve.create("--ft-radio-focus-outline-offset","","SIZE","3px"),ve.create("--ft-radio-focus-outline-width","","SIZE","2px"),ve.extend("--ft-radio-gap","",Se.spacing3),ve.extend("--ft-notification-icon-size","",Se.iconSize4),ve.extend("--ft-notification-horizontal-padding","",Se.spacing4),ve.extend("--ft-notification-vertical-padding","",Se.spacing4),ve.extend("--ft-notification-info-background-color","",Ne.backgroundInfoSubtle),ve.extend("--ft-notification-info-color","",Ne.contentInfoPrimary),ve.extend("--ft-notification-info-border-color","",Ne.borderInfoPrimary),ve.extend("--ft-notification-success-background-color","",Ne.backgroundSuccessSubtle),ve.extend("--ft-notification-success-color","",Ne.contentSuccessPrimary),ve.extend("--ft-notification-success-border-color","",Ne.borderSuccessPrimary),ve.extend("--ft-notification-warning-background-color","",Ne.backgroundWarningSubtle),ve.extend("--ft-notification-warning-color","",Ne.contentWarningPrimary),ve.extend("--ft-notification-warning-border-color","",Ne.borderWarningPrimary),ve.extend("--ft-notification-error-background-color","",Ne.backgroundErrorSubtle),ve.extend("--ft-notification-error-color","",Ne.contentErrorPrimary),ve.extend("--ft-notification-error-border-color","",Ne.borderErrorPrimary),ve.extend("--ft-notification-border-radius","",Se.borderRadiusPill),ve.create("--ft-notification-border-width","","SIZE","1px"),ve.extend("--ft-notification-gap-leading","",Se.spacing2),ve.extend("--ft-notification-gap-trailing","",Se.spacing8);const Ce={colorPrimary:ve.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:ve.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:ve.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:ve.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:ve.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:ve.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ve.create("--ft-color-error","","COLOR","#B00020"),colorOutline:ve.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ve.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:ve.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:ve.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:ve.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:ve.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:ve.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ve.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ve.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:ve.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:ve.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ve.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ve.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ve.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ve.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ve.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ve.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:ve.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:ve.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:ve.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:ve.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:ve.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:ve.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ve.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ve.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:ve.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ve.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ve.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ve.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ve.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ve.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ve.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:ve.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ve.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ve.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ve.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ve.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:ve.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:ve.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:ve.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:ve.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:ve.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:ve.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:ve.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:ve.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:ve.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:ve.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:ve.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:ve.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:ve.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:ve.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:ve.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ve.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ve.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:ve.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ee=window,Re=Ee.ShadowRoot&&(void 0===Ee.ShadyCSS||Ee.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
92
+ /**
93
+ * @license
94
+ * Copyright 2019 Google LLC
95
+ * SPDX-License-Identifier: BSD-3-Clause
96
+ */class ke extends be{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Re?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Ee.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Ue,Ie=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Le=Symbol("constructorPrototype"),We=Symbol("constructorName"),ze=Symbol("exportpartsDebouncer");class Ke extends ke{constructor(){super(),this[Ue]=new e(5),this[We]=this.constructor.name,this[Le]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[We]&&Object.setPrototypeOf(this,this[Le])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[ze].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ue=ze,Ie([$()],Ke.prototype,"exportpartsPrefix",void 0),Ie([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return $({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!I(t,e),...null!=e?e:{}})}([])],Ke.prototype,"exportpartsPrefixes",void 0),Ie([$()],Ke.prototype,"customStylesheet",void 0);const Fe=ve.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");xt`
97
+ .highlight-html-match {
98
+ background: ${Fe};
99
+ }
100
+ `;const Ze=xt`
101
+ .ft-no-text-select {
102
+ -webkit-touch-callout: none;
103
+ -webkit-user-select: none;
104
+ -khtml-user-select: none;
105
+ -moz-user-select: none;
106
+ -ms-user-select: none;
107
+ user-select: none;
108
+ }
109
+ `;xt`
110
+ .ft-word-wrap {
111
+ white-space: normal;
112
+ word-wrap: break-word;
113
+ -ms-word-break: break-all;
114
+ word-break: break-all;
115
+ word-break: break-word;
116
+ -ms-hyphens: auto;
117
+ -moz-hyphens: auto;
118
+ -webkit-hyphens: auto;
119
+ hyphens: auto
120
+ }
121
+ `;const Be=xt`
122
+ .ft-safari-ellipsis-fix {
123
+ margin-right: 0;
124
+
125
+ }
126
+
127
+ .ft-safari-ellipsis-fix:after {
128
+ content: "\\0000a0";
129
+ display: inline-block;
130
+ width: 0;
131
+ }
132
+ `;function De(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Me,Ae,Pe;const He=Symbol("internalReduxEventsUnsubscribers"),je=Symbol("internalStoresUnsubscribers"),Te=Symbol("internalStores");class _e extends Ke{constructor(){super(...arguments),this[Me]=new Map,this[Ae]=new Map,this[Pe]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Te].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Te].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Te].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:De(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Te].delete(e)}setupStore(t,e){this[Te].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Te].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[je].has(t.store):this[je].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[je].set(t,e.subscribe((()=>this.updateFromStores()))),De(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[He].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[je].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[He].forEach((t=>t())),this[He]=[]}unsubscribeFromStore(t){this[je].has(t)&&this[je].get(t)(),this[je].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Me=je,Ae=Te,Pe=He,_e.reduxProperties=new Map,_e.reduxReactiveProperties=new Set,_e.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const Ge=Symbol("elementInternals");function Ve(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Ge].form}constructor(...t){super(t),this[Ge]=this.attachInternals(),this[Ge].role=e}setFormValue(t){this[Ge].setFormValue(t)}}}var Ye,Je,qe;const Xe=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(qe=null===(Je=null===(Ye=window.safari)||void 0===Ye?void 0:Ye.pushNotification)||void 0===Je?void 0:Je.toString())&&void 0!==qe?qe:""),Qe=xt`
133
+
134
+ [part="container"] {
135
+ display: flex;
136
+ gap: 4px;
137
+ flex-wrap: nowrap;
138
+ align-items: center;
139
+ justify-content: center;
140
+ }
141
+ `,to=ve.extend("--ft-ripple-color","",Ce.colorContent),eo={color:to,backgroundColor:ve.extend("--ft-ripple-background-color","",to),opacityContentOnSurfacePressed:ve.external(Ce.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ve.external(Ce.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ve.external(Ce.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ve.external(Ce.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ve.create("--ft-ripple-border-radius","","SIZE","0px")},oo=ve.extend("--ft-ripple-color","",Ce.colorPrimary),io=oo,ro=ve.extend("--ft-ripple-background-color","",oo),no=ve.extend("--ft-ripple-color","",Ce.colorSecondary),ao=no,so=ve.extend("--ft-ripple-background-color","",no),lo=xt`
142
+ :host {
143
+ display: contents;
144
+ }
145
+
146
+ .ft-ripple {
147
+ position: absolute;
148
+ inset: 0;
149
+ pointer-events: none;
150
+ }
151
+
152
+ .ft-ripple:not(.ft-ripple--unbounded) {
153
+ overflow: hidden;
154
+ border-radius: ${eo.borderRadius};
155
+ }
156
+
157
+ .ft-ripple .ft-ripple--background,
158
+ .ft-ripple .ft-ripple--effect {
159
+ position: absolute;
160
+ opacity: 0;
161
+ }
162
+
163
+ .ft-ripple .ft-ripple--effect {
164
+ aspect-ratio: 1;
165
+ width: auto;
166
+ height: auto;
167
+ min-width: 170%;
168
+ min-height: 170%;
169
+ }
170
+
171
+ .ft-ripple .ft-ripple--background{
172
+ width: 100%;
173
+ height: 100%;
174
+ }
175
+
176
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
177
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
178
+ aspect-ratio: 1;
179
+ width: auto;
180
+ height: auto;
181
+ max-width: unset;
182
+ max-height: unset;
183
+ min-width: 100%;
184
+ min-height: 100%;
185
+ }
186
+
187
+ .ft-ripple .ft-ripple--background {
188
+ background-color: ${eo.backgroundColor};
189
+ }
190
+
191
+ .ft-ripple .ft-ripple--effect {
192
+ background-color: ${eo.color};
193
+ }
194
+
195
+ .ft-ripple.ft-ripple--secondary .ft-ripple--background {
196
+ background-color: ${so};
197
+ }
198
+
199
+ .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
200
+ background-color: ${ao};
201
+ }
202
+
203
+ .ft-ripple.ft-ripple--primary .ft-ripple--background {
204
+ background-color: ${ro};
205
+ }
206
+
207
+ .ft-ripple.ft-ripple--primary .ft-ripple--effect {
208
+ background-color: ${io};
209
+ }
210
+
211
+ .ft-ripple .ft-ripple--background {
212
+ top: 0;
213
+ left: 0;
214
+ transition: opacity 75ms linear;
215
+ }
216
+
217
+ .ft-ripple .ft-ripple--effect,
218
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
219
+ border-radius: 50%;
220
+ }
221
+
222
+ .ft-ripple .ft-ripple--effect {
223
+ transform: translate(-50%, -50%) scale(0.15);
224
+ transition: transform 300ms ease, opacity 75ms linear;
225
+ }
226
+
227
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
228
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
229
+ left: 50%;
230
+ top: 50%;
231
+ }
232
+
233
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
234
+ transform: translate(-50%, -50%);
235
+ }
236
+
237
+ .ft-ripple.ft-ripple--hovered .ft-ripple--background {
238
+ opacity: ${eo.opacityContentOnSurfaceHover};
239
+ }
240
+
241
+ .ft-ripple.ft-ripple--selected .ft-ripple--background {
242
+ opacity: ${eo.opacityContentOnSurfaceSelected};
243
+ }
244
+
245
+ .ft-ripple.ft-ripple--focused .ft-ripple--background {
246
+ opacity: ${eo.opacityContentOnSurfaceFocused};
247
+ }
248
+
249
+ .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
250
+ opacity: ${eo.opacityContentOnSurfacePressed};
251
+ transform: translate(-50%, -50%) scale(1);
252
+ }
253
+ `;const co=ve.extend("--ft-typography-font-family","",Ce.titleFont),fo=ve.extend("--ft-typography-font-family","",Ce.contentFont),po={fontFamily:fo,fontSize:ve.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:ve.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:ve.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:ve.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:ve.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ho=ve.extend("--ft-typography-title-font-family","",co),uo=ve.extend("--ft-typography-title-font-size","",po.fontSize,"20px"),yo=ve.extend("--ft-typography-title-font-weight","",po.fontWeight,"normal"),go=ve.extend("--ft-typography-title-letter-spacing","",po.letterSpacing,"0.15px"),bo=ve.extend("--ft-typography-title-line-height","",po.lineHeight,"1.2"),mo=ve.extend("--ft-typography-title-text-transform","",po.textTransform,"inherit"),xo=ve.extend("--ft-typography-title-dense-font-family","",co),vo=ve.extend("--ft-typography-title-dense-font-size","",po.fontSize,"14px"),Oo=ve.extend("--ft-typography-title-dense-font-weight","",po.fontWeight,"normal"),So=ve.extend("--ft-typography-title-dense-letter-spacing","",po.letterSpacing,"0.105px"),wo=ve.extend("--ft-typography-title-dense-line-height","",po.lineHeight,"1.7"),No=ve.extend("--ft-typography-title-dense-text-transform","",po.textTransform,"inherit"),$o=ve.extend("--ft-typography-subtitle1-font-family","",fo),Co=ve.extend("--ft-typography-subtitle1-font-size","",po.fontSize,"16px"),Eo=ve.extend("--ft-typography-subtitle1-font-weight","",po.fontWeight,"600"),Ro=ve.extend("--ft-typography-subtitle1-letter-spacing","",po.letterSpacing,"0.144px"),ko=ve.extend("--ft-typography-subtitle1-line-height","",po.lineHeight,"1.5"),Uo=ve.extend("--ft-typography-subtitle1-text-transform","",po.textTransform,"inherit"),Io=ve.extend("--ft-typography-subtitle2-font-family","",fo),Lo=ve.extend("--ft-typography-subtitle2-font-size","",po.fontSize,"14px"),Wo=ve.extend("--ft-typography-subtitle2-font-weight","",po.fontWeight,"normal"),zo=ve.extend("--ft-typography-subtitle2-letter-spacing","",po.letterSpacing,"0.098px"),Ko=ve.extend("--ft-typography-subtitle2-line-height","",po.lineHeight,"1.7"),Fo=ve.extend("--ft-typography-subtitle2-text-transform","",po.textTransform,"inherit"),Zo={fontFamily:ve.extend("--ft-typography-body1-font-family","",fo),fontSize:ve.extend("--ft-typography-body1-font-size","",po.fontSize,"16px"),fontWeight:ve.extend("--ft-typography-body1-font-weight","",po.fontWeight,"normal"),letterSpacing:ve.extend("--ft-typography-body1-letter-spacing","",po.letterSpacing,"0.496px"),lineHeight:ve.extend("--ft-typography-body1-line-height","",po.lineHeight,"1.5"),textTransform:ve.extend("--ft-typography-body1-text-transform","",po.textTransform,"inherit")},Bo=ve.extend("--ft-typography-body2-font-family","",fo),Do=ve.extend("--ft-typography-body2-font-size","",po.fontSize,"14px"),Mo=ve.extend("--ft-typography-body2-font-weight","",po.fontWeight,"normal"),Ao=ve.extend("--ft-typography-body2-letter-spacing","",po.letterSpacing,"0.252px"),Po=ve.extend("--ft-typography-body2-line-height","",po.lineHeight,"1.4"),Ho=ve.extend("--ft-typography-body2-text-transform","",po.textTransform,"inherit"),jo={fontFamily:ve.extend("--ft-typography-caption-font-family","",fo),fontSize:ve.extend("--ft-typography-caption-font-size","",po.fontSize,"12px"),fontWeight:ve.extend("--ft-typography-caption-font-weight","",po.fontWeight,"normal"),letterSpacing:ve.extend("--ft-typography-caption-letter-spacing","",po.letterSpacing,"0.396px"),lineHeight:ve.extend("--ft-typography-caption-line-height","",po.lineHeight,"1.33"),textTransform:ve.extend("--ft-typography-caption-text-transform","",po.textTransform,"inherit")},To=ve.extend("--ft-typography-breadcrumb-font-family","",fo),_o=ve.extend("--ft-typography-breadcrumb-font-size","",po.fontSize,"10px"),Go=ve.extend("--ft-typography-breadcrumb-font-weight","",po.fontWeight,"normal"),Vo=ve.extend("--ft-typography-breadcrumb-letter-spacing","",po.letterSpacing,"0.33px"),Yo=ve.extend("--ft-typography-breadcrumb-line-height","",po.lineHeight,"1.6"),Jo=ve.extend("--ft-typography-breadcrumb-text-transform","",po.textTransform,"inherit"),qo=ve.extend("--ft-typography-overline-font-family","",fo),Xo=ve.extend("--ft-typography-overline-font-size","",po.fontSize,"10px"),Qo=ve.extend("--ft-typography-overline-font-weight","",po.fontWeight,"normal"),ti=ve.extend("--ft-typography-overline-letter-spacing","",po.letterSpacing,"1.5px"),ei=ve.extend("--ft-typography-overline-line-height","",po.lineHeight,"1.6"),oi=ve.extend("--ft-typography-overline-text-transform","",po.textTransform,"uppercase"),ii={fontFamily:ve.extend("--ft-typography-button-font-family","",fo),fontSize:ve.extend("--ft-typography-button-font-size","",po.fontSize,"14px"),fontWeight:ve.extend("--ft-typography-button-font-weight","",po.fontWeight,"600"),letterSpacing:ve.extend("--ft-typography-button-letter-spacing","",po.letterSpacing,"1.246px"),lineHeight:ve.extend("--ft-typography-button-line-height","",po.lineHeight,"1.15"),textTransform:ve.extend("--ft-typography-button-text-transform","",po.textTransform,"uppercase")},ri=xt`
254
+ .ft-typography--title {
255
+ font-family: ${ho};
256
+ font-size: ${uo};
257
+ font-weight: ${yo};
258
+ letter-spacing: ${go};
259
+ line-height: ${bo};
260
+ text-transform: ${mo};
261
+ }
262
+ `,ni=xt`
263
+ .ft-typography--title-dense {
264
+ font-family: ${xo};
265
+ font-size: ${vo};
266
+ font-weight: ${Oo};
267
+ letter-spacing: ${So};
268
+ line-height: ${wo};
269
+ text-transform: ${No};
270
+ }
271
+ `,ai=xt`
272
+ .ft-typography--subtitle1 {
273
+ font-family: ${$o};
274
+ font-size: ${Co};
275
+ font-weight: ${Eo};
276
+ letter-spacing: ${Ro};
277
+ line-height: ${ko};
278
+ text-transform: ${Uo};
279
+ }
280
+ `,si=xt`
281
+ .ft-typography--subtitle2 {
282
+ font-family: ${Io};
283
+ font-size: ${Lo};
284
+ font-weight: ${Wo};
285
+ letter-spacing: ${zo};
286
+ line-height: ${Ko};
287
+ text-transform: ${Fo};
288
+ }
289
+
290
+ `,li=xt`
291
+ .ft-typography--body1 {
292
+ font-family: ${Zo.fontFamily};
293
+ font-size: ${Zo.fontSize};
294
+ font-weight: ${Zo.fontWeight};
295
+ letter-spacing: ${Zo.letterSpacing};
296
+ line-height: ${Zo.lineHeight};
297
+ text-transform: ${Zo.textTransform};
298
+ }
299
+ `,ci=xt`
300
+ .ft-typography--body2 {
301
+ font-family: ${Bo};
302
+ font-size: ${Do};
303
+ font-weight: ${Mo};
304
+ letter-spacing: ${Ao};
305
+ line-height: ${Po};
306
+ text-transform: ${Ho};
307
+ }
308
+ `,fi=xt`
309
+ .ft-typography--caption {
310
+ font-family: ${jo.fontFamily};
311
+ font-size: ${jo.fontSize};
312
+ font-weight: ${jo.fontWeight};
313
+ letter-spacing: ${jo.letterSpacing};
314
+ line-height: ${jo.lineHeight};
315
+ text-transform: ${jo.textTransform};
316
+ }
317
+ `,pi=xt`
318
+ .ft-typography--breadcrumb {
319
+ font-family: ${To};
320
+ font-size: ${_o};
321
+ font-weight: ${Go};
322
+ letter-spacing: ${Vo};
323
+ line-height: ${Yo};
324
+ text-transform: ${Jo};
325
+ }
326
+ `,hi=xt`
327
+ .ft-typography--overline {
328
+ font-family: ${qo};
329
+ font-size: ${Xo};
330
+ font-weight: ${Qo};
331
+ letter-spacing: ${ti};
332
+ line-height: ${ei};
333
+ text-transform: ${oi};
334
+ }
335
+ `,di=xt`
336
+ .ft-typography--button {
337
+ font-family: ${ii.fontFamily};
338
+ font-size: ${ii.fontSize};
339
+ font-weight: ${ii.fontWeight};
340
+ letter-spacing: ${ii.letterSpacing};
341
+ line-height: ${ii.lineHeight};
342
+ text-transform: ${ii.textTransform};
343
+ }
344
+ `,ui=xt`
345
+ .ft-typography {
346
+ vertical-align: inherit;
347
+ }
348
+ `,yi=[Object.keys(we).map((t=>function(t){const e=we[t];return xt`
349
+ .ft-typography--${mt(t)} {
350
+ font-family: ${e.fontFamily};
351
+ font-size: ${e.fontSize};
352
+ font-weight: ${e.fontWeight};
353
+ letter-spacing: ${e.letterSpacing};
354
+ line-height: ${e.lineHeight};
355
+ text-transform: ${e.textCase};
356
+ }
357
+ `}(t)))],gi={color:ve.extend("--ft-loader-color","",Ce.colorPrimary),size:ve.create("--ft-loader-size","","SIZE","80px")},bi=xt`
358
+ :host {
359
+ line-height: 0;
360
+ }
361
+
362
+ .ft-loader {
363
+ display: inline-block;
364
+ position: relative;
365
+
366
+ width: ${gi.size};
367
+ height: ${gi.size};
368
+ }
369
+
370
+ .ft-loader div {
371
+ position: absolute;
372
+ top: 37.5%;
373
+ width: 25%;
374
+ height: 25%;
375
+ border-radius: 50%;
376
+ background: ${gi.color};
377
+ animation-timing-function: cubic-bezier(0, 1, 1, 0);
378
+ }
379
+
380
+ .ft-loader div:nth-child(1) {
381
+ left: 2.5%;
382
+ animation: appear 0.6s infinite;
383
+ }
384
+
385
+ .ft-loader div:nth-child(2) {
386
+ left: 2.5%;
387
+ animation: move 0.6s infinite;
388
+ }
389
+
390
+ .ft-loader div:nth-child(3) {
391
+ left: 37.5%;
392
+ animation: move 0.6s infinite;
393
+ }
394
+
395
+ .ft-loader div:nth-child(4) {
396
+ left: 72.5%;
397
+ animation: disappear 0.6s infinite;
398
+ }
399
+
400
+ @keyframes appear {
401
+ 0% {
402
+ transform: scale(0);
403
+ }
404
+ 100% {
405
+ transform: scale(1);
406
+ }
407
+ }
408
+
409
+ @keyframes disappear {
410
+ 0% {
411
+ transform: scale(1);
412
+ }
413
+ 100% {
414
+ transform: scale(0);
415
+ }
416
+ }
417
+
418
+ @keyframes move {
419
+ 0% {
420
+ transform: translate(0, 0);
421
+ }
422
+ 100% {
423
+ transform: translate(calc(0.35 * ${gi.size}), 0);
424
+ }
425
+ }
426
+ `,mi={size:ve.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ve.extend("--ft-icon-fluid-topics-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ve.extend("--ft-icon-file-format-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ve.extend("--ft-icon-material-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ve.create("--ft-icon-vertical-align","","UNKNOWN","unset")},xi=xt`
427
+ :host, i.ft-icon {
428
+ display: inline-flex;
429
+ align-items: center;
430
+ flex-shrink: 0;
431
+ flex-grow: 0;
432
+ }
433
+
434
+ :host {
435
+ width: ${mi.size};
436
+ height: ${mi.size};
437
+ }
438
+
439
+ i.ft-icon {
440
+ width: 100%;
441
+ height: 100%;
442
+ font-size: ${mi.size};
443
+ line-height: 1;
444
+ font-weight: normal;
445
+ text-transform: none;
446
+ font-style: normal;
447
+ font-variant: normal;
448
+ speak: none;
449
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
450
+ text-rendering: auto;
451
+ -webkit-font-smoothing: antialiased;
452
+ -moz-osx-font-smoothing: grayscale;
453
+ vertical-align: ${mi.verticalAlign};
454
+ }
455
+
456
+ i.ft-icon.ft-icon--fluid-topics {
457
+ font-family: ${mi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
458
+
459
+ /* Ugly fix because font is broken */
460
+ font-size: calc(0.75 * ${mi.size});
461
+ line-height: ${mi.size};
462
+ position: relative;
463
+ top: -4%;
464
+ justify-content: center;
465
+ }
466
+
467
+ .ft-icon--file-format {
468
+ font-family: ${mi.fileFormatFontFamily}, ft-mime, sans-serif;
469
+ }
470
+
471
+ .ft-icon--material {
472
+ font-family: ${mi.materialFontFamily}, "Material Icons", sans-serif;
473
+ }
474
+ `,vi=ve.extend("--ft-button-color","",Ce.colorPrimary),Oi={backgroundColor:ve.extend("--ft-button-background-color","",Ce.colorSurface),borderRadius:ve.extend("--ft-button-border-radius","",Ce.borderRadiusL),color:vi,fontSize:ve.extend("--ft-button-font-size","",ii.fontSize),iconSize:ve.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:ve.extend("--ft-button-ripple-color","",vi),verticalPadding:ve.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:ve.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:ve.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:ve.external(Ce.colorOpacityDisabled,"Design system")},Si=ve.extend("--ft-button-primary-color","",ve.extend("--ft-button-color","",Ce.colorOnPrimary)),wi={backgroundColor:ve.extend("--ft-button-primary-background-color","",ve.extend("--ft-button-background-color","",Ce.colorPrimary)),color:Si,rippleColor:ve.extend("--ft-button-primary-ripple-color","",Si)},Ni=ve.extend("--ft-button-dense-border-radius","",ve.extend("--ft-button-border-radius","",Ce.borderRadiusM)),$i=ve.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Ci=ve.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Ei=ve.create("--ft-button-dense-icon-padding","","SIZE","4px"),Ri=[xt`
475
+ :host {
476
+ display: inline-block;
477
+ max-width: 100%;
478
+ pointer-events: none;
479
+ }
480
+
481
+ button {
482
+ box-shadow: 0px 0px 0px transparent;
483
+ border: 0px solid transparent;
484
+ text-shadow: 0px 0px 0px transparent;
485
+ font-size: ${Oi.fontSize};
486
+ }
487
+
488
+ button:hover {
489
+ box-shadow: 0px 0px 0px transparent;
490
+ border: 0px solid transparent;
491
+ text-shadow: 0px 0px 0px transparent;
492
+ }
493
+
494
+ button:active {
495
+ outline: none;
496
+ border: none;
497
+ }
498
+
499
+ button:focus {
500
+ outline: 0;
501
+ }
502
+
503
+ .ft-button {
504
+ position: relative;
505
+ display: flex;
506
+ justify-content: center;
507
+ align-items: center;
508
+ width: 100%;
509
+ overflow: hidden;
510
+ box-sizing: border-box;
511
+ border: none;
512
+ pointer-events: auto;
513
+
514
+ --ft-button-internal-line-height: max(calc(${Oi.fontSize} + 2px), ${Oi.iconSize});
515
+ --ft-button-internal-color: ${Oi.color};
516
+ ${Oe(mi.size,Oi.iconSize)};
517
+ ${Oe(eo.color,Oi.rippleColor)};
518
+
519
+ border-radius: ${Oi.borderRadius};
520
+ padding: ${Oi.verticalPadding} ${Oi.horizontalPadding};
521
+ background-color: ${Oi.backgroundColor};
522
+ color: var(--ft-button-internal-color);
523
+ -webkit-mask-image: radial-gradient(white, black);
524
+ }
525
+
526
+ .ft-button.ft-button--outlined {
527
+ border: 1px solid var(--ft-button-internal-color);
528
+ padding: calc(${Oi.verticalPadding} - 1px) calc(${Oi.horizontalPadding} - 1px);
529
+ }
530
+
531
+ .ft-button.ft-button--dense {
532
+ padding: ${$i} ${Ci};
533
+ border-radius: ${Ni};
534
+ gap: ${Ei};
535
+ }
536
+
537
+ .ft-button.ft-button--dense.ft-button--outlined {
538
+ padding: calc(${$i} - 1px) calc(${Ci} - 1px);
539
+ }
540
+
541
+ .ft-button:not([disabled]):hover {
542
+ cursor: pointer;
543
+ }
544
+
545
+ .ft-button--round {
546
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Oi.verticalPadding});
547
+ }
548
+
549
+ .ft-button--round.ft-button--dense {
550
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${$i});
551
+ }
552
+
553
+ .ft-button[disabled] {
554
+ filter: grayscale(1);
555
+ opacity: ${Oi.opacityDisabled};
556
+ }
557
+
558
+ .ft-button.ft-button--primary {
559
+ background-color: ${wi.backgroundColor};
560
+ --ft-button-internal-color: ${wi.color};
561
+ ${Oe(eo.color,wi.rippleColor)};
562
+ }
563
+
564
+ .ft-button:focus {
565
+ outline: none;
566
+ }
567
+
568
+ .ft-button--label {
569
+ position: relative;
570
+ overflow: hidden;
571
+ white-space: nowrap;
572
+ text-overflow: ellipsis;
573
+ display: block;
574
+ margin: 0 ${Oi.iconPadding};
575
+ ${Oe(ii.fontSize,"1em")};
576
+ ${Oe(ii.lineHeight,"var(--ft-button-internal-line-height)")};
577
+ }
578
+
579
+ .ft-button--dense .ft-button--label {
580
+ margin: 0 ${Ei};
581
+ }
582
+
583
+ .ft-button--label[hidden] {
584
+ display: none;
585
+ }
586
+
587
+ ft-icon {
588
+ flex-shrink: 0;
589
+ position: relative;
590
+ }
591
+
592
+ .ft-button--label[hidden] + ft-icon {
593
+ margin: 0 calc(${Oi.horizontalPadding} * -1);
594
+ padding: 0 ${Oi.verticalPadding};
595
+ }
596
+
597
+ .ft-button--dense .ft-button--label[hidden] + ft-icon {
598
+ margin: 0 calc(${Ci} * -1);
599
+ padding: 0 ${$i};
600
+ }
601
+
602
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
603
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
604
+ order: -1;
605
+ }
606
+
607
+ ft-loader {
608
+ ${Oe(gi.size,Oi.iconSize)};
609
+ ${Oe(gi.color,"var(--ft-button-internal-color)")};
610
+ }
611
+ `,Ze],ki=1,Ui=2,Ii=t=>(...e)=>({_$litDirective$:t,values:e});let Li=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
612
+ /**
613
+ * @license
614
+ * Copyright 2018 Google LLC
615
+ * SPDX-License-Identifier: BSD-3-Clause
616
+ */const Wi=Ii(class extends Li{constructor(t){if(super(t),t.type!==ki||"class"!==t.name||t.strings?.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]){if(void 0===this.it){this.it=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]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return Q}});var zi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ki extends Ke{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.originX=0,this.originY=0,this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-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.isFocusVisible(null==t?void 0:t.target)&&!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 ee`
617
+ <style>
618
+ .ft-ripple .ft-ripple--effect {
619
+ left: ${this.originX}px;
620
+ top: ${this.originY}px;
621
+ }
622
+ </style>
623
+ <div class="${Wi(t)}">
624
+ <div class="ft-ripple--background"></div>
625
+ <div class="ft-ripple--effect"></div>
626
+ </div>
627
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),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)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}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.endRipple()}}Ki.elementDefinitions={},Ki.styles=lo,zi([$({type:Boolean})],Ki.prototype,"primary",void 0),zi([$({type:Boolean})],Ki.prototype,"secondary",void 0),zi([$({type:Boolean})],Ki.prototype,"unbounded",void 0),zi([$({type:Boolean})],Ki.prototype,"activated",void 0),zi([$({type:Boolean})],Ki.prototype,"selected",void 0),zi([$({type:Boolean})],Ki.prototype,"disabled",void 0),zi([C()],Ki.prototype,"hovered",void 0),zi([C()],Ki.prototype,"focused",void 0),zi([C()],Ki.prototype,"pressed",void 0),zi([C()],Ki.prototype,"rippling",void 0),zi([C()],Ki.prototype,"originX",void 0),zi([C()],Ki.prototype,"originY",void 0),zi([k(".ft-ripple")],Ki.prototype,"ripple",void 0),zi([k(".ft-ripple--effect")],Ki.prototype,"rippleEffect",void 0),L("ft-ripple")(Ki);
628
+ /**
629
+ * @license
630
+ * Copyright 2020 Google LLC
631
+ * SPDX-License-Identifier: BSD-3-Clause
632
+ */
633
+ const Fi=Symbol.for(""),Zi=t=>{if(t?.r===Fi)return t?._$litStatic$},Bi=t=>({_$litStatic$:t,r:Fi}),Di=new Map,Mi=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,f=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=Zi(n));)l+=r+e[++c],f=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=Di.get(t))&&(a.raw=a,Di.set(t,e=a)),o=s}return t(e,...o)})(X);var Ai;!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",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Ai||(Ai={}));var Pi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Hi extends Ke{constructor(){super(...arguments),this.variant=Ai.body1}render(){return this.element?Mi`
634
+ <${Bi(this.element)}
635
+ class="ft-typography ft-typography--${this.variant}">
636
+ <slot></slot>
637
+ </${Bi(this.element)}>
638
+ `:Mi`
639
+ <slot class="ft-typography ft-typography--${this.variant}"></slot>
640
+ `}}Hi.styles=[ri,ni,ai,si,li,ci,fi,pi,hi,di,ui,...yi],Pi([$()],Hi.prototype,"element",void 0),Pi([$()],Hi.prototype,"variant",void 0),L("ft-typography")(Hi);const ji=ve.create("--ft-tooltip-distance","","SIZE","4px"),Ti=ve.create("--ft-tooltip-color","","COLOR","#FFFFFF"),_i=ve.create("--ft-tooltip-background-color","","COLOR","#666666"),Gi=ve.create("--ft-tooltip-z-index","","NUMBER","100"),Vi=ve.external(Ce.borderRadiusS,"Design system"),Yi=ve.create("--ft-tooltip-max-width","","SIZE","150px"),Ji=xt`
641
+ .ft-tooltip--container {
642
+ display: block;
643
+ }
644
+
645
+ .ft-tooltip--inline {
646
+ display: inline-block;
647
+ max-width: 100%;
648
+ }
649
+
650
+ .ft-tooltip {
651
+ position: fixed;
652
+ box-sizing: border-box;
653
+ overflow: hidden;
654
+ width: max-content;
655
+ max-width: ${Yi};
656
+ text-align: center;
657
+ padding: ${ji};
658
+ z-index: ${Gi};
659
+ }
660
+
661
+ .ft-tooltip--content {
662
+ padding: 4px 8px;
663
+ border-radius: ${Vi};
664
+ background-color: ${_i};
665
+ color: ${Ti};
666
+ position: relative;
667
+ word-break: break-word;
668
+ }
669
+ `,qi=["start","end"],Xi=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+qi[0],e+"-"+qi[1])),[]),Qi=Math.min,tr=Math.max,er=Math.round,or=t=>({x:t,y:t}),ir={left:"right",right:"left",bottom:"top",top:"bottom"},rr={start:"end",end:"start"};function nr(t,e,o){return tr(t,Qi(e,o))}function ar(t,e){return"function"==typeof t?t(e):t}function sr(t){return t.split("-")[0]}function lr(t){return t.split("-")[1]}function cr(t){return"x"===t?"y":"x"}function fr(t){return"y"===t?"height":"width"}function pr(t){return["top","bottom"].includes(sr(t))?"y":"x"}function hr(t){return cr(pr(t))}function dr(t){return t.replace(/left|right|bottom|top/g,(t=>ir[t]))}function ur(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function yr(t,e,o){let{reference:i,floating:r}=t;const n=pr(e),a=hr(e),s=fr(a),l=sr(e),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:f,y:i.y-r.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:p};break;case"left":d={x:i.x-r.width,y:p};break;default:d={x:i.x,y:i.y}}switch(lr(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function gr(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=ar(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===p?"reference":"floating":p],g=ur(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=ur(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function br(t,e,o){return(t?[...o.filter((e=>lr(e)===t)),...o.filter((e=>lr(e)!==t))]:o.filter((t=>sr(t)===t))).filter((o=>!t||(lr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>rr[t]))}(o)!==o)))}const mr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:h=Xi,autoAlignment:d=!0,...u}=ar(t,e),y=void 0!==p||h===Xi?br(p||null,d,h):h,g=await gr(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=lr(t),r=hr(t),n=fr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=dr(a)),[a,dr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[sr(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],S=y[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const w=O.map((t=>{const e=lr(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=w.filter((t=>t[2].slice(0,lr(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||w[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function xr(t){return Sr(t)?(t.nodeName||"").toLowerCase():"#document"}function vr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Or(t){var e;return null==(e=(Sr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Sr(t){return t instanceof Node||t instanceof vr(t).Node}function wr(t){return t instanceof Element||t instanceof vr(t).Element}function Nr(t){return t instanceof HTMLElement||t instanceof vr(t).HTMLElement}function $r(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof vr(t).ShadowRoot)}function Cr(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Ir(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Er(t){return["table","td","th"].includes(xr(t))}function Rr(t){const e=kr(),o=Ir(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function kr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ur(t){return["html","body","#document"].includes(xr(t))}function Ir(t){return vr(t).getComputedStyle(t)}function Lr(t){return wr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Wr(t){if("html"===xr(t))return t;const e=t.assignedSlot||t.parentNode||$r(t)&&t.host||Or(t);return $r(e)?e.host:e}function zr(t){const e=Wr(t);return Ur(e)?t.ownerDocument?t.ownerDocument.body:t.body:Nr(e)&&Cr(e)?e:zr(e)}function Kr(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=zr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=vr(r);return n?e.concat(a,a.visualViewport||[],Cr(r)?r:[],a.frameElement&&o?Kr(a.frameElement):[]):e.concat(r,Kr(r,[],o))}function Fr(t){const e=Ir(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Nr(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=er(o)!==n||er(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function Zr(t){return wr(t)?t:t.contextElement}function Br(t){const e=Zr(t);if(!Nr(e))return or(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Fr(e);let a=(n?er(o.width):o.width)/i,s=(n?er(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Dr=or(0);function Mr(t){const e=vr(t);return kr()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Dr}function Ar(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Zr(t);let a=or(1);e&&(i?wr(i)&&(a=Br(i)):a=Br(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==vr(t))&&e}(n,o,i)?Mr(n):or(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=vr(n),e=i&&wr(i)?vr(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Br(o),e=o.getBoundingClientRect(),i=Ir(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=r,c+=n,o=vr(o).frameElement}}return ur({width:f,height:p,x:l,y:c})}function Pr(t){return Ar(Or(t)).left+Lr(t).scrollLeft}function Hr(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=vr(t),i=Or(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=kr();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=Or(t),o=Lr(t),i=t.ownerDocument.body,r=tr(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=tr(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Pr(t);const s=-o.scrollTop;return"rtl"===Ir(i).direction&&(a+=tr(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Or(t));else if(wr(e))i=function(t,e){const o=Ar(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Nr(t)?Br(t):or(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Mr(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return ur(i)}function jr(t,e){const o=Wr(t);return!(o===e||!wr(o)||Ur(o))&&("fixed"===Ir(o).position||jr(o,e))}function Tr(t,e,o){const i=Nr(e),r=Or(e),n="fixed"===o,a=Ar(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=or(0);if(i||!i&&!n)if(("body"!==xr(e)||Cr(r))&&(s=Lr(e)),i){const t=Ar(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Pr(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function _r(t,e){return Nr(t)&&"fixed"!==Ir(t).position?e?e(t):t.offsetParent:null}function Gr(t,e){const o=vr(t);if(!Nr(t))return o;let i=_r(t,e);for(;i&&Er(i)&&"static"===Ir(i).position;)i=_r(i,e);return i&&("html"===xr(i)||"body"===xr(i)&&"static"===Ir(i).position&&!Rr(i))?o:i||function(t){let e=Wr(t);for(;Nr(e)&&!Ur(e);){if(Rr(e))return e;e=Wr(e)}return null}(t)||o}const Vr={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Nr(o),n=Or(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=or(1);const l=or(0);if((r||!r&&"fixed"!==i)&&(("body"!==xr(o)||Cr(n))&&(a=Lr(o)),Nr(o))){const t=Ar(o);s=Br(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Or,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=Kr(t,[],!1).filter((t=>wr(t)&&"body"!==xr(t))),r=null;const n="fixed"===Ir(t).position;let a=n?Wr(t):t;for(;wr(a)&&!Ur(a);){const e=Ir(a),o=Rr(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Cr(a)&&!o&&jr(t,a))?i=i.filter((t=>t!==a)):r=e,a=Wr(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=Hr(e,o,r);return t.top=tr(i.top,t.top),t.right=Qi(i.right,t.right),t.bottom=Qi(i.bottom,t.bottom),t.left=tr(i.left,t.left),t}),Hr(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Gr,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Gr,n=this.getDimensions;return{reference:Tr(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Fr(t)},getScale:Br,isElement:wr,isRTL:function(t){return"rtl"===Ir(t).direction}},Yr=(t,e,o)=>{const i=new Map,r={platform:Vr,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:p}=yr(c,i,l),h=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:f,y:p,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:f,y:p}=yr(c,h,l))),o=-1)}return{x:f,y:p,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function Jr(t){return function(t){for(let e=t;e;e=qr(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=qr(t);e;e=qr(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function qr(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Xr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Qr extends Ke{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ee`
670
+ <div part="container"
671
+ class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
672
+ @mouseenter=${this.onHover}
673
+ @mouseleave=${this.onOut}
674
+ @focusin=${this.onHover}
675
+ @focusout=${this.onOut}
676
+ @touchstart=${this.onTouch}>
677
+ <slot part="slot" @click=${this.onClick}></slot>
678
+ <div part="tooltip" role="tooltip" inert
679
+ class="ft-tooltip ft-tooltip--${this.validPosition}"
680
+ ?hidden=${!this.visible}>
681
+ <div part="tooltip-content" class="ft-tooltip--content">
682
+ <slot name="text"></slot>
683
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
684
+ </div>
685
+ </div>
686
+ </div>
687
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Yr(this.slottedElement,this.tooltip,{platform:{...Vr,getOffsetParent:t=>Vr.getOffsetParent(t,Jr)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=ar(t,e),c={x:o,y:i},f=await gr(e,l),p=pr(sr(r)),h=cr(p);let d=c[h],u=c[p];if(n){const t="y"===h?"bottom":"right";d=nr(d+f["y"===h?"top":"left"],d,d-f[t])}if(a){const t="y"===p?"bottom":"right";u=nr(u+f["y"===p?"top":"left"],u,u-f[t])}const y=s.fn({...e,[h]:d,[p]:u});return{...y,data:{x:y.x-o,y:y.y-i}}}}),mr({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}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())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Qr.elementDefinitions={"ft-typography":Hi},Qr.styles=Ji,Xr([$()],Qr.prototype,"text",void 0),Xr([$({type:Boolean})],Qr.prototype,"manual",void 0),Xr([$({type:Boolean})],Qr.prototype,"inline",void 0),Xr([$({type:Number})],Qr.prototype,"delay",void 0),Xr([$()],Qr.prototype,"position",void 0),Xr([U()],Qr.prototype,"slotNodes",void 0),Xr([k(".ft-tooltip--container")],Qr.prototype,"container",void 0),Xr([k(".ft-tooltip")],Qr.prototype,"tooltip",void 0),Xr([k(".ft-tooltip--content")],Qr.prototype,"tooltipContent",void 0),Xr([C()],Qr.prototype,"visible",void 0),Xr([E({passive:!0})],Qr.prototype,"onTouch",null),Xr([E({passive:!0})],Qr.prototype,"onHover",null),Xr([E({passive:!0})],Qr.prototype,"onOut",null),Xr([E({passive:!0})],Qr.prototype,"onClick",null),L("ft-tooltip")(Qr);
688
+ /**
689
+ * @license
690
+ * Copyright 2017 Google LLC
691
+ * SPDX-License-Identifier: BSD-3-Clause
692
+ */
693
+ class tn extends Li{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.vt=void 0,this.et=t;if(t===Q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}tn.directiveName="unsafeHTML",tn.resultType=1;const en=Ii(tn);var on,rn,nn;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(on||(on={})),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;"}(rn||(rn={})),new Map([...["abw"].map((t=>[t,rn.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,rn.AUDIO])),...["avi"].map((t=>[t,rn.AVI])),...["chm","xhs"].map((t=>[t,rn.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,rn.CODE])),...["csv"].map((t=>[t,rn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,rn.DITA])),...["epub"].map((t=>[t,rn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,rn.EXCEL])),...["flac"].map((t=>[t,rn.FLAC])),...["gif"].map((t=>[t,rn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,rn.GZIP])),...["html","htm","xhtml"].map((t=>[t,rn.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,rn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,rn.JPEG])),...["json"].map((t=>[t,rn.JSON])),...["m4a","m4p"].map((t=>[t,rn.M4A])),...["mov","qt"].map((t=>[t,rn.MOV])),...["mp3"].map((t=>[t,rn.MP3])),...["mp4","m4v"].map((t=>[t,rn.MP4])),...["ogg","oga"].map((t=>[t,rn.OGG])),...["pdf","ps"].map((t=>[t,rn.PDF])),...["png"].map((t=>[t,rn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,rn.POWERPOINT])),...["rar"].map((t=>[t,rn.RAR])),...["stp"].map((t=>[t,rn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,rn.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,rn.VIDEO])),...["wav"].map((t=>[t,rn.WAV])),...["wma"].map((t=>[t,rn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,rn.WORD])),...["xml","xsl","rdf"].map((t=>[t,rn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,rn.YAML])),...["zip"].map((t=>[t,rn.ZIP]))]),rn.ABW,rn.AUDIO,rn.AVI,rn.CHM,rn.CODE,rn.CSV,rn.DITA,rn.EPUB,rn.EXCEL,rn.FLAC,rn.GIF,rn.GZIP,rn.HTML,rn.IMAGE,rn.JPEG,rn.JSON,rn.M4A,rn.MOV,rn.MP3,rn.MP4,rn.OGG,rn.PDF,rn.PNG,rn.POWERPOINT,rn.RAR,rn.STP,rn.TEXT,rn.UNKNOWN,rn.VIDEO,rn.WAV,rn.WMA,rn.WORD,rn.XML,rn.YAML,rn.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(nn||(nn={}));var an=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class sn extends Ke{constructor(){super(...arguments),this.resolvedIcon=ie}render(){const t=this.variant&&Object.values(nn).includes(this.variant)?this.variant:nn.fluid_topics,e=t!==nn.material||!!this.value;return ee`
694
+ <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
695
+ ${en(this.resolvedIcon)}
696
+ <slot ?hidden=${e}></slot>
697
+ </i>
698
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case nn.file_format:this.resolvedIcon=null!==(t=rn[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case nn.material:this.resolvedIcon=this.value||ie;break;default:this.resolvedIcon=null!==(e=on[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}sn.elementDefinitions={},sn.styles=xi,an([$()],sn.prototype,"variant",void 0),an([$()],sn.prototype,"value",void 0),an([C()],sn.prototype,"resolvedIcon",void 0),an([k("slot")],sn.prototype,"slottedContent",void 0),L("ft-icon")(sn);class ln extends Ke{render(){return ee`
699
+ <div class="ft-loader">
700
+ <div></div>
701
+ <div></div>
702
+ <div></div>
703
+ <div></div>
704
+ </div>
705
+ `}}ln.styles=bi,L("ft-loader")(ln);var cn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class fn extends(Ve(Ke,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(ee`
706
+ <button part="button"
707
+ class="${Wi(this.buttonClasses)}"
708
+ aria-label="${this.getLabel()}"
709
+ ?disabled=${this.isDisabled()}>
710
+ <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
711
+ <ft-typography part="label"
712
+ variant=${this.typographyVariant}
713
+ element="span"
714
+ class="ft-button--label ${Xe?"ft-safari-ellipsis-fix":""}"
715
+ ?hidden=${!this.hasTextContent()}>
716
+ <slot @slotchange=${this.onSlotchange}></slot>
717
+ </ft-typography>
718
+ ${this.resolveIcon()}
719
+ </button>
720
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?ee`
721
+ <ft-tooltip part="tooltip"
722
+ text="${this.getLabel()}"
723
+ position="${this.tooltipPosition}">
724
+ ${t}
725
+ </ft-tooltip>
726
+ `:t}resolveIcon(){return this.loading?ee`
727
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?ee`
728
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ie}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}}fn.elementDefinitions={"ft-ripple":Ki,"ft-tooltip":Qr,"ft-typography":Hi,"ft-icon":sn,"ft-loader":ln},cn([$({type:String,reflect:!0})],fn.prototype,"role",void 0),cn([$()],fn.prototype,"type",void 0),cn([$({type:Boolean})],fn.prototype,"disabled",void 0),cn([$()],fn.prototype,"label",void 0),cn([$()],fn.prototype,"icon",void 0),cn([$()],fn.prototype,"iconVariant",void 0),cn([$({type:Boolean})],fn.prototype,"trailingIcon",void 0),cn([$({type:Boolean})],fn.prototype,"loading",void 0),cn([$()],fn.prototype,"tooltipPosition",void 0),cn([$({type:Boolean})],fn.prototype,"hideTooltip",void 0),cn([$({type:Boolean})],fn.prototype,"forceTooltip",void 0),cn([k(".ft-button")],fn.prototype,"button",void 0),cn([k(".ft-button--label slot")],fn.prototype,"slottedContent",void 0);var pn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class hn extends fn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}hn.styles=[Be,Ri],pn([$({type:Boolean})],hn.prototype,"primary",void 0),pn([$({type:Boolean})],hn.prototype,"outlined",void 0),pn([$({type:Boolean})],hn.prototype,"dense",void 0),pn([$({type:Boolean})],hn.prototype,"round",void 0);const dn=[xt`
729
+ :host {
730
+ display: inline-block;
731
+ max-width: 100%;
732
+ pointer-events: none;
733
+ }
734
+
735
+ /** Remove default button styles **/
736
+
737
+ button {
738
+ box-shadow: 0 0 0 transparent;
739
+ border: 0 solid transparent;
740
+ text-shadow: 0 0 0 transparent;
741
+ }
742
+
743
+ button:hover {
744
+ box-shadow: 0 0 0 transparent;
745
+ text-shadow: 0 0 0 transparent;
746
+ }
747
+
748
+ button:active {
749
+ outline: none;
750
+ }
751
+
752
+ button:focus {
753
+ outline: 0;
754
+ }
755
+
756
+ /** Base styles **/
757
+
758
+ .ft-button {
759
+ position: relative;
760
+ display: flex;
761
+ justify-content: center;
762
+ align-items: center;
763
+ width: 100%;
764
+ overflow: hidden;
765
+ box-sizing: border-box;
766
+ pointer-events: auto;
767
+ }
768
+
769
+ .ft-button:not([disabled]):hover {
770
+ cursor: pointer;
771
+ }
772
+
773
+ .ft-button:focus {
774
+ outline: none;
775
+ }
776
+
777
+ .ft-button:focus-visible {
778
+ outline-color: ${$e.focusFocusRingColor};
779
+ outline-style: solid;
780
+ }
781
+
782
+ ft-icon {
783
+ flex-shrink: 0;
784
+ position: relative;
785
+ }
786
+
787
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
788
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
789
+ order: -1;
790
+ }
791
+
792
+ .ft-button--label {
793
+ position: relative;
794
+ overflow: hidden;
795
+ white-space: nowrap;
796
+ text-overflow: ellipsis;
797
+ display: block;
798
+ }
799
+
800
+ .ft-button--label[hidden] {
801
+ display: none;
802
+ }
803
+
804
+ /** Primary styles **/
805
+
806
+ .ft-button--primary {
807
+ ${Oe(gi.color,$e.primaryIconColor)};
808
+
809
+ ${Oe(eo.color,$e.primaryStateLayerColor)};
810
+ ${Oe(eo.opacityContentOnSurfaceHover,$e.primaryStateLayerOpacityHover)};
811
+ ${Oe(eo.opacityContentOnSurfaceFocused,$e.primaryStateLayerOpacityFocus)};
812
+ ${Oe(eo.opacityContentOnSurfaceSelected,$e.primaryStateLayerOpacityActive)};
813
+ ${Oe(eo.opacityContentOnSurfacePressed,$e.primaryStateLayerOpacityActive)};
814
+
815
+ background-color: ${$e.primaryBackgroundColor};
816
+ color: ${$e.primaryColor};
817
+ border-style: none;
818
+ }
819
+
820
+ .ft-button--primary[disabled] {
821
+ opacity: ${$e.primaryComponentOpacityDisabled};
822
+ }
823
+
824
+ .ft-button--primary ft-icon {
825
+ color: ${$e.primaryIconColor};
826
+ }
827
+
828
+ /** Secondary styles **/
829
+
830
+ .ft-button--secondary {
831
+ ${Oe(gi.color,$e.secondaryIconColor)};
832
+
833
+ ${Oe(eo.color,$e.secondaryStateLayerColor)};
834
+ ${Oe(eo.opacityContentOnSurfaceHover,$e.secondaryStateLayerOpacityHover)};
835
+ ${Oe(eo.opacityContentOnSurfaceFocused,$e.secondaryStateLayerOpacityFocus)};
836
+ ${Oe(eo.opacityContentOnSurfaceSelected,$e.secondaryStateLayerOpacityActive)};
837
+ ${Oe(eo.opacityContentOnSurfacePressed,$e.secondaryStateLayerOpacityActive)};
838
+
839
+ background-color: ${$e.secondaryBackgroundColor};
840
+ color: ${$e.secondaryColor};
841
+ border-color: ${$e.secondaryBorderColor};
842
+ border-style: solid;
843
+ }
844
+
845
+ .ft-button--secondary[disabled] {
846
+ opacity: ${$e.secondaryComponentOpacityDisabled};
847
+ }
848
+
849
+ .ft-button--secondary ft-icon {
850
+ color: ${$e.secondaryIconColor};
851
+ }
852
+
853
+ /** Tertiary styles **/
854
+
855
+ .ft-button--tertiary {
856
+ ${Oe(gi.color,$e.tertiaryIconColor)};
857
+
858
+ ${Oe(eo.color,$e.tertiaryStateLayerColor)};
859
+ ${Oe(eo.opacityContentOnSurfaceHover,$e.tertiaryStateLayerOpacityHover)};
860
+ ${Oe(eo.opacityContentOnSurfaceFocused,$e.tertiaryStateLayerOpacityFocus)};
861
+ ${Oe(eo.opacityContentOnSurfaceSelected,$e.tertiaryStateLayerOpacityActive)};
862
+ ${Oe(eo.opacityContentOnSurfacePressed,$e.tertiaryStateLayerOpacityActive)};
863
+
864
+ background-color: ${$e.tertiaryBackgroundColor};
865
+ color: ${$e.tertiaryColor};
866
+ border-style: none;
867
+ }
868
+
869
+ .ft-button--tertiary[disabled] {
870
+ opacity: ${$e.tertiaryComponentOpacityDisabled};
871
+ }
872
+
873
+ .ft-button--tertiary ft-icon {
874
+ color: ${$e.tertiaryIconColor};
875
+ }
876
+
877
+ /** Neutral styles **/
878
+
879
+ .ft-button--neutral {
880
+ ${Oe(gi.color,$e.neutralIconColor)};
881
+
882
+ ${Oe(eo.backgroundColor,$e.neutralStateLayerColor)};
883
+ ${Oe(eo.opacityContentOnSurfaceHover,$e.neutralStateLayerOpacityHover)};
884
+ ${Oe(eo.opacityContentOnSurfaceFocused,$e.neutralStateLayerOpacityFocus)};
885
+ ${Oe(eo.opacityContentOnSurfaceSelected,$e.neutralStateLayerOpacityActive)};
886
+ ${Oe(eo.opacityContentOnSurfacePressed,$e.neutralStateLayerOpacityActive)};
887
+
888
+ background-color: ${$e.neutralBackgroundColor};
889
+ color: ${$e.neutralColor};
890
+ border-style: none;
891
+ }
892
+
893
+ .ft-button--neutral[disabled] {
894
+ opacity: ${$e.neutralComponentOpacityDisabled};
895
+ }
896
+
897
+ .ft-button--neutral ft-icon {
898
+ color: ${$e.neutralIconColor};
899
+ }
900
+
901
+ /** Large styles **/
902
+
903
+ .ft-button--large {
904
+ ${Oe(mi.size,$e.largeIconSize)};
905
+ ${Oe(gi.size,$e.largeIconSize)};
906
+
907
+ height: ${$e.largeHeight};
908
+ padding: 0 ${$e.largeHorizontalPadding};
909
+ gap: ${$e.largeGap};
910
+ border-radius: ${$e.largeBorderRadius};
911
+ border-width: ${$e.largeBorderWidth};
912
+ }
913
+
914
+ .ft-button--large:focus-visible {
915
+ outline-width: ${$e.largeFocusOutlineWidth};
916
+ outline-offset: ${$e.largeFocusOutlineOffset};
917
+ }
918
+
919
+ .ft-button--large.ft-button--icon-only {
920
+ width: ${$e.largeIconOnlyWidth};
921
+ padding: unset;
922
+ }
923
+
924
+ /** Small styles **/
925
+
926
+ .ft-button--small {
927
+ ${Oe(mi.size,$e.smallIconSize)};
928
+ ${Oe(gi.size,$e.smallIconSize)};
929
+
930
+ height: ${$e.smallHeight};
931
+ padding: 0 ${$e.smallHorizontalPadding};
932
+ gap: ${$e.smallGap};
933
+ border-radius: ${$e.smallBorderRadius};
934
+ border-width: ${$e.smallBorderWidth};
935
+ }
936
+
937
+ .ft-button--small:focus-visible {
938
+ outline-width: ${$e.smallFocusOutlineWidth};
939
+ outline-offset: ${$e.smallFocusOutlineOffset};
940
+ }
941
+
942
+ .ft-button--small.ft-button--icon-only {
943
+ width: ${$e.smallIconOnlyWidth};
944
+ padding: unset;
945
+ }
946
+ `,Ze];var un=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class yn extends fn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Ai.caption1medium:Ai.body2medium}}yn.styles=[Be,dn],un([$({type:Boolean})],yn.prototype,"primary",void 0),un([$({type:Boolean})],yn.prototype,"secondary",void 0),un([$({type:Boolean})],yn.prototype,"tertiary",void 0),un([$({type:Boolean})],yn.prototype,"neutral",void 0),un([$({type:Boolean})],yn.prototype,"small",void 0),L("ft-button")(hn),L("ftds-button")(yn);
947
+ /**
948
+ * @license
949
+ * Copyright 2018 Google LLC
950
+ * SPDX-License-Identifier: BSD-3-Clause
951
+ */
952
+ const gn={fontSize:ve.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:ve.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:ve.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:ve.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:ve.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:ve.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:ve.extend("--ft-input-label-border-color","",Ce.colorOutline),textColor:ve.extend("--ft-input-label-text-color","",Ce.colorOnSurfaceMedium),disabledTextColor:ve.extend("--ft-input-label-disabled-text-color","",Ce.colorOnSurfaceDisabled),colorSurface:ve.external(Ce.colorSurface,"Design system"),borderRadiusS:ve.external(Ce.borderRadiusS,"Design system"),colorError:ve.external(Ce.colorError,"Design system")},bn=xt`
953
+ .ft-input-label {
954
+ position: absolute;
955
+ inset: 0;
956
+ display: flex;
957
+ background-color: ${gn.colorSurface};
958
+ border-radius: ${gn.borderRadiusS} ${gn.borderRadiusS} 0 0;
959
+ }
960
+
961
+ .ft-input-label--outlined {
962
+ border-radius: ${gn.borderRadiusS};
963
+ }
964
+
965
+ .ft-input-label {
966
+ border-color: ${gn.borderColor};
967
+ }
968
+
969
+ .ft-input-label.ft-input-label--in-error {
970
+ border-color: ${gn.colorError}
971
+ }
972
+
973
+ .ft-input-label:before,
974
+ .ft-input-label:after {
975
+ content: "";
976
+ display: flex;
977
+ border-bottom-width: 1px;
978
+ border-bottom-style: solid;
979
+ border-color: inherit;
980
+ }
981
+
982
+ .ft-input-label:before {
983
+ width: calc(${gn.horizontalSpacing} - 4px);
984
+ flex-shrink: 0;
985
+ }
986
+
987
+ .ft-input-label:after {
988
+ flex-grow: 1;
989
+ flex-shrink: 1;
990
+ }
991
+
992
+ .ft-input-label--text {
993
+ display: flex;
994
+ flex-shrink: 1;
995
+ position: relative;
996
+ border-bottom-width: 1px;
997
+ border-bottom-style: solid;
998
+ border-color: inherit;
999
+ color: ${gn.textColor};
1000
+ transition: font-size 250ms, line-height 250ms, color 250ms;
1001
+ max-width: calc(${gn.labelMaxWidth} - 2 * (${gn.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
1002
+ text-overflow: ellipsis;
1003
+ ${Oe(jo.fontSize,gn.fontSize)};
1004
+ ${Oe(jo.lineHeight,gn.fontSize)};
1005
+ }
1006
+
1007
+ .ft-input-label--in-error .ft-input-label--text {
1008
+ color: ${gn.colorError}
1009
+ }
1010
+
1011
+ .ft-input-label--disabled .ft-input-label--text {
1012
+ color: ${gn.disabledTextColor};
1013
+ }
1014
+
1015
+ .ft-input-label--hidden-text {
1016
+ padding: 0 4px;
1017
+ opacity: 0;
1018
+ max-width: 100%;
1019
+ box-sizing: border-box;
1020
+ }
1021
+
1022
+ .ft-input-label--floating-text {
1023
+ position: absolute;
1024
+ top: calc(50% - var(--ft-typography-caption-line-height) / 2);
1025
+ transition: top 250ms;
1026
+ overflow: hidden;
1027
+ white-space: nowrap;
1028
+ text-overflow: ellipsis;
1029
+ padding: ${gn.verticalSpacing} 4px;
1030
+ margin: calc(${gn.verticalSpacing} * -1) 0;
1031
+ max-width: 100%;
1032
+ box-sizing: border-box;
1033
+ }
1034
+
1035
+ .ft-input-label--raised .ft-input-label--text {
1036
+ ${Oe(jo.fontSize,gn.raisedFontSize)};
1037
+ ${Oe(jo.lineHeight,gn.raisedFontSize)};
1038
+ }
1039
+
1040
+ .ft-input-label--raised .ft-input-label--floating-text {
1041
+ top: ${gn.verticalSpacing};
1042
+ }
1043
+
1044
+ .ft-input-label--outlined .ft-input-label--text,
1045
+ .ft-input-label--outlined:before,
1046
+ .ft-input-label--outlined:after {
1047
+ border-top-width: 1px;
1048
+ border-top-style: solid;
1049
+ }
1050
+
1051
+ .ft-input-label--outlined:before {
1052
+ border-left-width: 1px;
1053
+ border-left-style: solid;
1054
+ border-radius: ${gn.borderRadiusS} 0 0 ${gn.borderRadiusS};
1055
+ }
1056
+
1057
+ .ft-input-label--outlined:after {
1058
+ border-right-width: 1px;
1059
+ border-right-style: solid;
1060
+ border-radius: 0 ${gn.borderRadiusS} ${gn.borderRadiusS} 0;
1061
+ }
1062
+
1063
+ .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
1064
+ padding: 2px 4px;
1065
+ z-index: ${gn.raisedZIndex};
1066
+ background-color: ${gn.colorSurface};
1067
+ border-radius: ${gn.borderRadiusS};
1068
+ top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
1069
+ }
1070
+
1071
+ .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
1072
+ border-top: none;
1073
+ }
1074
+ `;var mn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class xn extends Ke{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return ee`
1075
+ <div class="${Wi(t)}">
1076
+ ${this.text?ee`
1077
+ <div class="ft-input-label--text ft-typography--caption">
1078
+ <span class="ft-input-label--floating-text">${this.text}</span>
1079
+ <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
1080
+ </div>
1081
+ `:null}
1082
+ </div>
1083
+ `}}xn.elementDefinitions={},xn.styles=[fi,bn],mn([$({type:String})],xn.prototype,"text",void 0),mn([$({type:Boolean})],xn.prototype,"raised",void 0),mn([$({type:Boolean})],xn.prototype,"outlined",void 0),mn([$({type:Boolean})],xn.prototype,"disabled",void 0),mn([$({type:Boolean})],xn.prototype,"error",void 0),L("ft-input-label")(xn);const vn={fontSize:ve.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:ve.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:ve.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:ve.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:ve.extend("--ft-text-field-helper-color","",Ce.colorOnSurfaceMedium),colorPrimary:ve.external(Ce.colorPrimary,"Design system"),colorOnSurface:ve.external(Ce.colorOnSurface,"Design system"),colorOnSurfaceDisabled:ve.external(Ce.colorOnSurfaceDisabled,"Design system"),borderRadiusS:ve.external(Ce.borderRadiusS,"Design system"),colorError:ve.external(Ce.colorError,"Design system"),prefixColor:ve.extend("--ft-text-field-prefix-color","",Ce.colorOnSurfaceMedium),iconColor:ve.extend("--ft-text-field-icon-color","",Ce.colorOnSurfaceMedium),floatingZIndex:ve.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:ve.external(Ce.colorSurface,"Design system"),colorOutline:ve.external(Ce.colorOutline,"Design system"),elevation02:ve.external(Ce.elevation02,"Design system"),suggestSize:ve.create("--ft-text-field-suggest-size","","SIZE","300px")},On=xt`
1084
+ *:focus {
1085
+ outline: none;
1086
+ }
1087
+
1088
+ .ft-text-field {
1089
+ display: flex;
1090
+ flex-direction: column;
1091
+ align-items: stretch;
1092
+ position: relative;
1093
+ }
1094
+
1095
+ ft-input-label {
1096
+ ${Oe(gn.fontSize,vn.fontSize)};
1097
+ ${Oe(gn.raisedFontSize,vn.labelSize)};
1098
+ ${Oe(gn.verticalSpacing,vn.verticalSpacing)};
1099
+ ${Oe(gn.horizontalSpacing,vn.horizontalSpacing)};
1100
+ }
1101
+
1102
+ .ft-text-field--main-panel {
1103
+ position: relative;
1104
+ display: flex;
1105
+ height: calc(4 * ${vn.verticalSpacing} + ${vn.labelSize} + ${vn.fontSize});
1106
+ }
1107
+
1108
+ .ft-text-field--input-panel {
1109
+ flex-grow: 1;
1110
+ position: relative;
1111
+ display: flex;
1112
+ align-items: center;
1113
+ overflow: hidden;
1114
+ padding: 0 ${vn.horizontalSpacing};
1115
+
1116
+ ${Oe(Zo.fontSize,vn.fontSize)};
1117
+ ${Oe(Zo.lineHeight,vn.fontSize)};
1118
+ }
1119
+
1120
+ .ft-text-field--input-panel ft-ripple {
1121
+ ${Oe(eo.opacityContentOnSurfaceHover,"0.08")};
1122
+ ${Oe(eo.opacityContentOnSurfacePressed,"0.04")};
1123
+ }
1124
+
1125
+ .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
1126
+ align-items: flex-end;
1127
+ padding: 0 ${vn.horizontalSpacing} ${vn.verticalSpacing} ${vn.horizontalSpacing};
1128
+ }
1129
+
1130
+ .ft-text-field--prefix {
1131
+ color: ${vn.prefixColor};
1132
+ margin-right: 2px;
1133
+ flex-shrink: 1;
1134
+ overflow: hidden;
1135
+ white-space: nowrap;
1136
+ text-overflow: ellipsis;
1137
+ }
1138
+
1139
+ .ft-text-field--with-label:not(.ft-text-field--raised-label) .ft-text-field--prefix {
1140
+ display: none;
1141
+ }
1142
+
1143
+ .ft-text-field--input {
1144
+ display: block;
1145
+ position: relative;
1146
+ flex-grow: 1;
1147
+ flex-shrink: 1;
1148
+ min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
1149
+
1150
+ color: ${vn.colorOnSurface};
1151
+ padding: calc(2 * ${vn.verticalSpacing}) 0;
1152
+ border: none;
1153
+ background: none;
1154
+ }
1155
+
1156
+ .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
1157
+ padding-bottom: 0;
1158
+ padding-top: calc(${vn.labelSize} + 2 * ${vn.verticalSpacing});
1159
+ }
1160
+
1161
+ .ft-text-field--input::-webkit-calendar-picker-indicator,
1162
+ .ft-text-field--input::-webkit-list-button {
1163
+ display: none !important;
1164
+ }
1165
+
1166
+ .ft-text-field--disabled .ft-text-field--input {
1167
+ color: ${vn.colorOnSurfaceDisabled};
1168
+ }
1169
+
1170
+ .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
1171
+ ${Oe(gn.borderColor,vn.colorPrimary)};
1172
+ ${Oe(gn.textColor,vn.colorPrimary)};
1173
+ }
1174
+
1175
+ .ft-text-field--filled .ft-text-field--input-panel {
1176
+ border-radius: ${vn.borderRadiusS} ${vn.borderRadiusS} 0 0;
1177
+ }
1178
+
1179
+ .ft-text-field--outlined .ft-text-field--input-panel {
1180
+ border-radius: ${vn.borderRadiusS};
1181
+ }
1182
+
1183
+ .ft-text-field--helper-text {
1184
+ padding: 0 12px 0 ${vn.horizontalSpacing};
1185
+ color: ${vn.helperColor};
1186
+ }
1187
+
1188
+ .ft-text-field--in-error .ft-text-field--input,
1189
+ .ft-text-field--in-error .ft-text-field--helper-text,
1190
+ .ft-text-field--in-error .ft-text-field--prefix {
1191
+ color: ${vn.colorError};
1192
+ }
1193
+
1194
+ .ft-text-field--icon {
1195
+ align-self: center;
1196
+ margin-left: 8px;
1197
+ color: ${vn.iconColor};
1198
+ }
1199
+
1200
+ .ft-text-field--container {
1201
+ position: relative;
1202
+ }
1203
+
1204
+ .ft-text-field--suggestions {
1205
+ display: none;
1206
+ flex-direction: column;
1207
+ position: absolute;
1208
+ left: 0;
1209
+ right: 0;
1210
+ z-index: ${vn.floatingZIndex};
1211
+ background: ${vn.colorSurface};
1212
+ border: 1px solid ${vn.colorOutline};
1213
+ border-radius: 0 0 ${vn.borderRadiusS} ${vn.borderRadiusS};
1214
+ box-shadow: ${vn.elevation02};
1215
+ outline: none;
1216
+ max-height: ${vn.suggestSize};
1217
+ overflow-y: auto;
1218
+ }
1219
+
1220
+ .ft-text-field--suggestions:not(.ft-text-field--suggestions-on-top) {
1221
+ top: 100%;
1222
+ }
1223
+
1224
+ .ft-text-field--suggestions.ft-text-field--suggestions-on-top {
1225
+ bottom: 100%;
1226
+ }
1227
+
1228
+ .ft-text-field:not(.ft-text-field--hide-suggestions):focus-within .ft-text-field--suggestions {
1229
+ display: flex;
1230
+ }
1231
+
1232
+ .ft-text-field--with-icon {
1233
+ ${Oe(gn.labelMaxWidth,`calc(100% - ${mi.size} - ${gn.horizontalSpacing})`)};
1234
+ }
1235
+
1236
+ .ft-text-field--with-password ft-icon:hover {
1237
+ cursor: pointer;
1238
+ }
1239
+
1240
+ input::-webkit-outer-spin-button,
1241
+ input::-webkit-inner-spin-button {
1242
+ -webkit-appearance: none;
1243
+ margin: 0;
1244
+ }
1245
+
1246
+ input[type=number] {
1247
+ -moz-appearance: textfield;
1248
+ }
1249
+ `;var Sn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class wn extends(Ve(Ke,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=on.EYE_SLASH,this.passwordRevealedIcon=on.EYE,this.filterSuggestions=!1,this.password=!1,this.type="text",this.focused=!1,this.hidePassword=!0,this.suggestionsOnTop=!1,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){const e=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",e)}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value,"ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return ee`
1250
+ <div class="${Wi(t)}">
1251
+ <div class="ft-text-field--main-panel"
1252
+ @keydown=${this.handleKeyboardNavigation}
1253
+ @focusout=${this.onMainPanelBlur}>
1254
+ <ft-input-label text="${this.label}"
1255
+ ?disabled=${this.disabled}
1256
+ ?outlined=${this.outlined}
1257
+ ?raised=${this.focused||""!=this.value}
1258
+ ?error=${this.error}></ft-input-label>
1259
+ <div class="ft-text-field--input-panel">
1260
+ ${this.outlined?ie:ee`
1261
+ <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
1262
+ `}
1263
+ ${this.prefix?ee`
1264
+ <ft-typography class="ft-text-field--prefix" variant="body1">
1265
+ ${this.prefix}
1266
+ </ft-typography>
1267
+ `:ie}
1268
+ <input type=${this.password&&this.hidePassword?"password":this.type}
1269
+ maxlength=${(t=>t??tt)(this.maxLength||void 0)}
1270
+ .min=${this.min}
1271
+ .max=${this.max}
1272
+ aria-label="${this.label}"
1273
+ class="ft-typography--body1 ft-text-field--input"
1274
+ part="input"
1275
+ ?disabled=${this.disabled}
1276
+ .value=${this.value}
1277
+ @click=${this.handleClick}
1278
+ @keyup=${this.handleInput}
1279
+ @focus=${this.onFocus}/>
1280
+ ${this.renderIcon()}
1281
+ </div>
1282
+ <div class="ft-text-field--suggestions ${this.suggestionsOnTop?"ft-text-field--suggestions-on-top":""}"
1283
+ @suggestion-selected=${this.onSuggestionSelected}>
1284
+ <slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
1285
+ </div>
1286
+ </div>
1287
+ ${this.helper?ee`
1288
+ <ft-typography class="ft-text-field--helper-text" variant="caption">
1289
+ ${this.helper}
1290
+ </ft-typography>
1291
+ `:ie}
1292
+ </div>
1293
+ `}renderPasswordIcon(){return ee`
1294
+ <ft-icon class="ft-text-field--icon"
1295
+ .variant=${this.iconVariant}
1296
+ .value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
1297
+ @click=${()=>this.togglePasswordVisibility()}></ft-icon>
1298
+ `}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?ee`
1299
+ <ft-icon class="ft-text-field--icon"
1300
+ .variant=${this.iconVariant}
1301
+ .value=${this.icon}
1302
+ @click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
1303
+ `:ie}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,o;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),i=null===(o=this.suggestionsContainer)||void 0===o?void 0:o.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,e=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),e&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var e;const o=(null===(e=this.input)||void 0===e?void 0:e.value)||"";this.setValue(o,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const o=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?o<this.visibleSuggestions.length-1?o+1:0:o>0?o-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[i])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,e;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(e=this.input)||void 0===e?void 0:e.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}wn.elementDefinitions={"ft-input-label":xn,"ft-ripple":Ki,"ft-typography":Hi,"ft-icon":sn},wn.styles=[li,On],Sn([$()],wn.prototype,"label",void 0),Sn([$({noAccessor:!0})],wn.prototype,"value",null),Sn([C()],wn.prototype,"dispatchedValue",void 0),Sn([$()],wn.prototype,"helper",void 0),Sn([$({type:Boolean})],wn.prototype,"outlined",void 0),Sn([$({type:Boolean})],wn.prototype,"disabled",void 0),Sn([$({type:Boolean})],wn.prototype,"error",void 0),Sn([$()],wn.prototype,"prefix",void 0),Sn([$()],wn.prototype,"icon",void 0),Sn([$()],wn.prototype,"passwordHiddenIcon",void 0),Sn([$()],wn.prototype,"passwordRevealedIcon",void 0),Sn([$()],wn.prototype,"iconVariant",void 0),Sn([$({type:Boolean})],wn.prototype,"filterSuggestions",void 0),Sn([$({type:Number})],wn.prototype,"maxLength",void 0),Sn([$({type:Boolean})],wn.prototype,"password",void 0),Sn([$()],wn.prototype,"type",void 0),Sn([$()],wn.prototype,"min",void 0),Sn([$()],wn.prototype,"max",void 0),Sn([C()],wn.prototype,"focused",void 0),Sn([C()],wn.prototype,"hidePassword",void 0),Sn([C()],wn.prototype,"suggestionsOnTop",void 0),Sn([C()],wn.prototype,"hideSuggestions",void 0),Sn([C()],wn.prototype,"visibleSuggestions",void 0),Sn([k(".ft-text-field--main-panel")],wn.prototype,"mainPanel",void 0),Sn([k(".ft-text-field--input")],wn.prototype,"input",void 0),Sn([k(".ft-text-field--suggestions")],wn.prototype,"suggestionsContainer",void 0),Sn([function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}({selector:"ft-text-field-suggestion"})],wn.prototype,"suggestions",void 0);const Nn=xt`
1304
+ .ft-text-field-suggestion {
1305
+ position: relative;
1306
+ padding: 8px 16px;
1307
+ cursor: pointer;
1308
+ min-height: 44px;
1309
+ box-sizing: border-box;
1310
+ outline: none;
1311
+ }
1312
+
1313
+ .ft-text-field-suggestion,
1314
+ .ft-text-field-suggestion--label {
1315
+ display: flex;
1316
+ align-items: center;
1317
+ gap: 8px;
1318
+ }
1319
+
1320
+ .ft-text-field-suggestion--label {
1321
+ flex-grow: 1;
1322
+ flex-shrink: 1;
1323
+ }
1324
+
1325
+ slot {
1326
+ pointer-events: none;
1327
+ }
1328
+ `;var $n=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Cn extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class En extends Ke{render(){return ee`
1329
+ <div class="ft-text-field-suggestion"
1330
+ tabindex="-1"
1331
+ @keydown=${this.onKeyDown}
1332
+ @click=${this.confirmSuggestion}>
1333
+ <ft-ripple></ft-ripple>
1334
+ <ft-typography part="label"
1335
+ variant="body1"
1336
+ class="ft-text-field-suggestion--label">
1337
+ <slot></slot>
1338
+ </ft-typography>
1339
+ </div>
1340
+ `}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new Cn(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}En.elementDefinitions={"ft-ripple":Ki,"ft-typography":Hi,"ft-icon":sn},En.styles=Nn,$n([$()],En.prototype,"value",void 0),$n([k(".ft-text-field-suggestion")],En.prototype,"container",void 0),$n([U()],En.prototype,"assignedNodes",void 0),L("ft-text-field")(wn),L("ft-text-field-suggestion")(En);var Rn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class kn extends Ke{constructor(){super(...arguments),this.currentPage=1,this.nextLabel="Next",this.previousLabel="Previous"}get resolvedMaxPage(){return this.maxPage?Math.max(1,this.maxPage):this.totalItemsCount&&this.itemsPerPage?Math.ceil(Math.max(1,this.totalItemsCount)/Math.max(1,this.itemsPerPage)):1}get resolvedCurrentPage(){return function(t,e,o){return Math.min(Math.max(t,e),o)}(1,this.currentPage,this.resolvedMaxPage)}render(){return ee`
1341
+ <div part="container">
1342
+ <ft-button icon=${on.THIN_ARROW_LEFT}
1343
+ ?disabled="${1==this.resolvedCurrentPage}"
1344
+ @click="${()=>this.setPage(this.resolvedCurrentPage-1)}"
1345
+ label="${this.previousLabel}" tooltipPosition="top">
1346
+ </ft-button>
1347
+ <ft-text-field outlined value="${this.resolvedCurrentPage}"
1348
+ type="number" min="1" max="${this.resolvedMaxPage}"
1349
+ @change="${t=>this.setPage(+t.detail)}">
1350
+ </ft-text-field>
1351
+ <ft-typography variant="body1"> / ${this.resolvedMaxPage}</ft-typography>
1352
+ <ft-button icon=${on.THIN_ARROW_RIGHT}
1353
+ ?disabled="${this.resolvedCurrentPage==this.resolvedMaxPage}"
1354
+ @click="${()=>this.setPage(this.resolvedCurrentPage+1)}"
1355
+ label="${this.nextLabel}" tooltipPosition="top">
1356
+ </ft-button>
1357
+ </div>
1358
+ `}setPage(t){this.currentPage=t,this.dispatchEvent(new CustomEvent("change",{detail:t}))}}kn.elementDefinitions={"ft-button":hn,"ft-text-field":wn,"ft-typography":Hi},kn.styles=Qe,Rn([$({type:Number,reflect:!0})],kn.prototype,"currentPage",void 0),Rn([$({type:Number})],kn.prototype,"maxPage",void 0),Rn([$({type:Number})],kn.prototype,"itemsPerPage",void 0),Rn([$({type:Number})],kn.prototype,"totalItemsCount",void 0),Rn([$()],kn.prototype,"nextLabel",void 0),Rn([$()],kn.prototype,"previousLabel",void 0),L("ft-pager")(kn),t.FtPager=kn,t.FtPagerCssVariables={},t.styles=Qe}({});