@fluid-topics/ft-file-drop 1.1.70 → 1.1.72

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.
@@ -1,147 +1,13 @@
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,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,l=new WeakMap;let s;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){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(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=i.prototype.attributeChangedCallback,s=new Set(i.observedAttributes||[]);d(i,s,l);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let f=e.call(r,t);f||(f=p(t),o.call(r,t,f)),this===window.customElements&&(a.set(i,c),c.standInClass=f);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,c,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){y.push(this),r.upgrade.apply(r,arguments),y.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=s;if(o)return s=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!c(o)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=l.get(o)?.getRootNode()||document)}return o.customElements},p=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=f(e)||window.customElements,i=r._getDefinition(o);return i?u(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,r)})},h=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):h(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),s=t;try{new o.elementClass}catch(t){h(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=g.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let y=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){y.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&l.set(t,this),y.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){y.push(this),e.set.call(this,t),y.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,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r 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 o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(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,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(vl){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}
16
- /**
17
- * @license
18
- * Copyright 2019 Google LLC
19
- * SPDX-License-Identifier: BSD-3-Clause
20
- */const o=globalThis,e=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),i=new WeakMap;const n=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(e&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=i.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&i.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),a=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return n(o)})(t):t
21
- /**
22
- * @license
23
- * Copyright 2017 Google LLC
24
- * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:l,defineProperty:s,getOwnPropertyDescriptor:c,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:d}=Object,h=globalThis,u=h.trustedTypes,g=u?u.emptyScript:"",y=h.reactiveElementPolyfillSupport,b=(t,o)=>t,m={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!l(t,o),x={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),h.litPropertyMetadata??=new WeakMap;let O=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,o=x){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&s(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=c(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??x}static _$Ei(){if(this.hasOwnProperty(b("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(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,o=[...f(t),...p(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(a(t))}else void 0!==t&&o.push(a(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"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,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,r)=>{if(e)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of r){const r=document.createElement("style"),i=o.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=e.cssText,t.appendChild(r)}})(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,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:m).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??v)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.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,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}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){}};O.elementStyles=[],O.shadowRootOptions={mode:"open"},O[b("elementProperties")]=new Map,O[b("finalized")]=new Map,y?.({ReactiveElement:O}),(h.reactiveElementVersions??=[]).push("2.0.2");
26
- /**
27
- * @license
28
- * Copyright 2017 Google LLC
29
- * SPDX-License-Identifier: BSD-3-Clause
30
- */
31
- const w=globalThis,S=w.trustedTypes,C=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,N="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,$="?"+E,I=`<${$}>`,R=document,k=()=>R.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,W=t=>U(t)||"function"==typeof t?.[Symbol.iterator],z="[ \t\n\f\r]",B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,j=/>/g,A=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Z=/'/g,_=/"/g,P=/^(?:script|style|textarea|title)$/i,K=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),M=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),H=new WeakMap,T=R.createTreeWalker(R,129);function G(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==C?C.createHTML(o):o}const V=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=B;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===B?"!--"===s[1]?a=F:void 0!==s[1]?a=j:void 0!==s[2]?(P.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=A):void 0!==s[3]&&(a=A):a===A?">"===s[0]?(a=i??B,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?A:'"'===s[3]?_:Z):a===_||a===Z?a=A:a===F||a===j?a=B:(a=A,i=void 0);const p=a===A&&t[o+1].startsWith("/>")?" ":"";n+=a===B?e+I:c>=0?(r.push(l),e.slice(0,c)+N+e.slice(c)+E+p):e+E+(-2===c?o:p)}return[G(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let q=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let n=0,a=0;const l=o.length-1,s=this.parts,[c,f]=V(o,e);if(this.el=t.createElement(c,r),T.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=T.nextNode())&&s.length<l;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(N)){const o=f[a++],e=i.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(o);s.push({type:1,index:n,name:r[2],strings:e,ctor:"."===r[1]?tt:"?"===r[1]?ot:"@"===r[1]?et:Q}),i.removeAttribute(t)}else t.startsWith(E)&&(s.push({type:6,index:n}),i.removeAttribute(t));if(P.test(i.tagName)){const t=i.textContent.split(E),o=t.length-1;if(o>0){i.textContent=S?S.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],k()),T.nextNode(),s.push({type:2,index:++n});i.append(t[o],k())}}}else if(8===i.nodeType)if(i.data===$)s.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(E,t+1));)s.push({type:7,index:n}),t+=E.length-1}n++}}static createElement(t,o){const e=R.createElement("template");return e.innerHTML=t,e}};function Y(t,o,e=t,r){if(o===M)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=L(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=Y(t,i._$AS(t,o.values),i,r)),o}let J=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??R).importNode(o,!0);T.currentNode=r;let i=T.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new X(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new rt(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=T.nextNode(),n++)}return T.currentNode=R,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},X=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Y(this,t,o),L(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==M&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):W(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!==D&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(R.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=q.createElement(G(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new J(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=H.get(t.strings);return void 0===o&&H.set(t.strings,o=new q(t)),o}T(o){U(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(k()),this.k(k()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},Q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=D,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=D}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=Y(this,t,o,0),n=!L(t)||t!==this._$AH&&t!==M,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=Y(this,r[e+a],o,a),l===M&&(l=this._$AH[a]),n||=!L(l)||l!==this._$AH[a],l===D?t=D:t!==D&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends Q{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===D?void 0:t}},ot=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==D)}},et=class extends Q{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=Y(this,t,o,0)??D)===M)return;const e=this._$AH,r=t===D&&e!==D||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==D&&(e===D||r);r&&this.element.removeEventListener(this.name,this,e),i&&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)}},rt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}};const it={j:N,P:E,A:$,C:1,M:V,L:J,R:W,V:Y,D:X,I:Q,H:ot,N:et,U:tt,B:rt},nt=w.litHtmlPolyfillSupport;nt?.(q,X),(w.litHtmlVersions??=[]).push("3.1.0");
32
- /**
33
- * @license
34
- * Copyright 2019 Google LLC
35
- * SPDX-License-Identifier: BSD-3-Clause
36
- */
37
- const at=globalThis,lt=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,st=Symbol(),ct=new WeakMap;let ft=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==st)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(lt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=ct.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&ct.set(o,t))}return t}toString(){return this.cssText}};const pt=t=>new ft("string"==typeof t?t:t+"",void 0,st),dt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new ft(e,t,st)},ht=(t,o)=>{if(lt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=at.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}},ut=lt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return pt(o)})(t):t
38
- /**
39
- * @license
40
- * Copyright 2017 Google LLC
41
- * SPDX-License-Identifier: BSD-3-Clause
42
- */,{is:gt,defineProperty:yt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:vt,getPrototypeOf:xt}=Object,Ot=globalThis,wt=Ot.trustedTypes,St=wt?wt.emptyScript:"",Ct=Ot.reactiveElementPolyfillSupport,Nt=(t,o)=>t,Et={toAttribute(t,o){switch(o){case Boolean:t=t?St:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},$t=(t,o)=>!gt(t,o),It={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:$t};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let Rt=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,o=It){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&yt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=bt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??It}static _$Ei(){if(this.hasOwnProperty(Nt("elementProperties")))return;const t=xt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Nt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Nt("properties"))){const t=this.properties,o=[...mt(t),...vt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(ut(t))}else void 0!==t&&o.push(ut(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"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,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ht(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,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:Et).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Et;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??$t)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.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,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}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){}};Rt.elementStyles=[],Rt.shadowRootOptions={mode:"open"},Rt[Nt("elementProperties")]=new Map,Rt[Nt("finalized")]=new Map,Ct?.({ReactiveElement:Rt}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
43
- /**
44
- * @license
45
- * Copyright 2017 Google LLC
46
- * SPDX-License-Identifier: BSD-3-Clause
47
- */
48
- const kt=globalThis,Lt=kt.trustedTypes,Ut=Lt?Lt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Wt="$lit$",zt=`lit$${(Math.random()+"").slice(9)}$`,Bt="?"+zt,Ft=`<${Bt}>`,jt=document,At=()=>jt.createComment(""),Zt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_t=Array.isArray,Pt=t=>_t(t)||"function"==typeof t?.[Symbol.iterator],Kt="[ \t\n\f\r]",Mt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dt=/-->/g,Ht=/>/g,Tt=RegExp(`>|${Kt}(?:([^\\s"'>=/]+)(${Kt}*=${Kt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Vt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Yt=t=>(o,...e)=>({_$litType$:t,strings:o,values:e}),Jt=Yt(1),Xt=Yt(2),Qt=Symbol.for("lit-noChange"),to=Symbol.for("lit-nothing"),oo=new WeakMap,eo=jt.createTreeWalker(jt,129);function ro(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ut?Ut.createHTML(o):o}const io=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=Mt;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===Mt?"!--"===s[1]?a=Dt:void 0!==s[1]?a=Ht:void 0!==s[2]?(qt.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=Tt):void 0!==s[3]&&(a=Tt):a===Tt?">"===s[0]?(a=i??Mt,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?Tt:'"'===s[3]?Vt:Gt):a===Vt||a===Gt?a=Tt:a===Dt||a===Ht?a=Mt:(a=Tt,i=void 0);const p=a===Tt&&t[o+1].startsWith("/>")?" ":"";n+=a===Mt?e+Ft:c>=0?(r.push(l),e.slice(0,c)+Wt+e.slice(c)+zt+p):e+zt+(-2===c?o:p)}return[ro(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class no{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[s,c]=io(t,o);if(this.el=no.createElement(s,e),eo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=eo.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Wt)){const o=c[n++],e=r.getAttribute(t).split(zt),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?fo:"?"===a[1]?po:"@"===a[1]?ho:co}),r.removeAttribute(t)}else t.startsWith(zt)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(zt),o=t.length-1;if(o>0){r.textContent=Lt?Lt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],At()),eo.nextNode(),l.push({type:2,index:++i});r.append(t[o],At())}}}else if(8===r.nodeType)if(r.data===Bt)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(zt,t+1));)l.push({type:7,index:i}),t+=zt.length-1}i++}}static createElement(t,o){const e=jt.createElement("template");return e.innerHTML=t,e}}function ao(t,o,e=t,r){if(o===Qt)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=Zt(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=ao(t,i._$AS(t,o.values),i,r)),o}let lo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??jt).importNode(o,!0);eo.currentNode=r;let i=eo.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new so(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new uo(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=eo.nextNode(),n++)}return eo.currentNode=jt,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},so=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=to,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ao(this,t,o),Zt(t)?t===to||null==t||""===t?(this._$AH!==to&&this._$AR(),this._$AH=to):t!==this._$AH&&t!==Qt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Pt(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!==to&&Zt(this._$AH)?this._$AA.nextSibling.data=t:this.$(jt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=no.createElement(ro(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new lo(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=oo.get(t.strings);return void 0===o&&oo.set(t.strings,o=new no(t)),o}T(o){_t(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(At()),this.k(At()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},co=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=to,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=to}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=ao(this,t,o,0),n=!Zt(t)||t!==this._$AH&&t!==Qt,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=ao(this,r[e+a],o,a),l===Qt&&(l=this._$AH[a]),n||=!Zt(l)||l!==this._$AH[a],l===to?t=to:t!==to&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===to?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},fo=class extends co{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===to?void 0:t}},po=class extends co{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==to)}},ho=class extends co{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=ao(this,t,o,0)??to)===Qt)return;const e=this._$AH,r=t===to&&e!==to||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==to&&(e===to||r);r&&this.element.removeEventListener(this.name,this,e),i&&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)}},uo=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){ao(this,t)}};const go={j:Wt,P:zt,A:Bt,C:1,M:io,L:lo,R:Pt,V:ao,D:so,I:co,H:po,N:ho,U:fo,B:uo},yo=kt.litHtmlPolyfillSupport;yo?.(no,so),(kt.litHtmlVersions??=[]).push("3.1.0");const bo=(t,o,e)=>{const r=e?.renderBefore??o;let i=r._$litPart$;if(void 0===i){const t=e?.renderBefore??null;r._$litPart$=i=new so(o.insertBefore(At(),t),t,void 0,e??{})}return i._$AI(t),i
49
- /**
50
- * @license
51
- * Copyright 2017 Google LLC
52
- * SPDX-License-Identifier: BSD-3-Clause
53
- */};let mo=class extends Rt{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=bo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};mo._$litElement$=!0,mo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:mo});const vo=globalThis.litElementPolyfillSupport;vo?.({LitElement:mo});(globalThis.litElementVersions??=[]).push("4.0.2");var xo=Object.freeze({__proto__:null,CSSResult:ft,LitElement:mo,ReactiveElement:Rt,_$LE:{_$AK:(t,o,e)=>{t._$AK(o,e)},_$AL:t=>t._$AL},_$LH:go,adoptStyles:ht,css:dt,defaultConverter:Et,getCompatibleStyle:ut,html:Jt,isServer:!1,noChange:Qt,notEqual:$t,nothing:to,render:bo,supportsAdoptingStyleSheets:lt,svg:Xt,unsafeCSS:pt});
54
- /**
55
- * @license
56
- * Copyright 2017 Google LLC
57
- * SPDX-License-Identifier: BSD-3-Clause
58
- */const Oo={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v},wo=(t=Oo,o,e)=>{const{kind:r,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const i=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,i,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const i=this[r];o.call(this,e),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};
59
- /**
60
- * @license
61
- * Copyright 2017 Google LLC
62
- * SPDX-License-Identifier: BSD-3-Clause
63
- */function So(t){return(o,e)=>"object"==typeof e?wo(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
64
- /**
65
- * @license
66
- * Copyright 2017 Google LLC
67
- * SPDX-License-Identifier: BSD-3-Clause
68
- */}function Co(t){return So({...t,state:!0,attribute:!1})}
69
- /**
70
- * @license
71
- * Copyright 2017 Google LLC
72
- * SPDX-License-Identifier: BSD-3-Clause
73
- */function No(t){return(o,e)=>{const r="function"==typeof o?o:o[e];Object.assign(r,t)}}
74
- /**
75
- * @license
76
- * Copyright 2017 Google LLC
77
- * SPDX-License-Identifier: BSD-3-Clause
78
- */const Eo=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
79
- /**
80
- * @license
81
- * Copyright 2017 Google LLC
82
- * SPDX-License-Identifier: BSD-3-Clause
83
- */;function $o(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return Eo(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return Eo(0,0,{get(){return n(this)}})}}
84
- /**
85
- * @license
86
- * Copyright 2017 Google LLC
87
- * SPDX-License-Identifier: BSD-3-Clause
88
- */let Io;
89
- /**
90
- * @license
91
- * Copyright 2017 Google LLC
92
- * SPDX-License-Identifier: BSD-3-Clause
93
- */
94
- function Ro(t){return(o,e)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Eo(0,0,{get(){const o=this.renderRoot?.querySelector(i);return o?.assignedNodes(t)??[]}})}}var ko=Object.freeze({__proto__:null,customElement:t=>(o,e)=>{void 0!==e?e.addInitializer((()=>{customElements.define(t,o)})):customElements.define(t,o)},eventOptions:No,property:So,query:$o,queryAll:function(t){return(o,e)=>Eo(0,0,{get(){return(this.renderRoot??(Io??=document.createDocumentFragment())).querySelectorAll(t)}})
95
- /**
96
- * @license
97
- * Copyright 2017 Google LLC
98
- * SPDX-License-Identifier: BSD-3-Clause
99
- */},queryAssignedElements:
100
- /**
101
- * @license
102
- * Copyright 2021 Google LLC
103
- * SPDX-License-Identifier: BSD-3-Clause
104
- */
105
- function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return Eo(0,0,{get(){const o=this.renderRoot?.querySelector(n),e=o?.assignedElements(t)??[];return void 0===i?e:e.filter((t=>t.matches(i)))}})}},queryAssignedNodes:Ro,queryAsync:function(t){return(o,e)=>Eo(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:wo,state:Co});
106
- /**
107
- * @license
108
- * Copyright 2017 Google LLC
109
- * SPDX-License-Identifier: BSD-3-Clause
110
- */const Lo=1,Uo=2,Wo=t=>(...o)=>({_$litDirective$:t,values:o});let zo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
111
- /**
112
- * @license
113
- * Copyright 2020 Google LLC
114
- * SPDX-License-Identifier: BSD-3-Clause
115
- */const{D:Bo}=it,Fo=()=>document.createComment(""),jo=(t,o,e)=>{const r=t._$AA.parentNode,i=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(Fo(),i),n=r.insertBefore(Fo(),i);e=new Bo(o,n,t,t.options)}else{const o=e._$AB.nextSibling,n=e._$AM,a=n!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==n._$AU&&e._$AP(o)}if(o!==i||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;r.insertBefore(t,i),t=o}}}return e},Ao=(t,o,e=t)=>(t._$AI(o,e),t),Zo={},_o=t=>{t._$AP?.(!1,!0);let o=t._$AA;const e=t._$AB.nextSibling;for(;o!==e;){const t=o.nextSibling;o.remove(),o=t}},Po=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},Ko=Wo(class extends zo{constructor(t){if(super(t),t.type!==Uo)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const i=[],n=[];let a=0;for(const o of t)i[a]=r?r(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:i}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,r]){const i=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(o,e,r);if(!Array.isArray(i))return this.dt=a,n;const l=this.dt??=[],s=[];let c,f,p=0,d=i.length-1,h=0,u=n.length-1;for(;p<=d&&h<=u;)if(null===i[p])p++;else if(null===i[d])d--;else if(l[p]===a[h])s[h]=Ao(i[p],n[h]),p++,h++;else if(l[d]===a[u])s[u]=Ao(i[d],n[u]),d--,u--;else if(l[p]===a[u])s[u]=Ao(i[p],n[u]),jo(t,s[u+1],i[p]),p++,u--;else if(l[d]===a[h])s[h]=Ao(i[d],n[h]),jo(t,i[p],i[d]),d--,h++;else if(void 0===c&&(c=Po(a,h,u),f=Po(l,p,d)),c.has(l[p]))if(c.has(l[d])){const o=f.get(a[h]),e=void 0!==o?i[o]:null;if(null===e){const o=jo(t,i[p]);Ao(o,n[h]),s[h]=o}else s[h]=Ao(e,n[h]),jo(t,i[p],e),i[o]=null;h++}else _o(i[d]),d--;else _o(i[p]),p++;for(;h<=u;){const o=jo(t,s[u+1]);Ao(o,n[h]),s[h++]=o}for(;p<=d;){const t=i[p++];null!==t&&_o(t)}return this.dt=a,((t,o=Zo)=>{t._$AH=o})(t,s),M}});
116
- /**
117
- * @license
118
- * Copyright 2017 Google LLC
119
- * SPDX-License-Identifier: BSD-3-Clause
120
- */var Mo=Object.freeze({__proto__:null,repeat:Ko});
121
- /**
122
- * @license
123
- * Copyright 2018 Google LLC
124
- * SPDX-License-Identifier: BSD-3-Clause
125
- */const Do=Wo(class extends zo{constructor(t){if(super(t),t.type!==Lo||"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((o=>t[o])).join(" ")+" "}update(t,[o]){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 o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return M}});var Ho=Object.freeze({__proto__:null,classMap:Do});
126
- /**
127
- * @license
128
- * Copyright 2018 Google LLC
129
- * SPDX-License-Identifier: BSD-3-Clause
130
- */const To="important",Go=" !"+To,Vo=Wo(class extends zo{constructor(t){if(super(t),t.type!==Lo||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((o,e)=>{const r=t[e];return null==r?o:o+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[o]){const{style:e}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(o)),this.render(o);for(const t of this.ut)null==o[t]&&(this.ut.delete(t),t.includes("-")?e.removeProperty(t):e[t]=null);for(const t in o){const r=o[t];if(null!=r){this.ut.add(t);const o="string"==typeof r&&r.endsWith(Go);t.includes("-")||o?e.setProperty(t,o?r.slice(0,-11):r,o?To:""):e[t]=r}}return M}});var qo=Object.freeze({__proto__:null,styleMap:Vo});
131
- /**
132
- * @license
133
- * Copyright 2017 Google LLC
134
- * SPDX-License-Identifier: BSD-3-Clause
135
- */let Yo=class extends zo{constructor(t){if(super(t),this.et=D,t.type!==Uo)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===D||null==t)return this.vt=void 0,this.et=t;if(t===M)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 o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Yo.directiveName="unsafeHTML",Yo.resultType=1;const Jo=Wo(Yo);var Xo=Object.freeze({__proto__:null,UnsafeHTMLDirective:Yo,unsafeHTML:Jo});class Qo extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class te extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new Qo("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new Qo("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const oe=t=>new te(((o,e)=>t.then(o).catch(e)));var ee=Object.freeze({__proto__:null,CancelablePromise:te,CanceledPromiseError:Qo,cancelable:oe});var re=Object.freeze({__proto__:null,CacheRegistry:class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof te&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,(async()=>o)),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,(async()=>o)),this.content[t]=o}async get(t,o,e){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=oe(o());return this.content[t]=r,r.then((o=>(this.content[t]=o,null!=e&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),e)),o)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}});class ie{constructor(t,o,e,r){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=r}static extractResultMetadata(t,o){var e,r;let i=(null!==(r=null!==(e=null==t?void 0:t.map)&&void 0!==e?e:null==t?void 0:t.document)&&void 0!==r?r:null==t?void 0:t.topic).metadata.map((t=>ie.flattenMetadata(t)));return null==o?i:i.find((t=>t.key===o))}static flattenMetadata(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" > ")),t.length>2?e.push(`... > ${t[t.length-1]}`):e.push(t.join(" > "))})),{key:t.key,label:t.label,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,label:t.label,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o,e="No value"){var r,i;let n=ie.extractResultMetadata(this.selectedResult,t),a=null!==(r=null==n?void 0:n.label)&&void 0!==r?r:null===(i=this.getMetadataDescriptor(t))||void 0===i?void 0:i.label;const l=this.allResults.map((o=>ie.extractResultMetadata(o,t))).map((o=>null!=o?o:{key:t,label:a,value:void 0,displayValue:e})).filter((t=>t.value!=(null==n?void 0:n.value))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return l.map((o=>({result:this.findBestResultForMetadataValue(t,o.value),metadata:o}))).sort(((e,r)=>this.compareMetadata(e.metadata.value,r.metadata.value,t,o)))}compareMetadata(t,o,e,r){if(null==t)return-1;if(null==o)return 1;let i=this.getMetadataDescriptor(e),n=(null==i?void 0:i.sortRule)||"NONE",a=(null==i?void 0:i.reverseSort)||!1;if("ALPHABET"==n||"VERSION"==n){let e=t.localeCompare(o,r,{numeric:!0});return a?-1*e:e}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find((o=>t==o.key))}findBestResultForMetadataValue(t,o){const e=this.allResults.filter((e=>{var r;return(null===(r=ie.extractResultMetadata(e,t))||void 0===r?void 0:r.value)==o}));let r,i=ie.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),n=[...i.filter((o=>o.key!==t))],a=-1;for(let t of e){let o=this.countMatchingMetadata(t,n);if(o>a&&(a=o,r=t,o===n.length))break}return r}countMatchingMetadata(t,o){return ie.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var ne=Object.freeze({__proto__:null,ClusteringHelper:ie});class ae{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var le=Object.freeze({__proto__:null,Debouncer:ae});const se=t=>new Promise((o=>setTimeout(o,t)));async function ce(t,o=10,e=2e4){let r,i,n=await t();for(r=i=performance.now();null==n&&(!e||i-r<e);)await se(o),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function fe(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,o,e,r)=>o+e+":"+r)),new Date(t)}function pe(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!pe(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!pe(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];if(!pe(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}var de=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?fe(e):e}},deepEqual:pe,delay:se,eventPathContainsMatchingElement:function(t,o,e=window.document.body){if(o.length>0){const r=t.composedPath();for(let t of r){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1},flatDeep:function t(o,e){return o.flatMap((o=>[o,...t(e(o),e)]))},last:function(t){return t[t.length-1]},minmax:function(t,o,e){return Math.min(Math.max(t,o),e)},parseDate:fe,waitFor:ce,waitUntil:async function(t,o=10,e=2e4){await ce((async()=>await t()||void 0),o,e)}});const he=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function ue(t,o){const e=()=>JSON.parse(JSON.stringify(t));return So({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!pe(t,o),...null!=o?o:{}})}function ge(t){return!isNaN(parseFloat(t))}var ye=Object.freeze({__proto__:null,customElement:he,isNumber:ge,jsonProperty:ue,optionalNumberProperty:function(t){return So({type:Object,converter:{fromAttribute:t=>{if(null!=t)return ge(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const be=t=>"string"==typeof t?pt(t):t;class me{static create(t,o,e,r){const i=t=>be(null!=t?t:r),n=dt`var(${be(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>dt`var(${be(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=dt`var(${be(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>dt`var(${be(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):be(null!=o?o:t.lastResortDefaultValue()),r=dt`var(${be(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>dt`var(${be(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function ve(t,o){return be(`${t.name}: ${o}`)}const xe={colorWhite:me.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:me.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:me.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:me.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:me.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:me.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:me.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:me.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:me.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:me.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:me.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:me.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:me.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:me.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:me.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:me.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:me.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:me.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:me.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:me.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:me.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:me.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:me.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:me.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:me.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:me.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:me.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:me.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:me.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:me.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:me.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:me.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:me.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:me.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:me.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:me.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:me.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:me.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:me.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:me.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:me.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:me.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:me.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:me.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:me.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:me.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:me.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:me.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:me.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:me.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:me.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:me.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:me.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:me.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:me.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:me.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:me.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:me.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:me.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:me.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:me.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:me.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:me.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:me.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:me.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:me.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:me.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:me.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:me.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:me.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:me.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:me.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:me.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:me.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:me.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:me.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:me.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:me.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:me.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:me.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:me.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:me.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:me.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:me.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:me.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:me.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:me.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:me.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:me.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:me.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:me.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:me.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:me.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:me.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:me.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:me.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:me.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:me.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:me.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:me.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:me.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:me.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:me.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:me.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:me.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:me.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:me.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:me.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:me.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:me.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:me.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:me.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:me.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:me.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:me.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:me.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:me.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:me.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:me.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:me.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:me.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:me.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:me.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:me.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:me.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:me.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:me.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:me.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:me.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:me.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:me.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:me.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:me.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:me.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:me.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:me.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:me.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:me.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:me.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:me.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:me.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:me.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:me.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:me.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:me.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:me.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:me.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:me.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:me.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:me.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:me.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:me.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:me.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:me.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:me.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:me.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:me.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:me.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:me.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:me.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:me.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:me.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:me.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:me.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:me.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:me.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:me.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:me.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:me.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:me.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:me.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:me.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:me.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:me.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:me.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:me.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:me.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:me.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:me.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:me.create("--ft-icon-size-6","","SIZE","48px"),opacity0:me.create("--ft-opacity-0","","NUMBER","0"),opacity8:me.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:me.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:me.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:me.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:me.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:me.create("--ft-shadow-elevation-01","","SHADOW","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)"),shadowElevation02:me.create("--ft-shadow-elevation-02","","SHADOW","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)"),shadowElevation03:me.create("--ft-shadow-elevation-03","","SHADOW","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)"),shadowElevation04:me.create("--ft-shadow-elevation-04","","SHADOW","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)"),shadowElevation06:me.create("--ft-shadow-elevation-06","","SHADOW","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)"),shadowElevation08:me.create("--ft-shadow-elevation-08","","SHADOW","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)"),shadowElevation12:me.create("--ft-shadow-elevation-12","","SHADOW","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)"),shadowElevation16:me.create("--ft-shadow-elevation-16","","SHADOW","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)"),shadowElevation24:me.create("--ft-shadow-elevation-24","","SHADOW","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)")},Oe={fontFamily:me.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:me.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-display-textCase","","UNKNOWN","none")},we={fontFamily:me.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:me.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Se={fontFamily:me.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:me.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ce={fontFamily:me.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:me.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:me.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ne={fontFamily:me.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:me.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ee={fontFamily:me.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},$e={fontFamily:me.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ie={fontFamily:me.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:me.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Re={fontFamily:me.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},ke={fontFamily:me.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:me.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:me.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Le={fontFamily:me.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ue={fontFamily:me.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},We={fontFamily:me.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},ze={fontFamily:me.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Be={fontFamily:me.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Fe={fontFamily:me.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},je={fontFamily:me.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Ae={fontFamily:me.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ze={fontFamily:me.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},_e={fontFamily:me.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Pe={fontFamily:me.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ke={fontFamily:me.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Me={fontFamily:me.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},De={fontFamily:me.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:me.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},He={fontFamily:me.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:me.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Te={fontFamily:me.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:me.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ge={display:Oe,"title-1":we,"title-2":Se,"title-3":Ce,"body-1-regular":Ne,"body-1-medium":Ee,"body-1-semibold":$e,"body-2-regular":Ie,"body-2-medium":Re,"body-2-medium-underline":ke,"body-2-semibold":Le,"label-1-medium":Ue,"label-1-semibold":We,"label-1-bold":ze,"label-2-medium":Be,"label-2-semibold":Fe,"label-2-bold":je,"caption-1-medium":Ae,"caption-1-semibold":Ze,"caption-1-bold":_e,"caption-2-medium":Pe,"caption-2-semibold":Ke,"caption-2-bold":Me,"caption-3-medium":De,"caption-3-semibold":He,"caption-3-bold":Te},Ve={backgroundActionPrimary:me.extend("--ft-background-action-primary","Used as backgorund of primary action components.",xe.colorBrand0),backgroundErrorSubtle:me.extend("--ft-background-error-subtle","Used as background of subtle error components.",xe.colorRed10),backgroundInfoSubtle:me.extend("--ft-background-info-subtle","Used as background of subtle information components.",xe.colorCyan10),backgroundWarningSubtle:me.extend("--ft-background-warning-subtle","Used as background of subtle information components.",xe.colorOrange10),backgroundSuccessSubtle:me.extend("--ft-background-success-subtle","Used as background of subtle success components.",xe.colorGreen10),backgroundGlobalSurface:me.extend("--ft-background-global-surface","Used as app background.",xe.colorWhite),backgroundGlobalOnSurface:me.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",xe.colorGray10),backgroundGlobalOnSurfaceDark:me.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",xe.colorGray30),contentActionPrimary:me.extend("--ft-content-action-primary","Used on label of primary action on light surface.",xe.colorBrand0),contentWarningPrimary:me.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",xe.colorOrange200),contentWarningIconOnly:me.extend("--ft-content-warning-icon-only","Used on warning status icons alone",xe.colorOrange0),contentErrorPrimary:me.extend("--ft-content-error-primary","Used on label of error messages on light surface.",xe.colorRed0),contentErrorIconOnly:me.extend("--ft-content-error-icon-only","Used on error status icons alone",xe.colorRed70),contentInfoPrimary:me.extend("--ft-content-info-primary","Used on label of information messages on light surface.",xe.colorCyan200),contentInfoIconOnly:me.extend("--ft-content-info-icon-only","Used on info status icons alone",xe.colorCyan0),contentSuccessPrimary:me.extend("--ft-content-success-primary","Used on label of success messages on light surface.",xe.colorGreen200),contentSuccessIconOnly:me.extend("--ft-content-success-icon-only","Used on success status icons alone",xe.colorGreen0),contentGlobalPrimary:me.extend("--ft-content-global-primary","Used for main content on the page.",xe.colorGray500),contentGlobalSecondary:me.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",xe.colorGray200),contentGlobalSubtle:me.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",xe.colorGray0),contentGlobalOnColor:me.extend("--ft-content-global-on-color","Used for content on a dominant color.",xe.colorWhite),borderActionPrimary:me.extend("--ft-border-action-primary","Used as border for primary action components.",xe.colorBrand0),borderActionFocusRing:me.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",xe.colorCyan0),borderWarningPrimary:me.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",xe.colorOrange200),borderWarningSubtle:me.extend("--ft-border-warning-subtle","Used as border for warning components.",xe.colorOrange30),borderSuccessPrimary:me.extend("--ft-border-success-primary","Used as border for success buttons.",xe.colorGreen200),borderSuccessSubtle:me.extend("--ft-border-success-subtle","Used as border for success components.",xe.colorGreen30),borderErrorPrimary:me.extend("--ft-border-error-primary","Used as border for text fields in error states.",xe.colorRed0),borderErrorSubtle:me.extend("--ft-border-error-subtle","Used as border for error components.",xe.colorRed30),borderInfoPrimary:me.extend("--ft-border-info-primary","Used as border for buttons in info color.",xe.colorCyan200),borderInfoSubtle:me.extend("--ft-border-info-subtle","Used as border for information components.",xe.colorCyan30),borderGlobalPrimary:me.extend("--ft-border-global-primary","Used as border for element like input.",xe.colorGray50),borderGlobalSubtle:me.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",xe.colorGray30),borderInputPrimary:me.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",xe.colorGray80)},qe={largeHeight:me.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:me.extend("--ft-button-large-horizontal-padding","",xe.spacing4),largeGap:me.extend("--ft-button-large-gap","",xe.spacing2),largeBorderRadius:me.extend("--ft-button-large-border-radius","",xe.borderRadiusS),largeIconSize:me.extend("--ft-button-large-icon-size","",xe.iconSize3),largeBorderWidth:me.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:me.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:me.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:me.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:me.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:me.extend("--ft-button-small-horizontal-padding","",xe.spacing3),smallGap:me.extend("--ft-button-small-gap","",xe.spacing2),smallBorderRadius:me.extend("--ft-button-small-border-radius","",xe.borderRadiusS),smallIconSize:me.extend("--ft-button-small-icon-size","",xe.iconSize2),smallBorderWidth:me.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:me.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:me.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:me.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:me.extend("--ft-button-primary-background-color","",Ve.backgroundActionPrimary),primaryColor:me.extend("--ft-button-primary-color","",Ve.contentGlobalOnColor),primaryIconColor:me.extend("--ft-button-primary-icon-color","",Ve.contentGlobalOnColor),primaryStateLayerColor:me.extend("--ft-button-primary-state-layer-color","",Ve.contentGlobalOnColor),primaryHoverStateLayerOpacity:me.extend("--ft-button-primary-hover-state-layer-opacity","",xe.opacity16),primaryFocusStateLayerOpacity:me.extend("--ft-button-primary-focus-state-layer-opacity","",xe.opacity16),primaryActiveStateLayerOpacity:me.extend("--ft-button-primary-active-state-layer-opacity","",xe.opacity24),primaryDisabledComponentOpacity:me.extend("--ft-button-primary-disabled-component-opacity","",xe.opacity40),focusFocusRingColor:me.extend("--ft-button-focus-focus-ring-color","",Ve.borderActionFocusRing),tertiaryBackgroundColor:me.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:me.extend("--ft-button-tertiary-color","",Ve.contentActionPrimary),tertiaryIconColor:me.extend("--ft-button-tertiary-icon-color","",Ve.contentActionPrimary),tertiaryStateLayerColor:me.extend("--ft-button-tertiary-state-layer-color","",Ve.contentActionPrimary),tertiaryHoverStateLayerOpacity:me.extend("--ft-button-tertiary-hover-state-layer-opacity","",xe.opacity8),tertiaryFocusStateLayerOpacity:me.extend("--ft-button-tertiary-focus-state-layer-opacity","",xe.opacity8),tertiaryActiveStateLayerOpacity:me.extend("--ft-button-tertiary-active-state-layer-opacity","",xe.opacity16),tertiaryDisabledComponentOpacity:me.extend("--ft-button-tertiary-disabled-component-opacity","",xe.opacity40),secondaryBackgroundColor:me.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:me.extend("--ft-button-secondary-color","",Ve.contentActionPrimary),secondaryIconColor:me.extend("--ft-button-secondary-icon-color","",Ve.contentActionPrimary),secondaryStateLayerColor:me.extend("--ft-button-secondary-state-layer-color","",Ve.contentActionPrimary),secondaryHoverStateLayerOpacity:me.extend("--ft-button-secondary-hover-state-layer-opacity","",xe.opacity8),secondaryFocusStateLayerOpacity:me.extend("--ft-button-secondary-focus-state-layer-opacity","",xe.opacity8),secondaryActiveStateLayerOpacity:me.extend("--ft-button-secondary-active-state-layer-opacity","",xe.opacity16),secondaryDisabledComponentOpacity:me.extend("--ft-button-secondary-disabled-component-opacity","",xe.opacity40),secondaryBorderColor:me.extend("--ft-button-secondary-border-color","",Ve.borderActionPrimary),neutralBackgroundColor:me.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:me.extend("--ft-button-neutral-icon-color","",Ve.contentGlobalSecondary),neutralColor:me.extend("--ft-button-neutral-color","",Ve.contentGlobalSecondary),neutralStateLayerColor:me.extend("--ft-button-neutral-state-layer-color","",Ve.contentGlobalSecondary),neutralHoverStateLayerOpacity:me.extend("--ft-button-neutral-hover-state-layer-opacity","",xe.opacity8),neutralFocusStateLayerOpacity:me.extend("--ft-button-neutral-focus-state-layer-opacity","",xe.opacity8),neutralActiveStateLayerOpacity:me.extend("--ft-button-neutral-active-state-layer-opacity","",xe.opacity16),neutralDisabledComponentOpacity:me.extend("--ft-button-neutral-disabled-component-opacity","",xe.opacity40)},Ye={iconSize:me.extend("--ft-banner-icon-size","",xe.iconSize5),borderWidth:me.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:me.extend("--ft-banner-horizontal-padding","",xe.spacing6),verticalPadding:me.extend("--ft-banner-vertical-padding","",xe.spacing6),horizontalSideGap:me.extend("--ft-banner-horizontal-side-gap","",xe.spacing6),horizontalMobileGap:me.extend("--ft-banner-horizontal-mobile-gap","",xe.spacing4),verticalMobileGap:me.extend("--ft-banner-vertical-mobile-gap","",xe.spacing6),horizontalMiddleGap:me.extend("--ft-banner-horizontal-middle-gap","",xe.spacing20),infoBackgroundColor:me.extend("--ft-banner-info-background-color","",Ve.backgroundInfoSubtle),infoColor:me.extend("--ft-banner-info-color","",Ve.contentInfoPrimary),infoIconColor:me.extend("--ft-banner-info-icon-color","",Ve.contentInfoIconOnly)},Je={horizontalGap:me.extend("--ft-breadcrumb-horizontal-gap","",xe.spacing1),verticalGap:me.extend("--ft-breadcrumb-vertical-gap","",xe.spacing2),currentElementColor:me.extend("--ft-breadcrumb-current-element-color","",Ve.contentGlobalPrimary),iconColor:me.extend("--ft-breadcrumb-icon-color","",Ve.contentGlobalSubtle)},Xe={horizontalPadding:me.extend("--ft-page-header-horizontal-padding","",xe.spacing12),horizontalGap:me.extend("--ft-page-header-horizontal-gap","",xe.spacing4),verticalGap:me.extend("--ft-page-header-vertical-gap","",xe.spacing2),classicVerticalPadding:me.extend("--ft-page-header-classic-vertical-padding","",xe.spacing6),multilineVerticalPadding:me.extend("--ft-page-header-multiline-vertical-padding","",xe.spacing4),inlineVerticalPadding:me.extend("--ft-page-header-inline-vertical-padding","",xe.spacing2),backgroundColor:me.extend("--ft-page-header-background-color","",xe.colorWhite),bottomBorderColor:me.extend("--ft-page-header-bottom-border-color","",Ve.borderGlobalSubtle),titleColor:me.extend("--ft-page-header-title-color","",Ve.contentGlobalPrimary),subtitleColor:me.extend("--ft-page-header-subtitle-color","",Ve.contentGlobalSecondary)},Qe={smallContainerWidth:me.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:me.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:me.extend("--ft-modal-overlay-background-color","",xe.colorGray700),overlayOpacity:me.extend("--ft-modal-overlay-opacity","",xe.opacity40),shadow:me.extend("--ft-modal-shadow","",xe.shadowElevation03),bodyBackgroundColor:me.extend("--ft-modal-body-background-color","",xe.colorWhite),bodyColor:me.extend("--ft-modal-body-color","",Ve.contentGlobalPrimary),bodyHorizontalPadding:me.extend("--ft-modal-body-horizontal-padding","",xe.spacing6),bodyVerticalPadding:me.extend("--ft-modal-body-vertical-padding","",xe.spacing6),bodyVerticalGap:me.extend("--ft-modal-body-vertical-gap","",xe.spacing6),containerMargin:me.extend("--ft-modal-container-margin","",xe.spacing3),headerBackgroundColor:me.extend("--ft-modal-header-background-color","",Ve.backgroundGlobalOnSurface),headerBorderColor:me.extend("--ft-modal-header-border-color","",Ve.borderGlobalSubtle),headerColor:me.extend("--ft-modal-header-color","",Ve.contentGlobalPrimary),headerTrailingIconColor:me.extend("--ft-modal-header-trailing-icon-color","",Ve.contentGlobalSecondary),headerVerticalPadding:me.extend("--ft-modal-header-vertical-padding","",xe.spacing1),headerRightPadding:me.extend("--ft-modal-header-right-padding","",xe.spacing1),headerLeftPadding:me.extend("--ft-modal-header-left-padding","",xe.spacing6),headerGap:me.extend("--ft-modal-header-gap","",xe.spacing2),headerBorderBottom:me.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:me.extend("--ft-modal-border-radius","",xe.borderRadiusM)},tr={overlayOpacity:me.extend("--ft-drawer-overlay-opacity","",xe.opacity40),shadow:me.extend("--ft-drawer-shadow","",xe.shadowElevation03),bodyColor:me.extend("--ft-drawer-body-color","",Ve.contentGlobalPrimary),bodyHorizontalPadding:me.extend("--ft-drawer-body-horizontal-padding","",xe.spacing6),bodyVerticalPadding:me.extend("--ft-drawer-body-vertical-padding","",xe.spacing6),bodyGap:me.extend("--ft-drawer-body-gap","",xe.spacing6),bodyBackgroundColor:me.extend("--ft-drawer-body-background-color","",xe.colorWhite),headerBackgroundColor:me.extend("--ft-drawer-header-background-color","",Ve.backgroundGlobalOnSurface),headerBorderColor:me.extend("--ft-drawer-header-border-color","",Ve.borderGlobalSubtle),headerColor:me.extend("--ft-drawer-header-color","",Ve.contentGlobalPrimary),headerTrailingIconColor:me.extend("--ft-drawer-header-trailing-icon-color","",Ve.contentGlobalSecondary),headerHeight:me.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:me.extend("--ft-drawer-header-horizontal-padding","",xe.spacing2),headerBorderWidth:me.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:me.extend("--ft-drawer-header-gap","",xe.spacing3),buttonsBarBackgroundColor:me.extend("--ft-drawer-buttons-bar-background-color","",Ve.backgroundGlobalOnSurface),buttonsBarBorderColor:me.extend("--ft-drawer-buttons-bar-border-color","",Ve.borderGlobalSubtle),buttonsBarColor:me.extend("--ft-drawer-buttons-bar-color","",Ve.contentGlobalPrimary),buttonsBarHorizontalPadding:me.extend("--ft-drawer-buttons-bar-horizontal-padding","",xe.spacing4),buttonsBarVerticalPadding:me.extend("--ft-drawer-buttons-bar-vertical-padding","",xe.spacing4),buttonsBarGap:me.extend("--ft-drawer-buttons-bar-gap","",xe.spacing3),buttonsBarBorderWidth:me.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:me.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:me.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:me.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:me.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:me.extend("--ft-drawer-overlay-background-color","",xe.colorGray700)},or={fieldHorizontalPadding:me.extend("--ft-text-input-field-horizontal-padding","",xe.spacing4),fieldHorizontalGap:me.extend("--ft-text-input-field-horizontal-gap","",xe.spacing3),fieldVerticalGap:me.extend("--ft-text-input-field-vertical-gap","",xe.spacing05),fieldIconSize:me.extend("--ft-text-input-field-icon-size","",xe.iconSize3),fieldHeight:me.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:me.extend("--ft-text-input-helper-horizontal-padding","",xe.spacing4),helperHorizontalGap:me.extend("--ft-text-input-helper-horizontal-gap","",xe.spacing1),helperIconSize:me.extend("--ft-text-input-helper-icon-size","",xe.iconSize2),borderRadius:me.extend("--ft-text-input-border-radius","",xe.borderRadiusM),backgroundColor:me.extend("--ft-text-input-background-color","",xe.colorWhite),contentValueColor:me.extend("--ft-text-input-content-value-color","",Ve.contentGlobalPrimary),trailingIconColor:me.extend("--ft-text-input-trailing-icon-color","",Ve.contentGlobalSubtle),labelColor:me.extend("--ft-text-input-label-color","",Ve.contentGlobalSubtle),defaultBorderColor:me.extend("--ft-text-input-default-border-color","",Ve.borderInputPrimary),defaultHelperTextColor:me.extend("--ft-text-input-default-helper-text-color","",Ve.contentGlobalSubtle),defaultBorderWidth:me.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:me.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:me.extend("--ft-text-input-error-border-color","",Ve.borderErrorPrimary),errorHelperTextColor:me.extend("--ft-text-input-error-helper-text-color","",Ve.contentErrorPrimary),errorHelperIconColor:me.extend("--ft-text-input-error-helper-icon-color","",Ve.contentErrorIconOnly),warningBorderWidth:me.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:me.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-text-input-focus-focus-ring-color","",Ve.borderActionFocusRing),focusOutlineOffset:me.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:me.extend("--ft-text-input-disabled-component-opacity","",xe.opacity40)},er={backgroundColor:me.extend("--ft-text-area-background-color","",xe.colorWhite),contentValueColor:me.extend("--ft-text-area-content-value-color","",Ve.contentGlobalPrimary),labelColor:me.extend("--ft-text-area-label-color","",Ve.contentGlobalSubtle),defaultBorderColor:me.extend("--ft-text-area-default-border-color","",Ve.borderInputPrimary),defaultHelperTextColor:me.extend("--ft-text-area-default-helper-text-color","",Ve.contentGlobalSubtle),defaultBorderWidth:me.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:me.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:me.extend("--ft-text-area-error-border-color","",Ve.borderErrorPrimary),errorHelperTextColor:me.extend("--ft-text-area-error-helper-text-color","",Ve.contentErrorPrimary),errorHelperIconColor:me.extend("--ft-text-area-error-helper-icon-color","",Ve.contentErrorIconOnly),focusFocusRingColor:me.extend("--ft-text-area-focus-focus-ring-color","",Ve.borderActionFocusRing),focusOutlineWidth:me.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:me.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:me.extend("--ft-text-area-disabled-component-opacity","",xe.opacity40),fieldHorizontalLeftPadding:me.extend("--ft-text-area-field-horizontal-left-padding","",xe.spacing4),fieldHorizontalGap:me.extend("--ft-text-area-field-horizontal-gap","",xe.spacing3),fieldVerticalGap:me.extend("--ft-text-area-field-vertical-gap","",xe.spacing05),fieldMinHeight:me.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:me.extend("--ft-text-area-helper-horizontal-padding","",xe.spacing4),helperHorizontalGap:me.extend("--ft-text-area-helper-horizontal-gap","",xe.spacing1),helperIconSize:me.extend("--ft-text-area-helper-icon-size","",xe.iconSize2),borderRadius:me.extend("--ft-text-area-border-radius","",xe.borderRadiusM)},rr={height:me.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:me.extend("--ft-floating-menu-horizontal-padding","",xe.spacing4),offIconColor:me.extend("--ft-floating-menu-off-icon-color","",Ve.contentGlobalPrimary),offColor:me.extend("--ft-floating-menu-off-color","",Ve.contentGlobalPrimary),onColor:me.extend("--ft-floating-menu-on-color","",Ve.contentActionPrimary),onStateLayerColor:me.extend("--ft-floating-menu-on-state-layer-color","",Ve.contentActionPrimary),gap:me.extend("--ft-floating-menu-gap","",xe.spacing3),focusFocusRingColor:me.extend("--ft-floating-menu-focus-focus-ring-color","",Ve.borderActionFocusRing),focusOutlineWidth:me.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:me.extend("--ft-floating-menu-focus-state-layer-opacity","",xe.opacity8),hoverStateLayerOpacity:me.extend("--ft-floating-menu-hover-state-layer-opacity","",xe.opacity8),activeStateLayerOpacity:me.extend("--ft-floating-menu-active-state-layer-opacity","",xe.opacity16),disabledComponentOpacity:me.extend("--ft-floating-menu-disabled-component-opacity","",xe.opacity40),iconSize:me.extend("--ft-floating-menu-icon-size","",xe.iconSize3),backgroundColor:me.extend("--ft-floating-menu-background-color","",Ve.backgroundGlobalOnSurface)},ir={fieldHorizontalPadding:me.extend("--ft-combobox-single-select-field-horizontal-padding","",xe.spacing4),fieldHorizontalGap:me.extend("--ft-combobox-single-select-field-horizontal-gap","",xe.spacing3),fieldVerticalGap:me.extend("--ft-combobox-single-select-field-vertical-gap","",xe.spacing05),fieldIconSize:me.extend("--ft-combobox-single-select-field-icon-size","",xe.iconSize3),fieldHeight:me.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:me.extend("--ft-combobox-single-select-helper-horizontal-padding","",xe.spacing4),helperHorizontalGap:me.extend("--ft-combobox-single-select-helper-horizontal-gap","",xe.spacing1),helperVerticalGap:me.extend("--ft-combobox-single-select-helper-vertical-gap","",xe.spacing1),helperIconSize:me.extend("--ft-combobox-single-select-helper-icon-size","",xe.iconSize2),menuVerticalGap:me.extend("--ft-combobox-single-select-menu-vertical-gap","",xe.spacing2),borderRadius:me.extend("--ft-combobox-single-select-border-radius","",xe.borderRadiusM),backgroundColor:me.extend("--ft-combobox-single-select-background-color","",xe.colorWhite),labelColor:me.extend("--ft-combobox-single-select-label-color","",Ve.contentGlobalSubtle),contentValueColor:me.extend("--ft-combobox-single-select-content-value-color","",Ve.contentGlobalPrimary),trailingIconColor:me.extend("--ft-combobox-single-select-trailing-icon-color","",Ve.contentGlobalSubtle),defaultBorderColor:me.extend("--ft-combobox-single-select-default-border-color","",Ve.borderInputPrimary),defaultHelperTextColor:me.extend("--ft-combobox-single-select-default-helper-text-color","",Ve.contentGlobalSubtle),defaultBorderWidth:me.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:me.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:me.extend("--ft-combobox-single-select-error-border-color","",Ve.borderErrorPrimary),errorHelperTextColor:me.extend("--ft-combobox-single-select-error-helper-text-color","",Ve.contentErrorPrimary),warningBorderWidth:me.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:me.extend("--ft-combobox-single-select-warning-border-color","",Ve.borderWarningPrimary),warningHelperTextColor:me.extend("--ft-combobox-single-select-warning-helper-text-color","",Ve.contentWarningPrimary),warningHelperIconColor:me.extend("--ft-combobox-single-select-warning-helper-icon-color","",Ve.contentWarningIconOnly),focusOutlineWidth:me.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-combobox-single-select-focus-focus-ring-color","",Ve.borderActionFocusRing),focusOutlineOffset:me.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:me.extend("--ft-combobox-single-select-disabled-component-opacity","",xe.opacity40)},nr={backgroundColor:me.extend("--ft-combobox-multi-select-background-color","",xe.colorWhite),labelColor:me.extend("--ft-combobox-multi-select-label-color","",Ve.contentGlobalSubtle),trailingIconColor:me.extend("--ft-combobox-multi-select-trailing-icon-color","",Ve.contentGlobalSubtle),defaultBorderColor:me.extend("--ft-combobox-multi-select-default-border-color","",Ve.borderInputPrimary),defaultHelperTextColor:me.extend("--ft-combobox-multi-select-default-helper-text-color","",Ve.contentGlobalSubtle),defaultBorderWidth:me.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:me.extend("--ft-combobox-multi-select-error-border-color","",Ve.borderErrorPrimary),errorHelperTextColor:me.extend("--ft-combobox-multi-select-error-helper-text-color","",Ve.contentErrorPrimary),errorHelperIcon:me.extend("--ft-combobox-multi-select-error-helper-icon","",Ve.contentErrorIconOnly),errorBorderWidth:me.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:me.extend("--ft-combobox-multi-select-warning-border-color","",Ve.borderWarningPrimary),warningHelperTextColor:me.extend("--ft-combobox-multi-select-warning-helper-text-color","",Ve.contentWarningPrimary),warningHelperIconColor:me.extend("--ft-combobox-multi-select-warning-helper-icon-color","",Ve.contentWarningIconOnly),warningBorderWidth:me.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-combobox-multi-select-focus-focus-ring-color","",Ve.borderActionFocusRing),focusOutlineWidth:me.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:me.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:me.extend("--ft-combobox-multi-select-disabled-component-opacity","",xe.opacity40),helperHorizontalPadding:me.extend("--ft-combobox-multi-select-helper-horizontal-padding","",xe.spacing4),helperHorizontalGap:me.extend("--ft-combobox-multi-select-helper-horizontal-gap","",xe.spacing1),helperVerticalGap:me.extend("--ft-combobox-multi-select-helper-vertical-gap","",xe.spacing1),helperIconSize:me.extend("--ft-combobox-multi-select-helper-icon-size","",xe.iconSize2),fieldHorizontalPadding:me.extend("--ft-combobox-multi-select-field-horizontal-padding","",xe.spacing4),fieldHorizontalGap:me.extend("--ft-combobox-multi-select-field-horizontal-gap","",xe.spacing3),fieldVerticalGap:me.extend("--ft-combobox-multi-select-field-vertical-gap","",xe.spacing05),fieldIconSize:me.extend("--ft-combobox-multi-select-field-icon-size","",xe.iconSize3),fieldMaxHeight:me.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:me.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",xe.spacing1),contentValuesVerticalGap:me.extend("--ft-combobox-multi-select-content-values-vertical-gap","",xe.spacing1),borderRadius:me.extend("--ft-combobox-multi-select-border-radius","",xe.borderRadiusM)},ar={backgroundColor:me.extend("--ft-popover-background-color","",Ve.backgroundGlobalOnSurface),horizontalPadding:me.extend("--ft-popover-horizontal-padding","",xe.spacing6),verticalPadding:me.extend("--ft-popover-vertical-padding","",xe.spacing6),iconColor:me.extend("--ft-popover-icon-color","",Ve.contentGlobalSecondary),iconSize:me.extend("--ft-popover-icon-size","",xe.iconSize2),titleColor:me.extend("--ft-popover-title-color","",Ve.contentGlobalPrimary),bodyColor:me.extend("--ft-popover-body-color","",Ve.contentGlobalSecondary),linkColor:me.extend("--ft-popover-link-color","",Ve.contentActionPrimary),gap:me.extend("--ft-popover-gap","",xe.spacing3),borderRadius:me.extend("--ft-popover-border-radius","",xe.borderRadiusM),shadow:me.extend("--ft-popover-shadow","",xe.shadowElevation02)},lr={topLeftBorderRadius:me.extend("--ft-tabs-top-left-border-radius","",xe.borderRadiusS),topRightBorderRadius:me.extend("--ft-tabs-top-right-border-radius","",xe.borderRadiusS),labelHorizontalPadding:me.extend("--ft-tabs-label-horizontal-padding","",xe.spacing4),labelVerticalPadding:me.extend("--ft-tabs-label-vertical-padding","",xe.spacing3),labelGap:me.extend("--ft-tabs-label-gap","",xe.spacing1),offHoverStateLayerOpacity:me.extend("--ft-tabs-off-hover-state-layer-opacity","",xe.opacity8),offFocusStateLayerOpacity:me.extend("--ft-tabs-off-focus-state-layer-opacity","",xe.opacity8),offActiveStateLayerOpacity:me.extend("--ft-tabs-off-active-state-layer-opacity","",xe.opacity16),offDisabledComponentOpacity:me.extend("--ft-tabs-off-disabled-component-opacity","",xe.opacity40),offColor:me.extend("--ft-tabs-off-color","",Ve.contentGlobalSubtle),offStateLayerColor:me.extend("--ft-tabs-off-state-layer-color","",Ve.contentGlobalSubtle),onHoverStateLayerOpacity:me.extend("--ft-tabs-on-hover-state-layer-opacity","",xe.opacity8),onFocusStateLayerOpacity:me.extend("--ft-tabs-on-focus-state-layer-opacity","",xe.opacity8),onActiveStateLayerOpacity:me.extend("--ft-tabs-on-active-state-layer-opacity","",xe.opacity16),onDisabledComponentOpacity:me.extend("--ft-tabs-on-disabled-component-opacity","",xe.opacity40),onColor:me.extend("--ft-tabs-on-color","",Ve.contentActionPrimary),onStateLayerColor:me.extend("--ft-tabs-on-state-layer-color","",Ve.contentActionPrimary),iconHorizontalPadding:me.extend("--ft-tabs-icon-horizontal-padding","",xe.spacing1),iconVerticalPadding:me.extend("--ft-tabs-icon-vertical-padding","",xe.spacing4),focusOutlineWidth:me.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-tabs-focus-focus-ring-color","",Ve.borderActionFocusRing)},sr={hoverStateLayerOpacity:me.extend("--ft-collapsible-hover-state-layer-opacity","",xe.opacity8),focusStateLayerOpacity:me.extend("--ft-collapsible-focus-state-layer-opacity","",xe.opacity8),focusOutlineWidth:me.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:me.extend("--ft-collapsible-focus-focus-ring-color","",Ve.borderActionFocusRing),activeStateLayerOpacity:me.extend("--ft-collapsible-active-state-layer-opacity","",xe.opacity16),disabledComponentOpacity:me.extend("--ft-collapsible-disabled-component-opacity","",xe.opacity40),horizontalPadding:me.extend("--ft-collapsible-horizontal-padding","",xe.spacing4),verticalPadding:me.extend("--ft-collapsible-vertical-padding","",xe.spacing3),color:me.extend("--ft-collapsible-color","",Ve.contentGlobalPrimary),stateLayerColor:me.extend("--ft-collapsible-state-layer-color","",Ve.contentGlobalPrimary),backgroundColor:me.extend("--ft-collapsible-background-color","",Ve.backgroundGlobalOnSurface),borderColor:me.extend("--ft-collapsible-border-color","",Ve.borderGlobalSubtle),iconSize:me.extend("--ft-collapsible-icon-size","",xe.iconSize3)},cr={groupHorizontalPadding:me.extend("--ft-switch-group-horizontal-padding","",xe.spacing1),groupVerticalPadding:me.extend("--ft-switch-group-vertical-padding","",xe.spacing1),groupGap:me.extend("--ft-switch-group-gap","",xe.spacing1),groupBackgroundColor:me.extend("--ft-switch-group-background-color","",Ve.backgroundGlobalSurface),groupBorderColor:me.extend("--ft-switch-group-border-color","",Ve.borderGlobalSubtle),groupBorderRadius:me.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:me.extend("--ft-switch-label-horizontal-padding","",xe.spacing2),labelVerticalPadding:me.extend("--ft-switch-label-vertical-padding","",xe.spacing1),offHoverStateLayerOpacity:me.extend("--ft-switch-off-hover-state-layer-opacity","",xe.opacity8),offFocusStateLayerOpacity:me.extend("--ft-switch-off-focus-state-layer-opacity","",xe.opacity8),offActiveStateLayerOpacity:me.extend("--ft-switch-off-active-state-layer-opacity","",xe.opacity16),offDisabledComponentOpacity:me.extend("--ft-switch-off-disabled-component-opacity","",xe.opacity40),offColor:me.extend("--ft-switch-off-color","",Ve.contentGlobalSubtle),offStateLayerColor:me.extend("--ft-switch-off-state-layer-color","",Ve.contentGlobalSubtle),onHoverStateLayerOpacity:me.extend("--ft-switch-on-hover-state-layer-opacity","",xe.opacity8),onFocusStateLayerOpacity:me.extend("--ft-switch-on-focus-state-layer-opacity","",xe.opacity8),onActiveStateLayerOpacity:me.extend("--ft-switch-on-active-state-layer-opacity","",xe.opacity16),onDisabledComponentOpacity:me.extend("--ft-switch-on-disabled-component-opacity","",xe.opacity40),onColor:me.extend("--ft-switch-on-color","",Ve.contentActionPrimary),onStateLayerColor:me.extend("--ft-switch-on-state-layer-color","",Ve.contentActionPrimary),iconHorizontalPadding:me.extend("--ft-switch-icon-horizontal-padding","",xe.spacing1),iconVerticalPadding:me.extend("--ft-switch-icon-vertical-padding","",xe.spacing1),focusOutlineWidth:me.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-switch-focus-focus-ring-color","",Ve.borderActionFocusRing),optionBorderRadius:me.extend("--ft-switch-option-border-radius","",xe.borderRadiusS)},fr={color1Light:me.extend("--ft-chart-1-light","for area color charts",xe.colorBrand40),color1Base:me.extend("--ft-chart-1-base","for line charts",xe.colorBrand0),color2Light:me.extend("--ft-chart-2-light","for area color charts",xe.colorYellow60),color2Base:me.extend("--ft-chart-2-base","for line charts",xe.colorYellow100),color3Light:me.extend("--ft-chart-3-light","",xe.colorUltramarine40),color3Base:me.extend("--ft-chart-3-base","",xe.colorUltramarine70),color4Light:me.extend("--ft-chart-4-light","",xe.colorCyan50),color4Base:me.extend("--ft-chart-4-base","",xe.colorCyan100),color5Light:me.extend("--ft-chart-5-light","",xe.colorRed40),color5Base:me.extend("--ft-chart-5-base","",xe.colorRed60),color6Light:me.extend("--ft-chart-6-light","",xe.colorGreen40),color6Base:me.extend("--ft-chart-6-base","",xe.colorGreen70),color7Light:me.extend("--ft-chart-7-light","",xe.colorOrange70),color7Base:me.extend("--ft-chart-7-base","",xe.colorOrange100),color8Light:me.extend("--ft-chart-8-light","",xe.colorAvocado70),color8Base:me.extend("--ft-chart-8-base","",xe.colorAvocado200),color9Light:me.extend("--ft-chart-9-light","",xe.colorBrown50),color9Base:me.extend("--ft-chart-9-base","",xe.colorBrown200),color10Light:me.extend("--ft-chart-10-light","",xe.colorGray50),color10Base:me.extend("--ft-chart-10-base","",xe.colorGray80),monochrome10:me.extend("--ft-chart-monochrome-10","",xe.colorBrand10),monochrome20:me.extend("--ft-chart-monochrome-20","",xe.colorBrand20),monochrome30:me.extend("--ft-chart-monochrome-30","",xe.colorBrand40),monochrome40:me.extend("--ft-chart-monochrome-40","",xe.colorBrand60),monochrome50:me.extend("--ft-chart-monochrome-50","",xe.colorBrand0),monochrome60:me.extend("--ft-chart-monochrome-60","",xe.colorBrand200)},pr={largeHorizontalPadding:me.extend("--ft-chip-large-horizontal-padding","",xe.spacing4),largeVerticalPadding:me.extend("--ft-chip-large-vertical-padding","",xe.spacing2),largeGap:me.extend("--ft-chip-large-gap","",xe.spacing1),largeFocusOutlineOffset:me.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:me.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:me.extend("--ft-chip-large-border-radius","",xe.borderRadiusPill),largeBorderWidth:me.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:me.extend("--ft-chip-large-icon-size","",xe.iconSize3),mediumHorizontalPadding:me.extend("--ft-chip-medium-horizontal-padding","",xe.spacing3),mediumVerticalPadding:me.extend("--ft-chip-medium-vertical-padding","",xe.spacing1),mediumGap:me.extend("--ft-chip-medium-gap","",xe.spacing1),mediumFocusOutlineOffset:me.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:me.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:me.extend("--ft-chip-medium-border-radius","",xe.borderRadiusPill),mediumBorderWidth:me.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:me.extend("--ft-chip-medium-icon-size","",xe.iconSize2),smallHorizontalPadding:me.extend("--ft-chip-small-horizontal-padding","",xe.spacing2),smallVerticalPadding:me.extend("--ft-chip-small-vertical-padding","",xe.spacing05),smallGap:me.extend("--ft-chip-small-gap","",xe.spacing1),smallFocusOutlineOffset:me.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:me.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:me.extend("--ft-chip-small-border-radius","",xe.borderRadiusPill),smallBorderWidth:me.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:me.extend("--ft-chip-small-icon-size","",xe.iconSize1),neutralBackgroundColor:me.extend("--ft-chip-neutral-background-color","",Ve.backgroundGlobalOnSurface),neutralColor:me.extend("--ft-chip-neutral-color","",Ve.contentGlobalPrimary),neutralIconColor:me.extend("--ft-chip-neutral-icon-color","",Ve.contentGlobalPrimary),neutralBorderColor:me.extend("--ft-chip-neutral-border-color","",Ve.borderGlobalSubtle),infoBackgroundColor:me.extend("--ft-chip-info-background-color","",Ve.backgroundInfoSubtle),infoColor:me.extend("--ft-chip-info-color","",Ve.contentInfoPrimary),infoIconColor:me.extend("--ft-chip-info-icon-color","",Ve.contentInfoIconOnly),infoBorderColor:me.extend("--ft-chip-info-border-color","",Ve.borderInfoSubtle),successBackgroundColor:me.extend("--ft-chip-success-background-color","",Ve.backgroundSuccessSubtle),successColor:me.extend("--ft-chip-success-color","",Ve.contentSuccessPrimary),successIconColor:me.extend("--ft-chip-success-icon-color","",Ve.contentSuccessIconOnly),successBorderColor:me.extend("--ft-chip-success-border-color","",Ve.borderSuccessSubtle),warningBackgroundColor:me.extend("--ft-chip-warning-background-color","",Ve.backgroundWarningSubtle),warningColor:me.extend("--ft-chip-warning-color","",Ve.contentWarningPrimary),warningIconColor:me.extend("--ft-chip-warning-icon-color","",Ve.contentWarningIconOnly),warningBorderColor:me.extend("--ft-chip-warning-border-color","",Ve.borderWarningSubtle),errorBackgroundColor:me.extend("--ft-chip-error-background-color","",Ve.backgroundErrorSubtle),errorColor:me.extend("--ft-chip-error-color","",Ve.contentErrorPrimary),errorIconColor:me.extend("--ft-chip-error-icon-color","",Ve.contentErrorIconOnly),errorBorderColor:me.extend("--ft-chip-error-border-color","",Ve.borderErrorSubtle)},dr={infoBorderColor:me.extend("--ft-border-info-border-color","",Ve.borderInfoSubtle)},hr={borderWidth:me.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:me.extend("--ft-notice-horizontal-padding","",xe.spacing2),verticalPadding:me.extend("--ft-notice-vertical-padding","",xe.spacing1),borderRadius:me.extend("--ft-notice-border-radius","",xe.borderRadiusS),gap:me.extend("--ft-notice-gap","",xe.spacing2),iconSize:me.extend("--ft-notice-icon-size","",xe.iconSize3),infoBackgroundColor:me.extend("--ft-notice-info-background-color","",Ve.backgroundInfoSubtle),infoBorderColor:me.extend("--ft-notice-info-border-color","",Ve.borderInfoSubtle),infoColor:me.extend("--ft-notice-info-color","",Ve.contentInfoPrimary),infoIconColor:me.extend("--ft-notice-info-icon-color","",Ve.contentInfoIconOnly),warningBackgroundColor:me.extend("--ft-notice-warning-background-color","",Ve.backgroundWarningSubtle),warningBorderColor:me.extend("--ft-notice-warning-border-color","",Ve.borderWarningSubtle),warningColor:me.extend("--ft-notice-warning-color","",Ve.contentWarningPrimary),warningIconColor:me.extend("--ft-notice-warning-icon-color","",Ve.contentWarningIconOnly),errorBackgroundColor:me.extend("--ft-notice-error-background-color","",Ve.backgroundErrorSubtle),errorBorderColor:me.extend("--ft-notice-error-border-color","",Ve.borderErrorSubtle),errorColor:me.extend("--ft-notice-error-color","",Ve.contentErrorPrimary),errorIconColor:me.extend("--ft-notice-error-icon-color","",Ve.contentErrorIconOnly),successBackgroundColor:me.extend("--ft-notice-success-background-color","",Ve.backgroundSuccessSubtle),successBorderColor:me.extend("--ft-notice-success-border-color","",Ve.borderSuccessSubtle),successColor:me.extend("--ft-notice-success-color","",Ve.contentSuccessPrimary),successIconColor:me.extend("--ft-notice-success-icon-color","",Ve.contentSuccessIconOnly)},ur={color:me.extend("--ft-checkbox-color","",Ve.contentGlobalPrimary),checkedBackgroundColor:me.extend("--ft-checkbox-checked-background-color","",Ve.contentActionPrimary),checkedStateLayerColor:me.extend("--ft-checkbox-checked-state-layer-color","",Ve.contentActionPrimary),checkedIconColor:me.extend("--ft-checkbox-checked-icon-color","",Ve.contentGlobalOnColor),checkedHoverStateLayerOpacity:me.extend("--ft-checkbox-checked-hover-state-layer-opacity","",xe.opacity16),checkedFocusStateLayerOpacity:me.extend("--ft-checkbox-checked-focus-state-layer-opacity","",xe.opacity16),checkedActiveStateLayerOpacity:me.extend("--ft-checkbox-checked-active-state-layer-opacity","",xe.opacity24),checkedDisabledComponentOpacity:me.extend("--ft-checkbox-checked-disabled-component-opacity","",xe.opacity40),uncheckedBorderColor:me.extend("--ft-checkbox-unchecked-border-color","",xe.colorGray80),uncheckedStateLayerColor:me.extend("--ft-checkbox-unchecked-state-layer-color","",xe.colorGray80),uncheckedHoverStateLayerOpacity:me.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",xe.opacity16),uncheckedFocusStateLayerOpacity:me.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",xe.opacity16),uncheckedActiveStateLayerOpacity:me.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",xe.opacity24),uncheckedDisabledComponentOpacity:me.extend("--ft-checkbox-unchecked-disabled-component-opacity","",xe.opacity40),focusFocusRingColor:me.extend("--ft-checkbox-focus-focus-ring-color","",Ve.borderActionFocusRing),focusOutlineOffset:me.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:me.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:me.extend("--ft-checkbox-gap","",xe.spacing3)},gr={offHoverStateLayerOpacity:me.extend("--ft-toggle-off-hover-state-layer-opacity","",xe.opacity16),offFocusStateLayerOpacity:me.extend("--ft-toggle-off-focus-state-layer-opacity","",xe.opacity16),offActiveStateLayerOpacity:me.extend("--ft-toggle-off-active-state-layer-opacity","",xe.opacity24),offDisabledComponentOpacity:me.extend("--ft-toggle-off-disabled-component-opacity","",xe.opacity40),offBackgroundColor:me.extend("--ft-toggle-off-background-color","",Ve.contentGlobalSubtle),offIconColor:me.extend("--ft-toggle-off-icon-color","",Ve.contentGlobalSubtle),offStateLayerColor:me.extend("--ft-toggle-off-state-layer-color","",Ve.contentGlobalSubtle),onHoverStateLayerOpacity:me.extend("--ft-toggle-on-hover-state-layer-opacity","",xe.opacity16),onFocusStateLayerOpacity:me.extend("--ft-toggle-on-focus-state-layer-opacity","",xe.opacity16),onActiveStateLayerOpacity:me.extend("--ft-toggle-on-active-state-layer-opacity","",xe.opacity24),onDisabledComponentOpacity:me.extend("--ft-toggle-on-disabled-component-opacity","",xe.opacity40),onBackgroundColor:me.extend("--ft-toggle-on-background-color","",Ve.contentActionPrimary),onStateLayerColor:me.extend("--ft-toggle-on-state-layer-color","",Ve.contentActionPrimary),onIconColor:me.extend("--ft-toggle-on-icon-color","",Ve.contentActionPrimary),color:me.extend("--ft-toggle-color","",Ve.contentGlobalPrimary),focusFocusRingColor:me.extend("--ft-toggle-focus-focus-ring-color","",Ve.borderActionFocusRing),gap:me.extend("--ft-toggle-gap","",xe.spacing3)},yr={color:me.extend("--ft-radio-color","",Ve.contentGlobalPrimary),selectedRadioColor:me.extend("--ft-radio-selected-radio-color","",Ve.contentActionPrimary),selectedStateLayerColor:me.extend("--ft-radio-selected-state-layer-color","",Ve.contentActionPrimary),selectedHoverStateLayerOpacity:me.extend("--ft-radio-selected-hover-state-layer-opacity","",xe.opacity16),selectedFocusStateLayerOpacity:me.extend("--ft-radio-selected-focus-state-layer-opacity","",xe.opacity16),selectedActiveStateLayerOpacity:me.extend("--ft-radio-selected-active-state-layer-opacity","",xe.opacity24),selectedDisabledComponentOpacity:me.extend("--ft-radio-selected-disabled-component-opacity","",xe.opacity40),unselectedStateLayerColor:me.extend("--ft-radio-unselected-state-layer-color","",Ve.borderInputPrimary),unselectedBorderColor:me.extend("--ft-radio-unselected-border-color","",Ve.borderInputPrimary),unselectedHoverStateLayerOpacity:me.extend("--ft-radio-unselected-hover-state-layer-opacity","",xe.opacity16),unselectedFocusStateLayerOpacity:me.extend("--ft-radio-unselected-focus-state-layer-opacity","",xe.opacity16),unselectedActiveStateLayerOpacity:me.extend("--ft-radio-unselected-active-state-layer-opacity","",xe.opacity24),unselectedDisabledComponentOpacity:me.extend("--ft-radio-unselected-disabled-component-opacity","",xe.opacity40),focusFocusRingColor:me.extend("--ft-radio-focus-focus-ring-color","",Ve.borderActionFocusRing),focusOutlineOffset:me.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:me.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:me.extend("--ft-radio-gap","",xe.spacing3)},br={iconSize:me.extend("--ft-notification-icon-size","",xe.iconSize4),horizontalPadding:me.extend("--ft-notification-horizontal-padding","",xe.spacing4),verticalPadding:me.extend("--ft-notification-vertical-padding","",xe.spacing4),infoBackgroundColor:me.extend("--ft-notification-info-background-color","",Ve.backgroundInfoSubtle),infoColor:me.extend("--ft-notification-info-color","",Ve.contentInfoPrimary),infoIconColor:me.extend("--ft-notification-info-icon-color","",Ve.contentInfoIconOnly),infoBorderColor:me.extend("--ft-notification-info-border-color","",Ve.borderInfoSubtle),successBackgroundColor:me.extend("--ft-notification-success-background-color","",Ve.backgroundSuccessSubtle),successColor:me.extend("--ft-notification-success-color","",Ve.contentSuccessPrimary),successIconColor:me.extend("--ft-notification-success-icon-color","",Ve.contentSuccessIconOnly),successBorderColor:me.extend("--ft-notification-success-border-color","",Ve.borderSuccessSubtle),warningBackgroundColor:me.extend("--ft-notification-warning-background-color","",Ve.backgroundWarningSubtle),warningColor:me.extend("--ft-notification-warning-color","",Ve.contentWarningPrimary),warningIconColor:me.extend("--ft-notification-warning-icon-color","",Ve.contentWarningIconOnly),warningBorderColor:me.extend("--ft-notification-warning-border-color","",Ve.borderWarningSubtle),errorBackgroundColor:me.extend("--ft-notification-error-background-color","",Ve.backgroundErrorSubtle),errorColor:me.extend("--ft-notification-error-color","",Ve.contentErrorPrimary),errorIconColor:me.extend("--ft-notification-error-icon-color","",Ve.contentErrorIconOnly),errorBorderColor:me.extend("--ft-notification-error-border-color","",Ve.borderErrorSubtle),borderRadius:me.extend("--ft-notification-border-radius","",xe.borderRadiusPill),borderWidth:me.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:me.extend("--ft-notification-leading-gap","",xe.spacing2),trailingGap:me.extend("--ft-notification-trailing-gap","",xe.spacing8)},mr={horizontalPadding:me.extend("--ft-tooltip-horizontal-padding","",xe.spacing2),verticalPadding:me.extend("--ft-tooltip-vertical-padding","",xe.spacing2),borderRadius:me.extend("--ft-tooltip-border-radius","",xe.borderRadiusS),color:me.extend("--ft-tooltip-color","",Ve.contentGlobalOnColor),backgroundColor:me.extend("--ft-tooltip-background-color","",Ve.contentGlobalPrimary),backgroundOpacity:me.extend("--ft-tooltip-background-opacity","",xe.opacity80),shadow:me.extend("--ft-tooltip-shadow","",xe.shadowElevation03),maxWidth:me.create("--ft-tooltip-max-width","","SIZE","256px"),gap:me.extend("--ft-tooltip-gap","",xe.spacing05)};var vr=Object.freeze({__proto__:null,FtCssVariableFactory:me,banner:Ye,border:dr,breadcrumb:Je,button:qe,chart:fr,checkbox:ur,chip:pr,collapsible:sr,comboboxMultiSelect:nr,comboboxSingleSelect:ir,drawer:tr,floatingMenu:rr,foundation:xe,modal:Qe,notice:hr,notification:br,pageHeader:Xe,popover:ar,radio:yr,semantic:Ve,setVariable:ve,switch_:cr,tabs:lr,textArea:er,textInput:or,toggle:gr,tooltip:mr,typographies:Ge,typographyBody1Medium:Ee,typographyBody1Regular:Ne,typographyBody1Semibold:$e,typographyBody2Medium:Re,typographyBody2MediumUnderline:ke,typographyBody2Regular:Ie,typographyBody2Semibold:Le,typographyCaption1Bold:_e,typographyCaption1Medium:Ae,typographyCaption1Semibold:Ze,typographyCaption2Bold:Me,typographyCaption2Medium:Pe,typographyCaption2Semibold:Ke,typographyCaption3Bold:Te,typographyCaption3Medium:De,typographyCaption3Semibold:He,typographyDisplay:Oe,typographyLabel1Bold:ze,typographyLabel1Medium:Ue,typographyLabel1Semibold:We,typographyLabel2Bold:je,typographyLabel2Medium:Be,typographyLabel2Semibold:Fe,typographyTitle1:we,typographyTitle2:Se,typographyTitle3:Ce,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});const xr={colorPrimary:me.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:me.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:me.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:me.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:me.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:me.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:me.create("--ft-color-error","","COLOR","#B00020"),colorOutline:me.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:me.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:me.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:me.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:me.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:me.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:me.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:me.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:me.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:me.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:me.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:me.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:me.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:me.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:me.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:me.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:me.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:me.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:me.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:me.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:me.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:me.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:me.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:me.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:me.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:me.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:me.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:me.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:me.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:me.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:me.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:me.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:me.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:me.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:me.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:me.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:me.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:me.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:me.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:me.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:me.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:me.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:me.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:me.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Or=Object.freeze({__proto__:null,designSystemVariables:xr});class wr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class Sr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class Cr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var Nr=Object.freeze({__proto__:null,FtNotificationEvent:wr,PostResizeEvent:Cr,PreResizeEvent:Sr});const Er=["start","end"],$r=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Er[0],o+"-"+Er[1])),[]),Ir=Math.min,Rr=Math.max,kr=Math.round,Lr=t=>({x:t,y:t}),Ur={left:"right",right:"left",bottom:"top",top:"bottom"},Wr={start:"end",end:"start"};function zr(t,o,e){return Rr(t,Ir(o,e))}function Br(t,o){return"function"==typeof t?t(o):t}function Fr(t){return t.split("-")[0]}function jr(t){return t.split("-")[1]}function Ar(t){return"x"===t?"y":"x"}function Zr(t){return"y"===t?"height":"width"}function _r(t){return["top","bottom"].includes(Fr(t))?"y":"x"}function Pr(t){return Ar(_r(t))}function Kr(t){return t.replace(/left|right|bottom|top/g,(t=>Ur[t]))}function Mr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Dr(t,o,e){let{reference:r,floating:i}=t;const n=_r(o),a=Pr(o),l=Zr(a),s=Fr(o),c="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(s){case"top":h={x:f,y:r.y-i.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-i.width,y:p};break;default:h={x:r.x,y:r.y}}switch(jr(o)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1)}return h}async function Hr(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=Br(o,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}}(h),g=l[d?"floating"===p?"reference":"floating":p],y=Mr(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Mr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-x.top+u.top)/v.y,bottom:(x.bottom-y.bottom+u.bottom)/v.y,left:(y.left-x.left+u.left)/v.x,right:(x.right-y.right+u.right)/v.x}}function Tr(t,o,e){return(t?[...e.filter((o=>jr(o)===t)),...e.filter((o=>jr(o)!==t))]:e.filter((t=>Fr(t)===t))).filter((e=>!t||(jr(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Wr[t]))}(e)!==e)))}const Gr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:d=$r,autoAlignment:h=!0,...u}=Br(t,o),g=void 0!==p||d===$r?Tr(p||null,h,d):d,y=await Hr(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const r=jr(t),i=Pr(t),n=Zr(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Kr(a)),[a,Kr(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const x=[y[Fr(m)],y[v[0]],y[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const o=jr(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),C=S.filter((t=>t[2].slice(0,jr(t[0])?2:3).every((t=>t<=0)))),N=(null==(i=C[0])?void 0:i[0])||S[0][0];return N!==l?{data:{index:b+1,overflows:O},reset:{placement:N}}:{}}}};function Vr(t){return Jr(t)?(t.nodeName||"").toLowerCase():"#document"}function qr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Yr(t){var o;return null==(o=(Jr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Jr(t){return t instanceof Node||t instanceof qr(t).Node}function Xr(t){return t instanceof Element||t instanceof qr(t).Element}function Qr(t){return t instanceof HTMLElement||t instanceof qr(t).HTMLElement}function ti(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof qr(t).ShadowRoot)}function oi(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=ai(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function ei(t){return["table","td","th"].includes(Vr(t))}function ri(t){const o=ii(),e=ai(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function ii(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ni(t){return["html","body","#document"].includes(Vr(t))}function ai(t){return qr(t).getComputedStyle(t)}function li(t){return Xr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function si(t){if("html"===Vr(t))return t;const o=t.assignedSlot||t.parentNode||ti(t)&&t.host||Yr(t);return ti(o)?o.host:o}function ci(t){const o=si(t);return ni(o)?t.ownerDocument?t.ownerDocument.body:t.body:Qr(o)&&oi(o)?o:ci(o)}function fi(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=ci(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=qr(i);return n?o.concat(a,a.visualViewport||[],oi(i)?i:[],a.frameElement&&e?fi(a.frameElement):[]):o.concat(i,fi(i,[],e))}function pi(t){const o=ai(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Qr(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=kr(e)!==n||kr(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function di(t){return Xr(t)?t:t.contextElement}function hi(t){const o=di(t);if(!Qr(o))return Lr(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=pi(o);let a=(n?kr(e.width):e.width)/r,l=(n?kr(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const ui=Lr(0);function gi(t){const o=qr(t);return ii()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ui}function yi(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=di(t);let a=Lr(1);o&&(r?Xr(r)&&(a=hi(r)):a=hi(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==qr(t))&&o}(n,e,r)?gi(n):Lr(0);let s=(i.left+l.x)/a.x,c=(i.top+l.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=qr(n),o=r&&Xr(r)?qr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=hi(e),o=e.getBoundingClientRect(),r=ai(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=i,c+=n,e=qr(e).frameElement}}return Mr({width:f,height:p,x:s,y:c})}function bi(t){return yi(Yr(t)).left+li(t).scrollLeft}function mi(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=qr(t),r=Yr(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,s=0;if(i){n=i.width,a=i.height;const t=ii();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,s=i.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)r=function(t){const o=Yr(t),e=li(t),r=t.ownerDocument.body,i=Rr(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Rr(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+bi(t);const l=-e.scrollTop;return"rtl"===ai(r).direction&&(a+=Rr(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(Yr(t));else if(Xr(o))r=function(t,o){const e=yi(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Qr(t)?hi(t):Lr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=gi(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Mr(r)}function vi(t,o){const e=si(t);return!(e===o||!Xr(e)||ni(e))&&("fixed"===ai(e).position||vi(e,o))}function xi(t,o,e){const r=Qr(o),i=Yr(o),n="fixed"===e,a=yi(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=Lr(0);if(r||!r&&!n)if(("body"!==Vr(o)||oi(i))&&(l=li(o)),r){const t=yi(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else i&&(s.x=bi(i));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Oi(t,o){return Qr(t)&&"fixed"!==ai(t).position?o?o(t):t.offsetParent:null}function wi(t,o){const e=qr(t);if(!Qr(t))return e;let r=Oi(t,o);for(;r&&ei(r)&&"static"===ai(r).position;)r=Oi(r,o);return r&&("html"===Vr(r)||"body"===Vr(r)&&"static"===ai(r).position&&!ri(r))?e:r||function(t){let o=si(t);for(;Qr(o)&&!ni(o);){if(ri(o))return o;o=si(o)}return null}(t)||e}const Si={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Qr(e),n=Yr(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Lr(1);const s=Lr(0);if((i||!i&&"fixed"!==r)&&(("body"!==Vr(e)||oi(n))&&(a=li(e)),Qr(e))){const t=yi(e);l=hi(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:Yr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=fi(t,[],!1).filter((t=>Xr(t)&&"body"!==Vr(t))),i=null;const n="fixed"===ai(t).position;let a=n?si(t):t;for(;Xr(a)&&!ni(a);){const o=ai(a),e=ri(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||oi(a)&&!e&&vi(t,a))?r=r.filter((t=>t!==a)):i=o,a=si(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=mi(o,e,i);return t.top=Rr(r.top,t.top),t.right=Ir(r.right,t.right),t.bottom=Ir(r.bottom,t.bottom),t.left=Rr(r.left,t.left),t}),mi(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:wi,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||wi,n=this.getDimensions;return{reference:xi(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return pi(t)},getScale:hi,isElement:Xr,isRTL:function(t){return"rtl"===ai(t).direction}},Ci=(t,o,e)=>{const r=new Map,i={platform:Si,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:f,y:p}=Dr(c,r,s),d=r,h={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:y,y:b,data:m,reset:v}=await g({x:f,y:p,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=y?y:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):v.rects),({x:f,y:p}=Dr(c,d,s))),e=-1)}return{x:f,y:p,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function Ni(t){return function(t){for(let o=t;o;o=Ei(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ei(t);o;o=Ei(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Ei(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function $i(t,o,e){return Ci(t,o,{platform:{...Si,getOffsetParent:t=>Si.getOffsetParent(t,Ni)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=Br(r,t),c={x:o,y:e},f=await Hr(t,s),p=_r(Fr(i)),d=Ar(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=zr(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=zr(u+f["y"===p?"top":"left"],u,u-f[t])}const g=l.fn({...t,[d]:h,[p]:u});return{...g,data:{x:g.x-o,y:g.y-e}}}}),Gr({allowedPlacements:[e]})]});var r}var Ii=Object.freeze({__proto__:null,computeOffsetPosition:$i});
136
- /**
137
- * @license
138
- * Copyright 2019 Google LLC
139
- * SPDX-License-Identifier: BSD-3-Clause
140
- */const Ri=window,ki=Ri.ShadowRoot&&(void 0===Ri.ShadyCSS||Ri.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Li extends mo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{ki?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Ri.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Ui,Wi=Object.freeze({__proto__:null,ScopedRegistryLitElement:Li}),zi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Bi=Symbol("constructorPrototype"),Fi=Symbol("constructorName"),ji=Symbol("exportpartsDebouncer");class Ai extends Li{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[Ui]=new ae(5),this[Fi]=this.constructor.name,this[Bi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fi]&&Object.setPrototypeOf(this,this[Bi])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,e,r;if(this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync(null!==(o=this.customStylesheet)&&void 0!==o?o:"")}catch(t){console.error(t,this.customStylesheet)}}else if((null!==(r=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==r?r:[]).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(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[ji].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,a;const l=t=>null!=t&&t.trim().length>0,s=t.filter(l).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=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(...o,...e).filter(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ui=ji,zi([So()],Ai.prototype,"exportpartsPrefix",void 0),zi([ue([])],Ai.prototype,"exportpartsPrefixes",void 0),zi([So()],Ai.prototype,"customStylesheet",void 0);var Zi=Object.freeze({__proto__:null,FtLitElement:Ai}),_i=Object.freeze({__proto__:null});class Pi{constructor(t,o=!0,e=[],r=5e3){this.ctx=t,this.iframes=o,this.exclude=e,this.iframesTimeout=r}static matches(t,o){const e="string"==typeof o?[o]:o,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let o=!1;return e.every((e=>!r.call(t,e)||(o=!0,!1))),o}return!1}getContexts(){let t,o=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const e=o.filter((o=>o.contains(t))).length>0;-1!==o.indexOf(t)||e||o.push(t)})),o}getIframeContents(t,o,e=(()=>{})){let r;try{const o=t.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(t){e()}r&&o(r)}isIframeBlank(t){const o="about:blank",e=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&e!==o&&e}observeIframeLoad(t,o,e){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,o,e))}catch(t){e()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,o,e){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,o,e):this.getIframeContents(t,o,e):this.observeIframeLoad(t,o,e)}catch(t){e()}}waitForIframes(t,o){let e=0;this.forEachIframe(t,(()=>!0),(t=>{e++,this.waitForIframes(t.querySelector("html"),(()=>{--e||o()}))}),(t=>{t||o()}))}forEachIframe(t,o,e,r=(()=>{})){let i=t.querySelectorAll("iframe"),n=i.length,a=0;i=Array.prototype.slice.call(i);const l=()=>{--n<=0&&r(a)};n||l(),i.forEach((t=>{Pi.matches(t,this.exclude)?l():this.onIframeReady(t,(r=>{o(t)&&(a++,e(r)),l()}),l)}))}createIterator(t,o,e){return document.createNodeIterator(t,o,e,!1)}createInstanceOnIframe(t){return new Pi(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,e){if(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING){if(null===o)return!0;if(o.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const o=t.previousNode();let e;return e=(null===o||t.nextNode())&&t.nextNode(),{prevNode:o,node:e}}checkIframeFilter(t,o,e,r){let i=!1,n=!1;return r.forEach(((t,o)=>{t.val===e&&(i=o,n=t.handled)})),this.compareNodeIframe(t,o,e)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:e,handled:!0}),!0):(!1===i&&r.push({val:e,handled:!1}),!1)}handleOpenIframes(t,o,e,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(o,e,r)}))}))}iterateThroughNodes(t,o,e,r,i){const n=this.createIterator(o,t,r);let a,l,s=[],c=[],f=()=>(({prevNode:l,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,l,t,s)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>c.push(t)),r)})),c.push(a);c.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(s,t,e,r),i()}forEachNode(t,o,e,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,o,e,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const Ki=function(t){const o=new class{constructor(t){this.ctx=t,this.ie=!1;const o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Pi(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){const e=this.opt.log;this.opt.debug&&"object"==typeof e&&"function"==typeof e[o]&&e[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const o=this.opt.synonyms,e=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in o)if(o.hasOwnProperty(i)){const n=o[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==l&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(l)})`,`gm${e}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(l)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let o="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,o,e)=>{let r=e.charAt(o+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let o=[];const e=this.opt.ignorePunctuation;return Array.isArray(e)&&e.length&&o.push(this.escapeStr(e.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){const o=this.opt.caseSensitive?"":"i",e=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((i=>{e.every((e=>{if(-1!==e.indexOf(i)){if(r.indexOf(e)>-1)return!1;t=t.replace(new RegExp(`[${e}]`,`gm${o}`),`[${e}]`),r.push(e)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let o=this.opt.accuracy,e="string"==typeof o?o:o.value,r="string"==typeof o?[]:o.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),e){case"partially":default:return`()(${t})`;case"complementary":return i="\\s"+(i||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${i}]*${t}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${t})(?=$|\\s${i})`}}getSeparatedKeywords(t){let o=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===o.indexOf(t)&&o.push(t)})):t.trim()&&-1===o.indexOf(t)&&o.push(t)})),{keywords:o.sort(((t,o)=>o.length-t.length)),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const o=[];let e=0;return t.sort(((t,o)=>t.start-o.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,e);n&&(t.start=r,t.length=i-r,o.push(t),e=i)})),o}callNoMatchOnInvalidRanges(t,o){let e,r,i=!1;return t&&void 0!==t.start?(e=parseInt(t.start,10),r=e+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-o>0&&r-e>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:e,end:r,valid:i}}checkWhitespaceRanges(t,o,e){let r,i=!0,n=e.length,a=o-n,l=parseInt(t.start,10)-a;return l=l>n?n:l,r=l+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),l<0||r-l<0||l>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===e.substring(l,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:l,end:r,valid:i}}getTextNodes(t){let o="",e=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{e.push({start:o.length,end:(o+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:o,nodes:e})}))}matchesExclude(t){return Pi.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,e){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(o),n=i.splitText(e-o);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=i.textContent,i.parentNode.replaceChild(a,i),n}wrapRangeInMappedTextNode(t,o,e,r,i){t.nodes.every(((n,a)=>{const l=t.nodes[a+1];if(void 0===l||l.start>o){if(!r(n.node))return!1;const l=o-n.start,s=(e>n.end?n.end:e)-n.start,c=t.value.substr(0,n.start),f=t.value.substr(s+n.start);if(n.node=this.wrapRangeInTextNode(n.node,l,s),t.value=c+f,t.nodes.forEach(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=s),t.nodes[e].end-=s)})),e-=s,i(n.node.previousSibling,n.start),!(e>n.end))return!1;o=n.end}return!0}))}wrapMatches(t,o,e,r,i){const n=0===o?0:o+1;this.getTextNodes((o=>{o.nodes.forEach((o=>{let i;for(o=o.node;null!==(i=t.exec(o.textContent))&&""!==i[n];){if(!e(i[n],o))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;o=this.wrapRangeInTextNode(o,a,a+i[n].length),r(o.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,o,e,r,i){const n=0===o?0:o+1;this.getTextNodes((o=>{let a;for(;null!==(a=t.exec(o.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const l=i+a[n].length;this.wrapRangeInMappedTextNode(o,i,l,(t=>e(a[n],t)),((o,e)=>{t.lastIndex=e,r(o)}))}i()}))}wrapRangeFromIndex(t,o,e,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:l,valid:s}=this.checkWhitespaceRanges(t,n,i.value);s&&this.wrapRangeInMappedTextNode(i,a,l,(e=>o(e,t,i.value.substring(a,l),r)),(o=>{e(o,t)}))})),r()}))}unwrapMatches(t){const o=t.parentNode;let e=document.createDocumentFragment();for(;t.firstChild;)e.appendChild(t.removeChild(t.firstChild));o.replaceChild(e,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let e=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,o)=>this.opt.filter(o,t,e)),(t=>{e++,this.opt.each(t)}),(()=>{0===e&&this.opt.noMatch(t),this.opt.done(e)}))}mark(t,o){this.opt=o;let e=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",l=t=>{let o=new RegExp(this.createRegExp(t),`gm${a}`),s=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,s)),(t=>{s++,e++,this.opt.each(t)}),(()=>{0===s&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(e):l(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(e):l(i[0])}markRanges(t,o){this.opt=o;let e=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,o,e,r)=>this.opt.filter(t,o,e,r)),((t,o)=>{e++,this.opt.each(t,o)}),(()=>{this.opt.done(e)}))):this.opt.done(e)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const e=Pi.matches(t,o),r=this.matchesExclude(t);return!e||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,e)=>(o.mark(t,e),this),this.markRegExp=(t,e)=>(o.markRegExp(t,e),this),this.markRanges=(t,e)=>(o.markRanges(t,e),this),this.unmark=t=>(o.unmark(t),this),this},Mi=me.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Di=dt`
1
+ "use strict";(()=>{var fc=Object.defineProperty;var U=(e,t)=>{for(var o in t)fc(e,o,{get:t[o],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(x,b){if(x=x.toLowerCase(),this._getDefinition(x)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${x}" has already been used with this registry`);if(this._definitionsByClass.get(b)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=b.prototype.attributeChangedCallback,L=new Set(b.observedAttributes||[]);m(b,L,S);let D={elementClass:b,connectedCallback:b.prototype.connectedCallback,disconnectedCallback:b.prototype.disconnectedCallback,adoptedCallback:b.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:b.formAssociated,formAssociatedCallback:b.prototype.formAssociatedCallback,formDisabledCallback:b.prototype.formDisabledCallback,formResetCallback:b.prototype.formResetCallback,formStateRestoreCallback:b.prototype.formStateRestoreCallback,observedAttributes:L};this._definitionsByTag.set(x,D),this._definitionsByClass.set(b,D);let ot=o.call(n,x);ot||(ot=u(x),t.call(n,x,ot)),this===window.customElements&&(s.set(b,D),D.standInClass=ot);let W=this._awaitingUpgrade.get(x);if(W){this._awaitingUpgrade.delete(x);for(let T of W)a.delete(T),y(T,D,!0)}let P=this._whenDefinedPromises.get(x);return P!==void 0&&(P.resolve(b),this._whenDefinedPromises.delete(x)),b}upgrade(){E.push(this),n.upgrade.apply(n,arguments),E.pop()}get(x){return this._definitionsByTag.get(x)?.elementClass}_getDefinition(x){return this._definitionsByTag.get(x)}whenDefined(x){let b=this._getDefinition(x);if(b!==void 0)return Promise.resolve(b.elementClass);let S=this._whenDefinedPromises.get(x);return S===void 0&&(S={},S.promise=new Promise(L=>S.resolve=L),this._whenDefinedPromises.set(x,S)),S.promise}_upgradeWhenDefined(x,b,S){let L=this._awaitingUpgrade.get(b);L||this._awaitingUpgrade.set(b,L=new Set),S?L.add(x):L.delete(x)}};let l;window.HTMLElement=function(){let b=l;if(b)return l=void 0,b;let S=s.get(this.constructor);if(!S)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return b=Reflect.construct(e,[],S.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),i.set(b,S),b},window.HTMLElement.prototype=e.prototype;let d=x=>x===document||x instanceof ShadowRoot,h=x=>{let b=x.getRootNode();if(!d(b)){let S=E[E.length-1];if(S instanceof CustomElementRegistry)return S;b=S.getRootNode(),d(b)||(b=c.get(b)?.getRootNode()||document)}return b.customElements},u=x=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let L=h(S)||window.customElements,D=L._getDefinition(x);return D?y(S,D):a.set(S,L),S}connectedCallback(){let S=i.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!0)}disconnectedCallback(){let S=i.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let S=i.get(this);S&&S.formAssociated&&S?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let S=i.get(this);S?.formAssociated&&S?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let S=i.get(this);S?.formAssociated&&S?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let S=i.get(this);S?.formAssociated&&S?.formStateRestoreCallback?.apply(this,arguments)}},m=(x,b,S)=>{if(b.size===0||S===void 0)return;let L=x.prototype.setAttribute;L&&(x.prototype.setAttribute=function(W,P){let T=W.toLowerCase();if(b.has(T)){let M=this.getAttribute(T);L.call(this,T,P),S.call(this,T,M,P)}else L.call(this,T,P)});let D=x.prototype.removeAttribute;D&&(x.prototype.removeAttribute=function(W){let P=W.toLowerCase();if(b.has(P)){let T=this.getAttribute(P);D.call(this,P),S.call(this,P,T,null)}else D.call(this,P)});let ot=x.prototype.toggleAttribute;ot&&(x.prototype.toggleAttribute=function(W,P){let T=W.toLowerCase();if(b.has(T)){let M=this.getAttribute(T);ot.call(this,T,P);let J=this.getAttribute(T);S.call(this,T,M,J)}else ot.call(this,T,P)})},g=x=>{let b=Object.getPrototypeOf(x);if(b!==window.HTMLElement)return b===e?Object.setPrototypeOf(x,window.HTMLElement):g(b)},y=(x,b,S=!1)=>{Object.setPrototypeOf(x,b.elementClass.prototype),i.set(x,b),l=x;try{new b.elementClass}catch{g(b.elementClass),new b.elementClass}b.attributeChangedCallback&&b.observedAttributes.forEach(L=>{x.hasAttribute(L)&&b.attributeChangedCallback.call(x,L,null,x.getAttribute(L))}),S&&b.connectedCallback&&x.isConnected&&b.connectedCallback.call(x)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(x){let b=v.apply(this,arguments);return x.customElements&&(b.customElements=x.customElements),b};let E=[document],N=(x,b,S=void 0)=>{let L=(S?Object.getPrototypeOf(S):x.prototype)[b];x.prototype[b]=function(){E.push(this);let D=L.apply(S||this,arguments);return D!==void 0&&c.set(D,this),E.pop(),D}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let A=(x,b)=>{let S=Object.getOwnPropertyDescriptor(x.prototype,b);Object.defineProperty(x.prototype,b,{...S,set(L){E.push(this),S.set.call(this,L),E.pop()}})};if(A(Element,"innerHTML"),A(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let x=new WeakMap,b=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...W){let P=b.call(this,...W);return x.set(P,this),P},S.forEach(W=>{let P=window.ElementInternals.prototype,T=P[W];P[W]=function(...M){let J=x.get(this);if(i.get(J).formAssociated===!0)return T?.call(this,...M);throw new DOMException(`Failed to execute ${T} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class L extends Array{constructor(P){super(...P),this._elements=P}get value(){return this._elements.find(P=>P.checked===!0)?.value||""}}class D{constructor(P){let T=new Map;P.forEach((M,J)=>{let fo=M.getAttribute("name"),Ai=T.get(fo)||[];this[+J]=M,Ai.push(M),T.set(fo,Ai)}),this.length=P.length,T.forEach((M,J)=>{M&&(M.length===1?this[J]=M[0]:this[J]=new L(M))})}namedItem(P){return this[P]}}let ot=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let W=ot.get.call(this,[]),P=[];for(let T of W){let M=i.get(T);(!M||M.formAssociated===!0)&&P.push(T)}return new D(P)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(o,n,i)=>{if(n!==null)try{t.bind(window.customElements)(o,n,i)}catch(a){console.info(o,n,i,a)}}}var Eo={};U(Eo,{CSSResult:()=>Oe,LitElement:()=>It,ReactiveElement:()=>Ct,_$LE:()=>Mc,_$LH:()=>Tc,adoptStyles:()=>Mr,css:()=>_,defaultConverter:()=>Dr,getCompatibleStyle:()=>tr,html:()=>G,isServer:()=>nd,noChange:()=>Ht,notEqual:()=>xo,nothing:()=>F,render:()=>wo,supportsAdoptingStyleSheets:()=>Qe,svg:()=>Lc,unsafeCSS:()=>Lt});var Or=globalThis,wr=Or.ShadowRoot&&(Or.ShadyCSS===void 0||Or.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,$i=Symbol(),Ri=new WeakMap,Cr=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==$i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(wr&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Ri.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ri.set(o,t))}return t}toString(){return this.cssText}},Pi=e=>new Cr(typeof e=="string"?e:e+"",void 0,$i);var uo=(e,t)=>{if(wr)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Or.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},Er=wr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Pi(o)})(e):e;var{is:uc,defineProperty:hc,getOwnPropertyDescriptor:mc,getOwnPropertyNames:gc,getOwnPropertySymbols:yc,getPrototypeOf:bc}=Object,Nr=globalThis,_i=Nr.trustedTypes,xc=_i?_i.emptyScript:"",vc=Nr.reactiveElementPolyfillSupport,Ge=(e,t)=>e,Ze={toAttribute(e,t){switch(t){case Boolean:e=e?xc:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},Ar=(e,t)=>!uc(e,t),Li={attribute:!0,type:String,converter:Ze,reflect:!1,hasChanged:Ar};Symbol.metadata??=Symbol("metadata"),Nr.litPropertyMetadata??=new WeakMap;var re=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,o=Li){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&hc(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=mc(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(t,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Li}static _$Ei(){if(this.hasOwnProperty(Ge("elementProperties")))return;let t=bc(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ge("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ge("properties"))){let o=this.properties,n=[...gc(o),...yc(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(Er(i))}else t!==void 0&&o.push(Er(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?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),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return uo(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,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Ze).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Ze;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??Ar)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.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(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};re.elementStyles=[],re.shadowRootOptions={mode:"open"},re[Ge("elementProperties")]=new Map,re[Ge("finalized")]=new Map,vc?.({ReactiveElement:re}),(Nr.reactiveElementVersions??=[]).push("2.0.2");var mo=globalThis,Rr=mo.trustedTypes,Ti=Rr?Rr.createPolicy("lit-html",{createHTML:e=>e}):void 0,go="$lit$",_t=`lit$${(Math.random()+"").slice(9)}$`,yo="?"+_t,Sc=`<${yo}>`,ie=document,$r=()=>ie.createComment(""),Ye=e=>e===null||typeof e!="object"&&typeof e!="function",Ui=Array.isArray,zi=e=>Ui(e)||typeof e?.[Symbol.iterator]=="function",ho=`[
2
+ \f\r]`,qe=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ii=/-->/g,ki=/>/g,oe=RegExp(`>|${ho}(?:([^\\s"'>=/]+)(${ho}*=${ho}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Mi=/'/g,Di=/"/g,Bi=/^(?:script|style|textarea|title)$/i,Hi=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Fi=Hi(1),ji=Hi(2),lt=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),Wi=new WeakMap,ne=ie.createTreeWalker(ie,129);function Vi(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ti!==void 0?Ti.createHTML(t):t}var Ki=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=qe;for(let c=0;c<o;c++){let l=e[c],d,h,u=-1,m=0;for(;m<l.length&&(s.lastIndex=m,h=s.exec(l),h!==null);)m=s.lastIndex,s===qe?h[1]==="!--"?s=Ii:h[1]!==void 0?s=ki:h[2]!==void 0?(Bi.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=oe):h[3]!==void 0&&(s=oe):s===oe?h[0]===">"?(s=i??qe,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?oe:h[3]==='"'?Di:Mi):s===Di||s===Mi?s=oe:s===Ii||s===ki?s=qe:(s=oe,i=void 0);let g=s===oe&&e[c+1].startsWith("/>")?" ":"";a+=s===qe?l+Sc:u>=0?(n.push(d),l.slice(0,u)+go+l.slice(u)+_t+g):l+_t+(u===-2?c:g)}return[Vi(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},Xe=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=t.length-1,l=this.parts,[d,h]=Ki(t,o);if(this.el=e.createElement(d,n),ne.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=ne.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(go)){let m=h[s++],g=i.getAttribute(u).split(_t),y=/([.?@])?(.*)/.exec(m);l.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?_r:y[1]==="?"?Lr:y[1]==="@"?Tr:se}),i.removeAttribute(u)}else u.startsWith(_t)&&(l.push({type:6,index:a}),i.removeAttribute(u));if(Bi.test(i.tagName)){let u=i.textContent.split(_t),m=u.length-1;if(m>0){i.textContent=Rr?Rr.emptyScript:"";for(let g=0;g<m;g++)i.append(u[g],$r()),ne.nextNode(),l.push({type:2,index:++a});i.append(u[m],$r())}}}else if(i.nodeType===8)if(i.data===yo)l.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(_t,u+1))!==-1;)l.push({type:7,index:a}),u+=_t.length-1}a++}}static createElement(t,o){let n=ie.createElement("template");return n.innerHTML=t,n}};function ae(e,t,o=e,n){if(t===lt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Ye(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=ae(e,i._$AS(e,t.values),i,n)),t}var Pr=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??ie).importNode(o,!0);ne.currentNode=i;let a=ne.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new Je(a,a.nextSibling,this,t):l.type===1?d=new l.ctor(a,l.name,l.strings,this,t):l.type===6&&(d=new Ir(a,this,t)),this._$AV.push(d),l=n[++c]}s!==l?.index&&(a=ne.nextNode(),s++)}return ne.currentNode=ie,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Je=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ae(this,t,o),Ye(t)?t===K||t==null||t===""?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==lt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):zi(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!==K&&Ye(this._$AH)?this._$AA.nextSibling.data=t:this.$(ie.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Xe.createElement(Vi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Pr(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=Wi.get(t.strings);return o===void 0&&Wi.set(t.strings,o=new Xe(t)),o}T(t){Ui(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k($r()),this.k($r()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},se=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=K}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=ae(this,t,o,0),s=!Ye(t)||t!==this._$AH&&t!==lt,s&&(this._$AH=t);else{let c=t,l,d;for(t=a[0],l=0;l<a.length-1;l++)d=ae(this,c[n+l],o,l),d===lt&&(d=this._$AH[l]),s||=!Ye(d)||d!==this._$AH[l],d===K?t=K:t!==K&&(t+=(d??"")+a[l+1]),this._$AH[l]=d}s&&!i&&this.O(t)}O(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},_r=class extends se{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===K?void 0:t}},Lr=class extends se{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==K)}},Tr=class extends se{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=ae(this,t,o,0)??K)===lt)return;let n=this._$AH,i=t===K&&n!==K||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==K&&(n===K||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Ir=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){ae(this,t)}},Gi={j:go,P:_t,A:yo,C:1,M:Ki,L:Pr,R:zi,V:ae,D:Je,I:se,H:Lr,N:Tr,U:_r,B:Ir},Oc=mo.litHtmlPolyfillSupport;Oc?.(Xe,Je),(mo.litHtmlVersions??=[]).push("3.1.0");var kr=globalThis,Qe=kr.ShadowRoot&&(kr.ShadyCSS===void 0||kr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,bo=Symbol(),Zi=new WeakMap,Oe=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==bo)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(Qe&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Zi.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Zi.set(o,t))}return t}toString(){return this.cssText}},Lt=e=>new Oe(typeof e=="string"?e:e+"",void 0,bo),_=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[a+1],e[0]);return new Oe(o,e,bo)},Mr=(e,t)=>{if(Qe)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=kr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},tr=Qe?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Lt(o)})(e):e;var{is:Cc,defineProperty:wc,getOwnPropertyDescriptor:Ec,getOwnPropertyNames:Nc,getOwnPropertySymbols:Ac,getPrototypeOf:Rc}=Object,Wr=globalThis,qi=Wr.trustedTypes,$c=qi?qi.emptyScript:"",Pc=Wr.reactiveElementPolyfillSupport,er=(e,t)=>e,Dr={toAttribute(e,t){switch(t){case Boolean:e=e?$c:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},xo=(e,t)=>!Cc(e,t),Yi={attribute:!0,type:String,converter:Dr,reflect:!1,hasChanged:xo};Symbol.metadata??=Symbol("metadata"),Wr.litPropertyMetadata??=new WeakMap;var Ct=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,o=Yi){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&wc(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=Ec(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(t,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Yi}static _$Ei(){if(this.hasOwnProperty(er("elementProperties")))return;let t=Rc(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(er("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(er("properties"))){let o=this.properties,n=[...Nc(o),...Ac(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(tr(i))}else t!==void 0&&o.push(tr(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?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),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Mr(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,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Dr).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Dr;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??xo)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.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(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};Ct.elementStyles=[],Ct.shadowRootOptions={mode:"open"},Ct[er("elementProperties")]=new Map,Ct[er("finalized")]=new Map,Pc?.({ReactiveElement:Ct}),(Wr.reactiveElementVersions??=[]).push("2.0.2");var So=globalThis,Ur=So.trustedTypes,Xi=Ur?Ur.createPolicy("lit-html",{createHTML:e=>e}):void 0,Oo="$lit$",Tt=`lit$${(Math.random()+"").slice(9)}$`,Co="?"+Tt,_c=`<${Co}>`,pe=document,or=()=>pe.createComment(""),nr=e=>e===null||typeof e!="object"&&typeof e!="function",oa=Array.isArray,na=e=>oa(e)||typeof e?.[Symbol.iterator]=="function",vo=`[
4
+ \f\r]`,rr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ji=/-->/g,Qi=/>/g,ce=RegExp(`>|${vo}(?:([^\\s"'>=/]+)(${vo}*=${vo}*(?:[^
5
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ta=/'/g,ea=/"/g,ia=/^(?:script|style|textarea|title)$/i,aa=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),G=aa(1),Lc=aa(2),Ht=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),ra=new WeakMap,le=pe.createTreeWalker(pe,129);function sa(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Xi!==void 0?Xi.createHTML(t):t}var ca=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=rr;for(let c=0;c<o;c++){let l=e[c],d,h,u=-1,m=0;for(;m<l.length&&(s.lastIndex=m,h=s.exec(l),h!==null);)m=s.lastIndex,s===rr?h[1]==="!--"?s=Ji:h[1]!==void 0?s=Qi:h[2]!==void 0?(ia.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=ce):h[3]!==void 0&&(s=ce):s===ce?h[0]===">"?(s=i??rr,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?ce:h[3]==='"'?ea:ta):s===ea||s===ta?s=ce:s===Ji||s===Qi?s=rr:(s=ce,i=void 0);let g=s===ce&&e[c+1].startsWith("/>")?" ":"";a+=s===rr?l+_c:u>=0?(n.push(d),l.slice(0,u)+Oo+l.slice(u)+Tt+g):l+Tt+(u===-2?c:g)}return[sa(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},ir=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=t.length-1,l=this.parts,[d,h]=ca(t,o);if(this.el=e.createElement(d,n),le.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=le.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Oo)){let m=h[s++],g=i.getAttribute(u).split(Tt),y=/([.?@])?(.*)/.exec(m);l.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Br:y[1]==="?"?Hr:y[1]==="@"?Fr:fe}),i.removeAttribute(u)}else u.startsWith(Tt)&&(l.push({type:6,index:a}),i.removeAttribute(u));if(ia.test(i.tagName)){let u=i.textContent.split(Tt),m=u.length-1;if(m>0){i.textContent=Ur?Ur.emptyScript:"";for(let g=0;g<m;g++)i.append(u[g],or()),le.nextNode(),l.push({type:2,index:++a});i.append(u[m],or())}}}else if(i.nodeType===8)if(i.data===Co)l.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(Tt,u+1))!==-1;)l.push({type:7,index:a}),u+=Tt.length-1}a++}}static createElement(t,o){let n=pe.createElement("template");return n.innerHTML=t,n}};function de(e,t,o=e,n){if(t===Ht)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=nr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=de(e,i._$AS(e,t.values),i,n)),t}var zr=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??pe).importNode(o,!0);le.currentNode=i;let a=le.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new Ce(a,a.nextSibling,this,t):l.type===1?d=new l.ctor(a,l.name,l.strings,this,t):l.type===6&&(d=new jr(a,this,t)),this._$AV.push(d),l=n[++c]}s!==l?.index&&(a=le.nextNode(),s++)}return le.currentNode=pe,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Ce=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=F,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=de(this,t,o),nr(t)?t===F||t==null||t===""?(this._$AH!==F&&this._$AR(),this._$AH=F):t!==this._$AH&&t!==Ht&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):na(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!==F&&nr(this._$AH)?this._$AA.nextSibling.data=t:this.$(pe.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=ir.createElement(sa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new zr(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=ra.get(t.strings);return o===void 0&&ra.set(t.strings,o=new ir(t)),o}T(t){oa(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(or()),this.k(or()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},fe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=F,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=F}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=de(this,t,o,0),s=!nr(t)||t!==this._$AH&&t!==Ht,s&&(this._$AH=t);else{let c=t,l,d;for(t=a[0],l=0;l<a.length-1;l++)d=de(this,c[n+l],o,l),d===Ht&&(d=this._$AH[l]),s||=!nr(d)||d!==this._$AH[l],d===F?t=F:t!==F&&(t+=(d??"")+a[l+1]),this._$AH[l]=d}s&&!i&&this.O(t)}O(t){t===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Br=class extends fe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===F?void 0:t}},Hr=class extends fe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==F)}},Fr=class extends fe{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=de(this,t,o,0)??F)===Ht)return;let n=this._$AH,i=t===F&&n!==F||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==F&&(n===F||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},jr=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){de(this,t)}},Tc={j:Oo,P:Tt,A:Co,C:1,M:ca,L:zr,R:na,V:de,D:Ce,I:fe,H:Hr,N:Fr,U:Br,B:jr},Ic=So.litHtmlPolyfillSupport;Ic?.(ir,Ce),(So.litHtmlVersions??=[]).push("3.1.0");var wo=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new Ce(t.insertBefore(or(),a),a,void 0,o??{})}return i._$AI(e),i};var It=class extends Ct{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=wo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ht}};It._$litElement$=!0,It.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:It});var kc=globalThis.litElementPolyfillSupport;kc?.({LitElement:It});var Mc={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var nd=!1;var Ao={};U(Ao,{customElement:()=>Dc,eventOptions:()=>we,property:()=>C,query:()=>rt,queryAll:()=>zc,queryAssignedElements:()=>Hc,queryAssignedNodes:()=>No,queryAsync:()=>Bc,standardProperty:()=>la,state:()=>et});var Dc=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var Wc={attribute:!0,type:String,converter:Ze,reflect:!1,hasChanged:Ar},la=(e=Wc,t,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(o.name,e),n==="accessor"){let{name:s}=o;return{set(c){let l=t.get.call(this);t.set.call(this,c),this.requestUpdate(s,l,e)},init(c){return c!==void 0&&this.C(s,void 0,e),c}}}if(n==="setter"){let{name:s}=o;return function(c){let l=this[s];t.call(this,c),this.requestUpdate(s,l,e)}}throw Error("Unsupported decorator location: "+n)};function C(e){return(t,o)=>typeof o=="object"?la(e,t,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(e,t,o)}function et(e){return C({...e,state:!0,attribute:!1})}function we(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var yt=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function rt(e,t){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:c}=typeof n=="object"?o:i??(()=>{let l=Symbol();return{get(){return this[l]},set(d){this[l]=d}}})();return yt(o,n,{get(){let l=s.call(this);return l===void 0&&(l=a(this),(l!==null||this.hasUpdated)&&c.call(this,l)),l}})}return yt(o,n,{get(){return a(this)}})}}var Uc;function zc(e){return(t,o)=>yt(t,o,{get(){return(this.renderRoot??(Uc??=document.createDocumentFragment())).querySelectorAll(e)}})}function Bc(e){return(t,o)=>yt(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Hc(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return yt(t,o,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(e)??[];return i===void 0?c:c.filter(l=>l.matches(i))}})}}function No(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return yt(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var Ro={};U(Ro,{repeat:()=>Vc});var Ft={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},jt=e=>(...t)=>({_$litDirective$:e,values:t}),wt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{D:Fc}=Gi;var pa=()=>document.createComment(""),Ee=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let a=n.insertBefore(pa(),i),s=n.insertBefore(pa(),i);o=new Fc(a,s,e,e.options)}else{let a=o._$AB.nextSibling,s=o._$AM,c=s!==e;if(c){let l;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(l=e._$AU)!==s._$AU&&o._$AP(l)}if(a!==i||c){let l=o._$AA;for(;l!==a;){let d=l.nextSibling;n.insertBefore(l,i),l=d}}}return o},Vt=(e,t,o=e)=>(e._$AI(t,o),e),jc={},da=(e,t=jc)=>e._$AH=t,fa=e=>e._$AH,Vr=e=>{e._$AP?.(!1,!0);let t=e._$AA,o=e._$AB.nextSibling;for(;t!==o;){let n=t.nextSibling;t.remove(),t=n}};var ua=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},Vc=jt(class extends wt{constructor(e){if(super(e),e.type!==Ft.CHILD)throw Error("repeat() can only be used in text expressions")}ht(e,t,o){let n;o===void 0?o=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let c of e)i[s]=n?n(c,s):s,a[s]=o(c,s),s++;return{values:a,keys:i}}render(e,t,o){return this.ht(e,t,o).values}update(e,[t,o,n]){let i=fa(e),{values:a,keys:s}=this.ht(t,o,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],l=[],d,h,u=0,m=i.length-1,g=0,y=a.length-1;for(;u<=m&&g<=y;)if(i[u]===null)u++;else if(i[m]===null)m--;else if(c[u]===s[g])l[g]=Vt(i[u],a[g]),u++,g++;else if(c[m]===s[y])l[y]=Vt(i[m],a[y]),m--,y--;else if(c[u]===s[y])l[y]=Vt(i[u],a[y]),Ee(e,l[y+1],i[u]),u++,y--;else if(c[m]===s[g])l[g]=Vt(i[m],a[g]),Ee(e,i[u],i[m]),m--,g++;else if(d===void 0&&(d=ua(s,g,y),h=ua(c,u,m)),d.has(c[u]))if(d.has(c[m])){let v=h.get(s[g]),E=v!==void 0?i[v]:null;if(E===null){let N=Ee(e,i[u]);Vt(N,a[g]),l[g]=N}else l[g]=Vt(E,a[g]),Ee(e,i[u],E),i[v]=null;g++}else Vr(i[m]),m--;else Vr(i[u]),u++;for(;g<=y;){let v=Ee(e,l[y+1]);Vt(v,a[g]),l[g++]=v}for(;u<=m;){let v=i[u++];v!==null&&Vr(v)}return this.dt=s,da(e,l),lt}});var $o={};U($o,{classMap:()=>kt});var kt=jt(class extends wt{constructor(e){if(super(e),e.type!==Ft.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.it===void 0){this.it=new Set,e.strings!==void 0&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(t)}let o=e.element.classList;for(let n of this.it)n in t||(o.remove(n),this.it.delete(n));for(let n in t){let i=!!t[n];i===this.it.has(n)||this.st?.has(n)||(i?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return lt}});var Po={};U(Po,{styleMap:()=>Gc});var ha="important",Kc=" !"+ha,Gc=jt(class extends wt{constructor(e){if(super(e),e.type!==Ft.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,o)=>{let n=e[o];return n==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(t)),this.render(t);for(let n of this.ut)t[n]==null&&(this.ut.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(Kc);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?ha:""):o[n]=i}}return lt}});var Lo={};U(Lo,{UnsafeHTMLDirective:()=>Ne,unsafeHTML:()=>_o});var Ne=class extends wt{constructor(t){if(super(t),this.et=K,t.type!==Ft.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||t==null)return this.vt=void 0,this.et=t;if(t===lt)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;let o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Ne.directiveName="unsafeHTML",Ne.resultType=1;var _o=jt(Ne);var Mo={};U(Mo,{CacheRegistry:()=>ko});var Io={};U(Io,{CancelablePromise:()=>Ae,CanceledPromiseError:()=>ar,cancelable:()=>To});var ar=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Ae=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new ar("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new ar("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},To=e=>new Ae((t,o)=>e.then(t).catch(o));var ko=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof Ae&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){this.clearTimeouts[t]!=null&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,async()=>o),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,async()=>o),this.content[t]=o}async get(t,o,n){if(this.content[t]===void 0){if(o=o??this.loaders[t],o==null)throw new Error("Unknown cache key "+t);let i=To(o());return this.content[t]=i,i.then(a=>(this.content[t]=a,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),a))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}resolvedKeys(){return Object.keys(this.content).filter(t=>this.isResolvedValue(this.content[t]))}resolvedValues(){return Object.values(this.content).filter(t=>this.isResolvedValue(t))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Wo={};U(Wo,{ClusteringHelper:()=>Do});var Do=class e{constructor(t,o,n,i){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(t,o){var n,i;let a=((i=(n=t?.map)!==null&&n!==void 0?n:t?.document)!==null&&i!==void 0?i:t?.topic).metadata.map(s=>e.flattenMetadata(s));return o==null?a:a.find(s=>s.key===o)}static flattenMetadata(t){if(t.hierarchicalValues){let o=[],n=[];return t.hierarchicalValues.forEach(i=>{o.push(i.join(" > ")),i.length>2?n.push(`... > ${i[i.length-1]}`):n.push(i.join(" > "))}),{key:t.key,label:t.label,value:o.join(", "),displayValue:n.join(", ")}}else{let o=t.values.join(", ");return{key:t.key,label:t.label,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o,n="No value"){var i,a;let s=e.extractResultMetadata(this.selectedResult,t),c=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(t))===null||a===void 0?void 0:a.label;return this.allResults.map(d=>e.extractResultMetadata(d,t)).map(d=>d??{key:t,label:c,value:void 0,displayValue:n}).filter(d=>d.value!=s?.value).filter((d,h,u)=>u.findIndex(m=>m.value===d.value)===h).map(d=>({result:this.findBestResultForMetadataValue(t,d.value),metadata:d})).sort((d,h)=>this.compareMetadata(d.metadata.value,h.metadata.value,t,o))}compareMetadata(t,o,n,i){if(t==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let l=t.localeCompare(o,i,{numeric:!0});return c?l*-1:l}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(l=>{var d;return((d=e.extractResultMetadata(l,t))===null||d===void 0?void 0:d.value)==o}),a=[...e.extractResultMetadata(this.selectedResult).filter(l=>this.clusteringMetadata.has(l.key)).filter(l=>l.key!==t)],s,c=-1;for(let l of n){let d=this.countMatchingMetadata(l,a);if(d>c&&(c=d,s=l,d===a.length))break}return s}countMatchingMetadata(t,o){return e.extractResultMetadata(t).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var Uo={};U(Uo,{Debouncer:()=>bt});var bt=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Ho={};U(Ho,{customElement:()=>Y,isNumber:()=>xa,jsonProperty:()=>Bo,optionalNumberProperty:()=>tl});var zo={};U(zo,{dateReviver:()=>qc,deepEqual:()=>Kt,delay:()=>ma,eventPathContainsMatchingElement:()=>Xc,flatDeep:()=>ya,last:()=>Qc,minmax:()=>Jc,parseDate:()=>ba,waitFor:()=>ga,waitUntil:()=>Zc});var ma=e=>new Promise(t=>setTimeout(t,e));async function Zc(e,t=10,o=2e4){await ga(async()=>await e()||void 0,t,o)}async function ga(e,t=10,o=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await ma(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function ya(e,t){return e.flatMap(o=>[o,...ya(t(o),t)])}function qc(...e){return function(t,o){return e.includes(t)?ba(o):o}}function ba(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,i)=>o+n+":"+i),new Date(e)}function Yc(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,i;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!Kt(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!Kt(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(i=Object.keys(e),o=i.length,o!==Object.keys(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){var a=i[n];if(!Kt(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Kt(e,t){try{return Yc(e,t)}catch{return!1}}function Xc(e,t,o=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function Jc(e,t,o){return Math.min(Math.max(e,t),o)}function Qc(e){return e[e.length-1]}var Y=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Bo(e,t){let o=()=>JSON.parse(JSON.stringify(e));return C({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:(n,i)=>!Kt(n,i),...t??{}})}function tl(e){return C({type:Object,converter:{fromAttribute:t=>{if(t!=null)return xa(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function xa(e){return!isNaN(parseFloat(e))}var gn={};U(gn,{designSystemVariables:()=>I});var mn={};U(mn,{FtCssVariableFactory:()=>r,banner:()=>rl,border:()=>bl,breadcrumb:()=>ol,button:()=>w,chart:()=>gl,checkbox:()=>vl,chip:()=>yl,collapsible:()=>hl,comboboxMultiSelect:()=>dl,comboboxSingleSelect:()=>pl,drawer:()=>al,floatingMenu:()=>ll,foundation:()=>p,modal:()=>il,notice:()=>xl,notification:()=>Cl,pageHeader:()=>nl,popover:()=>fl,radio:()=>Ol,semantic:()=>f,setVariable:()=>R,switch_:()=>ml,tabs:()=>ul,textArea:()=>cl,textInput:()=>sl,toggle:()=>Sl,tooltip:()=>wl,typographies:()=>sr,typographyBody1Medium:()=>Zo,typographyBody1Regular:()=>Go,typographyBody1Semibold:()=>qo,typographyBody2Medium:()=>Xo,typographyBody2MediumUnderline:()=>va,typographyBody2Regular:()=>Yo,typographyBody2Semibold:()=>Jo,typographyCaption1Bold:()=>cn,typographyCaption1Medium:()=>an,typographyCaption1Semibold:()=>sn,typographyCaption2Bold:()=>dn,typographyCaption2Medium:()=>ln,typographyCaption2Semibold:()=>pn,typographyCaption3Bold:()=>hn,typographyCaption3Medium:()=>fn,typographyCaption3Semibold:()=>un,typographyDisplay:()=>Fo,typographyLabel1Bold:()=>en,typographyLabel1Medium:()=>Qo,typographyLabel1Semibold:()=>tn,typographyLabel2Bold:()=>nn,typographyLabel2Medium:()=>rn,typographyLabel2Semibold:()=>on,typographyTitle1:()=>jo,typographyTitle2:()=>Vo,typographyTitle3:()=>Ko,typographyVariants:()=>el});var Mt=e=>typeof e=="string"?Lt(e):e,r=class{static create(t,o,n,i){let a=c=>Mt(c??i),s=_`var(${Mt(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>_`var(${Mt(t)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=c=>n.get(c??i),s=_`var(${Mt(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>_`var(${Mt(t)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,o){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):Mt(a??t.lastResortDefaultValue()),i=_`var(${Mt(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>_`var(${Mt(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function R(e,t){return Mt(`${e.name}: ${t}`)}var p={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:r.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:r.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:r.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:r.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:r.create("--ft-icon-size-6","","SIZE","48px"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","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)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","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)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","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)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","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)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","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)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","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)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","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)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","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)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","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)")},Fo={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},jo={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Vo={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ko={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Go={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Zo={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},qo={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Yo={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Xo={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},va={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Jo={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Qo={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},tn={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},en={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},rn={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},on={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},nn={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},an={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},sn={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},cn={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ln={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},pn={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},dn={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},fn={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},un={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},hn={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},sr={display:Fo,"title-1":jo,"title-2":Vo,"title-3":Ko,"body-1-regular":Go,"body-1-medium":Zo,"body-1-semibold":qo,"body-2-regular":Yo,"body-2-medium":Xo,"body-2-medium-underline":va,"body-2-semibold":Jo,"label-1-medium":Qo,"label-1-semibold":tn,"label-1-bold":en,"label-2-medium":rn,"label-2-semibold":on,"label-2-bold":nn,"caption-1-medium":an,"caption-1-semibold":sn,"caption-1-bold":cn,"caption-2-medium":ln,"caption-2-semibold":pn,"caption-2-bold":dn,"caption-3-medium":fn,"caption-3-semibold":un,"caption-3-bold":hn},el=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var f={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",p.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",p.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",p.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",p.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",p.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",p.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",p.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",p.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",p.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",p.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",p.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",p.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",p.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",p.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",p.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",p.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",p.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",p.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
+ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",p.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",p.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",p.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",p.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",p.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",p.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",p.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",p.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",p.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",p.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",p.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",p.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",p.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",p.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",p.colorGray80)};var w={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:r.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",p.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:r.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",p.spacing3),smallGap:r.extend("--ft-button-small-gap","",p.spacing2),smallBorderRadius:r.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",p.iconSize2),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",p.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",p.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",p.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",p.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",p.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",p.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",p.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",p.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",p.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",p.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",p.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",p.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",p.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",p.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",p.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",p.opacity40)};var rl={iconSize:r.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-banner-horizontal-padding","",p.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",p.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",p.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",p.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",p.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",p.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly)};var ol={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",p.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",p.spacing2),currentElementColor:r.extend("--ft-breadcrumb-current-element-color","",f.contentGlobalPrimary),iconColor:r.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)};var nl={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",p.spacing12),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",p.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",p.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",p.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",p.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",p.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",p.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)};var il={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",p.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",p.opacity40),shadow:r.extend("--ft-modal-shadow","",p.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",p.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",p.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",p.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",p.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",p.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",p.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",p.spacing6),headerGap:r.extend("--ft-modal-header-gap","",p.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",p.borderRadiusM)};var al={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",p.opacity40),shadow:r.extend("--ft-drawer-shadow","",p.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",p.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",p.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",p.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",p.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",p.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",p.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",p.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",p.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",p.colorGray700)};var sl={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",p.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",p.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",p.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",p.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",p.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",p.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",p.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",p.opacity40)};var cl={backgroundColor:r.extend("--ft-text-area-background-color","",p.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",p.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",p.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",p.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",p.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",p.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",p.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",p.borderRadiusM)};var ll={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",p.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",p.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",p.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",p.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",p.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",p.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface)};var pl={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",p.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",p.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",p.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",p.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",p.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",p.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",p.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",p.opacity40)};var dl={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",p.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",p.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",p.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",p.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",p.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",p.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",p.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",p.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",p.borderRadiusM)};var fl={backgroundColor:r.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",p.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",p.spacing6),iconColor:r.extend("--ft-popover-icon-color","",f.contentGlobalSecondary),iconSize:r.extend("--ft-popover-icon-size","",p.iconSize2),titleColor:r.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:r.extend("--ft-popover-gap","",p.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",p.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",p.shadowElevation02)};var ul={topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",p.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",p.borderRadiusS),labelHorizontalPadding:r.extend("--ft-tabs-label-horizontal-padding","",p.spacing4),labelVerticalPadding:r.extend("--ft-tabs-label-vertical-padding","",p.spacing3),labelGap:r.extend("--ft-tabs-label-gap","",p.spacing1),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:r.extend("--ft-tabs-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",p.opacity40),offColor:r.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:r.extend("--ft-tabs-on-disabled-component-opacity","",p.opacity40),onColor:r.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-tabs-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:r.extend("--ft-tabs-icon-vertical-padding","",p.spacing4),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var hl={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",p.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",p.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",p.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",p.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",p.spacing3),color:r.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",p.iconSize3)};var ml={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",p.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",p.spacing1),groupGap:r.extend("--ft-switch-group-gap","",p.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",p.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",p.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",p.opacity40),offColor:r.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",p.opacity40),onColor:r.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",p.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",p.borderRadiusS)};var gl={color1Light:r.extend("--ft-chart-1-light","for area color charts",p.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",p.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",p.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",p.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",p.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",p.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",p.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",p.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",p.colorRed40),color5Base:r.extend("--ft-chart-5-base","",p.colorRed60),color6Light:r.extend("--ft-chart-6-light","",p.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",p.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",p.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",p.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",p.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",p.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",p.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",p.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",p.colorGray50),color10Base:r.extend("--ft-chart-10-base","",p.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",p.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",p.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",p.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",p.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",p.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",p.colorBrand200)};var yl={largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",p.spacing4),largeVerticalPadding:r.extend("--ft-chip-large-vertical-padding","",p.spacing2),largeGap:r.extend("--ft-chip-large-gap","",p.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.extend("--ft-chip-large-border-radius","",p.borderRadiusPill),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",p.iconSize3),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",p.spacing3),mediumVerticalPadding:r.extend("--ft-chip-medium-vertical-padding","",p.spacing1),mediumGap:r.extend("--ft-chip-medium-gap","",p.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.extend("--ft-chip-medium-border-radius","",p.borderRadiusPill),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",p.iconSize2),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",p.spacing2),smallVerticalPadding:r.extend("--ft-chip-small-vertical-padding","",p.spacing05),smallGap:r.extend("--ft-chip-small-gap","",p.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.extend("--ft-chip-small-border-radius","",p.borderRadiusPill),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",p.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",f.contentGlobalPrimary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",f.contentGlobalPrimary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var bl={infoBorderColor:r.extend("--ft-border-info-border-color","",f.borderInfoSubtle)};var xl={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",p.spacing2),verticalPadding:r.extend("--ft-notice-vertical-padding","",p.spacing1),borderRadius:r.extend("--ft-notice-border-radius","",p.borderRadiusS),gap:r.extend("--ft-notice-gap","",p.spacing2),iconSize:r.extend("--ft-notice-icon-size","",p.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var vl={color:r.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",p.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",p.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",p.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",p.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",p.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",p.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",p.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",p.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",p.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",p.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",p.spacing3)};var Sl={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",p.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",p.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",p.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",p.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",p.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",p.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",p.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:r.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",p.spacing3)};var Ol={color:r.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",p.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",p.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",p.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",p.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",p.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",p.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",p.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",p.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",p.spacing3)};var Cl={iconSize:r.extend("--ft-notification-icon-size","",p.iconSize4),horizontalPadding:r.extend("--ft-notification-horizontal-padding","",p.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",p.spacing4),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",p.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",p.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",p.spacing8)};var wl={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",p.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",p.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",p.borderRadiusS),color:r.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",p.opacity80),shadow:r.extend("--ft-tooltip-shadow","",p.shadowElevation03),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",p.spacing05)};var I={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var vn={};U(vn,{FtNotificationEvent:()=>yn,PostResizeEvent:()=>xn,PreResizeEvent:()=>bn});var yn=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},bn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},xn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Ln={};U(Ln,{computeOffsetPosition:()=>_n});var Oa=["top","right","bottom","left"],Sa=["start","end"],On=Oa.reduce((e,t)=>e.concat(t,t+"-"+Sa[0],t+"-"+Sa[1]),[]),cr=Math.min,Gt=Math.max,lr=Math.round;var Dt=e=>({x:e,y:e}),El={left:"right",right:"left",bottom:"top",top:"bottom"},Nl={start:"end",end:"start"};function Cn(e,t,o){return Gt(e,cr(t,o))}function Kr(e,t){return typeof e=="function"?e(t):e}function Re(e){return e.split("-")[0]}function Zt(e){return e.split("-")[1]}function wn(e){return e==="x"?"y":"x"}function En(e){return e==="y"?"height":"width"}function Gr(e){return["top","bottom"].includes(Re(e))?"y":"x"}function Nn(e){return wn(Gr(e))}function Ca(e,t,o){o===void 0&&(o=!1);let n=Zt(e),i=Nn(e),a=En(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Sn(s)),[s,Sn(s)]}function wa(e){return e.replace(/start|end/g,t=>Nl[t])}function Sn(e){return e.replace(/left|right|bottom|top/g,t=>El[t])}function Al(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ea(e){return typeof e!="number"?Al(e):{top:e,right:e,bottom:e,left:e}}function ue(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Na(e,t,o){let{reference:n,floating:i}=e,a=Gr(t),s=Nn(t),c=En(s),l=Re(t),d=a==="y",h=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2,g;switch(l){case"top":g={x:h,y:n.y-i.height};break;case"bottom":g={x:h,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:u};break;case"left":g={x:n.x-i.width,y:u};break;default:g={x:n.x,y:n.y}}switch(Zt(t)){case"start":g[s]-=m*(o&&d?-1:1);break;case"end":g[s]+=m*(o&&d?-1:1);break}return g}var Aa=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t)),d=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y:u}=Na(d,n,l),m=n,g={},y=0;for(let v=0;v<c.length;v++){let{name:E,fn:N}=c[v],{x:A,y:x,data:b,reset:S}=await N({x:h,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:d,platform:s,elements:{reference:e,floating:t}});if(h=A??h,u=x??u,g={...g,[E]:{...g[E],...b}},S&&y<=50){y++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(d=S.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):S.rects),{x:h,y:u}=Na(d,m,l)),v=-1;continue}}return{x:h,y:u,placement:m,strategy:i,middlewareData:g}};async function An(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:m=!1,padding:g=0}=Kr(t,e),y=Ea(g),E=c[m?u==="floating"?"reference":"floating":u],N=ue(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(E)))==null||o?E:E.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:d,rootBoundary:h,strategy:l})),A=u==="floating"?{...s.floating,x:n,y:i}:s.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),b=await(a.isElement==null?void 0:a.isElement(x))?await(a.getScale==null?void 0:a.getScale(x))||{x:1,y:1}:{x:1,y:1},S=ue(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:x,strategy:l}):A);return{top:(N.top-S.top+y.top)/b.y,bottom:(S.bottom-N.bottom+y.bottom)/b.y,left:(N.left-S.left+y.left)/b.x,right:(S.right-N.right+y.right)/b.x}}function Rl(e,t,o){return(e?[...o.filter(i=>Zt(i)===e),...o.filter(i=>Zt(i)!==e)]:o.filter(i=>Re(i)===i)).filter(i=>e?Zt(i)===e||(t?wa(i)!==i:!1):!0)}var Rn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:l,elements:d}=t,{crossAxis:h=!1,alignment:u,allowedPlacements:m=On,autoAlignment:g=!0,...y}=Kr(e,t),v=u!==void 0||m===On?Rl(u||null,g,m):m,E=await An(t,y),N=((o=s.autoPlacement)==null?void 0:o.index)||0,A=v[N];if(A==null)return{};let x=Ca(A,a,await(l.isRTL==null?void 0:l.isRTL(d.floating)));if(c!==A)return{reset:{placement:v[0]}};let b=[E[Re(A)],E[x[0]],E[x[1]]],S=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:b}],L=v[N+1];if(L)return{data:{index:N+1,overflows:S},reset:{placement:L}};let D=S.map(P=>{let T=Zt(P.placement);return[P.placement,T&&h?P.overflows.slice(0,2).reduce((M,J)=>M+J,0):P.overflows[0],P.overflows]}).sort((P,T)=>P[1]-T[1]),W=((i=D.filter(P=>P[2].slice(0,Zt(P[0])?2:3).every(T=>T<=0))[0])==null?void 0:i[0])||D[0][0];return W!==c?{data:{index:N+1,overflows:S},reset:{placement:W}}:{}}}};var $n=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:E=>{let{x:N,y:A}=E;return{x:N,y:A}}},...l}=Kr(e,t),d={x:o,y:n},h=await An(t,l),u=Gr(Re(i)),m=wn(u),g=d[m],y=d[u];if(a){let E=m==="y"?"top":"left",N=m==="y"?"bottom":"right",A=g+h[E],x=g-h[N];g=Cn(A,g,x)}if(s){let E=u==="y"?"top":"left",N=u==="y"?"bottom":"right",A=y+h[E],x=y-h[N];y=Cn(A,y,x)}let v=c.fn({...t,[m]:g,[u]:y});return{...v,data:{x:v.x-o,y:v.y-n}}}}};function Wt(e){return $a(e)?(e.nodeName||"").toLowerCase():"#document"}function nt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ut(e){var t;return(t=($a(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function $a(e){return e instanceof Node||e instanceof nt(e).Node}function Et(e){return e instanceof Element||e instanceof nt(e).Element}function xt(e){return e instanceof HTMLElement||e instanceof nt(e).HTMLElement}function Ra(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof nt(e).ShadowRoot}function $e(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=pt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function Pa(e){return["table","td","th"].includes(Wt(e))}function qr(e){let t=Yr(),o=pt(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function _a(e){let t=he(e);for(;xt(t)&&!pr(t);){if(qr(t))return t;t=he(t)}return null}function Yr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function pr(e){return["html","body","#document"].includes(Wt(e))}function pt(e){return nt(e).getComputedStyle(e)}function dr(e){return Et(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function he(e){if(Wt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Ra(e)&&e.host||Ut(e);return Ra(t)?t.host:t}function La(e){let t=he(e);return pr(t)?e.ownerDocument?e.ownerDocument.body:e.body:xt(t)&&$e(t)?t:La(t)}function Zr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=La(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=nt(i);return a?t.concat(s,s.visualViewport||[],$e(i)?i:[],s.frameElement&&o?Zr(s.frameElement):[]):t.concat(i,Zr(i,[],o))}function ka(e){let t=pt(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=xt(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,c=lr(o)!==a||lr(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function Ma(e){return Et(e)?e:e.contextElement}function Pe(e){let t=Ma(e);if(!xt(t))return Dt(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=ka(t),s=(a?lr(o.width):o.width)/n,c=(a?lr(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var $l=Dt(0);function Da(e){let t=nt(e);return!Yr()||!t.visualViewport?$l:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Pl(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==nt(e)?!1:t}function fr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=Ma(e),s=Dt(1);t&&(n?Et(n)&&(s=Pe(n)):s=Pe(e));let c=Pl(a,o,n)?Da(a):Dt(0),l=(i.left+c.x)/s.x,d=(i.top+c.y)/s.y,h=i.width/s.x,u=i.height/s.y;if(a){let m=nt(a),g=n&&Et(n)?nt(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let v=Pe(y),E=y.getBoundingClientRect(),N=pt(y),A=E.left+(y.clientLeft+parseFloat(N.paddingLeft))*v.x,x=E.top+(y.clientTop+parseFloat(N.paddingTop))*v.y;l*=v.x,d*=v.y,h*=v.x,u*=v.y,l+=A,d+=x,y=nt(y).frameElement}}return ue({width:h,height:u,x:l,y:d})}function _l(e){let{rect:t,offsetParent:o,strategy:n}=e,i=xt(o),a=Ut(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},c=Dt(1),l=Dt(0);if((i||!i&&n!=="fixed")&&((Wt(o)!=="body"||$e(a))&&(s=dr(o)),xt(o))){let d=fr(o);c=Pe(o),l.x=d.x+o.clientLeft,l.y=d.y+o.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-s.scrollLeft*c.x+l.x,y:t.y*c.y-s.scrollTop*c.y+l.y}}function Ll(e){return Array.from(e.getClientRects())}function Wa(e){return fr(Ut(e)).left+dr(e).scrollLeft}function Tl(e){let t=Ut(e),o=dr(e),n=e.ownerDocument.body,i=Gt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=Gt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Wa(e),c=-o.scrollTop;return pt(n).direction==="rtl"&&(s+=Gt(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function Il(e,t){let o=nt(e),n=Ut(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,l=0;if(i){a=i.width,s=i.height;let d=Yr();(!d||d&&t==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:c,y:l}}function kl(e,t){let o=fr(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=xt(e)?Pe(e):Dt(1),s=e.clientWidth*a.x,c=e.clientHeight*a.y,l=i*a.x,d=n*a.y;return{width:s,height:c,x:l,y:d}}function Ta(e,t,o){let n;if(t==="viewport")n=Il(e,o);else if(t==="document")n=Tl(Ut(e));else if(Et(t))n=kl(t,o);else{let i=Da(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return ue(n)}function Ua(e,t){let o=he(e);return o===t||!Et(o)||pr(o)?!1:pt(o).position==="fixed"||Ua(o,t)}function Ml(e,t){let o=t.get(e);if(o)return o;let n=Zr(e,[],!1).filter(c=>Et(c)&&Wt(c)!=="body"),i=null,a=pt(e).position==="fixed",s=a?he(e):e;for(;Et(s)&&!pr(s);){let c=pt(s),l=qr(s);!l&&c.position==="fixed"&&(i=null),(a?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||$e(s)&&!l&&Ua(e,s))?n=n.filter(h=>h!==s):i=c,s=he(s)}return t.set(e,n),n}function Dl(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?Ml(t,this._c):[].concat(o),n],c=s[0],l=s.reduce((d,h)=>{let u=Ta(t,h,i);return d.top=Gt(u.top,d.top),d.right=cr(u.right,d.right),d.bottom=cr(u.bottom,d.bottom),d.left=Gt(u.left,d.left),d},Ta(t,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Wl(e){return ka(e)}function Ul(e,t,o){let n=xt(t),i=Ut(t),a=o==="fixed",s=fr(e,!0,a,t),c={scrollLeft:0,scrollTop:0},l=Dt(0);if(n||!n&&!a)if((Wt(t)!=="body"||$e(i))&&(c=dr(t)),n){let d=fr(t,!0,a,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}else i&&(l.x=Wa(i));return{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function Ia(e,t){return!xt(e)||pt(e).position==="fixed"?null:t?t(e):e.offsetParent}function za(e,t){let o=nt(e);if(!xt(e))return o;let n=Ia(e,t);for(;n&&Pa(n)&&pt(n).position==="static";)n=Ia(n,t);return n&&(Wt(n)==="html"||Wt(n)==="body"&&pt(n).position==="static"&&!qr(n))?o:n||_a(e)||o}var zl=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||za,a=this.getDimensions;return{reference:Ul(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function Bl(e){return pt(e).direction==="rtl"}var Xr={convertOffsetParentRelativeRectToViewportRelativeRect:_l,getDocumentElement:Ut,getClippingRect:Dl,getOffsetParent:za,getElementRects:zl,getClientRects:Ll,getDimensions:Wl,getScale:Pe,isElement:Et,isRTL:Bl};var Ba=(e,t,o)=>{let n=new Map,i={platform:Xr,...o},a={...i.platform,_c:n};return Aa(e,t,{...i,platform:a})};function Ha(e){return Hl(e)}function Pn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Hl(e){for(let t=e;t;t=Pn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Pn(e);t;t=Pn(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function _n(e,t,o){return Ba(e,t,{platform:{...Xr,getOffsetParent:n=>Xr.getOffsetParent(n,Ha)},middleware:[$n({crossAxis:!0}),Rn({allowedPlacements:[o]})]})}var kn={};U(kn,{FtLitElement:()=>z});var Tn={};U(Tn,{ScopedRegistryLitElement:()=>ur});var Jr=window,Fl=Jr.ShadowRoot&&(Jr.ShadyCSS===void 0||Jr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,om=Symbol();var Fa=(e,t)=>{Fl?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=Jr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var ur=class extends It{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,a])=>t.registry.define(i,a)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Fa(n,t.elementStyles),n}};var In=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ka,ja=Symbol("constructorPrototype"),Va=Symbol("constructorName"),Ga=Symbol("exportpartsDebouncer"),z=class extends ur{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[Ka]=new bt(5),this[Va]=this.constructor.name,this[ja]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Va]&&Object.setPrototypeOf(this,this[ja])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,n,i;if(this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((o=this.customStylesheet)!==null&&o!==void 0?o:"")}catch(a){console.error(a,this.customStylesheet)}}else if(((i=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Ga].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var o,n,i,a,s,c;let l=m=>m!=null&&m.trim().length>0,d=t.filter(l).map(m=>m.trim());if(d.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],y=(c=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...g,...y).filter(l).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(m=>d.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};Ka=Ga;In([C()],z.prototype,"exportpartsPrefix",void 0);In([Bo([])],z.prototype,"exportpartsPrefixes",void 0);In([C()],z.prototype,"customStylesheet",void 0);var Za={};var Wn={};U(Wn,{highlightHtml:()=>Kl,highlightHtmlColorCssVariable:()=>qa,highlightHtmlStyles:()=>Vl});var me=class e{constructor(t,o=!0,n=[],i=5e3){this.ctx=t,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(t,o){let n=typeof o=="string"?[o]:o,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,o=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(t,o,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(t){let o="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(t,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,o,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,o,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,o,n):this.getIframeContents(t,o,n):this.observeIframeLoad(t,o,n)}catch{n()}}waitForIframes(t,o){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(t,o,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let l=()=>{--s<=0&&i(c)};s||l(),a.forEach(d=>{e.matches(d,this.exclude)?l():this.onIframeReady(d,h=>{o(d)&&(c++,n(h)),l()},l)})}createIterator(t,o,n){return document.createNodeIterator(t,o,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(t){let o=t.previousNode(),n;return o===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:o,node:n}}checkIframeFilter(t,o,n,i){let a=!1,s=!1;return i.forEach((c,l)=>{c.val===n&&(a=l,s=c.handled)}),this.compareNodeIframe(t,o,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,o,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(t,o,n,i,a){let s=this.createIterator(o,t,i),c=[],l=[],d,h,u=()=>({prevNode:h,node:d}=this.getIteratorNode(s),d);for(;u();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(d,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(t,g=>l.push(g),i)}),l.push(d);l.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,t,n,i),a()}forEachNode(t,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let l=()=>{this.iterateThroughNodes(t,c,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,l):l()})}};var hr=class{constructor(t){this.ctx=t,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new me(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&l!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(l)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(l)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let o=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(t){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let o=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let o=[],n=0;return t.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(t,o){let n,i,a=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:i,valid:a}}checkWhitespaceRanges(t,o,n){let i,a=!0,s=n.length,c=o-s,l=parseInt(t.start,10)-c;return l=l>s?s:l,i=l+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),l<0||i-l<0||l>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(l,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:l,end:i,valid:a}}getTextNodes(t){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:o,nodes:n})})}matchesExclude(t){return me.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(o),s=a.splitText(n-o),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(t,o,n,i,a){t.nodes.every((s,c)=>{let l=t.nodes[c+1];if(typeof l>"u"||l.start>o){if(!i(s.node))return!1;let d=o-s.start,h=(n>s.end?s.end:n)-s.start,u=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,h),t.value=u+m,t.nodes.forEach((g,y)=>{y>=c&&(t.nodes[y].start>0&&y!==c&&(t.nodes[y].start-=h),t.nodes[y].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{c.nodes.forEach(l=>{l=l.node;let d;for(;(d=t.exec(l.textContent))!==null&&d[s]!=="";){if(!n(d[s],l))continue;let h=d.index;if(s!==0)for(let u=1;u<s;u++)h+=d[u].length;l=this.wrapRangeInTextNode(l,h,h+d[s].length),i(l.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{let l;for(;(l=t.exec(c.value))!==null&&l[s]!=="";){let d=l.index;if(s!==0)for(let u=1;u<s;u++)d+=l[u].length;let h=d+l[s].length;this.wrapRangeInMappedTextNode(c,d,h,u=>n(l[s],u),(u,m)=>{t.lastIndex=m,i(u)})}a()})}wrapRangeFromIndex(t,o,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((c,l)=>{let{start:d,end:h,valid:u}=this.checkWhitespaceRanges(c,s,a.value);u&&this.wrapRangeInMappedTextNode(a,d,h,m=>o(m,c,a.value.substring(d,h),l),m=>{n(m,c)})}),i()})}unwrapMatches(t){let o=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));o.replaceChild(n,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),c=this.opt.caseSensitive?"":"i",l=d=>{let h=new RegExp(this.createRegExp(d),`gm${c}`),u=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,g)=>this.opt.filter(g,d,n,u),m=>{u++,n++,this.opt.each(m)},()=>{u===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):l(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):l(a[0])}markRanges(t,o){this.opt=o;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,c,l)=>this.opt.filter(a,s,c,l),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=me.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Mn(e){let t=new hr(e);return this.mark=(o,n)=>(t.mark(o,n),this),this.markRegExp=(o,n)=>(t.markRegExp(o,n),this),this.markRanges=(o,n)=>(t.markRanges(o,n),this),this.unmark=o=>(t.unmark(o),this),this}var jl=Mn,qa=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Vl=_`
141
7
  .highlight-html-match {
142
- background: ${Mi};
8
+ background: ${qa};
143
9
  }
144
- `,Hi={className:"highlight-html-match"};var Ti=Object.freeze({__proto__:null,highlightHtml:function(t,o){var e;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=o?o:"")){const r=new Ki(t);if(r.unmark(Hi),o&&o.trim()){r.mark(o.replace(/"[^"]+"/g,""),{...Hi,separateWordSearch:!0});(null!==(e=o.match(/"[^"]+"/g))&&void 0!==e?e:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Hi,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=o?o:"")},highlightHtmlColorCssVariable:Mi,highlightHtmlStyles:Di});const Gi=dt`
10
+ `,Dn={className:"highlight-html-match"};function Kl(e,t){var o;let n=e.getAttribute("data-highlight-html-query");if((n??"")!==(t??"")){let i=new jl(e);i.unmark(Dn),t&&t.trim()&&(i.mark(t.replace(/"[^"]+"/g,""),{...Dn,separateWordSearch:!0}),((o=t.match(/"[^"]+"/g))!==null&&o!==void 0?o:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...Dn,separateWordSearch:!1})))}e.setAttribute("data-highlight-html-query",t??"")}var Un={};U(Un,{noTextSelect:()=>ge,safariEllipsisFix:()=>mr,wordWrap:()=>Gl});var ge=_`
145
11
  .ft-no-text-select {
146
12
  -webkit-touch-callout: none;
147
13
  -webkit-user-select: none;
@@ -150,7 +16,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
150
16
  -ms-user-select: none;
151
17
  user-select: none;
152
18
  }
153
- `,Vi=dt`
19
+ `,Gl=_`
154
20
  .ft-word-wrap {
155
21
  white-space: normal;
156
22
  word-wrap: break-word;
@@ -162,7 +28,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
162
28
  -webkit-hyphens: auto;
163
29
  hyphens: auto
164
30
  }
165
- `,qi=dt`
31
+ `,mr=_`
166
32
  .ft-safari-ellipsis-fix {
167
33
  margin-right: 0;
168
34
 
@@ -173,7 +39,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
173
39
  display: inline-block;
174
40
  width: 0;
175
41
  }
176
- `;var Yi=Object.freeze({__proto__:null,noTextSelect:Gi,safariEllipsisFix:qi,wordWrap:Vi}),Ji=Object.freeze({__proto__:null});var Xi=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let i=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>i=i.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),i}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}});class Qi{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function tn(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var on,en,rn;const nn=Symbol("internalReduxEventsUnsubscribers"),an=Symbol("internalStoresUnsubscribers"),ln=Symbol("internalStores");class sn extends Ai{constructor(){super(...arguments),this[on]=new Map,this[en]=new Map,this[rn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[ln].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ln].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[ln].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:tn(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[ln].delete(o)}setupStore(t,o){this[ln].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ln].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[an].has(t.store):this[an].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[an].set(t,o.subscribe((()=>this.updateFromStores()))),tn(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[nn].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[an].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[nn].forEach((t=>t())),this[nn]=[]}unsubscribeFromStore(t){this[an].has(t)&&this[an].get(t)(),this[an].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function cn(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function fn(t){return!!t&&!!t[Yn]}function pn(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Jn}(t)||Array.isArray(t)||!!t[qn]||!!(null===(o=t.constructor)||void 0===o?void 0:o[qn])||bn(t)||mn(t))}function dn(t,o,e){void 0===e&&(e=!1),0===hn(t)?(e?Object.keys:Xn)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function hn(t){var o=t[Yn];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:bn(t)?2:mn(t)?3:0}function un(t,o){return 2===hn(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function gn(t,o,e){var r=hn(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function yn(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function bn(t){return Hn&&t instanceof Map}function mn(t){return Tn&&t instanceof Set}function vn(t){return t.o||t.t}function xn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Qn(t);delete o[Yn];for(var e=Xn(o),r=0;r<e.length;r++){var i=e[r],n=o[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(o[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),o)}function On(t,o){return void 0===o&&(o=!1),Sn(t)||fn(t)||!pn(t)||(hn(t)>1&&(t.set=t.add=t.clear=t.delete=wn),Object.freeze(t),o&&dn(t,(function(t,o){return On(o,!0)}),!0)),t}function wn(){cn(2)}function Sn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Cn(t){var o=ta[t];return o||cn(18,t),o}function Nn(){return Mn}function En(t,o){o&&(Cn("Patches"),t.u=[],t.s=[],t.v=o)}function $n(t){In(t),t.p.forEach(kn),t.p=null}function In(t){t===Mn&&(Mn=t.l)}function Rn(t){return Mn={p:[],l:Mn,h:t,m:!0,_:0}}function kn(t){var o=t[Yn];0===o.i||1===o.i?o.j():o.g=!0}function Ln(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||Cn("ES5").S(o,t,r),r?(e[Yn].P&&($n(o),cn(4)),pn(t)&&(t=Un(o,t),o.l||zn(o,t)),o.u&&Cn("Patches").M(e[Yn].t,t,o.u,o.s)):t=Un(o,e,[]),$n(o),o.u&&o.v(o.u,o.s),t!==Vn?t:void 0}function Un(t,o,e){if(Sn(o))return o;var r=o[Yn];if(!r)return dn(o,(function(i,n){return Wn(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return zn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=xn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),dn(n,(function(o,n){return Wn(t,r,i,o,n,e,a)})),zn(t,i,!1),e&&t.u&&Cn("Patches").N(r,e,t.u,t.s)}return r.o}function Wn(t,o,e,r,i,n,a){if(fn(i)){var l=Un(t,i,n&&o&&3!==o.i&&!un(o.R,r)?n.concat(r):void 0);if(gn(e,r,l),!fn(l))return;t.m=!1}else a&&e.add(i);if(pn(i)&&!Sn(i)){if(!t.h.D&&t._<1)return;Un(t,i),o&&o.A.l||zn(t,i)}}function zn(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&On(o,e)}function Bn(t,o){var e=t[Yn];return(e?vn(e):t)[o]}function Fn(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function jn(t){t.P||(t.P=!0,t.l&&jn(t.l))}function An(t){t.o||(t.o=xn(t.t))}function Zn(t,o,e){var r=bn(o)?Cn("MapSet").F(o,e):mn(o)?Cn("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:Nn(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=oa;e&&(i=[r],n=ea);var a=Proxy.revocable(i,n),l=a.revoke,s=a.proxy;return r.k=s,r.j=l,s}(o,e):Cn("ES5").J(o,e);return(e?e.A:Nn()).p.push(r),r}function _n(t){return fn(t)||cn(22,t),function t(o){if(!pn(o))return o;var e,r=o[Yn],i=hn(o);if(r){if(!r.P&&(r.i<4||!Cn("ES5").K(r)))return r.t;r.I=!0,e=Pn(o,i),r.I=!1}else e=Pn(o,i);return dn(e,(function(o,i){r&&function(t,o){return 2===hn(t)?t.get(o):t[o]}(r.t,o)===i||gn(e,o,t(i))})),3===i?new Set(e):e}(t)}function Pn(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return xn(t)}on=an,en=ln,rn=nn,sn.reduxProperties=new Map,sn.reduxReactiveProperties=new Set,sn.reduxEventListeners=new Map;var Kn,Mn,Dn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Hn="undefined"!=typeof Map,Tn="undefined"!=typeof Set,Gn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Vn=Dn?Symbol.for("immer-nothing"):((Kn={})["immer-nothing"]=!0,Kn),qn=Dn?Symbol.for("immer-draftable"):"__$immer_draftable",Yn=Dn?Symbol.for("immer-state"):"__$immer_state",Jn=""+Object.prototype.constructor,Xn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Qn=Object.getOwnPropertyDescriptors||function(t){var o={};return Xn(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},ta={},oa={get:function(t,o){if(o===Yn)return t;var e=vn(t);if(!un(e,o))return function(t,o,e){var r,i=Fn(o,e);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!pn(r)?r:r===Bn(t.t,o)?(An(t),t.o[o]=Zn(t.A.h,r,t)):r},has:function(t,o){return o in vn(t)},ownKeys:function(t){return Reflect.ownKeys(vn(t))},set:function(t,o,e){var r=Fn(vn(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=Bn(vn(t),o),n=null==i?void 0:i[Yn];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(yn(e,i)&&(void 0!==e||un(t.t,o)))return!0;An(t),jn(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==Bn(t.t,o)||o in t.t?(t.R[o]=!1,An(t),jn(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=vn(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){cn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){cn(12)}},ea={};dn(oa,(function(t,o){ea[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),ea.deleteProperty=function(t,o){return ea.set.call(this,t,o,void 0)},ea.set=function(t,o,e){return oa.set.call(this,t[0],o,e,t[0])};var ra=function(){function t(t){var o=this;this.O=Gn,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var i=e;e=t;var n=o;return function(t){var o=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&cn(6),void 0!==r&&"function"!=typeof r&&cn(7),pn(t)){var l=Rn(o),s=Zn(o,t,void 0),c=!0;try{a=e(s),c=!1}finally{c?$n(l):In(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return En(l,r),Ln(t,l)}),(function(t){throw $n(l),t})):(En(l,r),Ln(a,l))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Vn&&(a=void 0),o.D&&On(a,!0),r){var f=[],p=[];Cn("Patches").M(t,a,f,p),r(f,p)}return a}cn(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(i))}))};var r,i,n=o.produce(t,e,(function(t,o){r=t,i=o}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){pn(t)||cn(8),fn(t)&&(t=_n(t));var o=Rn(this),e=Zn(this,t,void 0);return e[Yn].C=!0,In(o),e},o.finishDraft=function(t,o){var e=(t&&t[Yn]).A;return En(e,o),Ln(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Gn&&cn(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var i=Cn("Patches").$;return fn(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),ia=new ra,na=ia.produce;function aa(t){return aa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},aa(t)}function la(t){var o=function(t,o){if("object"!==aa(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==aa(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===aa(o)?o:String(o)}function sa(t,o,e){return(o=la(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function ca(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function fa(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?ca(Object(e),!0).forEach((function(o){sa(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ca(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function pa(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}ia.produceWithPatches.bind(ia),ia.setAutoFreeze.bind(ia),ia.setUseProxies.bind(ia),ia.applyPatches.bind(ia),ia.createDraft.bind(ia),ia.finishDraft.bind(ia);var da="function"==typeof Symbol&&Symbol.observable||"@@observable",ha=function(){return Math.random().toString(36).substring(7).split("").join(".")},ua={INIT:"@@redux/INIT"+ha(),REPLACE:"@@redux/REPLACE"+ha(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ha()}};function ga(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(pa(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(pa(1));return e(ga)(t,o)}if("function"!=typeof t)throw new Error(pa(2));var i=t,n=o,a=[],l=a,s=!1;function c(){l===a&&(l=a.slice())}function f(){if(s)throw new Error(pa(3));return n}function p(t){if("function"!=typeof t)throw new Error(pa(4));if(s)throw new Error(pa(5));var o=!0;return c(),l.push(t),function(){if(o){if(s)throw new Error(pa(6));o=!1,c();var e=l.indexOf(t);l.splice(e,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(pa(7));if(void 0===t.type)throw new Error(pa(8));if(s)throw new Error(pa(9));try{s=!0,n=i(n,t)}finally{s=!1}for(var o=a=l,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:ua.INIT}),(r={dispatch:d,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(pa(10));i=t,d({type:ua.REPLACE})}})[da]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(pa(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[da]=function(){return this},t},r}function ya(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var i=o[r];"function"==typeof t[i]&&(e[i]=t[i])}var n,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:ua.INIT}))throw new Error(pa(12));if(void 0===e(void 0,{type:ua.PROBE_UNKNOWN_ACTION()}))throw new Error(pa(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},l=0;l<a.length;l++){var s=a[l],c=e[s],f=t[s],p=c(f,o);if(void 0===p)throw o&&o.type,new Error(pa(14));i[s]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ba(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function ma(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(pa(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=ba.apply(void 0,n)(e.dispatch),fa(fa({},e),{},{dispatch:r})}}}function va(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(i){return"function"==typeof i?i(e,r,t):o(i)}}}}var xa=va();xa.withExtraArgument=va;var Oa,wa=xa,Sa=(Oa=function(t,o){return Oa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},Oa(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}Oa(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),Ca=function(t,o){var e,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function l(n){return function(l){return function(n){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=o.call(t,a)}catch(t){n=[6,t],r=0}finally{e=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,l])}}},Na=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},Ea=Object.defineProperty,$a=Object.defineProperties,Ia=Object.getOwnPropertyDescriptors,Ra=Object.getOwnPropertySymbols,ka=Object.prototype.hasOwnProperty,La=Object.prototype.propertyIsEnumerable,Ua=function(t,o,e){return o in t?Ea(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Wa=function(t,o){for(var e in o||(o={}))ka.call(o,e)&&Ua(t,e,o[e]);if(Ra)for(var r=0,i=Ra(o);r<i.length;r++){e=i[r];La.call(o,e)&&Ua(t,e,o[e])}return t},za=function(t,o){return $a(t,Ia(o))},Ba="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ba:ba.apply(null,arguments)};var Fa=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return Sa(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Na([void 0],t[0].concat(this)))):new(o.bind.apply(o,Na([void 0],t.concat(this))))},o}(Array),ja=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return Sa(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,Na([void 0],t[0].concat(this)))):new(o.bind.apply(o,Na([void 0],t.concat(this))))},o}(Array);function Aa(t){return pn(t)?na(t,(function(){})):t}function Za(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new Fa;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(wa.withExtraArgument(e.extraArgument)):r.push(wa));return r}(t)}}function _a(t){var o,e=Za(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,l=void 0===a?e():a,s=r.devTools,c=void 0===s||s,f=r.preloadedState,p=void 0===f?void 0:f,d=r.enhancers,h=void 0===d?void 0:d;if("function"==typeof n)o=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=ya(n)}var u=l;"function"==typeof u&&(u=u(e));var g=ma.apply(void 0,u),y=ba;c&&(y=Ba(Wa({trace:!1},"object"==typeof c&&c)));var b=new ja(g),m=b;return Array.isArray(h)?m=Na([g],h):"function"==typeof h&&(m=h(b)),ga(o,p,y.apply(void 0,m))}function Pa(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return Wa(Wa({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function Ka(t){var o,e={},r=[],i={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,i},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),i},addDefaultCase:function(t){return o=t,i}};return t(i),[e,r,o]}function Ma(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Aa(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},l={},s={};function c(){var o="function"==typeof t.extraReducers?Ka(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,s=o[2],c=void 0===s?void 0:s,f=Wa(Wa({},i),l);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?Ka(o):[o,e,r],a=n[0],l=n[1],s=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Aa(t())};else{var c=Aa(t);i=function(){return c}}function f(t,o){void 0===t&&(t=i());var e=Na([a[o.type]],l.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[s]),e.reduce((function(t,e){if(e){var r;if(fn(t))return void 0===(r=e(t,o))?t:r;if(pn(t))return na(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var i=r[e];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var e,r,n=i[t],c=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,l[c]=e,s[t]=r?Pa(c,r):Pa(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:s,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var Da=["name","message","stack","code"],Ha=function(t,o){this.payload=t,this.meta=o},Ta=function(t,o){this.payload=t,this.meta=o},Ga=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Da;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function Va(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=Pa(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:za(Wa({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Pa(t+"/pending",(function(t,o,e){return{payload:void 0,meta:za(Wa({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Pa(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||Ga)(t||"Rejected"),meta:za(Wa({},n||{}),{arg:r,requestId:o,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(l,s,c){var f,p=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),d=new a;function h(t){f=t,d.abort()}var u=function(){return a=this,u=null,g=function(){var a,u,g,y,b,m;return Ca(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),y=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:s,extra:c}),null===(x=y)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,y];case 1:y=v.sent(),v.label=2;case 2:if(!1===y||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),l(i(p,t,null==(u=null==e?void 0:e.getPendingMeta)?void 0:u.call(e,{requestId:p,arg:t},{getState:s,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:l,getState:s,extra:c,requestId:p,signal:d.signal,abort:h,rejectWithValue:function(t,o){return new Ha(t,o)},fulfillWithValue:function(t,o){return new Ta(t,o)}})).then((function(o){if(o instanceof Ha)throw o;return o instanceof Ta?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return g=v.sent(),[3,5];case 4:return m=v.sent(),g=m instanceof Ha?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(g)&&g.meta.condition||l(g),[2,g]}var x}))},new Promise((function(t,o){var e=function(t){try{i(g.next(t))}catch(t){o(t)}},r=function(t){try{i(g.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((g=g.apply(a,u)).next())}));var a,u,g}();return Object.assign(u,{abort:h,requestId:p,arg:t,unwrap:function(){return u.then(Va)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var qa="listenerMiddleware";Pa(qa+"/add"),Pa(qa+"/removeAll"),Pa(qa+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=i[t];return e?e.enumerable=o:i[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Yn];return oa.get(o,t)},set:function(o){var e=this[Yn];oa.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Yn];if(!i.P)switch(i.i){case 5:r(i)&&jn(i);break;case 4:e(i)&&jn(i)}}}function e(t){for(var o=t.t,e=t.k,r=Xn(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Yn){var a=o[n];if(void 0===a&&!un(o,n))return!0;var l=e[n],s=l&&l[Yn];if(s?s.t!==a:!yn(l,a))return!0}}var c=!!o[Yn];return r.length!==Xn(o).length+(c?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var i={};!function(t,o){ta[t]||(ta[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),i=function(o,e){if(o){for(var r=Array(e.length),i=0;i<e.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Qn(e);delete n[Yn];for(var a=Xn(n),l=0;l<a.length;l++){var s=a[l];n[s]=t(s,o||!!n[s].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:Nn(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Yn,{value:n,writable:!0}),i},S:function(t,e,i){i?fn(e)&&e[Yn].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Yn];if(e){var i=e.t,n=e.k,a=e.R,l=e.i;if(4===l)dn(n,(function(o){o!==Yn&&(void 0!==i[o]||un(i,o)?a[o]||t(n[o]):(a[o]=!0,jn(e)))})),dn(i,(function(t){void 0!==n[t]||un(n,t)||(a[t]=!1,jn(e))}));else if(5===l){if(r(e)&&(jn(e),a.length=!0),n.length<i.length)for(var s=n.length;s<i.length;s++)a[s]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ya{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(tn(i))return i;if(null==r)return;const n=Ma({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=_a({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?n.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}:n.reducer(t,o)});return window.ftReduxStores[r.name]=new Ya(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Qi,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,i=t[r];return i?(...t)=>{const o=i(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Ja=Object.freeze({__proto__:null,FtCommandQueue:Qi,FtLitElementRedux:sn,FtReduxStore:Ya,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))tn(o)&&o.clear()},isFtReduxStore:tn,redux:t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!pe(t,o),attribute:!1,...o};So(i)(t,e);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}},reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var Xa=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e,r,i,n;const a=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all"});if((null===(r=o.query)||void 0===r?void 0:r.length)>0&&a.append("query",o.query),o.scope&&"DEFAULT"!==o.scope&&a.append("scope",o.scope.toLowerCase()),o.virtualField&&a.append("virtual-field",o.virtualField.toLowerCase()),o.periodFilter){let t=o.periodFilter.period;const e=t?`_${t.from}_${t.to}`:"";a.append("period",o.periodFilter.periodType.toLowerCase()+e)}if((null===(i=o.sort)||void 0===i?void 0:i.length)>0&&"ft:lastEdition"===o.sort[0].key&&a.append("sort","last_update"),(null===(n=o.filters)||void 0===n?void 0:n.length)>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.toString()}`).href}});const Qa=Symbol("elementInternals");function tl(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Qa].form}constructor(...t){super(t),this[Qa]=this.attachInternals(),this[Qa].role=o}setFormValue(t){this[Qa].setFormValue(t)}}}var ol,el,rl,il,nl=Object.freeze({__proto__:null,toFtFormComponent:tl});const al=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(rl=null===(el=null===(ol=window.safari)||void 0===ol?void 0:ol.pushNotification)||void 0===el?void 0:el.toString())&&void 0!==rl?rl:""),ll="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(il=window.ftGlobals)&&void 0!==il?il:{lit:xo,litDecorators:ko,litRepeat:Mo,litClassMap:Ho,litStyleMap:qo,litUnsafeHTML:Xo,wcUtils:{...re,...ee,...ne,...le,...ye,...Or,...Nr,...Ii,...vr,...Zi,..._i,...de,...Ti,...Yi,...Ji,...Xi,...Ja,...Wi,...Xa,...nl,isSafari:al,isTouchScreen:ll}};const sl=me.extend("--ft-ripple-color","",xr.colorContent),cl={color:sl,backgroundColor:me.extend("--ft-ripple-background-color","",sl),opacityContentOnSurfacePressed:me.external(xr.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:me.external(xr.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:me.external(xr.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:me.external(xr.opacityContentOnSurfaceSelected,"Design system"),borderRadius:me.create("--ft-ripple-border-radius","","SIZE","0px")},fl=me.extend("--ft-ripple-color","",xr.colorPrimary),pl=fl,dl=me.extend("--ft-ripple-background-color","",fl),hl=me.extend("--ft-ripple-color","",xr.colorSecondary),ul=hl,gl=me.extend("--ft-ripple-background-color","",hl),yl=dt`
42
+ `;var Ya={};var Bn={};U(Bn,{ParametrizedLabelResolver:()=>zn});var zn=class{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var n,i;t=this.resolvePluralKey(t,o);let a=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return o.forEach((s,c)=>a=a.replace(new RegExp(`\\{${c}([^}]*)\\}`,"g"),(l,d)=>this.formatValue(s,d))),a}resolvePluralKey(t,o){for(let n of o)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):t??""}formatDate(t,o){let n=i=>o?.includes("date")?t.toLocaleDateString(i):o?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var hi={};U(hi,{FtCommandQueue:()=>gr,FtLitElementRedux:()=>_e,FtReduxStore:()=>ui,clearAllStores:()=>Tp,isFtReduxStore:()=>ye,redux:()=>ql,reduxEventListener:()=>Yl,reduxReactive:()=>Zl});var Zl=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},ql=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:(c,l)=>!Kt(c,l),attribute:!1,...t};C(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:c=>c[n],store:t.store})}},Yl=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var gr=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function ye(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Xa,Ja,Qa,Qr=Symbol("internalReduxEventsUnsubscribers"),qt=Symbol("internalStoresUnsubscribers"),be=Symbol("internalStores"),_e=class extends z{constructor(){super(...arguments),this[Xa]=new Map,this[Ja]=new Map,this[Qa]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[be].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[be].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[be].get(t)}addStore(t,o){var n;o=(n=o??(ye(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[be].delete(o)}setupStore(t,o){this[be].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[be].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(t.store);i&&(t.store?this[qt].has(t.store):this[qt].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[qt].set(t,o.subscribe(()=>this.updateFromStores())),ye(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||o.name===i.store)){let s=c=>this[a](c);o.eventBus.addEventListener(i.eventName,s),this[Qr].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qt].forEach((t,o)=>this.unsubscribeFromStore(o)),this[Qr].forEach(t=>t()),this[Qr]=[]}unsubscribeFromStore(t){this[qt].has(t)&&this[qt].get(t)(),this[qt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Xa=qt,Ja=be,Qa=Qr;_e.reduxProperties=new Map;_e.reduxReactiveProperties=new Set;_e.reduxEventListeners=new Map;function mt(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function zt(e){return!!e&&!!e[B]}function vt(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===np}(e)||Array.isArray(e)||!!e[as]||!!(!((t=e.constructor)===null||t===void 0)&&t[as])||Yn(e)||Xn(e))}function xe(e,t,o){o===void 0&&(o=!1),Ie(e)===0?(o?Object.keys:Te)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function Ie(e){var t=e[B];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Yn(e)?2:Xn(e)?3:0}function Le(e,t){return Ie(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Xl(e,t){return Ie(e)===2?e.get(t):e[t]}function ss(e,t,o){var n=Ie(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function cs(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Yn(e){return rp&&e instanceof Map}function Xn(e){return op&&e instanceof Set}function Yt(e){return e.o||e.t}function Jn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ds(e);delete t[B];for(var o=Te(t),n=0;n<o.length;n++){var i=o[n],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function Qn(e,t){return t===void 0&&(t=!1),ti(e)||zt(e)||!vt(e)||(Ie(e)>1&&(e.set=e.add=e.clear=e.delete=Jl),Object.freeze(e),t&&xe(e,function(o,n){return Qn(n,!0)},!0)),e}function Jl(){mt(2)}function ti(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Nt(e){var t=qn[e];return t||mt(18,e),t}function Ql(e,t){qn[e]||(qn[e]=t)}function Kn(){return br}function Hn(e,t){t&&(Nt("Patches"),e.u=[],e.s=[],e.v=t)}function to(e){Gn(e),e.p.forEach(tp),e.p=null}function Gn(e){e===br&&(br=e.l)}function ts(e){return br={p:[],l:br,h:e,m:!0,_:0}}function tp(e){var t=e[B];t.i===0||t.i===1?t.j():t.g=!0}function Fn(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Nt("ES5").S(t,e,n),n?(o[B].P&&(to(t),mt(4)),vt(e)&&(e=eo(t,e),t.l||ro(t,e)),t.u&&Nt("Patches").M(o[B].t,e,t.u,t.s)):e=eo(t,o,[]),to(t),t.u&&t.v(t.u,t.s),e!==ps?e:void 0}function eo(e,t,o){if(ti(t))return t;var n=t[B];if(!n)return xe(t,function(c,l){return es(e,n,t,c,l,o)},!0),t;if(n.A!==e)return t;if(!n.P)return ro(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Jn(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),xe(a,function(c,l){return es(e,n,i,c,l,o,s)}),ro(e,i,!1),o&&e.u&&Nt("Patches").N(n,o,e.u,e.s)}return n.o}function es(e,t,o,n,i,a,s){if(zt(i)){var c=eo(e,i,a&&t&&t.i!==3&&!Le(t.R,n)?a.concat(n):void 0);if(ss(o,n,c),!zt(c))return;e.m=!1}else s&&o.add(i);if(vt(i)&&!ti(i)){if(!e.h.D&&e._<1)return;eo(e,i),t&&t.A.l||ro(e,i)}}function ro(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Qn(t,o)}function jn(e,t){var o=e[B];return(o?Yt(o):e)[t]}function rs(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function Xt(e){e.P||(e.P=!0,e.l&&Xt(e.l))}function Vn(e){e.o||(e.o=Jn(e.t))}function Zn(e,t,o){var n=Yn(t)?Nt("MapSet").F(t,o):Xn(t)?Nt("MapSet").T(t,o):e.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Kn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=c,d=xr;s&&(l=[c],d=yr);var h=Proxy.revocable(l,d),u=h.revoke,m=h.proxy;return c.k=m,c.j=u,m}(t,o):Nt("ES5").J(t,o);return(o?o.A:Kn()).p.push(n),n}function ep(e){return zt(e)||mt(22,e),function t(o){if(!vt(o))return o;var n,i=o[B],a=Ie(o);if(i){if(!i.P&&(i.i<4||!Nt("ES5").K(i)))return i.t;i.I=!0,n=os(o,a),i.I=!1}else n=os(o,a);return xe(n,function(s,c){i&&Xl(i.t,s)===c||ss(n,s,t(c))}),a===3?new Set(n):n}(e)}function os(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Jn(e)}function ls(){function e(s,c){var l=a[s];return l?l.enumerable=c:a[s]=l={configurable:!0,enumerable:c,get:function(){var d=this[B];return xr.get(d,s)},set:function(d){var h=this[B];xr.set(h,s,d)}},l}function t(s){for(var c=s.length-1;c>=0;c--){var l=s[c][B];if(!l.P)switch(l.i){case 5:n(l)&&Xt(l);break;case 4:o(l)&&Xt(l)}}}function o(s){for(var c=s.t,l=s.k,d=Te(l),h=d.length-1;h>=0;h--){var u=d[h];if(u!==B){var m=c[u];if(m===void 0&&!Le(c,u))return!0;var g=l[u],y=g&&g[B];if(y?y.t!==m:!cs(g,m))return!0}}var v=!!c[B];return d.length!==Te(c).length+(v?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var l=Object.getOwnPropertyDescriptor(c,c.length-1);if(l&&!l.get)return!0;for(var d=0;d<c.length;d++)if(!c.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&mt(3,JSON.stringify(Yt(s)))}var a={};Ql("ES5",{J:function(s,c){var l=Array.isArray(s),d=function(u,m){if(u){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,e(y,!0));return g}var v=ds(m);delete v[B];for(var E=Te(v),N=0;N<E.length;N++){var A=E[N];v[A]=e(A,u||!!v[A].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(l,s),h={i:l?5:4,A:c?c.A:Kn(),P:!1,I:!1,R:{},l:c,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,B,{value:h,writable:!0}),d},S:function(s,c,l){l?zt(c)&&c[B].A===s&&t(s.p):(s.u&&function d(h){if(h&&typeof h=="object"){var u=h[B];if(u){var m=u.t,g=u.k,y=u.R,v=u.i;if(v===4)xe(g,function(b){b!==B&&(m[b]!==void 0||Le(m,b)?y[b]||d(g[b]):(y[b]=!0,Xt(u)))}),xe(m,function(b){g[b]!==void 0||Le(g,b)||(y[b]=!1,Xt(u))});else if(v===5){if(n(u)&&(Xt(u),y.length=!0),g.length<m.length)for(var E=g.length;E<m.length;E++)y[E]=!1;else for(var N=m.length;N<g.length;N++)y[N]=!0;for(var A=Math.min(g.length,m.length),x=0;x<A;x++)g.hasOwnProperty(x)||(y[x]=!0),y[x]===void 0&&d(g[x])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var ns,br,ei=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",rp=typeof Map<"u",op=typeof Set<"u",is=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ps=ei?Symbol.for("immer-nothing"):((ns={})["immer-nothing"]=!0,ns),as=ei?Symbol.for("immer-draftable"):"__$immer_draftable",B=ei?Symbol.for("immer-state"):"__$immer_state";var np=""+Object.prototype.constructor,Te=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,ds=Object.getOwnPropertyDescriptors||function(e){var t={};return Te(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},qn={},xr={get:function(e,t){if(t===B)return e;var o=Yt(e);if(!Le(o,t))return function(i,a,s){var c,l=rs(a,s);return l?"value"in l?l.value:(c=l.get)===null||c===void 0?void 0:c.call(i.k):void 0}(e,o,t);var n=o[t];return e.I||!vt(n)?n:n===jn(e.t,t)?(Vn(e),e.o[t]=Zn(e.A.h,n,e)):n},has:function(e,t){return t in Yt(e)},ownKeys:function(e){return Reflect.ownKeys(Yt(e))},set:function(e,t,o){var n=rs(Yt(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=jn(Yt(e),t),a=i?.[B];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(cs(o,i)&&(o!==void 0||Le(e.t,t)))return!0;Vn(e),Xt(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return jn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Vn(e),Xt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=Yt(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){mt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){mt(12)}},yr={};xe(xr,function(e,t){yr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),yr.deleteProperty=function(e,t){return yr.set.call(this,e,t,void 0)},yr.set=function(e,t,o){return xr.set.call(this,e[0],t,o,e[0])};var ip=function(){function e(o){var n=this;this.O=is,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var l=n;return function(v){var E=this;v===void 0&&(v=c);for(var N=arguments.length,A=Array(N>1?N-1:0),x=1;x<N;x++)A[x-1]=arguments[x];return l.produce(v,function(b){var S;return(S=a).call.apply(S,[E,b].concat(A))})}}var d;if(typeof a!="function"&&mt(6),s!==void 0&&typeof s!="function"&&mt(7),vt(i)){var h=ts(n),u=Zn(n,i,void 0),m=!0;try{d=a(u),m=!1}finally{m?to(h):Gn(h)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(v){return Hn(h,s),Fn(v,h)},function(v){throw to(h),v}):(Hn(h,s),Fn(d,h))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===ps&&(d=void 0),n.D&&Qn(d,!0),s){var g=[],y=[];Nt("Patches").M(i,d,g,y),s(g,y)}return d}mt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){for(var h=arguments.length,u=Array(h>1?h-1:0),m=1;m<h;m++)u[m-1]=arguments[m];return n.produceWithPatches(d,function(g){return i.apply(void 0,[g].concat(u))})};var s,c,l=n.produce(i,a,function(d,h){s=d,c=h});return typeof Promise<"u"&&l instanceof Promise?l.then(function(d){return[d,s,c]}):[l,s,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){vt(o)||mt(8),zt(o)&&(o=ep(o));var n=ts(this),i=Zn(this,o,void 0);return i[B].C=!0,Gn(n),i},t.finishDraft=function(o,n){var i=o&&o[B],a=i.A;return Hn(a,n),Fn(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!is&&mt(20),this.O=o},t.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=Nt("Patches").$;return zt(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},e}(),dt=new ip,ap=dt.produce,Rm=dt.produceWithPatches.bind(dt),$m=dt.setAutoFreeze.bind(dt),Pm=dt.setUseProxies.bind(dt),_m=dt.applyPatches.bind(dt),Lm=dt.createDraft.bind(dt),Tm=dt.finishDraft.bind(dt),oo=ap;function Jt(e){"@babel/helpers - typeof";return Jt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jt(e)}function ri(e,t){if(Jt(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(Jt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function oi(e){var t=ri(e,"string");return Jt(t)==="symbol"?t:String(t)}function ni(e,t,o){return t=oi(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function fs(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,n)}return o}function no(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?fs(Object(o),!0).forEach(function(n){ni(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):fs(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function Q(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var us=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ii=function(){return Math.random().toString(36).substring(7).split("").join(".")},io={INIT:"@@redux/INIT"+ii(),REPLACE:"@@redux/REPLACE"+ii(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ii()}};function sp(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function ai(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Q(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Q(1));return o(ai)(e,t)}if(typeof e!="function")throw new Error(Q(2));var i=e,a=t,s=[],c=s,l=!1;function d(){c===s&&(c=s.slice())}function h(){if(l)throw new Error(Q(3));return a}function u(v){if(typeof v!="function")throw new Error(Q(4));if(l)throw new Error(Q(5));var E=!0;return d(),c.push(v),function(){if(E){if(l)throw new Error(Q(6));E=!1,d();var A=c.indexOf(v);c.splice(A,1),s=null}}}function m(v){if(!sp(v))throw new Error(Q(7));if(typeof v.type>"u")throw new Error(Q(8));if(l)throw new Error(Q(9));try{l=!0,a=i(a,v)}finally{l=!1}for(var E=s=c,N=0;N<E.length;N++){var A=E[N];A()}return v}function g(v){if(typeof v!="function")throw new Error(Q(10));i=v,m({type:io.REPLACE})}function y(){var v,E=u;return v={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(Q(11));function x(){A.next&&A.next(h())}x();var b=E(x);return{unsubscribe:b}}},v[us]=function(){return this},v}return m({type:io.INIT}),n={dispatch:m,subscribe:u,getState:h,replaceReducer:g},n[us]=y,n}function cp(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:io.INIT});if(typeof n>"u")throw new Error(Q(12));if(typeof o(void 0,{type:io.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Q(13))})}function hs(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(o[i]=e[i])}var a=Object.keys(o),s,c;try{cp(o)}catch(l){c=l}return function(d,h){if(d===void 0&&(d={}),c)throw c;if(0)var u;for(var m=!1,g={},y=0;y<a.length;y++){var v=a[y],E=o[v],N=d[v],A=E(N,h);if(typeof A>"u"){var x=h&&h.type;throw new Error(Q(14))}g[v]=A,m=m||A!==N}return m=m||a.length!==Object.keys(d).length,m?g:d}}function ke(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function ms(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Q(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=t.map(function(l){return l(s)});return a=ke.apply(void 0,c)(i.dispatch),no(no({},i),{},{dispatch:a})}}}function gs(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,e):s(c)}}};return t}var ys=gs();ys.withExtraArgument=gs;var si=ys;var Os=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),lp=function(e,t){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(d){return function(h){return l([d,h])}}function l(d){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=d[0]&2?i.return:d[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,d[1])).done)return a;switch(i=0,a&&(d=[d[0]&2,a.value]),d[0]){case 0:case 1:a=d;break;case 4:return o.label++,{value:d[1],done:!1};case 5:o.label++,i=d[1],d=[0];continue;case 7:d=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){o=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){o.label=d[1];break}if(d[0]===6&&o.label<a[1]){o.label=a[1],a=d;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(d);break}a[2]&&o.ops.pop(),o.trys.pop();continue}d=t.call(e,o)}catch(h){d=[6,h],i=0}finally{n=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},Me=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},pp=Object.defineProperty,dp=Object.defineProperties,fp=Object.getOwnPropertyDescriptors,bs=Object.getOwnPropertySymbols,up=Object.prototype.hasOwnProperty,hp=Object.prototype.propertyIsEnumerable,xs=function(e,t,o){return t in e?pp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},Qt=function(e,t){for(var o in t||(t={}))up.call(t,o)&&xs(e,o,t[o]);if(bs)for(var n=0,i=bs(t);n<i.length;n++){var o=i[n];hp.call(t,o)&&xs(e,o,t[o])}return e},ci=function(e,t){return dp(e,fp(t))},mp=function(e,t,o){return new Promise(function(n,i){var a=function(l){try{c(o.next(l))}catch(d){i(d)}},s=function(l){try{c(o.throw(l))}catch(d){i(d)}},c=function(l){return l.done?n(l.value):Promise.resolve(l.value).then(a,s)};c((o=o.apply(e,t)).next())})};var gp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ke:ke.apply(null,arguments)},Xm=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function yp(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var bp=function(e){Os(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Me([void 0],o[0].concat(this)))):new(t.bind.apply(t,Me([void 0],o.concat(this))))},t}(Array),xp=function(e){Os(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Me([void 0],o[0].concat(this)))):new(t.bind.apply(t,Me([void 0],o.concat(this))))},t}(Array);function di(e){return vt(e)?oo(e,function(){}):e}function vp(e){return typeof e=="boolean"}function Sp(){return function(t){return Op(t)}}function Op(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,a=e.serializableCheck,s=a===void 0?!0:a,c=new bp;if(o&&(vp(o)?c.push(si):c.push(si.withExtraArgument(o.extraArgument))),0){if(i)var l;if(s)var d}return c}var li=!0;function Cs(e){var t=Sp(),o=e||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?t():a,c=o.devTools,l=c===void 0?!0:c,d=o.preloadedState,h=d===void 0?void 0:d,u=o.enhancers,m=u===void 0?void 0:u,g;if(typeof i=="function")g=i;else if(yp(i))g=hs(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var y=s;if(typeof y=="function"&&(y=y(t),!li&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!li&&y.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=ms.apply(void 0,y),E=ke;l&&(E=gp(Qt({trace:!li},typeof l=="object"&&l)));var N=new xp(v),A=N;Array.isArray(m)?A=Me([v],m):typeof m=="function"&&(A=m(N));var x=E.apply(void 0,A);return ai(g,h,x)}function te(e,t){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Qt(Qt({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function ws(e){var t={},o=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[c]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return e(i),[t,o,n]}function Cp(e){return typeof e=="function"}function wp(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?ws(t):[t,o,n],a=i[0],s=i[1],c=i[2],l;if(Cp(e))l=function(){return di(e())};else{var d=di(e);l=function(){return d}}function h(u,m){u===void 0&&(u=l());var g=Me([a[m.type]],s.filter(function(y){var v=y.matcher;return v(m)}).map(function(y){var v=y.reducer;return v}));return g.filter(function(y){return!!y}).length===0&&(g=[c]),g.reduce(function(y,v){if(v)if(zt(y)){var E=y,N=v(E,m);return N===void 0?y:N}else{if(vt(y))return oo(y,function(A){return v(A,m)});var N=v(y,m);if(N===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return y},u)}return h.getInitialState=l,h}function Ep(e,t){return e+"/"+t}function Es(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:di(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var u=n[h],m=Ep(t,h),g,y;"reducer"in u?(g=u.reducer,y=u.prepare):g=u,a[h]=g,s[m]=g,c[h]=y?te(m,y):te(m)});function l(){var h=typeof e.extraReducers=="function"?ws(e.extraReducers):[e.extraReducers],u=h[0],m=u===void 0?{}:u,g=h[1],y=g===void 0?[]:g,v=h[2],E=v===void 0?void 0:v,N=Qt(Qt({},m),s);return wp(o,function(A){for(var x in N)A.addCase(x,N[x]);for(var b=0,S=y;b<S.length;b++){var L=S[b];A.addMatcher(L.matcher,L.reducer)}E&&A.addDefaultCase(E)})}var d;return{name:t,reducer:function(h,u){return d||(d=l()),d(h,u)},actions:c,caseReducers:a,getInitialState:function(){return d||(d=l()),d.getInitialState()}}}var Np="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Ap=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Np[Math.random()*64|0];return t},Rp=["name","message","stack","code"],pi=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),vs=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),$p=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Rp;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},eg=function(){function e(t,o,n){var i=te(t+"/fulfilled",function(h,u,m,g){return{payload:h,meta:ci(Qt({},g||{}),{arg:m,requestId:u,requestStatus:"fulfilled"})}}),a=te(t+"/pending",function(h,u,m){return{payload:void 0,meta:ci(Qt({},m||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=te(t+"/rejected",function(h,u,m,g,y){return{payload:g,error:(n&&n.serializeError||$p)(h||"Rejected"),meta:ci(Qt({},y||{}),{arg:m,requestId:u,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,l=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function d(h){return function(u,m,g){var y=n?.idGenerator?n.idGenerator(h):Ap(),v=new l,E,N=!1;function A(b){E=b,v.abort()}var x=function(){return mp(this,null,function(){var b,S,L,D,ot,W,P;return lp(this,function(T){switch(T.label){case 0:return T.trys.push([0,4,,5]),D=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:g}),_p(D)?[4,D]:[3,2];case 1:D=T.sent(),T.label=2;case 2:if(D===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,ot=new Promise(function(M,J){return v.signal.addEventListener("abort",function(){return J({name:"AbortError",message:E||"Aborted"})})}),u(a(y,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:y,arg:h},{getState:m,extra:g}))),[4,Promise.race([ot,Promise.resolve(o(h,{dispatch:u,getState:m,extra:g,requestId:y,signal:v.signal,abort:A,rejectWithValue:function(M,J){return new pi(M,J)},fulfillWithValue:function(M,J){return new vs(M,J)}})).then(function(M){if(M instanceof pi)throw M;return M instanceof vs?i(M.payload,y,h,M.meta):i(M,y,h)})])];case 3:return L=T.sent(),[3,5];case 4:return W=T.sent(),L=W instanceof pi?s(null,y,h,W.payload,W.meta):s(W,y,h),[3,5];case 5:return P=n&&!n.dispatchConditionRejection&&s.match(L)&&L.meta.condition,P||u(L),[2,L]}})})}();return Object.assign(x,{abort:A,requestId:y,arg:h,unwrap:function(){return x.then(Pp)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function Pp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function _p(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Ns="listener",As="completed",Rs="cancelled",rg="task-"+Rs,og="task-"+As,ng=Ns+"-"+Rs,ig=Ns+"-"+As;var fi="listenerMiddleware";var ag=te(fi+"/add"),sg=te(fi+"/removeAll"),cg=te(fi+"/remove");var Ss,lg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Ss||(Ss=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Lp=function(e){return function(t){setTimeout(t,e)}},pg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Lp(10);ls();window.ftReduxStores||(window.ftReduxStores={});var ui=class e{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(ye(a))return a;if(i==null)return;let s=Es({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=Cs({reducer:(l,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...d.overwrites}:s.reducer(l,d)});return window.ftReduxStores[i.name]=new e(s,c)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new gr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...l)=>{let d=c(...l);return this.reduxStore.dispatch(d),d}:l=>{this.setState({[s]:l})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Tp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))ye(t)&&t.clear()}var mi={};U(mi,{serializeRequest:()=>kp});function Ip(e){return`"${e}"`}function kp(e,t){var o,n,i,a;let s=new URLSearchParams({"content-lang":(o=t.contentLocale)!==null&&o!==void 0?o:"all"});if(((n=t.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",t.query),t.scope&&t.scope!=="DEFAULT"&&s.append("scope",t.scope.toLowerCase()),t.virtualField&&s.append("virtual-field",t.virtualField.toLowerCase()),t.periodFilter){let l=t.periodFilter.period,d=l?`_${l.from}_${l.to}`:"";s.append("period",t.periodFilter.periodType.toLowerCase()+d)}if(((i=t.sort)===null||i===void 0?void 0:i.length)>0&&t.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=t.filters)===null||a===void 0?void 0:a.length)>0){let l=t.filters.map(d=>{let h=d.values.map(u=>u.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(u=>encodeURIComponent(Ip(u))).join("_");return`${d.key}~${h}`}).join("*");s.append("filters",l)}return new URL(`${e.replace(/\/+$/,"")}/search?${s.toString()}`).href}var yi={};U(yi,{toFtFormComponent:()=>gi});var ao=Symbol("elementInternals");function gi(e,t){class o extends e{static get formAssociated(){return!0}get form(){return this[ao].form}constructor(...i){super(i),this[ao]=this.attachInternals(),this[ao].role=t}setFormValue(i){this[ao].setFormValue(i)}}return o}var bi,xi,vi,Si,vr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((vi=(xi=(bi=window.safari)===null||bi===void 0?void 0:bi.pushNotification)===null||xi===void 0?void 0:xi.toString())!==null&&vi!==void 0?vi:"")==="[object SafariRemoteNotification]",Mp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Si=window.ftGlobals)!==null&&Si!==void 0?Si:{lit:Eo,litDecorators:Ao,litRepeat:Ro,litClassMap:$o,litStyleMap:Po,litUnsafeHTML:Lo,wcUtils:{...Mo,...Io,...Wo,...Uo,...Ho,...gn,...vn,...Ln,...mn,...kn,...Za,...zo,...Wn,...Un,...Ya,...Bn,...hi,...Tn,...mi,...yi,isSafari:vr,isTouchScreen:Mp}};function $s(e,t,o){if(e.length==0)return!0;let n=e.replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"|"),i=new RegExp(n),a=t.includes(".")?"."+t.split(".").pop():void 0;return a&&i.test(a)?!0:i.test(o)}var Ps=r.extend("--ft-ripple-color","",I.colorContent),k={color:Ps,backgroundColor:r.extend("--ft-ripple-background-color","",Ps),opacityContentOnSurfacePressed:r.external(I.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(I.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(I.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(I.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},_s=r.extend("--ft-ripple-color","",I.colorPrimary),Ls={color:_s,backgroundColor:r.extend("--ft-ripple-background-color","",_s)},Ts=r.extend("--ft-ripple-color","",I.colorSecondary),Is={color:Ts,backgroundColor:r.extend("--ft-ripple-background-color","",Ts)},ks=_`
177
43
  :host {
178
44
  display: contents;
179
45
  }
@@ -186,7 +52,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
186
52
 
187
53
  .ft-ripple:not(.ft-ripple--unbounded) {
188
54
  overflow: hidden;
189
- border-radius: ${cl.borderRadius};
55
+ border-radius: ${k.borderRadius};
190
56
  }
191
57
 
192
58
  .ft-ripple .ft-ripple--background,
@@ -220,27 +86,27 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
220
86
  }
221
87
 
222
88
  .ft-ripple .ft-ripple--background {
223
- background-color: ${cl.backgroundColor};
89
+ background-color: ${k.backgroundColor};
224
90
  }
225
91
 
226
92
  .ft-ripple .ft-ripple--effect {
227
- background-color: ${cl.color};
93
+ background-color: ${k.color};
228
94
  }
229
95
 
230
96
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
231
- background-color: ${gl};
97
+ background-color: ${Is.backgroundColor};
232
98
  }
233
99
 
234
100
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
235
- background-color: ${ul};
101
+ background-color: ${Is.color};
236
102
  }
237
103
 
238
104
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
239
- background-color: ${dl};
105
+ background-color: ${Ls.backgroundColor};
240
106
  }
241
107
 
242
108
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
243
- background-color: ${pl};
109
+ background-color: ${Ls.color};
244
110
  }
245
111
 
246
112
  .ft-ripple .ft-ripple--background {
@@ -270,150 +136,145 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
270
136
  }
271
137
 
272
138
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
273
- opacity: ${cl.opacityContentOnSurfaceHover};
139
+ opacity: ${k.opacityContentOnSurfaceHover};
274
140
  }
275
141
 
276
142
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
277
- opacity: ${cl.opacityContentOnSurfaceSelected};
143
+ opacity: ${k.opacityContentOnSurfaceSelected};
278
144
  }
279
145
 
280
146
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
281
- opacity: ${cl.opacityContentOnSurfaceFocused};
147
+ opacity: ${k.opacityContentOnSurfaceFocused};
282
148
  }
283
149
 
284
150
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
285
- opacity: ${cl.opacityContentOnSurfacePressed};
151
+ opacity: ${k.opacityContentOnSurfacePressed};
286
152
  transform: translate(-50%, -50%) scale(1);
287
153
  }
288
- `;var bl=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ml extends Ai{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 ae(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 ae(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-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 Jt`
154
+ `;var it=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},H=class extends z{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 bt(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new bt(10),this.moveRipple=t=>{var o,n;let{x:i,y:a}=this.getCoordinates(t),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(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 G`
289
155
  <style>
290
156
  .ft-ripple .ft-ripple--effect {
291
157
  left: ${this.originX}px;
292
158
  top: ${this.originY}px;
293
159
  }
294
160
  </style>
295
- <div class="${Do(t)}">
161
+ <div class="${kt(t)}">
296
162
  <div class="ft-ripple--background"></div>
297
163
  <div class="ft-ripple--effect"></div>
298
164
  </div>
299
- `}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 o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.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,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}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 o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("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",e,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,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",e,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,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 o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}ml.elementDefinitions={},ml.styles=yl,bl([So({type:Boolean})],ml.prototype,"primary",void 0),bl([So({type:Boolean})],ml.prototype,"secondary",void 0),bl([So({type:Boolean})],ml.prototype,"unbounded",void 0),bl([So({type:Boolean})],ml.prototype,"activated",void 0),bl([So({type:Boolean})],ml.prototype,"selected",void 0),bl([So({type:Boolean})],ml.prototype,"disabled",void 0),bl([Co()],ml.prototype,"hovered",void 0),bl([Co()],ml.prototype,"focused",void 0),bl([Co()],ml.prototype,"pressed",void 0),bl([Co()],ml.prototype,"rippling",void 0),bl([Co()],ml.prototype,"originX",void 0),bl([Co()],ml.prototype,"originY",void 0),bl([$o(".ft-ripple")],ml.prototype,"ripple",void 0),bl([$o(".ft-ripple--effect")],ml.prototype,"rippleEffect",void 0),he("ft-ripple")(ml);
300
- /**
301
- * @license
302
- * Copyright 2020 Google LLC
303
- * SPDX-License-Identifier: BSD-3-Clause
304
- */
305
- const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$litStatic$:t,r:vl}),wl=new Map,Sl=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let s,c=0,f=!1;for(;c<r;){for(s=o[c];c<r&&void 0!==(n=e[c],i=xl(n));)s+=i+o[++c],f=!0;c!==r&&l.push(n),a.push(s),c++}if(c===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=wl.get(t))&&(a.raw=a,wl.set(t,o=a)),e=l}return t(o,...e)})(K);var Cl;!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"}(Cl||(Cl={}));const Nl=me.extend("--ft-typography-font-family","",xr.titleFont),El=me.extend("--ft-typography-font-family","",xr.contentFont),$l={fontFamily:El,fontSize:me.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:me.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:me.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:me.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:me.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Il=me.extend("--ft-typography-title-font-family","",Nl),Rl=me.extend("--ft-typography-title-font-size","",$l.fontSize,"20px"),kl=me.extend("--ft-typography-title-font-weight","",$l.fontWeight,"normal"),Ll=me.extend("--ft-typography-title-letter-spacing","",$l.letterSpacing,"0.15px"),Ul=me.extend("--ft-typography-title-line-height","",$l.lineHeight,"1.2"),Wl=me.extend("--ft-typography-title-text-transform","",$l.textTransform,"inherit"),zl=me.extend("--ft-typography-title-dense-font-family","",Nl),Bl=me.extend("--ft-typography-title-dense-font-size","",$l.fontSize,"14px"),Fl=me.extend("--ft-typography-title-dense-font-weight","",$l.fontWeight,"normal"),jl=me.extend("--ft-typography-title-dense-letter-spacing","",$l.letterSpacing,"0.105px"),Al=me.extend("--ft-typography-title-dense-line-height","",$l.lineHeight,"1.7"),Zl=me.extend("--ft-typography-title-dense-text-transform","",$l.textTransform,"inherit"),_l=me.extend("--ft-typography-subtitle1-font-family","",El),Pl=me.extend("--ft-typography-subtitle1-font-size","",$l.fontSize,"16px"),Kl=me.extend("--ft-typography-subtitle1-font-weight","",$l.fontWeight,"600"),Ml=me.extend("--ft-typography-subtitle1-letter-spacing","",$l.letterSpacing,"0.144px"),Dl=me.extend("--ft-typography-subtitle1-line-height","",$l.lineHeight,"1.5"),Hl=me.extend("--ft-typography-subtitle1-text-transform","",$l.textTransform,"inherit"),Tl=me.extend("--ft-typography-subtitle2-font-family","",El),Gl=me.extend("--ft-typography-subtitle2-font-size","",$l.fontSize,"14px"),Vl=me.extend("--ft-typography-subtitle2-font-weight","",$l.fontWeight,"normal"),ql=me.extend("--ft-typography-subtitle2-letter-spacing","",$l.letterSpacing,"0.098px"),Yl=me.extend("--ft-typography-subtitle2-line-height","",$l.lineHeight,"1.7"),Jl=me.extend("--ft-typography-subtitle2-text-transform","",$l.textTransform,"inherit"),Xl=me.extend("--ft-typography-body1-font-family","",El),Ql=me.extend("--ft-typography-body1-font-size","",$l.fontSize,"16px"),ts=me.extend("--ft-typography-body1-font-weight","",$l.fontWeight,"normal"),os=me.extend("--ft-typography-body1-letter-spacing","",$l.letterSpacing,"0.496px"),es=me.extend("--ft-typography-body1-line-height","",$l.lineHeight,"1.5"),rs=me.extend("--ft-typography-body1-text-transform","",$l.textTransform,"inherit"),is={fontFamily:me.extend("--ft-typography-body2-font-family","",El),fontSize:me.extend("--ft-typography-body2-font-size","",$l.fontSize,"14px"),fontWeight:me.extend("--ft-typography-body2-font-weight","",$l.fontWeight,"normal"),letterSpacing:me.extend("--ft-typography-body2-letter-spacing","",$l.letterSpacing,"0.252px"),lineHeight:me.extend("--ft-typography-body2-line-height","",$l.lineHeight,"1.4"),textTransform:me.extend("--ft-typography-body2-text-transform","",$l.textTransform,"inherit")},ns=me.extend("--ft-typography-caption-font-family","",El),as=me.extend("--ft-typography-caption-font-size","",$l.fontSize,"12px"),ls=me.extend("--ft-typography-caption-font-weight","",$l.fontWeight,"normal"),ss=me.extend("--ft-typography-caption-letter-spacing","",$l.letterSpacing,"0.396px"),cs=me.extend("--ft-typography-caption-line-height","",$l.lineHeight,"1.33"),fs=me.extend("--ft-typography-caption-text-transform","",$l.textTransform,"inherit"),ps=me.extend("--ft-typography-breadcrumb-font-family","",El),ds=me.extend("--ft-typography-breadcrumb-font-size","",$l.fontSize,"10px"),hs=me.extend("--ft-typography-breadcrumb-font-weight","",$l.fontWeight,"normal"),us=me.extend("--ft-typography-breadcrumb-letter-spacing","",$l.letterSpacing,"0.33px"),gs=me.extend("--ft-typography-breadcrumb-line-height","",$l.lineHeight,"1.6"),ys=me.extend("--ft-typography-breadcrumb-text-transform","",$l.textTransform,"inherit"),bs=me.extend("--ft-typography-overline-font-family","",El),ms=me.extend("--ft-typography-overline-font-size","",$l.fontSize,"10px"),vs=me.extend("--ft-typography-overline-font-weight","",$l.fontWeight,"normal"),xs=me.extend("--ft-typography-overline-letter-spacing","",$l.letterSpacing,"1.5px"),Os=me.extend("--ft-typography-overline-line-height","",$l.lineHeight,"1.6"),ws=me.extend("--ft-typography-overline-text-transform","",$l.textTransform,"uppercase"),Ss={fontFamily:me.extend("--ft-typography-button-font-family","",El),fontSize:me.extend("--ft-typography-button-font-size","",$l.fontSize,"14px"),fontWeight:me.extend("--ft-typography-button-font-weight","",$l.fontWeight,"600"),letterSpacing:me.extend("--ft-typography-button-letter-spacing","",$l.letterSpacing,"1.246px"),lineHeight:me.extend("--ft-typography-button-line-height","",$l.lineHeight,"1.15"),textTransform:me.extend("--ft-typography-button-text-transform","",$l.textTransform,"uppercase")},Cs=dt`
165
+ `}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 o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.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,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}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");let o=(...c)=>l=>{c.forEach(d=>window.addEventListener(d,this.endPress,{once:!0})),this.startPress(l)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",i,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",i,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};H.elementDefinitions={};H.styles=ks;it([C({type:Boolean})],H.prototype,"primary",void 0);it([C({type:Boolean})],H.prototype,"secondary",void 0);it([C({type:Boolean})],H.prototype,"unbounded",void 0);it([C({type:Boolean})],H.prototype,"activated",void 0);it([C({type:Boolean})],H.prototype,"selected",void 0);it([C({type:Boolean})],H.prototype,"disabled",void 0);it([et()],H.prototype,"hovered",void 0);it([et()],H.prototype,"focused",void 0);it([et()],H.prototype,"pressed",void 0);it([et()],H.prototype,"rippling",void 0);it([et()],H.prototype,"originX",void 0);it([et()],H.prototype,"originY",void 0);it([rt(".ft-ripple")],H.prototype,"ripple",void 0);it([rt(".ft-ripple--effect")],H.prototype,"rippleEffect",void 0);Y("ft-ripple")(H);var Ds=Symbol.for(""),Dp=e=>{if(e?.r===Ds)return e?._$litStatic$},Oi=e=>({_$litStatic$:e,r:Ds});var Ms=new Map,Ws=e=>(t,...o)=>{let n=o.length,i,a,s=[],c=[],l,d=0,h=!1;for(;d<n;){for(l=t[d];d<n&&(a=o[d],(i=Dp(a))!==void 0);)l+=i+t[++d],h=!0;d!==n&&c.push(a),s.push(l),d++}if(d===n&&s.push(t[n]),h){let u=s.join("$$lit$$");(t=Ms.get(u))===void 0&&(s.raw=s,Ms.set(u,t=s)),o=c}return e(t,...o)},Ci=Ws(Fi),sy=Ws(ji);var ve;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(ve||(ve={}));function Us(e){let t=sr[e];return _`
166
+ .ft-typography--${Lt(e)} {
167
+ font-family: ${t.fontFamily};
168
+ font-size: ${t.fontSize};
169
+ font-weight: ${t.fontWeight};
170
+ letter-spacing: ${t.letterSpacing};
171
+ line-height: ${t.lineHeight};
172
+ text-transform: ${t.textCase};
173
+ }
174
+ `}var zs=r.extend("--ft-typography-font-family","",I.titleFont),Bt=r.extend("--ft-typography-font-family","",I.contentFont),$={fontFamily:Bt,fontSize:r.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.create("--ft-typography-text-transform","","UNKNOWN","inherit")},De={fontFamily:r.extend("--ft-typography-title-font-family","",zs),fontSize:r.extend("--ft-typography-title-font-size","",$.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",$.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",$.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",$.textTransform,"inherit")},We={fontFamily:r.extend("--ft-typography-title-dense-font-family","",zs),fontSize:r.extend("--ft-typography-title-dense-font-size","",$.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",$.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",$.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",$.textTransform,"inherit")},Ue={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",Bt),fontSize:r.extend("--ft-typography-subtitle1-font-size","",$.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",$.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",$.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",$.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",$.textTransform,"inherit")},ze={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",Bt),fontSize:r.extend("--ft-typography-subtitle2-font-size","",$.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",$.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",$.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",$.textTransform,"inherit")},Be={fontFamily:r.extend("--ft-typography-body1-font-family","",Bt),fontSize:r.extend("--ft-typography-body1-font-size","",$.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",$.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",$.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",$.textTransform,"inherit")},At={fontFamily:r.extend("--ft-typography-body2-font-family","",Bt),fontSize:r.extend("--ft-typography-body2-font-size","",$.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",$.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",$.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",$.textTransform,"inherit")},He={fontFamily:r.extend("--ft-typography-caption-font-family","",Bt),fontSize:r.extend("--ft-typography-caption-font-size","",$.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",$.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",$.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",$.textTransform,"inherit")},Fe={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",Bt),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",$.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",$.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",$.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",$.textTransform,"inherit")},je={fontFamily:r.extend("--ft-typography-overline-font-family","",Bt),fontSize:r.extend("--ft-typography-overline-font-size","",$.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",$.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",$.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",$.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",$.textTransform,"uppercase")},Rt={fontFamily:r.extend("--ft-typography-button-font-family","",Bt),fontSize:r.extend("--ft-typography-button-font-size","",$.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",$.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",$.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",$.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",$.textTransform,"uppercase")},Bs=_`
306
175
  .ft-typography--title {
307
- font-family: ${Il};
308
- font-size: ${Rl};
309
- font-weight: ${kl};
310
- letter-spacing: ${Ll};
311
- line-height: ${Ul};
312
- text-transform: ${Wl};
313
- }
314
- `,Ns=dt`
176
+ font-family: ${De.fontFamily};
177
+ font-size: ${De.fontSize};
178
+ font-weight: ${De.fontWeight};
179
+ letter-spacing: ${De.letterSpacing};
180
+ line-height: ${De.lineHeight};
181
+ text-transform: ${De.textTransform};
182
+ }
183
+ `,Hs=_`
315
184
  .ft-typography--title-dense {
316
- font-family: ${zl};
317
- font-size: ${Bl};
318
- font-weight: ${Fl};
319
- letter-spacing: ${jl};
320
- line-height: ${Al};
321
- text-transform: ${Zl};
322
- }
323
- `,Es=dt`
185
+ font-family: ${We.fontFamily};
186
+ font-size: ${We.fontSize};
187
+ font-weight: ${We.fontWeight};
188
+ letter-spacing: ${We.letterSpacing};
189
+ line-height: ${We.lineHeight};
190
+ text-transform: ${We.textTransform};
191
+ }
192
+ `,Fs=_`
324
193
  .ft-typography--subtitle1 {
325
- font-family: ${_l};
326
- font-size: ${Pl};
327
- font-weight: ${Kl};
328
- letter-spacing: ${Ml};
329
- line-height: ${Dl};
330
- text-transform: ${Hl};
331
- }
332
- `,$s=dt`
194
+ font-family: ${Ue.fontFamily};
195
+ font-size: ${Ue.fontSize};
196
+ font-weight: ${Ue.fontWeight};
197
+ letter-spacing: ${Ue.letterSpacing};
198
+ line-height: ${Ue.lineHeight};
199
+ text-transform: ${Ue.textTransform};
200
+ }
201
+ `,js=_`
333
202
  .ft-typography--subtitle2 {
334
- font-family: ${Tl};
335
- font-size: ${Gl};
336
- font-weight: ${Vl};
337
- letter-spacing: ${ql};
338
- line-height: ${Yl};
339
- text-transform: ${Jl};
203
+ font-family: ${ze.fontFamily};
204
+ font-size: ${ze.fontSize};
205
+ font-weight: ${ze.fontWeight};
206
+ letter-spacing: ${ze.letterSpacing};
207
+ line-height: ${ze.lineHeight};
208
+ text-transform: ${ze.textTransform};
340
209
  }
341
210
 
342
- `,Is=dt`
211
+ `,Vs=_`
343
212
  .ft-typography--body1 {
344
- font-family: ${Xl};
345
- font-size: ${Ql};
346
- font-weight: ${ts};
347
- letter-spacing: ${os};
348
- line-height: ${es};
349
- text-transform: ${rs};
350
- }
351
- `,Rs=dt`
213
+ font-family: ${Be.fontFamily};
214
+ font-size: ${Be.fontSize};
215
+ font-weight: ${Be.fontWeight};
216
+ letter-spacing: ${Be.letterSpacing};
217
+ line-height: ${Be.lineHeight};
218
+ text-transform: ${Be.textTransform};
219
+ }
220
+ `,Ks=_`
352
221
  .ft-typography--body2 {
353
- font-family: ${is.fontFamily};
354
- font-size: ${is.fontSize};
355
- font-weight: ${is.fontWeight};
356
- letter-spacing: ${is.letterSpacing};
357
- line-height: ${is.lineHeight};
358
- text-transform: ${is.textTransform};
359
- }
360
- `,ks=dt`
222
+ font-family: ${At.fontFamily};
223
+ font-size: ${At.fontSize};
224
+ font-weight: ${At.fontWeight};
225
+ letter-spacing: ${At.letterSpacing};
226
+ line-height: ${At.lineHeight};
227
+ text-transform: ${At.textTransform};
228
+ }
229
+ `,Gs=_`
361
230
  .ft-typography--caption {
362
- font-family: ${ns};
363
- font-size: ${as};
364
- font-weight: ${ls};
365
- letter-spacing: ${ss};
366
- line-height: ${cs};
367
- text-transform: ${fs};
368
- }
369
- `,Ls=dt`
231
+ font-family: ${He.fontFamily};
232
+ font-size: ${He.fontSize};
233
+ font-weight: ${He.fontWeight};
234
+ letter-spacing: ${He.letterSpacing};
235
+ line-height: ${He.lineHeight};
236
+ text-transform: ${He.textTransform};
237
+ }
238
+ `,Zs=_`
370
239
  .ft-typography--breadcrumb {
371
- font-family: ${ps};
372
- font-size: ${ds};
373
- font-weight: ${hs};
374
- letter-spacing: ${us};
375
- line-height: ${gs};
376
- text-transform: ${ys};
377
- }
378
- `,Us=dt`
240
+ font-family: ${Fe.fontFamily};
241
+ font-size: ${Fe.fontSize};
242
+ font-weight: ${Fe.fontWeight};
243
+ letter-spacing: ${Fe.letterSpacing};
244
+ line-height: ${Fe.lineHeight};
245
+ text-transform: ${Fe.textTransform};
246
+ }
247
+ `,qs=_`
379
248
  .ft-typography--overline {
380
- font-family: ${bs};
381
- font-size: ${ms};
382
- font-weight: ${vs};
383
- letter-spacing: ${xs};
384
- line-height: ${Os};
385
- text-transform: ${ws};
386
- }
387
- `,Ws=dt`
249
+ font-family: ${je.fontFamily};
250
+ font-size: ${je.fontSize};
251
+ font-weight: ${je.fontWeight};
252
+ letter-spacing: ${je.letterSpacing};
253
+ line-height: ${je.lineHeight};
254
+ text-transform: ${je.textTransform};
255
+ }
256
+ `,Ys=_`
388
257
  .ft-typography--button {
389
- font-family: ${Ss.fontFamily};
390
- font-size: ${Ss.fontSize};
391
- font-weight: ${Ss.fontWeight};
392
- letter-spacing: ${Ss.letterSpacing};
393
- line-height: ${Ss.lineHeight};
394
- text-transform: ${Ss.textTransform};
395
- }
396
- `,zs=dt`
258
+ font-family: ${Rt.fontFamily};
259
+ font-size: ${Rt.fontSize};
260
+ font-weight: ${Rt.fontWeight};
261
+ letter-spacing: ${Rt.letterSpacing};
262
+ line-height: ${Rt.lineHeight};
263
+ text-transform: ${Rt.textTransform};
264
+ }
265
+ `,Xs=_`
397
266
  .ft-typography {
398
267
  vertical-align: inherit;
399
268
  }
400
- `,Bs=[Object.keys(Ge).map((t=>function(t){const o=Ge[t];return dt`
401
- .ft-typography--${pt(t)} {
402
- font-family: ${o.fontFamily};
403
- font-size: ${o.fontSize};
404
- font-weight: ${o.fontWeight};
405
- letter-spacing: ${o.letterSpacing};
406
- line-height: ${o.lineHeight};
407
- text-transform: ${o.textCase};
408
- }
409
- `}(t)))];var Fs,js,As=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Zs extends Ai{constructor(){super(...arguments),this.variant=Cl.body1}render(){return this.element?Sl`
410
- <${Ol(this.element)}
269
+ `,Js=[Object.keys(sr).map(e=>Us(e))];var Qs=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ft=class extends z{constructor(){super(...arguments),this.variant=ve.body1}render(){return this.element?Ci`
270
+ <${Oi(this.element)}
271
+ part="text"
411
272
  class="ft-typography ft-typography--${this.variant}">
412
273
  <slot></slot>
413
- </${Ol(this.element)}>
414
- `:Sl`
415
- <slot class="ft-typography ft-typography--${this.variant}"></slot>
416
- `}}Zs.styles=[Cs,Ns,Es,$s,Is,Rs,ks,Ls,Us,Ws,zs,...Bs],As([So()],Zs.prototype,"element",void 0),As([So()],Zs.prototype,"variant",void 0),he("ft-typography")(Zs),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.CHART_BAR_NORMALIZED="&#xe97b;",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="&#xe909;",t.OCTAGON_XMARK="&#xe97d;",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.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;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CONSUMER="&#xe97c;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;"}(Fs||(Fs={})),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;"}(js||(js={})),new Map([...["abw"].map((t=>[t,js.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,js.AUDIO])),...["avi"].map((t=>[t,js.AVI])),...["chm","xhs"].map((t=>[t,js.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,js.CODE])),...["csv"].map((t=>[t,js.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,js.DITA])),...["epub"].map((t=>[t,js.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,js.EXCEL])),...["flac"].map((t=>[t,js.FLAC])),...["gif"].map((t=>[t,js.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,js.GZIP])),...["html","htm","xhtml"].map((t=>[t,js.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,js.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,js.JPEG])),...["json"].map((t=>[t,js.JSON])),...["m4a","m4p"].map((t=>[t,js.M4A])),...["mov","qt"].map((t=>[t,js.MOV])),...["mp3"].map((t=>[t,js.MP3])),...["mp4","m4v"].map((t=>[t,js.MP4])),...["ogg","oga"].map((t=>[t,js.OGG])),...["pdf","ps"].map((t=>[t,js.PDF])),...["png"].map((t=>[t,js.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,js.POWERPOINT])),...["rar"].map((t=>[t,js.RAR])),...["stp"].map((t=>[t,js.STP])),...["txt","rtf","md","mdown"].map((t=>[t,js.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,js.VIDEO])),...["wav"].map((t=>[t,js.WAV])),...["wma"].map((t=>[t,js.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,js.WORD])),...["xml","xsl","rdf"].map((t=>[t,js.XML])),...["yaml","yml","x-yaml"].map((t=>[t,js.YAML])),...["zip"].map((t=>[t,js.ZIP]))]),js.ABW,js.AUDIO,js.AVI,js.CHM,js.CODE,js.CSV,js.DITA,js.EPUB,js.EXCEL,js.FLAC,js.GIF,js.GZIP,js.HTML,js.IMAGE,js.JPEG,js.JSON,js.M4A,js.MOV,js.MP3,js.MP4,js.OGG,js.PDF,js.PNG,js.POWERPOINT,js.RAR,js.STP,js.TEXT,js.UNKNOWN,js.VIDEO,js.WAV,js.WMA,js.WORD,js.XML,js.YAML,js.ZIP;const _s={size:me.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:me.extend("--ft-icon-fluid-topics-font-family","",me.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:me.extend("--ft-icon-file-format-font-family","",me.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:me.extend("--ft-icon-material-font-family","",me.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:me.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ps=dt`
274
+ </${Oi(this.element)}>
275
+ `:Ci`
276
+ <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
277
+ `}};ft.styles=[Bs,Hs,Fs,js,Vs,Ks,Gs,Zs,qs,Ys,Xs,...Js];Qs([C()],ft.prototype,"element",void 0);Qs([C()],ft.prototype,"variant",void 0);Y("ft-typography")(ft);var so;(function(e){e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.STAR="&#xe94c;",e.STAR_PLAIN="&#xe900;",e.DESKTOP="&#xe95e;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.THIN_ARROW_UP="&#xe95c;",e.CONTEXTUAL="&#xe95b;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.UNSTRUCTURED_DOC="&#xe95a;",e.RESET="&#xe958;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.MY_COLLECTIONS="&#xe955;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_LIBRARY="&#xe959;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.FEEDBACK_PLAIN="&#xe951;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.SHORTCUT_MENU="&#xe946;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.ACCOUNT_SETTINGS="&#xe943;",e.ONLINE="&#xe941;",e.OFFLINE="&#xe816;",e.UPLOAD="&#xe940;",e.BOOK_PLAIN="&#xe93f;",e.SYNC="&#xe93d;",e.SHARED_PBK="&#xe931;",e.COLLECTIONS="&#xe92a;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.BOOKS="&#xe806;",e.LOCKER="&#xe93b;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SAVE="&#xe93a;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.FILTERS="&#xe935;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.STRIPE_ARROW_LEFT="&#xe933;",e.ATTACHMENTS="&#xe932;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.EXPORT="&#xe80f;",e.MENU="&#xe807;",e.TAG="&#xe93e;",e.TAG_PLAIN="&#xe942;",e.COPY_TO_CLIPBOARD="&#xe930;",e.COLUMNS="&#xe928;",e.ARTICLE="&#xe927;",e.CLOSE="&#xe909;",e.OCTAGON_XMARK="&#xe97d;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.LOGOUT="&#xe923;",e.SIGN_IN="&#xe922;",e.THIN_ARROW="&#xe921;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.INFO="&#xe919;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.SHARE="&#xe80f1;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.EXTLINK="&#xe814;",e.EXTLINK_LIGHT="&#xe978;",e.CALENDAR="&#xe815;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.TOPICS="&#xe901;",e.EYE="&#xf06e;",e.EYE_SLASH="&#xe970;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN_THEME="&#xe911;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.HOME="&#xe80b;",e.TRANSLATE="&#xe924;",e.USER="&#xe813;",e.ADMIN="&#xe90f;",e.ANALYTICS="&#xe929;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_USERS="&#xe912;",e.ADMIN_INTEGRATION="&#xe93c;",e.ADMIN_PORTAL="&#xe94b;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.EXPAND_WIDE="&#xe972;",e.X_MARK="&#xe971;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CONSUMER="&#xe97c;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;"})(so||(so={}));var O;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(O||(O={}));var ob=new Map([...["abw"].map(e=>[e,O.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(e=>[e,O.AUDIO]),...["avi"].map(e=>[e,O.AVI]),...["chm","xhs"].map(e=>[e,O.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(e=>[e,O.CODE]),...["csv"].map(e=>[e,O.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,O.DITA]),...["epub"].map(e=>[e,O.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,O.EXCEL]),...["flac"].map(e=>[e,O.FLAC]),...["gif"].map(e=>[e,O.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,O.GZIP]),...["html","htm","xhtml"].map(e=>[e,O.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,O.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,O.JPEG]),...["json"].map(e=>[e,O.JSON]),...["m4a","m4p"].map(e=>[e,O.M4A]),...["mov","qt"].map(e=>[e,O.MOV]),...["mp3"].map(e=>[e,O.MP3]),...["mp4","m4v"].map(e=>[e,O.MP4]),...["ogg","oga"].map(e=>[e,O.OGG]),...["pdf","ps"].map(e=>[e,O.PDF]),...["png"].map(e=>[e,O.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,O.POWERPOINT]),...["rar"].map(e=>[e,O.RAR]),...["stp"].map(e=>[e,O.STP]),...["txt","rtf","md","mdown"].map(e=>[e,O.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(e=>[e,O.VIDEO]),...["wav"].map(e=>[e,O.WAV]),...["wma"].map(e=>[e,O.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,O.WORD]),...["xml","xsl","rdf"].map(e=>[e,O.XML]),...["yaml","yml","x-yaml"].map(e=>[e,O.YAML]),...["zip"].map(e=>[e,O.ZIP])]);var nb={[O.ABW]:"#91ABC6",[O.AUDIO]:"#1795E3",[O.AVI]:"#E63324",[O.CHM]:"#71C3EB",[O.CODE]:"#71C3EB",[O.CSV]:"#1F7345",[O.DITA]:"#71C3EB",[O.EPUB]:"#85B926",[O.EXCEL]:"#1F7345",[O.FLAC]:"#1795E3",[O.GIF]:"#59B031",[O.GZIP]:"#F8AB36",[O.HTML]:"#71C3EB",[O.IMAGE]:"#59B031",[O.JPEG]:"#59B031",[O.JSON]:"#71C3EB",[O.M4A]:"#1795E3",[O.MOV]:"#E63324",[O.MP3]:"#1795E3",[O.MP4]:"#E63324",[O.OGG]:"#1795E3",[O.PDF]:"#E44948",[O.PNG]:"#59B031",[O.POWERPOINT]:"#B54A2B",[O.RAR]:"#F8AB36",[O.STP]:"#3764B1",[O.TEXT]:"#3162AB",[O.UNKNOWN]:"#999999",[O.VIDEO]:"#E63324",[O.WAV]:"#1795E3",[O.WMA]:"#1795E3",[O.WORD]:"#3162AB",[O.XML]:"#71C3EB",[O.YAML]:"#71C3EB",[O.ZIP]:"#F8AB36"};var tt={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},tc=_`
417
278
  :host, i.ft-icon {
418
279
  display: inline-flex;
419
280
  align-items: center;
@@ -422,14 +283,14 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
422
283
  }
423
284
 
424
285
  :host {
425
- width: ${_s.size};
426
- height: ${_s.size};
286
+ width: ${tt.size};
287
+ height: ${tt.size};
427
288
  }
428
289
 
429
290
  i.ft-icon {
430
291
  width: 100%;
431
292
  height: 100%;
432
- font-size: ${_s.size};
293
+ font-size: ${tt.size};
433
294
  line-height: 1;
434
295
  font-weight: normal;
435
296
  text-transform: none;
@@ -440,33 +301,33 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
440
301
  text-rendering: auto;
441
302
  -webkit-font-smoothing: antialiased;
442
303
  -moz-osx-font-smoothing: grayscale;
443
- vertical-align: ${_s.verticalAlign};
304
+ vertical-align: ${tt.verticalAlign};
444
305
  }
445
306
 
446
307
  i.ft-icon.ft-icon--fluid-topics {
447
- font-family: ${_s.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
308
+ font-family: ${tt.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
448
309
 
449
310
  /* Ugly fix because font is broken */
450
- font-size: calc(0.75 * ${_s.size});
451
- line-height: ${_s.size};
311
+ font-size: calc(0.75 * ${tt.size});
312
+ line-height: ${tt.size};
452
313
  position: relative;
453
314
  top: -4%;
454
315
  justify-content: center;
455
316
  }
456
317
 
457
318
  .ft-icon--file-format {
458
- font-family: ${_s.fileFormatFontFamily}, ft-mime, sans-serif;
319
+ font-family: ${tt.fileFormatFontFamily}, ft-mime, sans-serif;
459
320
  }
460
321
 
461
322
  .ft-icon--material {
462
- font-family: ${_s.materialFontFamily}, "Material Icons", sans-serif;
323
+ font-family: ${tt.materialFontFamily}, "Material Icons", sans-serif;
463
324
  }
464
- `;var Ks;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ks||(Ks={}));var Ms=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ds extends Ai{constructor(){super(...arguments),this.resolvedIcon=to}render(){const t=this.variant&&Object.values(Ks).includes(this.variant)?this.variant:Ks.fluid_topics,o=t!==Ks.material||!!this.value;return Jt`
325
+ `;var ee;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(ee||(ee={}));var co=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},at=class extends z{constructor(){super(...arguments),this.resolvedIcon=F}render(){let t=this.variant&&Object.values(ee).includes(this.variant)?this.variant:ee.fluid_topics,o=t!==ee.material||!!this.value;return G`
465
326
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
466
- ${Jo(this.resolvedIcon)}
327
+ ${_o(this.resolvedIcon)}
467
328
  <slot ?hidden=${o}></slot>
468
329
  </i>
469
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case Ks.file_format:this.resolvedIcon=null!==(t=js[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case Ks.material:this.resolvedIcon=this.value||to;break;default:this.resolvedIcon=null!==(o=Fs[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ds.elementDefinitions={},Ds.styles=Ps,Ms([So()],Ds.prototype,"variant",void 0),Ms([So()],Ds.prototype,"value",void 0),Ms([Co()],Ds.prototype,"resolvedIcon",void 0),Ms([$o("slot")],Ds.prototype,"slottedContent",void 0),he("ft-icon")(Ds);const Hs={color:me.extend("--ft-loader-color","",xr.colorPrimary),size:me.create("--ft-loader-size","","SIZE","80px")},Ts=dt`
330
+ `}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.textContent;switch(this.variant){case ee.file_format:this.resolvedIcon=(t=O[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case ee.material:this.resolvedIcon=this.value||F;break;default:this.resolvedIcon=(o=so[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};at.elementDefinitions={};at.styles=tc;co([C()],at.prototype,"variant",void 0);co([C()],at.prototype,"value",void 0);co([et()],at.prototype,"resolvedIcon",void 0);co([rt("slot")],at.prototype,"slottedContent",void 0);Y("ft-icon")(at);var st={color:r.extend("--ft-loader-color","",I.colorPrimary),size:r.create("--ft-loader-size","","SIZE","80px")},ec=_`
470
331
  :host {
471
332
  line-height: 0;
472
333
  }
@@ -475,8 +336,8 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
475
336
  display: inline-block;
476
337
  position: relative;
477
338
 
478
- width: ${Hs.size};
479
- height: ${Hs.size};
339
+ width: ${st.size};
340
+ height: ${st.size};
480
341
  }
481
342
 
482
343
  .ft-loader div {
@@ -485,7 +346,7 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
485
346
  width: 25%;
486
347
  height: 25%;
487
348
  border-radius: 50%;
488
- background: ${Hs.color};
349
+ background: ${st.color};
489
350
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
490
351
  }
491
352
 
@@ -532,10 +393,10 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
532
393
  transform: translate(0, 0);
533
394
  }
534
395
  100% {
535
- transform: translate(calc(0.35 * ${Hs.size}), 0);
396
+ transform: translate(calc(0.35 * ${st.size}), 0);
536
397
  }
537
398
  }
538
- `,Gs=me.extend("--ft-button-color","",xr.colorPrimary),Vs={backgroundColor:me.extend("--ft-button-background-color","",xr.colorSurface),borderRadius:me.extend("--ft-button-border-radius","",xr.borderRadiusL),color:Gs,fontSize:me.extend("--ft-button-font-size","",Ss.fontSize),iconSize:me.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:me.extend("--ft-button-ripple-color","",Gs),verticalPadding:me.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:me.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:me.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:me.external(xr.colorOpacityDisabled,"Design system")},qs=me.extend("--ft-button-primary-color","",me.extend("--ft-button-color","",xr.colorOnPrimary)),Ys={backgroundColor:me.extend("--ft-button-primary-background-color","",me.extend("--ft-button-background-color","",xr.colorPrimary)),color:qs,rippleColor:me.extend("--ft-button-primary-ripple-color","",qs)},Js=me.extend("--ft-button-dense-border-radius","",me.extend("--ft-button-border-radius","",xr.borderRadiusM)),Xs=me.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Qs=me.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),tc=me.create("--ft-button-dense-icon-padding","","SIZE","4px"),oc=[dt`
399
+ `;var rc=r.extend("--ft-button-color","",I.colorPrimary),j={backgroundColor:r.extend("--ft-button-background-color","",I.colorSurface),borderRadius:r.extend("--ft-button-border-radius","",I.borderRadiusL),color:rc,fontSize:r.extend("--ft-button-font-size","",Rt.fontSize),iconSize:r.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:r.extend("--ft-button-ripple-color","",rc),verticalPadding:r.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:r.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:r.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:r.external(I.colorOpacityDisabled,"Design system")},oc=r.extend("--ft-button-primary-color","",r.extend("--ft-button-color","",I.colorOnPrimary)),wi={backgroundColor:r.extend("--ft-button-primary-background-color","",r.extend("--ft-button-background-color","",I.colorPrimary)),color:oc,rippleColor:r.extend("--ft-button-primary-ripple-color","",oc)},$t={borderRadius:r.extend("--ft-button-dense-border-radius","",r.extend("--ft-button-border-radius","",I.borderRadiusM)),verticalPadding:r.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:r.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:r.create("--ft-button-dense-icon-padding","","SIZE","4px")},nc=[_`
539
400
  :host {
540
401
  display: inline-block;
541
402
  max-width: 100%;
@@ -546,7 +407,7 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
546
407
  box-shadow: 0px 0px 0px transparent;
547
408
  border: 0px solid transparent;
548
409
  text-shadow: 0px 0px 0px transparent;
549
- font-size: ${Vs.fontSize};
410
+ font-size: ${j.fontSize};
550
411
  }
551
412
 
552
413
  button:hover {
@@ -575,31 +436,31 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
575
436
  border: none;
576
437
  pointer-events: auto;
577
438
 
578
- --ft-button-internal-line-height: max(calc(${Vs.fontSize} + 2px), ${Vs.iconSize});
579
- --ft-button-internal-color: ${Vs.color};
580
- ${ve(_s.size,Vs.iconSize)};
581
- ${ve(cl.color,Vs.rippleColor)};
439
+ --ft-button-internal-line-height: max(calc(${j.fontSize} + 2px), ${j.iconSize});
440
+ --ft-button-internal-color: ${j.color};
441
+ ${R(tt.size,j.iconSize)};
442
+ ${R(k.color,j.rippleColor)};
582
443
 
583
- border-radius: ${Vs.borderRadius};
584
- padding: ${Vs.verticalPadding} ${Vs.horizontalPadding};
585
- background-color: ${Vs.backgroundColor};
444
+ border-radius: ${j.borderRadius};
445
+ padding: ${j.verticalPadding} ${j.horizontalPadding};
446
+ background-color: ${j.backgroundColor};
586
447
  color: var(--ft-button-internal-color);
587
448
  -webkit-mask-image: radial-gradient(white, black);
588
449
  }
589
450
 
590
451
  .ft-button.ft-button--outlined {
591
452
  border: 1px solid var(--ft-button-internal-color);
592
- padding: calc(${Vs.verticalPadding} - 1px) calc(${Vs.horizontalPadding} - 1px);
453
+ padding: calc(${j.verticalPadding} - 1px) calc(${j.horizontalPadding} - 1px);
593
454
  }
594
455
 
595
456
  .ft-button.ft-button--dense {
596
- padding: ${Xs} ${Qs};
597
- border-radius: ${Js};
598
- gap: ${tc};
457
+ padding: ${$t.verticalPadding} ${$t.horizontalPadding};
458
+ border-radius: ${$t.borderRadius};
459
+ gap: ${$t.iconPadding};
599
460
  }
600
461
 
601
462
  .ft-button.ft-button--dense.ft-button--outlined {
602
- padding: calc(${Xs} - 1px) calc(${Qs} - 1px);
463
+ padding: calc(${$t.verticalPadding} - 1px) calc(${$t.horizontalPadding} - 1px);
603
464
  }
604
465
 
605
466
  .ft-button:not([disabled]):hover {
@@ -607,22 +468,22 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
607
468
  }
608
469
 
609
470
  .ft-button--round {
610
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Vs.verticalPadding});
471
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${j.verticalPadding});
611
472
  }
612
473
 
613
474
  .ft-button--round.ft-button--dense {
614
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Xs});
475
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${$t.verticalPadding});
615
476
  }
616
477
 
617
478
  .ft-button[disabled] {
618
479
  filter: grayscale(1);
619
- opacity: ${Vs.opacityDisabled};
480
+ opacity: ${j.opacityDisabled};
620
481
  }
621
482
 
622
483
  .ft-button.ft-button--primary {
623
- background-color: ${Ys.backgroundColor};
624
- --ft-button-internal-color: ${Ys.color};
625
- ${ve(cl.color,Ys.rippleColor)};
484
+ background-color: ${wi.backgroundColor};
485
+ --ft-button-internal-color: ${wi.color};
486
+ ${R(k.color,wi.rippleColor)};
626
487
  }
627
488
 
628
489
  .ft-button:focus {
@@ -635,44 +496,43 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
635
496
  white-space: nowrap;
636
497
  text-overflow: ellipsis;
637
498
  display: block;
638
- margin: 0 ${Vs.iconPadding};
639
- ${ve(Ss.fontSize,"1em")};
640
- ${ve(Ss.lineHeight,"var(--ft-button-internal-line-height)")};
499
+ margin: 0 ${j.iconPadding};
500
+ ${R(Rt.fontSize,"1em")};
501
+ ${R(Rt.lineHeight,"var(--ft-button-internal-line-height)")};
641
502
  }
642
503
 
643
504
  .ft-button--dense .ft-button--label {
644
- margin: 0 ${tc};
505
+ margin: 0 ${$t.iconPadding};
645
506
  }
646
507
 
647
508
  .ft-button--label[hidden] {
648
509
  display: none;
649
510
  }
650
511
 
651
- ft-icon {
512
+ [part="icon"] {
652
513
  flex-shrink: 0;
653
514
  position: relative;
654
515
  }
655
516
 
656
- .ft-button--label[hidden] + ft-icon {
657
- margin: 0 calc(${Vs.horizontalPadding} * -1);
658
- padding: 0 ${Vs.verticalPadding};
517
+ .ft-button--label[hidden] + [part="icon"] {
518
+ margin: 0 calc(${j.horizontalPadding} * -1);
519
+ padding: 0 ${j.verticalPadding};
659
520
  }
660
521
 
661
- .ft-button--dense .ft-button--label[hidden] + ft-icon {
662
- margin: 0 calc(${Qs} * -1);
663
- padding: 0 ${Xs};
522
+ .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
523
+ margin: 0 calc(${$t.horizontalPadding} * -1);
524
+ padding: 0 ${$t.verticalPadding};
664
525
  }
665
526
 
666
- .ft-button:not(.ft-button--trailing-icon) ft-icon,
667
- .ft-button:not(.ft-button--trailing-icon) ft-loader {
668
- order: -1;
527
+ .ft-button:not(.ft-button--trailing-icon) [part="label"]{
528
+ order: 2;
669
529
  }
670
530
 
671
531
  ft-loader {
672
- ${ve(Hs.size,Vs.iconSize)};
673
- ${ve(Hs.color,"var(--ft-button-internal-color)")};
532
+ ${R(st.size,j.iconSize)};
533
+ ${R(st.color,"var(--ft-button-internal-color)")};
674
534
  }
675
- `,Gi],ec=me.create("--ft-tooltip-distance","","SIZE","4px"),rc=me.create("--ft-tooltip-color","","COLOR","#FFFFFF"),ic=me.create("--ft-tooltip-background-color","","COLOR","#666666"),nc=me.create("--ft-tooltip-z-index","","NUMBER","100"),ac=me.external(xr.borderRadiusS,"Design system"),lc=me.create("--ft-tooltip-max-width","","SIZE","150px"),sc=dt`
535
+ `,ge];var Ve={distance:r.create("--ft-tooltip-distance","","SIZE","4px"),color:r.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:r.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:r.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:r.external(I.borderRadiusS,"Design system"),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","150px")},ic=_`
676
536
  .ft-tooltip--container {
677
537
  display: block;
678
538
  }
@@ -687,21 +547,21 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
687
547
  box-sizing: border-box;
688
548
  overflow: hidden;
689
549
  width: max-content;
690
- max-width: ${lc};
550
+ max-width: ${Ve.maxWidth};
691
551
  text-align: center;
692
- padding: ${ec};
693
- z-index: ${nc};
552
+ padding: ${Ve.distance};
553
+ z-index: ${Ve.zIndex};
694
554
  }
695
555
 
696
556
  .ft-tooltip--content {
697
557
  padding: 4px 8px;
698
- border-radius: ${ac};
699
- background-color: ${ic};
700
- color: ${rc};
558
+ border-radius: ${Ve.borderRadiusS};
559
+ background-color: ${Ve.backgroundColor};
560
+ color: ${Ve.color};
701
561
  position: relative;
702
562
  word-break: break-word;
703
563
  }
704
- `;var cc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fc extends Ai{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 ae,this.revealDebouncer=new ae}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Jt`
564
+ `;var ct=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},V=class extends z{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 bt,this.revealDebouncer=new bt}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return G`
705
565
  <div part="container"
706
566
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
707
567
  @mouseenter=${this.onHover}
@@ -719,37 +579,40 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
719
579
  </div>
720
580
  </div>
721
581
  </div>
722
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",$i(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}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,o){return Math.max(t,Math.min(0,-o))}}fc.elementDefinitions={"ft-typography":Zs},fc.styles=sc,cc([So()],fc.prototype,"text",void 0),cc([So({type:Boolean})],fc.prototype,"manual",void 0),cc([So({type:Boolean})],fc.prototype,"inline",void 0),cc([So({type:Number})],fc.prototype,"delay",void 0),cc([So()],fc.prototype,"position",void 0),cc([Ro()],fc.prototype,"slotNodes",void 0),cc([$o(".ft-tooltip--container")],fc.prototype,"container",void 0),cc([$o(".ft-tooltip")],fc.prototype,"tooltip",void 0),cc([$o(".ft-tooltip--content")],fc.prototype,"tooltipContent",void 0),cc([Co()],fc.prototype,"visible",void 0),cc([No({passive:!0})],fc.prototype,"onTouch",null),cc([No({passive:!0})],fc.prototype,"onHover",null),cc([No({passive:!0})],fc.prototype,"onOut",null),cc([No({passive:!0})],fc.prototype,"onClick",null),he("ft-tooltip")(fc);class pc extends Ai{render(){return Jt`
582
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let 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";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",_n(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}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,o){return Math.max(t,Math.min(0,-o))}};V.elementDefinitions={"ft-typography":ft};V.styles=ic;ct([C()],V.prototype,"text",void 0);ct([C({type:Boolean})],V.prototype,"manual",void 0);ct([C({type:Boolean})],V.prototype,"inline",void 0);ct([C({type:Number})],V.prototype,"delay",void 0);ct([C()],V.prototype,"position",void 0);ct([No()],V.prototype,"slotNodes",void 0);ct([rt(".ft-tooltip--container")],V.prototype,"container",void 0);ct([rt(".ft-tooltip")],V.prototype,"tooltip",void 0);ct([rt(".ft-tooltip--content")],V.prototype,"tooltipContent",void 0);ct([et()],V.prototype,"visible",void 0);ct([we({passive:!0})],V.prototype,"onTouch",null);ct([we({passive:!0})],V.prototype,"onHover",null);ct([we({passive:!0})],V.prototype,"onOut",null);ct([we({passive:!0})],V.prototype,"onClick",null);Y("ft-tooltip")(V);var Se=class extends z{render(){return G`
723
583
  <div class="ft-loader">
724
584
  <div></div>
725
585
  <div></div>
726
586
  <div></div>
727
587
  <div></div>
728
588
  </div>
729
- `}}pc.styles=Ts,he("ft-loader")(pc);var dc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class hc extends(tl(Ai,"button")){constructor(){super(),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.addEventListener("click",(t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}))}render(){return this.addTooltipIfNeeded(Jt`
589
+ `}};Se.styles=ec;Y("ft-loader")(Se);var ut=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},q=class extends gi(z,"button"){constructor(){super(),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.addEventListener("click",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){return this.addTooltipIfNeeded(G`
730
590
  <button part="button"
731
- class="${Do(this.buttonClasses)}"
591
+ class="${kt(this.buttonClasses)}"
732
592
  aria-label="${this.getLabel()}"
733
593
  ?disabled=${this.isDisabled()}>
734
594
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
735
595
  <ft-typography part="label"
736
596
  variant=${this.typographyVariant}
737
597
  element="span"
738
- class="ft-button--label ${al?"ft-safari-ellipsis-fix":""}"
598
+ class="ft-button--label ${vr?"ft-safari-ellipsis-fix":""}"
739
599
  ?hidden=${!this.hasTextContent()}>
740
600
  <slot @slotchange=${this.onSlotchange}></slot>
741
601
  </ft-typography>
742
602
  ${this.resolveIcon()}
743
603
  </button>
744
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Jt`
604
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?G`
745
605
  <ft-tooltip part="tooltip"
746
606
  text="${this.getLabel()}"
747
607
  position="${this.tooltipPosition}">
748
608
  ${t}
749
609
  </ft-tooltip>
750
- `:t}resolveIcon(){return this.loading?Jt`
751
- <ft-loader part="loader icon"></ft-loader> `:this.icon?Jt`
752
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:to}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}}hc.elementDefinitions={"ft-ripple":ml,"ft-tooltip":fc,"ft-typography":Zs,"ft-icon":Ds,"ft-loader":pc},dc([So({type:String,reflect:!0})],hc.prototype,"role",void 0),dc([So()],hc.prototype,"type",void 0),dc([So({type:Boolean})],hc.prototype,"disabled",void 0),dc([So()],hc.prototype,"label",void 0),dc([So()],hc.prototype,"icon",void 0),dc([So()],hc.prototype,"iconVariant",void 0),dc([So({type:Boolean})],hc.prototype,"trailingIcon",void 0),dc([So({type:Boolean})],hc.prototype,"loading",void 0),dc([So()],hc.prototype,"tooltipPosition",void 0),dc([So({type:Boolean})],hc.prototype,"hideTooltip",void 0),dc([So({type:Boolean})],hc.prototype,"forceTooltip",void 0),dc([$o(".ft-button")],hc.prototype,"button",void 0),dc([$o(".ft-button--label slot")],hc.prototype,"slottedContent",void 0);var uc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class gc extends hc{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"}}gc.styles=[qi,oc],uc([So({type:Boolean})],gc.prototype,"primary",void 0),uc([So({type:Boolean})],gc.prototype,"outlined",void 0),uc([So({type:Boolean})],gc.prototype,"dense",void 0),uc([So({type:Boolean})],gc.prototype,"round",void 0);const yc=[dt`
610
+ `:t}resolveIcon(){return this.loading?G`
611
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?G`
612
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
613
+ `:G`
614
+ <slot part="icon" name="icon"></slot>
615
+ `}focus(){var t;(t=this.button)===null||t===void 0||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(o=>this.unslotText(o)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};q.elementDefinitions={"ft-ripple":H,"ft-tooltip":V,"ft-typography":ft,"ft-icon":at,"ft-loader":Se};ut([C({type:String,reflect:!0})],q.prototype,"role",void 0);ut([C()],q.prototype,"type",void 0);ut([C({type:Boolean})],q.prototype,"disabled",void 0);ut([C()],q.prototype,"label",void 0);ut([C()],q.prototype,"icon",void 0);ut([C()],q.prototype,"iconVariant",void 0);ut([C({type:Boolean})],q.prototype,"trailingIcon",void 0);ut([C({type:Boolean})],q.prototype,"loading",void 0);ut([C()],q.prototype,"tooltipPosition",void 0);ut([C({type:Boolean})],q.prototype,"hideTooltip",void 0);ut([C({type:Boolean})],q.prototype,"forceTooltip",void 0);ut([rt(".ft-button")],q.prototype,"button",void 0);ut([rt(".ft-button--label slot")],q.prototype,"slottedContent",void 0);var lo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},St=class extends q{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"}};St.styles=[mr,nc];lo([C({type:Boolean})],St.prototype,"primary",void 0);lo([C({type:Boolean})],St.prototype,"outlined",void 0);lo([C({type:Boolean})],St.prototype,"dense",void 0);lo([C({type:Boolean})],St.prototype,"round",void 0);var ac=[_`
753
616
  :host {
754
617
  display: inline-block;
755
618
  max-width: 100%;
@@ -799,7 +662,7 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
799
662
  }
800
663
 
801
664
  .ft-button:focus-visible {
802
- outline-color: ${qe.focusFocusRingColor};
665
+ outline-color: ${w.focusFocusRingColor};
803
666
  outline-style: solid;
804
667
  }
805
668
 
@@ -828,146 +691,146 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
828
691
  /** Primary styles **/
829
692
 
830
693
  .ft-button--primary {
831
- ${ve(Hs.color,qe.primaryIconColor)};
694
+ ${R(st.color,w.primaryIconColor)};
832
695
 
833
- ${ve(cl.color,qe.primaryStateLayerColor)};
834
- ${ve(cl.opacityContentOnSurfaceHover,qe.primaryHoverStateLayerOpacity)};
835
- ${ve(cl.opacityContentOnSurfaceFocused,qe.primaryFocusStateLayerOpacity)};
836
- ${ve(cl.opacityContentOnSurfaceSelected,qe.primaryActiveStateLayerOpacity)};
837
- ${ve(cl.opacityContentOnSurfacePressed,qe.primaryActiveStateLayerOpacity)};
696
+ ${R(k.color,w.primaryStateLayerColor)};
697
+ ${R(k.opacityContentOnSurfaceHover,w.primaryHoverStateLayerOpacity)};
698
+ ${R(k.opacityContentOnSurfaceFocused,w.primaryFocusStateLayerOpacity)};
699
+ ${R(k.opacityContentOnSurfaceSelected,w.primaryActiveStateLayerOpacity)};
700
+ ${R(k.opacityContentOnSurfacePressed,w.primaryActiveStateLayerOpacity)};
838
701
 
839
- background-color: ${qe.primaryBackgroundColor};
840
- color: ${qe.primaryColor};
702
+ background-color: ${w.primaryBackgroundColor};
703
+ color: ${w.primaryColor};
841
704
  border-style: none;
842
705
  }
843
706
 
844
707
  .ft-button--primary[disabled] {
845
- opacity: ${qe.primaryDisabledComponentOpacity};
708
+ opacity: ${w.primaryDisabledComponentOpacity};
846
709
  }
847
710
 
848
711
  .ft-button--primary ft-icon {
849
- color: ${qe.primaryIconColor};
712
+ color: ${w.primaryIconColor};
850
713
  }
851
714
 
852
715
  /** Secondary styles **/
853
716
 
854
717
  .ft-button--secondary {
855
- ${ve(Hs.color,qe.secondaryIconColor)};
718
+ ${R(st.color,w.secondaryIconColor)};
856
719
 
857
- ${ve(cl.color,qe.secondaryStateLayerColor)};
858
- ${ve(cl.opacityContentOnSurfaceHover,qe.secondaryHoverStateLayerOpacity)};
859
- ${ve(cl.opacityContentOnSurfaceFocused,qe.secondaryFocusStateLayerOpacity)};
860
- ${ve(cl.opacityContentOnSurfaceSelected,qe.secondaryActiveStateLayerOpacity)};
861
- ${ve(cl.opacityContentOnSurfacePressed,qe.secondaryActiveStateLayerOpacity)};
720
+ ${R(k.color,w.secondaryStateLayerColor)};
721
+ ${R(k.opacityContentOnSurfaceHover,w.secondaryHoverStateLayerOpacity)};
722
+ ${R(k.opacityContentOnSurfaceFocused,w.secondaryFocusStateLayerOpacity)};
723
+ ${R(k.opacityContentOnSurfaceSelected,w.secondaryActiveStateLayerOpacity)};
724
+ ${R(k.opacityContentOnSurfacePressed,w.secondaryActiveStateLayerOpacity)};
862
725
 
863
- background-color: ${qe.secondaryBackgroundColor};
864
- color: ${qe.secondaryColor};
865
- border-color: ${qe.secondaryBorderColor};
726
+ background-color: ${w.secondaryBackgroundColor};
727
+ color: ${w.secondaryColor};
728
+ border-color: ${w.secondaryBorderColor};
866
729
  border-style: solid;
867
730
  }
868
731
 
869
732
  .ft-button--secondary[disabled] {
870
- opacity: ${qe.secondaryDisabledComponentOpacity};
733
+ opacity: ${w.secondaryDisabledComponentOpacity};
871
734
  }
872
735
 
873
736
  .ft-button--secondary ft-icon {
874
- color: ${qe.secondaryIconColor};
737
+ color: ${w.secondaryIconColor};
875
738
  }
876
739
 
877
740
  /** Tertiary styles **/
878
741
 
879
742
  .ft-button--tertiary {
880
- ${ve(Hs.color,qe.tertiaryIconColor)};
743
+ ${R(st.color,w.tertiaryIconColor)};
881
744
 
882
- ${ve(cl.color,qe.tertiaryStateLayerColor)};
883
- ${ve(cl.opacityContentOnSurfaceHover,qe.tertiaryHoverStateLayerOpacity)};
884
- ${ve(cl.opacityContentOnSurfaceFocused,qe.tertiaryFocusStateLayerOpacity)};
885
- ${ve(cl.opacityContentOnSurfaceSelected,qe.tertiaryActiveStateLayerOpacity)};
886
- ${ve(cl.opacityContentOnSurfacePressed,qe.tertiaryActiveStateLayerOpacity)};
745
+ ${R(k.color,w.tertiaryStateLayerColor)};
746
+ ${R(k.opacityContentOnSurfaceHover,w.tertiaryHoverStateLayerOpacity)};
747
+ ${R(k.opacityContentOnSurfaceFocused,w.tertiaryFocusStateLayerOpacity)};
748
+ ${R(k.opacityContentOnSurfaceSelected,w.tertiaryActiveStateLayerOpacity)};
749
+ ${R(k.opacityContentOnSurfacePressed,w.tertiaryActiveStateLayerOpacity)};
887
750
 
888
- background-color: ${qe.tertiaryBackgroundColor};
889
- color: ${qe.tertiaryColor};
751
+ background-color: ${w.tertiaryBackgroundColor};
752
+ color: ${w.tertiaryColor};
890
753
  border-style: none;
891
754
  }
892
755
 
893
756
  .ft-button--tertiary[disabled] {
894
- opacity: ${qe.tertiaryDisabledComponentOpacity};
757
+ opacity: ${w.tertiaryDisabledComponentOpacity};
895
758
  }
896
759
 
897
760
  .ft-button--tertiary ft-icon {
898
- color: ${qe.tertiaryIconColor};
761
+ color: ${w.tertiaryIconColor};
899
762
  }
900
763
 
901
764
  /** Neutral styles **/
902
765
 
903
766
  .ft-button--neutral {
904
- ${ve(Hs.color,qe.neutralIconColor)};
767
+ ${R(st.color,w.neutralIconColor)};
905
768
 
906
- ${ve(cl.backgroundColor,qe.neutralStateLayerColor)};
907
- ${ve(cl.opacityContentOnSurfaceHover,qe.neutralHoverStateLayerOpacity)};
908
- ${ve(cl.opacityContentOnSurfaceFocused,qe.neutralFocusStateLayerOpacity)};
909
- ${ve(cl.opacityContentOnSurfaceSelected,qe.neutralActiveStateLayerOpacity)};
910
- ${ve(cl.opacityContentOnSurfacePressed,qe.neutralActiveStateLayerOpacity)};
769
+ ${R(k.backgroundColor,w.neutralStateLayerColor)};
770
+ ${R(k.opacityContentOnSurfaceHover,w.neutralHoverStateLayerOpacity)};
771
+ ${R(k.opacityContentOnSurfaceFocused,w.neutralFocusStateLayerOpacity)};
772
+ ${R(k.opacityContentOnSurfaceSelected,w.neutralActiveStateLayerOpacity)};
773
+ ${R(k.opacityContentOnSurfacePressed,w.neutralActiveStateLayerOpacity)};
911
774
 
912
- background-color: ${qe.neutralBackgroundColor};
913
- color: ${qe.neutralColor};
775
+ background-color: ${w.neutralBackgroundColor};
776
+ color: ${w.neutralColor};
914
777
  border-style: none;
915
778
  }
916
779
 
917
780
  .ft-button--neutral[disabled] {
918
- opacity: ${qe.neutralDisabledComponentOpacity};
781
+ opacity: ${w.neutralDisabledComponentOpacity};
919
782
  }
920
783
 
921
784
  .ft-button--neutral ft-icon {
922
- color: ${qe.neutralIconColor};
785
+ color: ${w.neutralIconColor};
923
786
  }
924
787
 
925
788
  /** Large styles **/
926
789
 
927
790
  .ft-button--large {
928
- ${ve(_s.size,qe.largeIconSize)};
929
- ${ve(Hs.size,qe.largeIconSize)};
791
+ ${R(tt.size,w.largeIconSize)};
792
+ ${R(st.size,w.largeIconSize)};
930
793
 
931
- height: ${qe.largeHeight};
932
- padding: 0 ${qe.largeHorizontalPadding};
933
- gap: ${qe.largeGap};
934
- border-radius: ${qe.largeBorderRadius};
935
- border-width: ${qe.largeBorderWidth};
794
+ height: ${w.largeHeight};
795
+ padding: 0 ${w.largeHorizontalPadding};
796
+ gap: ${w.largeGap};
797
+ border-radius: ${w.largeBorderRadius};
798
+ border-width: ${w.largeBorderWidth};
936
799
  }
937
800
 
938
801
  .ft-button--large:focus-visible {
939
- outline-width: ${qe.largeFocusOutlineWidth};
940
- outline-offset: ${qe.largeFocusOutlineOffset};
802
+ outline-width: ${w.largeFocusOutlineWidth};
803
+ outline-offset: ${w.largeFocusOutlineOffset};
941
804
  }
942
805
 
943
806
  .ft-button--large.ft-button--icon-only {
944
- width: ${qe.largeIconOnlyWidth};
807
+ width: ${w.largeIconOnlyWidth};
945
808
  padding: unset;
946
809
  }
947
810
 
948
811
  /** Small styles **/
949
812
 
950
813
  .ft-button--small {
951
- ${ve(_s.size,qe.smallIconSize)};
952
- ${ve(Hs.size,qe.smallIconSize)};
814
+ ${R(tt.size,w.smallIconSize)};
815
+ ${R(st.size,w.smallIconSize)};
953
816
 
954
- height: ${qe.smallHeight};
955
- padding: 0 ${qe.smallHorizontalPadding};
956
- gap: ${qe.smallGap};
957
- border-radius: ${qe.smallBorderRadius};
958
- border-width: ${qe.smallBorderWidth};
817
+ height: ${w.smallHeight};
818
+ padding: 0 ${w.smallHorizontalPadding};
819
+ gap: ${w.smallGap};
820
+ border-radius: ${w.smallBorderRadius};
821
+ border-width: ${w.smallBorderWidth};
959
822
  }
960
823
 
961
824
  .ft-button--small:focus-visible {
962
- outline-width: ${qe.smallFocusOutlineWidth};
963
- outline-offset: ${qe.smallFocusOutlineOffset};
825
+ outline-width: ${w.smallFocusOutlineWidth};
826
+ outline-offset: ${w.smallFocusOutlineOffset};
964
827
  }
965
828
 
966
829
  .ft-button--small.ft-button--icon-only {
967
- width: ${qe.smallIconOnlyWidth};
830
+ width: ${w.smallIconOnlyWidth};
968
831
  padding: unset;
969
832
  }
970
- `,Gi];var bc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class mc extends hc{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?Cl.caption1medium:Cl.body2medium}}mc.styles=[qi,yc],bc([So({type:Boolean})],mc.prototype,"primary",void 0),bc([So({type:Boolean})],mc.prototype,"secondary",void 0),bc([So({type:Boolean})],mc.prototype,"tertiary",void 0),bc([So({type:Boolean})],mc.prototype,"neutral",void 0),bc([So({type:Boolean})],mc.prototype,"small",void 0),he("ft-button")(gc),he("ftds-button")(mc);const vc=me.extend("--ft-chip-color","",xr.colorOnSurface),xc={backgroundColor:me.extend("--ft-chip-background-color","",xr.colorSurface),color:vc,fontSize:me.extend("--ft-chip-font-size","",is.fontSize),iconSize:me.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:me.create("--ft-chip-border-radius","","SIZE",""),rippleColor:me.extend("--ft-chip-ripple-color","",vc),horizontalPadding:me.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:me.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:me.external(xr.colorOutline,"Design system"),opacityDisabled:me.external(xr.colorOpacityDisabled,"Design system")},Oc=me.extend("--ft-chip-highlighted-color","",me.extend("--ft-chip-color","",xr.colorOnPrimary)),wc={backgroundColor:me.extend("--ft-chip-highlighted-background-color","",me.extend("--ft-chip-background-color","",xr.colorPrimary)),color:Oc,rippleColor:me.extend("--ft-chip-highlighted-ripple-color","",Oc)},Sc=me.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),Cc=me.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Nc=[Gi,dt`
833
+ `,ge];var Sr=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Pt=class extends q{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?ve.caption1medium:ve.body2medium}};Pt.styles=[mr,ac];Sr([C({type:Boolean})],Pt.prototype,"primary",void 0);Sr([C({type:Boolean})],Pt.prototype,"secondary",void 0);Sr([C({type:Boolean})],Pt.prototype,"tertiary",void 0);Sr([C({type:Boolean})],Pt.prototype,"neutral",void 0);Sr([C({type:Boolean})],Pt.prototype,"small",void 0);Y("ft-button")(St);Y("ftds-button")(Pt);var sc=r.extend("--ft-chip-color","",I.colorOnSurface),X={backgroundColor:r.extend("--ft-chip-background-color","",I.colorSurface),color:sc,fontSize:r.extend("--ft-chip-font-size","",At.fontSize),iconSize:r.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:r.create("--ft-chip-border-radius","","SIZE",""),rippleColor:r.extend("--ft-chip-ripple-color","",sc),horizontalPadding:r.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:r.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:r.external(I.colorOutline,"Design system"),opacityDisabled:r.external(I.colorOpacityDisabled,"Design system")},cc=r.extend("--ft-chip-highlighted-color","",r.extend("--ft-chip-color","",I.colorOnPrimary)),Ei={backgroundColor:r.extend("--ft-chip-highlighted-background-color","",r.extend("--ft-chip-background-color","",I.colorPrimary)),color:cc,rippleColor:r.extend("--ft-chip-highlighted-ripple-color","",cc)},lc={horizontalPadding:r.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:r.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},pc=[ge,_`
971
834
  :host {
972
835
  display: inline-block;
973
836
  max-width: 100%;
@@ -983,20 +846,20 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
983
846
  box-sizing: border-box;
984
847
  pointer-events: auto;
985
848
 
986
- --ft-chip-internal-font-size: ${xc.fontSize};
849
+ --ft-chip-internal-font-size: ${X.fontSize};
987
850
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
988
- ${ve(_s.size,xc.iconSize)};
989
- --ft-chip-internal-vertical-padding: ${xc.verticalPadding};
990
- --ft-chip-internal-horizontal-padding: ${xc.horizontalPadding};
851
+ ${R(tt.size,X.iconSize)};
852
+ --ft-chip-internal-vertical-padding: ${X.verticalPadding};
853
+ --ft-chip-internal-horizontal-padding: ${X.horizontalPadding};
991
854
  --ft-chip-internal-icon-padding: 3px;
992
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${xc.iconSize});
855
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${X.iconSize});
993
856
 
994
- border: 1px solid ${xc.colorOutline};
995
- color: ${xc.color};
996
- ${ve(cl.color,xc.rippleColor)};
997
- border-radius: var(${pt(xc.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
857
+ border: 1px solid ${X.colorOutline};
858
+ color: ${X.color};
859
+ ${R(k.color,X.rippleColor)};
860
+ border-radius: var(${Lt(X.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
998
861
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
999
- background-color: ${xc.backgroundColor};
862
+ background-color: ${X.backgroundColor};
1000
863
  line-height: var(--ft-chip-internal-content-height);
1001
864
  }
1002
865
 
@@ -1006,8 +869,8 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
1006
869
 
1007
870
  .ft-chip--dense {
1008
871
  --ft-chip-internal-icon-padding: 3px;
1009
- --ft-chip-internal-vertical-padding: ${Cc};
1010
- --ft-chip-internal-horizontal-padding: ${Sc};
872
+ --ft-chip-internal-vertical-padding: ${lc.verticalPadding};
873
+ --ft-chip-internal-horizontal-padding: ${lc.horizontalPadding};
1011
874
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
1012
875
  }
1013
876
 
@@ -1019,15 +882,15 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
1019
882
  cursor: default;
1020
883
  pointer-events: none;
1021
884
  filter: grayscale(1);
1022
- opacity: ${xc.opacityDisabled};
885
+ opacity: ${X.opacityDisabled};
1023
886
  }
1024
887
 
1025
888
  .ft-chip--highlighted {
1026
889
  border: none;
1027
890
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
1028
- background-color: ${wc.backgroundColor};
1029
- ${ve(cl.color,wc.rippleColor)};
1030
- color: ${wc.color};
891
+ background-color: ${Ei.backgroundColor};
892
+ ${R(k.color,Ei.rippleColor)};
893
+ color: ${Ei.color};
1031
894
  }
1032
895
 
1033
896
  .ft-chip--clickable {
@@ -1057,9 +920,9 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
1057
920
  }
1058
921
 
1059
922
  .ft-chip--icon-button {
1060
- ${ve(Vs.iconSize,xc.iconSize)};
1061
- ${ve(Vs.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1062
- ${ve(Vs.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
923
+ ${R(j.iconSize,X.iconSize)};
924
+ ${R(j.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
925
+ ${R(j.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1063
926
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
1064
927
  }
1065
928
 
@@ -1067,8 +930,8 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
1067
930
  vertical-align: bottom;
1068
931
  display: block;
1069
932
  margin: 0 var(--ft-chip-internal-horizontal-padding);
1070
- ${ve(is.fontSize,"var(--ft-chip-internal-font-size)")};
1071
- ${ve(is.lineHeight,"var(--ft-chip-internal-content-height)")};
933
+ ${R(At.fontSize,"var(--ft-chip-internal-font-size)")};
934
+ ${R(At.lineHeight,"var(--ft-chip-internal-content-height)")};
1072
935
  }
1073
936
 
1074
937
  .ft-chip--safari-fix .ft-chip--label {
@@ -1104,8 +967,8 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
1104
967
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
1105
968
  order: -1;
1106
969
  }
1107
- `];var Ec=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class $c extends CustomEvent{constructor(){super("icon-click")}}class Ic extends Ai{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":al};return Jt`
1108
- <div class="${Do(t)}"
970
+ `];var ht=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},po=class extends CustomEvent{constructor(){super("icon-click")}},Z=class extends z{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":vr};return G`
971
+ <div class="${kt(t)}"
1109
972
  aria-label="${this.getLabel()}"
1110
973
  tabindex="${this.interactionsOnChip?0:-1}"
1111
974
  @keyup=${this.onKeyUp}
@@ -1116,7 +979,7 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
1116
979
  </ft-typography>
1117
980
  ${this.internalIcon?this.renderIcon():null}
1118
981
  </div>
1119
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?Jt`
982
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?G`
1120
983
  <ft-button round
1121
984
  class="ft-chip--icon-button"
1122
985
  @click=${this.onIconClick}
@@ -1125,11 +988,11 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
1125
988
  label="${this.iconLabel}"
1126
989
  part="icon-button"
1127
990
  ></ft-button>
1128
- `:Jt`
991
+ `:G`
1129
992
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1130
993
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
1131
994
  </div>
1132
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new $c))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new $c))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Ic.elementDefinitions={"ft-ripple":ml,"ft-typography":Zs,"ft-icon":Ds,"ft-button":gc},Ic.styles=Nc,Ec([So({type:Boolean})],Ic.prototype,"highlighted",void 0),Ec([So({type:Boolean})],Ic.prototype,"removable",void 0),Ec([So({type:Boolean})],Ic.prototype,"disabled",void 0),Ec([So({type:Boolean})],Ic.prototype,"clickable",void 0),Ec([So({type:Boolean})],Ic.prototype,"iconClickable",void 0),Ec([So({type:Boolean})],Ic.prototype,"dense",void 0),Ec([So({type:Boolean})],Ic.prototype,"multiLine",void 0),Ec([So()],Ic.prototype,"label",void 0),Ec([So()],Ic.prototype,"iconLabel",void 0),Ec([So()],Ic.prototype,"icon",void 0),Ec([So()],Ic.prototype,"iconVariant",void 0),Ec([So({type:Boolean})],Ic.prototype,"trailingIcon",void 0),Ec([$o("ft-typography slot")],Ic.prototype,"slottedContent",void 0),he("ft-chip")(Ic);const Rc={zIndex:me.create("--ft-file-drop-z-index","","NUMBER","10"),hintBackgroundColor:me.extend("--ft-file-drop-hint-background-color","",xr.colorSurface),hintColor:me.extend("--ft-file-drop-hint-color","",xr.colorPrimary),errorColor:me.extend("--ft-file-drop-error-color","",xr.colorError),borderRadius:me.extend("--ft-file-drop-border-radius","",xr.borderRadiusL),borderWidth:me.create("--ft-file-drop-border-width","","SIZE","4px"),borderColor:me.create("--ft-file-drop-border-color","","COLOR","transparent"),visibleBorderColor:me.extend("--ft-file-drop-visible-border-color","",xr.colorOutline),activeBorderColor:me.extend("--ft-file-drop-active-border-color","",xr.colorPrimary)},kc=dt`
995
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new po))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new po))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Z.elementDefinitions={"ft-ripple":H,"ft-typography":ft,"ft-icon":at,"ft-button":St};Z.styles=pc;ht([C({type:Boolean})],Z.prototype,"highlighted",void 0);ht([C({type:Boolean})],Z.prototype,"removable",void 0);ht([C({type:Boolean})],Z.prototype,"disabled",void 0);ht([C({type:Boolean})],Z.prototype,"clickable",void 0);ht([C({type:Boolean})],Z.prototype,"iconClickable",void 0);ht([C({type:Boolean})],Z.prototype,"dense",void 0);ht([C({type:Boolean})],Z.prototype,"multiLine",void 0);ht([C()],Z.prototype,"label",void 0);ht([C()],Z.prototype,"iconLabel",void 0);ht([C()],Z.prototype,"icon",void 0);ht([C()],Z.prototype,"iconVariant",void 0);ht([C({type:Boolean})],Z.prototype,"trailingIcon",void 0);ht([rt("ft-typography slot")],Z.prototype,"slottedContent",void 0);Y("ft-chip")(Z);var Ot={zIndex:r.create("--ft-file-drop-z-index","","NUMBER","10"),hintBackgroundColor:r.extend("--ft-file-drop-hint-background-color","",I.colorSurface),hintColor:r.extend("--ft-file-drop-hint-color","",I.colorPrimary),errorColor:r.extend("--ft-file-drop-error-color","",I.colorError),borderRadius:r.extend("--ft-file-drop-border-radius","",I.borderRadiusL),borderWidth:r.create("--ft-file-drop-border-width","","SIZE","4px"),borderColor:r.create("--ft-file-drop-border-color","","COLOR","transparent"),visibleBorderColor:r.extend("--ft-file-drop-visible-border-color","",I.colorOutline),activeBorderColor:r.extend("--ft-file-drop-active-border-color","",I.colorPrimary)},dc=_`
1133
996
  :host {
1134
997
  display: block;
1135
998
  position: relative;
@@ -1138,16 +1001,16 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
1138
1001
  #container {
1139
1002
  position: absolute;
1140
1003
  inset: 0;
1141
- border: dashed ${Rc.borderWidth} ${Rc.borderColor};
1142
- border-radius: ${Rc.borderRadius};
1004
+ border: dashed ${Ot.borderWidth} ${Ot.borderColor};
1005
+ border-radius: ${Ot.borderRadius};
1143
1006
  }
1144
1007
 
1145
1008
  #container.visible {
1146
- border-color: ${Rc.visibleBorderColor}
1009
+ border-color: ${Ot.visibleBorderColor}
1147
1010
  }
1148
1011
 
1149
1012
  #container.dragging {
1150
- border-color: ${Rc.activeBorderColor}
1013
+ border-color: ${Ot.activeBorderColor}
1151
1014
  }
1152
1015
 
1153
1016
  slot {
@@ -1161,7 +1024,7 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
1161
1024
  display: none;
1162
1025
  position: absolute;
1163
1026
  inset: 0;
1164
- z-index: ${Rc.zIndex};
1027
+ z-index: ${Ot.zIndex};
1165
1028
  }
1166
1029
 
1167
1030
  #container.dragging #overlay {
@@ -1172,9 +1035,9 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
1172
1035
  z-index: 1;
1173
1036
  position: absolute;
1174
1037
  inset: 0;
1175
- background-color: ${Rc.activeBorderColor};
1038
+ background-color: ${Ot.activeBorderColor};
1176
1039
  opacity: 0.20;
1177
- border-radius: ${Rc.borderRadius};
1040
+ border-radius: ${Ot.borderRadius};
1178
1041
  }
1179
1042
 
1180
1043
  #overlay-drop {
@@ -1194,22 +1057,22 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
1194
1057
 
1195
1058
  #overlay-content ft-chip {
1196
1059
  margin-bottom: 10%;
1197
- ${ve(xc.color,Rc.hintColor)};
1198
- ${ve(xc.iconSize,"32px")};
1199
- ${ve(xc.colorOutline,"transparent")};
1060
+ ${R(X.color,Ot.hintColor)};
1061
+ ${R(X.iconSize,"32px")};
1062
+ ${R(X.colorOutline,"transparent")};
1200
1063
  }
1201
1064
 
1202
1065
  #overlay-content xft-chip[icon=error] {
1203
- ${ve(xc.color,Rc.errorColor)};
1204
- ${ve(xc.backgroundColor,Rc.hintBackgroundColor)};
1066
+ ${R(X.color,Ot.errorColor)};
1067
+ ${R(X.backgroundColor,Ot.hintBackgroundColor)};
1205
1068
  }
1206
1069
 
1207
1070
  [hidden] {
1208
1071
  display: none;
1209
1072
  }
1210
- `;var Lc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Uc extends CustomEvent{constructor(t){super("file-drop",{detail:{file:t}})}}class Wc extends Ai{constructor(){super(...arguments),this.dropHint="Drop your file here",this.accept="",this.fileTypeError="Unsupported file type",this.visible=!1,this.dragging=!1,this.fileError=!1}render(){let t={dragging:this.dragging,visible:this.visible};return Jt`
1073
+ `;var Ke=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ni=class extends CustomEvent{constructor(t){super("file-drop",{detail:{file:t}})}},gt=class extends z{constructor(){super(...arguments),this.dropHint="Drop your file here",this.accept="",this.fileTypeError="Unsupported file type",this.visible=!1,this.dragging=!1,this.fileError=!1}render(){let t={dragging:this.dragging,visible:this.visible};return G`
1211
1074
  <div id="container"
1212
- class="${Do(t)}"
1075
+ class="${kt(t)}"
1213
1076
  @dragenter=${this.onDragEnter}
1214
1077
  @dragover=${this.onDragOver}
1215
1078
  @drop=${this.onDrop}>
@@ -1225,4 +1088,203 @@ const vl=Symbol.for(""),xl=t=>{if(t?.r===vl)return t?._$litStatic$},Ol=t=>({_$li
1225
1088
  </div>
1226
1089
  <slot></slot>
1227
1090
  </div>
1228
- `}onDragEnter(t){this.dragging=!0,t.preventDefault()}onDragOver(t){t.preventDefault()}onDragLeave(t){this.dragging=!1,t.preventDefault()}async onDrop(t){if(t.preventDefault(),t.dataTransfer&&t.dataTransfer.files){let o=t.dataTransfer.files[0];!function(t,o,e){if(0==t.length)return!0;let r=t.replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"|"),i=new RegExp(r),n=o.includes(".")?"."+o.split(".").pop():void 0;return!(!n||!i.test(n))||i.test(e)}(this.accept,o.name,o.type)?(this.fileError=!0,setTimeout((()=>{this.dragging=!1,this.fileError=!1}),2e3)):(this.dragging=!1,this.dispatchEvent(new Uc(o)))}}}Wc.elementDefinitions={"ft-chip":Ic},Wc.styles=kc,Lc([So()],Wc.prototype,"dropHint",void 0),Lc([So()],Wc.prototype,"accept",void 0),Lc([So()],Wc.prototype,"fileTypeError",void 0),Lc([So({type:Boolean})],Wc.prototype,"visible",void 0),Lc([Co()],Wc.prototype,"dragging",void 0),Lc([Co()],Wc.prototype,"fileError",void 0),he("ft-file-drop")(Wc),t.FileDropEvent=Uc,t.FtFileDrop=Wc,t.FtFileDropCssVariables=Rc,t.styles=kc}({});
1091
+ `}onDragEnter(t){this.dragging=!0,t.preventDefault()}onDragOver(t){t.preventDefault()}onDragLeave(t){this.dragging=!1,t.preventDefault()}async onDrop(t){if(t.preventDefault(),t.dataTransfer&&t.dataTransfer.files){let o=t.dataTransfer.files[0];$s(this.accept,o.name,o.type)?(this.dragging=!1,this.dispatchEvent(new Ni(o))):(this.fileError=!0,setTimeout(()=>{this.dragging=!1,this.fileError=!1},2e3))}}};gt.elementDefinitions={"ft-chip":Z};gt.styles=dc;Ke([C()],gt.prototype,"dropHint",void 0);Ke([C()],gt.prototype,"accept",void 0);Ke([C()],gt.prototype,"fileTypeError",void 0);Ke([C({type:Boolean})],gt.prototype,"visible",void 0);Ke([et()],gt.prototype,"dragging",void 0);Ke([et()],gt.prototype,"fileError",void 0);Y("ft-file-drop")(gt);})();
1092
+ /*! Bundled license information:
1093
+
1094
+ @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
1095
+ (**
1096
+ * @license
1097
+ * Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
1098
+ * This code may only be used under the BSD style license found at
1099
+ * http://polymer.github.io/LICENSE.txt
1100
+ * The complete set of authors may be found at
1101
+ * http://polymer.github.io/AUTHORS.txt
1102
+ * The complete set of contributors may be found at
1103
+ * http://polymer.github.io/CONTRIBUTORS.txt
1104
+ * Code distributed by Google as part of the polymer project is also
1105
+ * subject to an additional IP rights grant found at
1106
+ * http://polymer.github.io/PATENTS.txt
1107
+ *)
1108
+
1109
+ @lit/reactive-element/css-tag.js:
1110
+ (**
1111
+ * @license
1112
+ * Copyright 2019 Google LLC
1113
+ * SPDX-License-Identifier: BSD-3-Clause
1114
+ *)
1115
+
1116
+ @lit/reactive-element/reactive-element.js:
1117
+ (**
1118
+ * @license
1119
+ * Copyright 2017 Google LLC
1120
+ * SPDX-License-Identifier: BSD-3-Clause
1121
+ *)
1122
+
1123
+ lit-html/lit-html.js:
1124
+ (**
1125
+ * @license
1126
+ * Copyright 2017 Google LLC
1127
+ * SPDX-License-Identifier: BSD-3-Clause
1128
+ *)
1129
+
1130
+ @lit/reactive-element/css-tag.js:
1131
+ (**
1132
+ * @license
1133
+ * Copyright 2019 Google LLC
1134
+ * SPDX-License-Identifier: BSD-3-Clause
1135
+ *)
1136
+
1137
+ @lit/reactive-element/reactive-element.js:
1138
+ (**
1139
+ * @license
1140
+ * Copyright 2017 Google LLC
1141
+ * SPDX-License-Identifier: BSD-3-Clause
1142
+ *)
1143
+
1144
+ lit-html/lit-html.js:
1145
+ (**
1146
+ * @license
1147
+ * Copyright 2017 Google LLC
1148
+ * SPDX-License-Identifier: BSD-3-Clause
1149
+ *)
1150
+
1151
+ lit-element/lit-element.js:
1152
+ (**
1153
+ * @license
1154
+ * Copyright 2017 Google LLC
1155
+ * SPDX-License-Identifier: BSD-3-Clause
1156
+ *)
1157
+
1158
+ lit-html/is-server.js:
1159
+ (**
1160
+ * @license
1161
+ * Copyright 2022 Google LLC
1162
+ * SPDX-License-Identifier: BSD-3-Clause
1163
+ *)
1164
+
1165
+ @lit/reactive-element/decorators/custom-element.js:
1166
+ (**
1167
+ * @license
1168
+ * Copyright 2017 Google LLC
1169
+ * SPDX-License-Identifier: BSD-3-Clause
1170
+ *)
1171
+
1172
+ @lit/reactive-element/decorators/property.js:
1173
+ (**
1174
+ * @license
1175
+ * Copyright 2017 Google LLC
1176
+ * SPDX-License-Identifier: BSD-3-Clause
1177
+ *)
1178
+
1179
+ @lit/reactive-element/decorators/state.js:
1180
+ (**
1181
+ * @license
1182
+ * Copyright 2017 Google LLC
1183
+ * SPDX-License-Identifier: BSD-3-Clause
1184
+ *)
1185
+
1186
+ @lit/reactive-element/decorators/event-options.js:
1187
+ (**
1188
+ * @license
1189
+ * Copyright 2017 Google LLC
1190
+ * SPDX-License-Identifier: BSD-3-Clause
1191
+ *)
1192
+
1193
+ @lit/reactive-element/decorators/base.js:
1194
+ (**
1195
+ * @license
1196
+ * Copyright 2017 Google LLC
1197
+ * SPDX-License-Identifier: BSD-3-Clause
1198
+ *)
1199
+
1200
+ @lit/reactive-element/decorators/query.js:
1201
+ (**
1202
+ * @license
1203
+ * Copyright 2017 Google LLC
1204
+ * SPDX-License-Identifier: BSD-3-Clause
1205
+ *)
1206
+
1207
+ @lit/reactive-element/decorators/query-all.js:
1208
+ (**
1209
+ * @license
1210
+ * Copyright 2017 Google LLC
1211
+ * SPDX-License-Identifier: BSD-3-Clause
1212
+ *)
1213
+
1214
+ @lit/reactive-element/decorators/query-async.js:
1215
+ (**
1216
+ * @license
1217
+ * Copyright 2017 Google LLC
1218
+ * SPDX-License-Identifier: BSD-3-Clause
1219
+ *)
1220
+
1221
+ @lit/reactive-element/decorators/query-assigned-elements.js:
1222
+ (**
1223
+ * @license
1224
+ * Copyright 2021 Google LLC
1225
+ * SPDX-License-Identifier: BSD-3-Clause
1226
+ *)
1227
+
1228
+ @lit/reactive-element/decorators/query-assigned-nodes.js:
1229
+ (**
1230
+ * @license
1231
+ * Copyright 2017 Google LLC
1232
+ * SPDX-License-Identifier: BSD-3-Clause
1233
+ *)
1234
+
1235
+ lit-html/directive.js:
1236
+ (**
1237
+ * @license
1238
+ * Copyright 2017 Google LLC
1239
+ * SPDX-License-Identifier: BSD-3-Clause
1240
+ *)
1241
+
1242
+ lit-html/directive-helpers.js:
1243
+ (**
1244
+ * @license
1245
+ * Copyright 2020 Google LLC
1246
+ * SPDX-License-Identifier: BSD-3-Clause
1247
+ *)
1248
+
1249
+ lit-html/directives/repeat.js:
1250
+ (**
1251
+ * @license
1252
+ * Copyright 2017 Google LLC
1253
+ * SPDX-License-Identifier: BSD-3-Clause
1254
+ *)
1255
+
1256
+ lit-html/directives/class-map.js:
1257
+ (**
1258
+ * @license
1259
+ * Copyright 2018 Google LLC
1260
+ * SPDX-License-Identifier: BSD-3-Clause
1261
+ *)
1262
+
1263
+ lit-html/directives/style-map.js:
1264
+ (**
1265
+ * @license
1266
+ * Copyright 2018 Google LLC
1267
+ * SPDX-License-Identifier: BSD-3-Clause
1268
+ *)
1269
+
1270
+ lit-html/directives/unsafe-html.js:
1271
+ (**
1272
+ * @license
1273
+ * Copyright 2017 Google LLC
1274
+ * SPDX-License-Identifier: BSD-3-Clause
1275
+ *)
1276
+
1277
+ @lit/reactive-element/css-tag.js:
1278
+ (**
1279
+ * @license
1280
+ * Copyright 2019 Google LLC
1281
+ * SPDX-License-Identifier: BSD-3-Clause
1282
+ *)
1283
+
1284
+ lit-html/static.js:
1285
+ (**
1286
+ * @license
1287
+ * Copyright 2020 Google LLC
1288
+ * SPDX-License-Identifier: BSD-3-Clause
1289
+ *)
1290
+ */