@fluid-topics/ft-file-drop 1.1.42 → 1.1.44
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.
- package/build/ft-file-drop.light.js +93 -93
- package/build/ft-file-drop.min.js +297 -297
- package/package.json +4 -4
|
@@ -12,86 +12,86 @@
|
|
|
12
12
|
* subject to an additional IP rights grant found at
|
|
13
13
|
* http://polymer.github.io/PATENTS.txt
|
|
14
14
|
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,
|
|
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(ml){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
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
19
19
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
-
*/const
|
|
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
21
|
/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:
|
|
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
26
|
/**
|
|
27
27
|
* @license
|
|
28
28
|
* Copyright 2017 Google LLC
|
|
29
29
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
30
|
*/
|
|
31
|
-
const
|
|
31
|
+
const S=globalThis,w=S.trustedTypes,N=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,$="?"+E,R=`<${$}>`,I=document,k=()=>I.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,A=/>/g,j=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),_=/'/g,Z=/"/g,K=/^(?:script|style|textarea|title)$/i,P=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),D=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),H=new WeakMap,T=I.createTreeWalker(I,129);function G(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==N?N.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=A:void 0!==s[2]?(K.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=j):void 0!==s[3]&&(a=j):a===j?">"===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]?j:'"'===s[3]?Z:_):a===Z||a===_?a=j:a===F||a===A?a=B:(a=j,i=void 0);const p=a===j&&t[o+1].startsWith("/>")?" ":"";n+=a===B?e+R:c>=0?(r.push(l),e.slice(0,c)+C+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(C)){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(K.test(i.tagName)){const t=i.textContent.split(E),o=t.length-1;if(o>0){i.textContent=w?w.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=I.createElement("template");return e.innerHTML=t,e}};function Y(t,o,e=t,r){if(o===D)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??I).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=I,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=M,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===M||null==t||""===t?(this._$AH!==M&&this._$AR(),this._$AH=M):t!==this._$AH&&t!==D&&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!==M&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(I.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=M,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=M}_$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!==D,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===D&&(l=this._$AH[a]),n||=!L(l)||l!==this._$AH[a],l===M?t=M:t!==M&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===M?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===M?void 0:t}},ot=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==M)}},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)??M)===D)return;const e=this._$AH,r=t===M&&e!==M||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==M&&(e===M||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:C,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=S.litHtmlPolyfillSupport;nt?.(q,X),(S.litHtmlVersions??=[]).push("3.1.0");
|
|
32
32
|
/**
|
|
33
33
|
* @license
|
|
34
34
|
* Copyright 2019 Google LLC
|
|
35
35
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
36
|
*/
|
|
37
|
-
const at=globalThis,
|
|
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
38
|
/**
|
|
39
39
|
* @license
|
|
40
40
|
* Copyright 2017 Google LLC
|
|
41
41
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
|
-
*/,{is:
|
|
42
|
+
*/,{is:gt,defineProperty:yt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:vt,getPrototypeOf:xt}=Object,Ot=globalThis,St=Ot.trustedTypes,wt=St?St.emptyScript:"",Nt=Ot.reactiveElementPolyfillSupport,Ct=(t,o)=>t,Et={toAttribute(t,o){switch(o){case Boolean:t=t?wt: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),Rt={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:$t};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let It=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=Rt){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)??Rt}static _$Ei(){if(this.hasOwnProperty(Ct("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(Ct("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ct("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){}};It.elementStyles=[],It.shadowRootOptions={mode:"open"},It[Ct("elementProperties")]=new Map,It[Ct("finalized")]=new Map,Nt?.({ReactiveElement:It}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
|
|
43
43
|
/**
|
|
44
44
|
* @license
|
|
45
45
|
* Copyright 2017 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
47
|
*/
|
|
48
|
-
const
|
|
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}>`,At=document,jt=()=>At.createComment(""),_t=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Zt=Array.isArray,Kt=t=>Zt(t)||"function"==typeof t?.[Symbol.iterator],Pt="[ \t\n\f\r]",Dt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Mt=/-->/g,Ht=/>/g,Tt=RegExp(`>|${Pt}(?:([^\\s"'>=/]+)(${Pt}*=${Pt}*(?:[^ \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=At.createTreeWalker(At,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=Dt;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===Dt?"!--"===s[1]?a=Mt: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??Dt,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===Mt||a===Ht?a=Dt:(a=Tt,i=void 0);const p=a===Tt&&t[o+1].startsWith("/>")?" ":"";n+=a===Dt?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],jt()),eo.nextNode(),l.push({type:2,index:++i});r.append(t[o],jt())}}}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=At.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=_t(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??At).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=At,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),_t(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):Kt(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&&_t(this._$AH)?this._$AA.nextSibling.data=t:this.$(At.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){Zt(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(jt()),this.k(jt()),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=!_t(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||=!_t(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:Kt,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(jt(),t),t,void 0,e??{})}return i._$AI(t),i
|
|
49
49
|
/**
|
|
50
50
|
* @license
|
|
51
51
|
* Copyright 2017 Google LLC
|
|
52
52
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
53
|
-
*/};let
|
|
53
|
+
*/};let mo=class extends It{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:It,_$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
54
|
/**
|
|
55
55
|
* @license
|
|
56
56
|
* Copyright 2017 Google LLC
|
|
57
57
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
58
|
-
*/const
|
|
58
|
+
*/const Oo={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v},So=(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
59
|
/**
|
|
60
60
|
* @license
|
|
61
61
|
* Copyright 2017 Google LLC
|
|
62
62
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
63
|
-
*/function
|
|
63
|
+
*/function wo(t){return(o,e)=>"object"==typeof e?So(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
64
|
/**
|
|
65
65
|
* @license
|
|
66
66
|
* Copyright 2017 Google LLC
|
|
67
67
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
|
-
*/}function
|
|
68
|
+
*/}function No(t){return wo({...t,state:!0,attribute:!1})}
|
|
69
69
|
/**
|
|
70
70
|
* @license
|
|
71
71
|
* Copyright 2017 Google LLC
|
|
72
72
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
|
-
*/function
|
|
73
|
+
*/function Co(t){return(o,e)=>{const r="function"==typeof o?o:o[e];Object.assign(r,t)}}
|
|
74
74
|
/**
|
|
75
75
|
* @license
|
|
76
76
|
* Copyright 2017 Google LLC
|
|
77
77
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
78
|
-
*/const
|
|
78
|
+
*/const Eo=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
79
79
|
/**
|
|
80
80
|
* @license
|
|
81
81
|
* Copyright 2017 Google LLC
|
|
82
82
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
83
|
-
*/;function $
|
|
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
84
|
/**
|
|
85
85
|
* @license
|
|
86
86
|
* Copyright 2017 Google LLC
|
|
87
87
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
88
|
-
*/let
|
|
88
|
+
*/let Ro;
|
|
89
89
|
/**
|
|
90
90
|
* @license
|
|
91
91
|
* Copyright 2017 Google LLC
|
|
92
92
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
93
93
|
*/
|
|
94
|
-
function
|
|
94
|
+
function Io(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:Co,property:wo,query:$o,queryAll:function(t){return(o,e)=>Eo(0,0,{get(){return(this.renderRoot??(Ro??=document.createDocumentFragment())).querySelectorAll(t)}})
|
|
95
95
|
/**
|
|
96
96
|
* @license
|
|
97
97
|
* Copyright 2017 Google LLC
|
|
@@ -102,46 +102,46 @@ function Re(t){return(e,o)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not
|
|
|
102
102
|
* Copyright 2021 Google LLC
|
|
103
103
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
104
104
|
*/
|
|
105
|
-
function(t){return(e
|
|
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:Io,queryAsync:function(t){return(o,e)=>Eo(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:So,state:No});
|
|
106
106
|
/**
|
|
107
107
|
* @license
|
|
108
108
|
* Copyright 2017 Google LLC
|
|
109
109
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
110
|
-
*/const
|
|
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
111
|
/**
|
|
112
112
|
* @license
|
|
113
113
|
* Copyright 2020 Google LLC
|
|
114
114
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
115
|
-
*/const{D:
|
|
115
|
+
*/const{D:Bo}=it,Fo=()=>document.createComment(""),Ao=(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},jo=(t,o,e=t)=>(t._$AI(o,e),t),_o={},Zo=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}},Ko=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},Po=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]=jo(i[p],n[h]),p++,h++;else if(l[d]===a[u])s[u]=jo(i[d],n[u]),d--,u--;else if(l[p]===a[u])s[u]=jo(i[p],n[u]),Ao(t,s[u+1],i[p]),p++,u--;else if(l[d]===a[h])s[h]=jo(i[d],n[h]),Ao(t,i[p],i[d]),d--,h++;else if(void 0===c&&(c=Ko(a,h,u),f=Ko(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=Ao(t,i[p]);jo(o,n[h]),s[h]=o}else s[h]=jo(e,n[h]),Ao(t,i[p],e),i[o]=null;h++}else Zo(i[d]),d--;else Zo(i[p]),p++;for(;h<=u;){const o=Ao(t,s[u+1]);jo(o,n[h]),s[h++]=o}for(;p<=d;){const t=i[p++];null!==t&&Zo(t)}return this.dt=a,((t,o=_o)=>{t._$AH=o})(t,s),D}});
|
|
116
116
|
/**
|
|
117
117
|
* @license
|
|
118
118
|
* Copyright 2017 Google LLC
|
|
119
119
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
120
|
-
*/var
|
|
120
|
+
*/var Do=Object.freeze({__proto__:null,repeat:Po});
|
|
121
121
|
/**
|
|
122
122
|
* @license
|
|
123
123
|
* Copyright 2018 Google LLC
|
|
124
124
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
125
|
-
*/const
|
|
125
|
+
*/const Mo=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 D}});var Ho=Object.freeze({__proto__:null,classMap:Mo});
|
|
126
126
|
/**
|
|
127
127
|
* @license
|
|
128
128
|
* Copyright 2018 Google LLC
|
|
129
129
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
130
|
-
*/const
|
|
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 D}});var qo=Object.freeze({__proto__:null,styleMap:Vo});
|
|
131
131
|
/**
|
|
132
132
|
* @license
|
|
133
133
|
* Copyright 2017 Google LLC
|
|
134
134
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
135
|
-
*/let qe=class extends We{constructor(t){if(super(t),this.et=Z,t.type!==Le)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this.vt=void 0,this.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 e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}};qe.directiveName="unsafeHTML",qe.resultType=1;const Ye=Ue(qe);var Je=Object.freeze({__proto__:null,UnsafeHTMLDirective:qe,unsafeHTML:Ye});class Xe extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class Qe extends Promise{constructor(t){super(((e,o)=>t((t=>{this.isCanceled?o(new Xe("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?o(new Xe("Promise has been canceled",void 0,t)):o(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const to=t=>new Qe(((e,o)=>t.then(e).catch(o)));var eo=Object.freeze({__proto__:null,CancelablePromise:Qe,CanceledPromiseError:Xe,cancelable:to});var oo=Object.freeze({__proto__:null,CacheRegistry:class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,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 Qe&&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,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,o){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=to(e());return this.content[t]=r,r.then((e=>(this.content[t]=e,null!=o&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),o)),e)))}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 ro{constructor(t,e,o,r){this.allResults=t,this.selectedResult=e,this.clusteringMetadata=o,this.metadataDescriptors=r}static extractResultMetadata(t){var e,o;return(null!==(o=null!==(e=null==t?void 0:t.map)&&void 0!==e?e:null==t?void 0:t.document)&&void 0!==o?o:null==t?void 0:t.topic).metadata.map((t=>ro.flattenMetadata(t)))}static flattenMetadata(t){if(t.hierarchicalValues){const e=[],o=[];return t.hierarchicalValues.forEach((t=>{e.push(t.join(" > ")),t.length>2?o.push(`... > ${t[t.length-1]}`):o.push(t.join(" > "))})),{key:t.key,value:e.join(", "),displayValue:o.join(", ")}}{const e=t.values.join(", ");return{key:t.key,value:e,displayValue:e}}}computeClustersItemsForMetadata(t,e){let o=ro.extractResultMetadata(this.selectedResult).find((e=>e.key===t));const r=this.allResults.flatMap((e=>ro.extractResultMetadata(e).filter((e=>e.key===t)))).filter((t=>!(t.key===(null==o?void 0:o.key)&&t.value===(null==o?void 0:o.value)))).filter(((t,e,o)=>o.findIndex((e=>e.value===t.value))===e));return r.map((e=>({result:this.findBestResultForMetadataValue(t,e.value),metadata:e}))).sort(((o,r)=>this.compareMetadata(o.metadata.value,r.metadata.value,t,e)))}compareMetadata(t,e,o,r){let i=this.metadataDescriptors.find((t=>o==t.key)),n=(null==i?void 0:i.sortRule)||"NONE",a=(null==i?void 0:i.reverseSort)||!1;if("ALPHABET"==n||"VERSION"==n){let o=t.localeCompare(e,r,{numeric:!0});return a?-1*o:o}return 0}findBestResultForMetadataValue(t,e){const o=this.allResults.filter((o=>ro.extractResultMetadata(o).find((o=>o.key===t&&o.value===e))));let r,i=ro.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),n=[...i.filter((e=>e.key!==t))],a=-1;for(let t of o){let e=this.countMatchingMetadata(t,n);if(e>a&&(a=e,r=t,e===n.length))break}return r}countMatchingMetadata(t,e){return ro.extractResultMetadata(t).filter((t=>e.some((e=>e.key===t.key&&e.value===t.value)))).length}}var io=Object.freeze({__proto__:null,ClusteringHelper:ro});class no{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)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 ao=Object.freeze({__proto__:null,Debouncer:no});const so=t=>new Promise((e=>setTimeout(e,t)));async function lo(t,e=10,o=2e4){let r,i,n=await t();for(r=i=performance.now();null==n&&(!o||i-r<o);)await so(e),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function co(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,e,o,r)=>e+o+":"+r)),new Date(t)}function fo(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,r,i;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(r=o;0!=r--;)if(!fo(t[r],e[r]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;for(r of t.entries())if(!fo(r[1],e.get(r[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=o;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,i[r]))return!1;for(r=o;0!=r--;){var n=i[r];if(!fo(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}var po=Object.freeze({__proto__:null,dateReviver:function(...t){return function(e,o){return t.includes(e)?co(o):o}},deepEqual:fo,delay:so,eventPathContainsMatchingElement:function(t,e,o=window.document.body){if(e.length>0){const r=t.composedPath();for(let t of r){if(t===o)return!1;if(t.matches&&e.some((e=>t.matches(e))))return!0}}return!1},flatDeep:function t(e,o){return e.flatMap((e=>[e,...t(o(e),o)]))},last:function(t){return t[t.length-1]},minmax:function(t,e,o){return Math.min(Math.max(t,e),o)},parseDate:co,waitFor:lo,waitUntil:async function(t,e=10,o=2e4){await lo((async()=>await t()||void 0),e,o)}});const ho=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function uo(t,e){const o=()=>JSON.parse(JSON.stringify(t));return we({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!fo(t,e),...null!=e?e:{}})}function yo(t){return!isNaN(parseFloat(t))}var go=Object.freeze({__proto__:null,customElement:ho,isNumber:yo,jsonProperty:uo,optionalNumberProperty:function(t){return we({type:Object,converter:{fromAttribute:t=>{if(null!=t)return yo(t)?+t:void 0},toAttribute:t=>""+t},...null!=t?t:{}})}});const bo=t=>"string"==typeof t?pt(t):t;class mo{static create(t,e,o,r){const i=t=>bo(null!=t?t:r),n=ht`var(${bo(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>ht`var(${bo(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=ht`var(${bo(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>ht`var(${bo(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):bo(null!=e?e:t.lastResortDefaultValue()),r=ht`var(${bo(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>ht`var(${bo(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function vo(t,e){return bo(`${t.name}: ${e}`)}const xo={colorWhite:mo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:mo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:mo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:mo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:mo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:mo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:mo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:mo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:mo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:mo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:mo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:mo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:mo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:mo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:mo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:mo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:mo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:mo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:mo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:mo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:mo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:mo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:mo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:mo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:mo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:mo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:mo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:mo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:mo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:mo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:mo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:mo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:mo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:mo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:mo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:mo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:mo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:mo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:mo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:mo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:mo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:mo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:mo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:mo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:mo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:mo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:mo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:mo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:mo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:mo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:mo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:mo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:mo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:mo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:mo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:mo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:mo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:mo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:mo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:mo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:mo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:mo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:mo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:mo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:mo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:mo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:mo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:mo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:mo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:mo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:mo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:mo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:mo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:mo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:mo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:mo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:mo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:mo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:mo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:mo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:mo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:mo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:mo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:mo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:mo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:mo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:mo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:mo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:mo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:mo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:mo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:mo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:mo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:mo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:mo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:mo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:mo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:mo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:mo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:mo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:mo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:mo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:mo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:mo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:mo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:mo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:mo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:mo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:mo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:mo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:mo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:mo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:mo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:mo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:mo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:mo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:mo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:mo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:mo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:mo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:mo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:mo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:mo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:mo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:mo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:mo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:mo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:mo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:mo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:mo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:mo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:mo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:mo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:mo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:mo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:mo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:mo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:mo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:mo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:mo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:mo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:mo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:mo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:mo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:mo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:mo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:mo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:mo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:mo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:mo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:mo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:mo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:mo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:mo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:mo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:mo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:mo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:mo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:mo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:mo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:mo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:mo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:mo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:mo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:mo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:mo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:mo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:mo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:mo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:mo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:mo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:mo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:mo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:mo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:mo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:mo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:mo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:mo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:mo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:mo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:mo.create("--ft-opacity-0","","NUMBER","0"),opacity8:mo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:mo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:mo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:mo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:mo.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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)")},Oo={fontFamily:mo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:mo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:mo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-display-textCase","","UNKNOWN","none")},wo={fontFamily:mo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:mo.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:mo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},So={fontFamily:mo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:mo.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:mo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},No={fontFamily:mo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:mo.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:mo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:mo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Co={fontFamily:mo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:mo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:mo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:mo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:mo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},$o={fontFamily:mo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:mo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:mo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:mo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Eo={fontFamily:mo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:mo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:mo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:mo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ro={fontFamily:mo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:mo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:mo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:mo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:mo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},ko={fontFamily:mo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:mo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:mo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:mo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Io={fontFamily:mo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:mo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:mo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:mo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Lo={fontFamily:mo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:mo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:mo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:mo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Uo={fontFamily:mo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:mo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:mo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:mo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Wo={fontFamily:mo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:mo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:mo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:mo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:mo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Fo={fontFamily:mo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:mo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:mo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:mo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},zo={fontFamily:mo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:mo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:mo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:mo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ao={fontFamily:mo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:mo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:mo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:mo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:mo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},jo={fontFamily:mo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:mo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},_o={fontFamily:mo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:mo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Bo={fontFamily:mo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:mo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:mo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ko={fontFamily:mo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:mo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Po={fontFamily:mo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:mo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Do={fontFamily:mo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:mo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:mo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Mo={fontFamily:mo.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:mo.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Zo={fontFamily:mo.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:mo.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ho={fontFamily:mo.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:mo.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:mo.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},To={display:Oo,"title-1":wo,"title-2":So,"title-3":No,"body-1-regular":Co,"body-1-medium":$o,"body-1-semibold":Eo,"body-2-regular":Ro,"body-2-medium":ko,"body-2-semibold":Io,"label-1-medium":Lo,"label-1-semibold":Uo,"label-1-bold":Wo,"label-2-medium":Fo,"label-2-semibold":zo,"label-2-bold":Ao,"caption-1-medium":jo,"caption-1-semibold":_o,"caption-1-bold":Bo,"caption-2-medium":Ko,"caption-2-semibold":Po,"caption-2-bold":Do,"caption-3-medium":Mo,"caption-3-semibold":Zo,"caption-3-bold":Ho},Go={backgroundActionPrimary:mo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",xo.colorBrand0),backgroundErrorPrimary:mo.extend("--ft-background-error-primary","Used as background of error components.",xo.colorRed0),backgroundErrorSubtle:mo.extend("--ft-background-error-subtle","Used as background of subtle error components.",xo.colorRed10),backgroundInfoPrimary:mo.extend("--ft-background-info-primary","Used as background of information components.",xo.colorCyan200),backgroundInfoSubtle:mo.extend("--ft-background-info-subtle","Used as background of subtle information components.",xo.colorCyan10),backgroundWarningPrimary:mo.extend("--ft-background-warning-primary","Used as background of warning components.",xo.colorOrange300),backgroundWarningSubtle:mo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",xo.colorOrange10),backgroundSuccessPrimary:mo.extend("--ft-background-success-primary","Used as background of success components.",xo.colorGreen200),backgroundSuccessSubtle:mo.extend("--ft-background-success-subtle","Used as background of subtle success components.",xo.colorGreen10),backgroundGlobalSurface:mo.extend("--ft-background-global-surface","Used as app background.",xo.colorWhite),backgroundGlobalOnSurface:mo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",xo.colorGray10),backgroundGlobalOnSurfaceDark:mo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",xo.colorGray30),contentActionPrimary:mo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",xo.colorBrand0),contentWarningPrimary:mo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",xo.colorOrange300),contentWarningIconOnly:mo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",xo.colorOrange0),contentErrorPrimary:mo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",xo.colorRed0),contentErrorIconOnly:mo.extend("--ft-content-error-icon-only","Used on error status icons alone",xo.colorRed0),contentInfoPrimary:mo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",xo.colorCyan200),contentInfoIconOnly:mo.extend("--ft-content-info-icon-only","Used on info status icons alone",xo.colorCyan0),contentSuccessPrimary:mo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",xo.colorGreen200),contentSuccessIconOnly:mo.extend("--ft-content-success-icon-only","Used on success status icons alone",xo.colorGreen0),contentGlobalPrimary:mo.extend("--ft-content-global-primary","Used for main content on the page.",xo.colorGray500),contentGlobalSecondary:mo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",xo.colorGray200),contentGlobalSubtle:mo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",xo.colorGray0),contentGlobalOnColor:mo.extend("--ft-content-global-on-color","Used for content on a dominant color.",xo.colorWhite),borderActionPrimary:mo.extend("--ft-border-action-primary","Used as border for primary action components.",xo.colorBrand0),borderActionFocusRing:mo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",xo.colorCyan0),borderWarningPrimary:mo.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",xo.colorOrange300),borderWarningSubtle:mo.extend("--ft-border-warning-subtle","Used as border for warning components.",xo.colorOrange30),borderSuccessPrimary:mo.extend("--ft-border-success-primary","Used as border for success buttons.",xo.colorGreen200),borderSuccessSubtle:mo.extend("--ft-border-success-subtle","Used as border for success components.",xo.colorGreen30),borderErrorPrimary:mo.extend("--ft-border-error-primary","Used as border for text fields in error states.",xo.colorRed0),borderErrorSubtle:mo.extend("--ft-border-error-subtle","Used as border for error components.",xo.colorRed30),borderInfoPrimary:mo.extend("--ft-border-info-primary","Used as border for buttons in info color.",xo.colorCyan200),borderInfoSubtle:mo.extend("--ft-border-info-subtle","Used as border for information components.",xo.colorCyan30),borderGlobalPrimary:mo.extend("--ft-border-global-primary","Used as border for element like input.",xo.colorGray50),borderGlobalSubtle:mo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",xo.colorGray30),borderInputPrimary:mo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",xo.colorGray80)},Vo={largeHeight:mo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:mo.extend("--ft-button-large-horizontal-padding","",xo.spacing4),largeGap:mo.extend("--ft-button-large-gap","",xo.spacing2),largeBorderRadius:mo.extend("--ft-button-large-border-radius","",xo.borderRadiusS),largeIconSize:mo.extend("--ft-button-large-icon-size","",xo.iconSize3),largeBorderWidth:mo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:mo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:mo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:mo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:mo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:mo.extend("--ft-button-small-horizontal-padding","",xo.spacing3),smallGap:mo.extend("--ft-button-small-gap","",xo.spacing2),smallBorderRadius:mo.extend("--ft-button-small-border-radius","",xo.borderRadiusS),smallIconSize:mo.extend("--ft-button-small-icon-size","",xo.iconSize2),smallBorderWidth:mo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:mo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:mo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:mo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:mo.extend("--ft-button-primary-background-color","",Go.backgroundActionPrimary),primaryColor:mo.extend("--ft-button-primary-color","",Go.contentGlobalOnColor),primaryIconColor:mo.extend("--ft-button-primary-icon-color","",Go.contentGlobalOnColor),primaryStateLayerColor:mo.extend("--ft-button-primary-state-layer-color","",Go.contentGlobalOnColor),primaryStateLayerOpacityHover:mo.extend("--ft-button-primary-state-layer-opacity-hover","",xo.opacity16),primaryStateLayerOpacityFocus:mo.extend("--ft-button-primary-state-layer-opacity-focus","",xo.opacity16),primaryStateLayerOpacityActive:mo.extend("--ft-button-primary-state-layer-opacity-active","",xo.opacity24),primaryComponentOpacityDisabled:mo.extend("--ft-button-primary-component-opacity-disabled","",xo.opacity40),focusFocusRingColor:mo.extend("--ft-button-focus-focus-ring-color","",Go.borderActionFocusRing),tertiaryBackgroundColor:mo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:mo.extend("--ft-button-tertiary-color","",Go.contentActionPrimary),tertiaryIconColor:mo.extend("--ft-button-tertiary-icon-color","",Go.contentActionPrimary),tertiaryStateLayerColor:mo.extend("--ft-button-tertiary-state-layer-color","",Go.contentActionPrimary),tertiaryStateLayerOpacityHover:mo.extend("--ft-button-tertiary-state-layer-opacity-hover","",xo.opacity8),tertiaryStateLayerOpacityFocus:mo.extend("--ft-button-tertiary-state-layer-opacity-focus","",xo.opacity8),tertiaryStateLayerOpacityActive:mo.extend("--ft-button-tertiary-state-layer-opacity-active","",xo.opacity16),tertiaryComponentOpacityDisabled:mo.extend("--ft-button-tertiary-component-opacity-disabled","",xo.opacity40),secondaryBackgroundColor:mo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:mo.extend("--ft-button-secondary-color","",Go.contentActionPrimary),secondaryIconColor:mo.extend("--ft-button-secondary-icon-color","",Go.contentActionPrimary),secondaryStateLayerColor:mo.extend("--ft-button-secondary-state-layer-color","",Go.contentActionPrimary),secondaryStateLayerOpacityHover:mo.extend("--ft-button-secondary-state-layer-opacity-hover","",xo.opacity8),secondaryStateLayerOpacityFocus:mo.extend("--ft-button-secondary-state-layer-opacity-focus","",xo.opacity8),secondaryStateLayerOpacityActive:mo.extend("--ft-button-secondary-state-layer-opacity-active","",xo.opacity16),secondaryComponentOpacityDisabled:mo.extend("--ft-button-secondary-component-opacity-disabled","",xo.opacity40),secondaryBorderColor:mo.extend("--ft-button-secondary-border-color","",Go.borderActionPrimary),neutralBackgroundColor:mo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:mo.extend("--ft-button-neutral-icon-color","",Go.contentGlobalSecondary),neutralColor:mo.extend("--ft-button-neutral-color","",Go.contentGlobalSecondary),neutralStateLayerColor:mo.extend("--ft-button-neutral-state-layer-color","",Go.contentGlobalSecondary),neutralStateLayerOpacityHover:mo.extend("--ft-button-neutral-state-layer-opacity-hover","",xo.opacity8),neutralStateLayerOpacityFocus:mo.extend("--ft-button-neutral-state-layer-opacity-focus","",xo.opacity8),neutralStateLayerOpacityActive:mo.extend("--ft-button-neutral-state-layer-opacity-active","",xo.opacity16),neutralComponentOpacityDisabled:mo.extend("--ft-button-neutral-component-opacity-disabled","",xo.opacity40)},qo={horizontalPadding:mo.extend("--ft-floating-menu-horizontal-padding","",xo.spacing4),verticalPadding:mo.extend("--ft-floating-menu-vertical-padding","",xo.spacing4),offIconColor:mo.extend("--ft-floating-menu-off-icon-color","",Go.contentGlobalPrimary),offColor:mo.extend("--ft-floating-menu-off-color","",Go.contentGlobalPrimary),onColor:mo.extend("--ft-floating-menu-on-color","",Go.contentActionPrimary),onIconColor:mo.extend("--ft-floating-menu-on-icon-color","",Go.contentActionPrimary),onStateLayerColor:mo.extend("--ft-floating-menu-on-state-layer-color","",Go.contentActionPrimary),gap:mo.extend("--ft-floating-menu-gap","",xo.spacing3),focusFocusRingColor:mo.extend("--ft-floating-menu-focus-focus-ring-color","",Go.borderActionFocusRing),focusOutlineWidth:mo.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),stateLayerOpacityHover:mo.extend("--ft-floating-menu-state-layer-opacity-hover","",xo.opacity8),stateLayerOpacityActive:mo.extend("--ft-floating-menu-state-layer-opacity-active","",xo.opacity16),stateLayerOpacityFocus:mo.extend("--ft-floating-menu-state-layer-opacity-focus","",xo.opacity8),componentOpacityDisabled:mo.extend("--ft-floating-menu-component-opacity-disabled","",xo.opacity40),iconSize:mo.extend("--ft-floating-menu-icon-size","",xo.iconSize3),backgroundColor:mo.extend("--ft-floating-menu-background-color","",Go.backgroundGlobalOnSurface)},Yo={topLeftBorderRadius:mo.extend("--ft-tabs-top-left-border-radius","",xo.borderRadiusS),topRightBorderRadius:mo.extend("--ft-tabs-top-right-border-radius","",xo.borderRadiusS),labelHorizontalPadding:mo.extend("--ft-tabs-label-horizontal-padding","",xo.spacing4),labelVerticalPadding:mo.extend("--ft-tabs-label-vertical-padding","",xo.spacing3),labelGap:mo.extend("--ft-tabs-label-gap","",xo.spacing1),iconHorizontalPadding:mo.extend("--ft-tabs-icon-horizontal-padding","",xo.spacing1),iconVerticalPadding:mo.extend("--ft-tabs-icon-vertical-padding","",xo.spacing4),focusOutlineWidth:mo.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:mo.extend("--ft-tabs-focus-focus-ring-color","",Go.borderActionFocusRing),offStateLayerOpacityHover:mo.extend("--ft-tabs-off-state-layer-opacity-hover","",xo.opacity8),offStateLayerOpacityFocus:mo.extend("--ft-tabs-off-state-layer-opacity-focus","",xo.opacity8),offStateLayerOpacityActive:mo.extend("--ft-tabs-off-state-layer-opacity-active","",xo.opacity16),offComponentOpacityDisabled:mo.extend("--ft-tabs-off-component-opacity-disabled","",xo.opacity40),offColor:mo.extend("--ft-tabs-off-color","",Go.contentGlobalSubtle),offStateLayerColor:mo.extend("--ft-tabs-off-state-layer-color","",Go.contentGlobalSubtle),onStateLayerOpacityHover:mo.extend("--ft-tabs-on-state-layer-opacity-hover","",xo.opacity8),onStateLayerOpacityFocus:mo.extend("--ft-tabs-on-state-layer-opacity-focus","",xo.opacity8),onStateLayerOpacityActive:mo.extend("--ft-tabs-on-state-layer-opacity-active","",xo.opacity16),onComponentOpacityDisabled:mo.extend("--ft-tabs-on-component-opacity-disabled","",xo.opacity40),onColor:mo.extend("--ft-tabs-on-color","",Go.contentActionPrimary),onStateLayerColor:mo.extend("--ft-tabs-on-state-layer-color","",Go.contentActionPrimary)},Jo={stateLayerOpacityHover:mo.extend("--ft-collapsible-state-layer-opacity-hover","",xo.opacity8),stateLayerOpacityFocus:mo.extend("--ft-collapsible-state-layer-opacity-focus","",xo.opacity8),stateLayerOpacityActive:mo.extend("--ft-collapsible-state-layer-opacity-active","",xo.opacity16),componentOpacityDisabled:mo.extend("--ft-collapsible-component-opacity-disabled","",xo.opacity40),horizontalPadding:mo.extend("--ft-collapsible-horizontal-padding","",xo.spacing4),verticalPadding:mo.extend("--ft-collapsible-vertical-padding","",xo.spacing3),focusOutlineWidth:mo.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:mo.extend("--ft-collapsible-focus-focus-ring-color","",Go.borderActionFocusRing),color:mo.extend("--ft-collapsible-color","",Go.contentGlobalPrimary),stateLayerColor:mo.extend("--ft-collapsible-state-layer-color","",Go.contentGlobalPrimary),backgroundColor:mo.extend("--ft-collapsible-background-color","",Go.backgroundGlobalOnSurface),borderColor:mo.extend("--ft-collapsible-border-color","",Go.borderGlobalSubtle),iconSize:mo.extend("--ft-collapsible-icon-size","",xo.iconSize3)},Xo={groupHorizontalPadding:mo.extend("--ft-switch-group-horizontal-padding","",xo.spacing1),groupVerticalPadding:mo.extend("--ft-switch-group-vertical-padding","",xo.spacing1),groupGap:mo.extend("--ft-switch-group-gap","",xo.spacing1),groupBackgroundColor:mo.extend("--ft-switch-group-background-color","",Go.backgroundGlobalSurface),groupBorderColor:mo.extend("--ft-switch-group-border-color","",Go.borderGlobalSubtle),groupBorderRadius:mo.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:mo.extend("--ft-switch-label-horizontal-padding","",xo.spacing2),labelVerticalPadding:mo.extend("--ft-switch-label-vertical-padding","",xo.spacing1),iconHorizontalPadding:mo.extend("--ft-switch-icon-horizontal-padding","",xo.spacing1),iconVerticalPadding:mo.extend("--ft-switch-icon-vertical-padding","",xo.spacing1),focusOutlineWidth:mo.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:mo.extend("--ft-switch-focus-focus-ring-color","",Go.borderActionFocusRing),optionBorderRadius:mo.extend("--ft-switch-option-border-radius","",xo.borderRadiusS),offStateLayerOpacityHover:mo.extend("--ft-switch-off-state-layer-opacity-hover","",xo.opacity8),offStateLayerOpacityFocus:mo.extend("--ft-switch-off-state-layer-opacity-focus","",xo.opacity8),offStateLayerOpacityActive:mo.extend("--ft-switch-off-state-layer-opacity-active","",xo.opacity16),offComponentOpacityDisabled:mo.extend("--ft-switch-off-component-opacity-disabled","",xo.opacity40),offColor:mo.extend("--ft-switch-off-color","",Go.contentGlobalSubtle),offStateLayerColor:mo.extend("--ft-switch-off-state-layer-color","",Go.contentGlobalSubtle),onStateLayerOpacityHover:mo.extend("--ft-switch-on-state-layer-opacity-hover","",xo.opacity8),onStateLayerOpacityFocus:mo.extend("--ft-switch-on-state-layer-opacity-focus","",xo.opacity8),onStateLayerOpacityActive:mo.extend("--ft-switch-on-state-layer-opacity-active","",xo.opacity16),onComponentOpacityDisabled:mo.extend("--ft-switch-on-component-opacity-disabled","",xo.opacity40),onColor:mo.extend("--ft-switch-on-color","",Go.contentActionPrimary),onStateLayerColor:mo.extend("--ft-switch-on-state-layer-color","",Go.contentActionPrimary)},Qo={color1Light:mo.extend("--ft-chart-1-light","for area color charts",xo.colorBrand40),color1Base:mo.extend("--ft-chart-1-base","for line charts",xo.colorBrand0),color2Light:mo.extend("--ft-chart-2-light","for area color charts",xo.colorYellow60),color2Base:mo.extend("--ft-chart-2-base","for line charts",xo.colorYellow100),color3Light:mo.extend("--ft-chart-3-light","",xo.colorUltramarine40),color3Base:mo.extend("--ft-chart-3-base","",xo.colorUltramarine70),color4Light:mo.extend("--ft-chart-4-light","",xo.colorCyan50),color4Base:mo.extend("--ft-chart-4-base","",xo.colorCyan100),color5Light:mo.extend("--ft-chart-5-light","",xo.colorRed40),color5Base:mo.extend("--ft-chart-5-base","",xo.colorRed60),color6Light:mo.extend("--ft-chart-6-light","",xo.colorGreen40),color6Base:mo.extend("--ft-chart-6-base","",xo.colorGreen70),color7Light:mo.extend("--ft-chart-7-light","",xo.colorOrange70),color7Base:mo.extend("--ft-chart-7-base","",xo.colorOrange100),color8Light:mo.extend("--ft-chart-8-light","",xo.colorAvocado70),color8Base:mo.extend("--ft-chart-8-base","",xo.colorAvocado200),color9Light:mo.extend("--ft-chart-9-light","",xo.colorBrown50),color9Base:mo.extend("--ft-chart-9-base","",xo.colorBrown200),color10Light:mo.extend("--ft-chart-10-light","",xo.colorGray50),color10Base:mo.extend("--ft-chart-10-base","",xo.colorGray80),monochrome10:mo.extend("--ft-chart-monochrome-10","",xo.colorBrand10),monochrome20:mo.extend("--ft-chart-monochrome-20","",xo.colorBrand20),monochrome30:mo.extend("--ft-chart-monochrome-30","",xo.colorBrand40),monochrome40:mo.extend("--ft-chart-monochrome-40","",xo.colorBrand60),monochrome50:mo.extend("--ft-chart-monochrome-50","",xo.colorBrand0),monochrome60:mo.extend("--ft-chart-monochrome-60","",xo.colorBrand200)},tr={largeHorizontalPadding:mo.extend("--ft-chip-large-horizontal-padding","",xo.spacing4),largeVerticalPadding:mo.extend("--ft-chip-large-vertical-padding","",xo.spacing2),largeGap:mo.extend("--ft-chip-large-gap","",xo.spacing1),largeFocusOutlineOffset:mo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:mo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:mo.extend("--ft-chip-large-border-radius","",xo.borderRadiusPill),largeBorderWidth:mo.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:mo.extend("--ft-chip-large-icon-size","",xo.iconSize3),mediumHorizontalPadding:mo.extend("--ft-chip-medium-horizontal-padding","",xo.spacing3),mediumVerticalPadding:mo.extend("--ft-chip-medium-vertical-padding","",xo.spacing1),mediumGap:mo.extend("--ft-chip-medium-gap","",xo.spacing1),mediumFocusOutlineOffset:mo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:mo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:mo.extend("--ft-chip-medium-border-radius","",xo.borderRadiusPill),mediumBorderWidth:mo.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:mo.extend("--ft-chip-medium-icon-size","",xo.iconSize2),smallHorizontalPadding:mo.extend("--ft-chip-small-horizontal-padding","",xo.spacing2),smallVerticalPadding:mo.extend("--ft-chip-small-vertical-padding","",xo.spacing05),smallGap:mo.extend("--ft-chip-small-gap","",xo.spacing1),smallFocusOutlineOffset:mo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:mo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:mo.extend("--ft-chip-small-border-radius","",xo.borderRadiusPill),smallBorderWidth:mo.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:mo.extend("--ft-chip-small-icon-size","",xo.iconSize1),neutralBackgroundColor:mo.extend("--ft-chip-neutral-background-color","",Go.backgroundGlobalOnSurface),neutralColor:mo.extend("--ft-chip-neutral-color","",Go.contentGlobalPrimary),neutralBorderColor:mo.extend("--ft-chip-neutral-border-color","",Go.borderGlobalSubtle),infoBackgroundColor:mo.extend("--ft-chip-info-background-color","",Go.backgroundInfoSubtle),infoColor:mo.extend("--ft-chip-info-color","",Go.contentInfoPrimary),infoBorderColor:mo.extend("--ft-chip-info-border-color","",Go.borderInfoSubtle),successBackgroundColor:mo.extend("--ft-chip-success-background-color","",Go.backgroundSuccessSubtle),successColor:mo.extend("--ft-chip-success-color","",Go.contentSuccessPrimary),successBorderColor:mo.extend("--ft-chip-success-border-color","",Go.borderSuccessSubtle),warningBackgroundColor:mo.extend("--ft-chip-warning-background-color","",Go.backgroundWarningSubtle),warningColor:mo.extend("--ft-chip-warning-color","",Go.contentWarningPrimary),warningBorderColor:mo.extend("--ft-chip-warning-border-color","",Go.borderWarningSubtle),errorBackgroundColor:mo.extend("--ft-chip-error-background-color","",Go.backgroundErrorSubtle),errorColor:mo.extend("--ft-chip-error-color","",Go.contentErrorPrimary),errorBorderColor:mo.extend("--ft-chip-error-border-color","",Go.borderErrorSubtle)},er={borderWidth:mo.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:mo.extend("--ft-notice-horizontal-padding","",xo.spacing2),verticalPadding:mo.extend("--ft-notice-vertical-padding","",xo.spacing1),borderRadius:mo.extend("--ft-notice-border-radius","",xo.borderRadiusS),gap:mo.extend("--ft-notice-gap","",xo.spacing2),iconSize:mo.extend("--ft-notice-icon-size","",xo.iconSize3),infoBackgroundColor:mo.extend("--ft-notice-info-background-color","",Go.backgroundInfoSubtle),infoBorderColor:mo.extend("--ft-notice-info-border-color","",Go.borderInfoSubtle),infoColor:mo.extend("--ft-notice-info-color","",Go.contentInfoPrimary),warningBackgroundColor:mo.extend("--ft-notice-warning-background-color","",Go.backgroundWarningSubtle),warningBorderColor:mo.extend("--ft-notice-warning-border-color","",Go.borderWarningSubtle),warningColor:mo.extend("--ft-notice-warning-color","",Go.contentWarningPrimary)},or={labelColor:mo.extend("--ft-checkbox-label-color","",Go.contentGlobalPrimary),checkedBackgroundColor:mo.extend("--ft-checkbox-checked-background-color","",Go.contentActionPrimary),checkedStateLayerColor:mo.extend("--ft-checkbox-checked-state-layer-color","",Go.contentActionPrimary),checkedColor:mo.extend("--ft-checkbox-checked-color","",Go.contentGlobalOnColor),checkedStateLayerOpacityHover:mo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",xo.opacity16),checkedStateLayerOpacityFocus:mo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",xo.opacity16),checkedStateLayerOpacityActive:mo.extend("--ft-checkbox-checked-state-layer-opacity-active","",xo.opacity24),checkedComponentOpacityDisabled:mo.extend("--ft-checkbox-checked-component-opacity-disabled","",xo.opacity40),uncheckedBorderColor:mo.extend("--ft-checkbox-unchecked-border-color","",xo.colorGray80),uncheckedStateLayerColor:mo.extend("--ft-checkbox-unchecked-state-layer-color","",xo.colorGray80),uncheckedStateLayerOpacityHover:mo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",xo.opacity16),uncheckedStateLayerOpacityFocus:mo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",xo.opacity16),uncheckedStateLayerOpacityActive:mo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",xo.opacity24),uncheckedComponentOpacityDisabled:mo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",xo.opacity40),focusFocusRingColor:mo.extend("--ft-checkbox-focus-focus-ring-color","",Go.borderActionFocusRing),focusOutlineOffset:mo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:mo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:mo.extend("--ft-checkbox-gap","",xo.spacing3)},rr={offStateLayerOpacityHover:mo.extend("--ft-toggle-off-state-layer-opacity-hover","",xo.opacity16),offStateLayerOpacityFocus:mo.extend("--ft-toggle-off-state-layer-opacity-focus","",xo.opacity16),offStateLayerOpacityActive:mo.extend("--ft-toggle-off-state-layer-opacity-active","",xo.opacity24),offComponentOpacityDisabled:mo.extend("--ft-toggle-off-component-opacity-disabled","",xo.opacity40),offBackgroundColor:mo.extend("--ft-toggle-off-background-color","",Go.contentGlobalSubtle),offIconColor:mo.extend("--ft-toggle-off-icon-color","",Go.contentGlobalSubtle),offStateLayerColor:mo.extend("--ft-toggle-off-state-layer-color","",Go.contentGlobalSubtle),onStateLayerOpacityHover:mo.extend("--ft-toggle-on-state-layer-opacity-hover","",xo.opacity16),onStateLayerOpacityFocus:mo.extend("--ft-toggle-on-state-layer-opacity-focus","",xo.opacity16),onStateLayerOpacityActive:mo.extend("--ft-toggle-on-state-layer-opacity-active","",xo.opacity24),onComponentOpacityDisabled:mo.extend("--ft-toggle-on-component-opacity-disabled","",xo.opacity40),onBackgroundColor:mo.extend("--ft-toggle-on-background-color","",Go.contentActionPrimary),onIconColor:mo.extend("--ft-toggle-on-icon-color","",Go.contentActionPrimary),onStateLayerColor:mo.extend("--ft-toggle-on-state-layer-color","",Go.contentActionPrimary),labelColor:mo.extend("--ft-toggle-label-color","",Go.contentGlobalPrimary),focusFocusRingColor:mo.extend("--ft-toggle-focus-focus-ring-color","",Go.borderActionFocusRing),gap:mo.extend("--ft-toggle-gap","",xo.spacing3)},ir={labelColor:mo.extend("--ft-radio-label-color","",Go.contentGlobalPrimary),selectedColor:mo.extend("--ft-radio-selected-color","",Go.contentActionPrimary),selectedStateLayerColor:mo.extend("--ft-radio-selected-state-layer-color","",Go.contentActionPrimary),selectedStateLayerOpacityHover:mo.extend("--ft-radio-selected-state-layer-opacity-hover","",xo.opacity16),selectedStateLayerOpacityFocus:mo.extend("--ft-radio-selected-state-layer-opacity-focus","",xo.opacity16),selectedStateLayerOpacityActive:mo.extend("--ft-radio-selected-state-layer-opacity-active","",xo.opacity24),selectedComponentOpacityDisabled:mo.extend("--ft-radio-selected-component-opacity-disabled","",xo.opacity40),unselectedStateLayerColor:mo.extend("--ft-radio-unselected-state-layer-color","",xo.colorGray80),unselectedStateLayerOpacityHover:mo.extend("--ft-radio-unselected-state-layer-opacity-hover","",xo.opacity16),unselectedStateLayerOpacityFocus:mo.extend("--ft-radio-unselected-state-layer-opacity-focus","",xo.opacity16),unselectedStateLayerOpacityActive:mo.extend("--ft-radio-unselected-state-layer-opacity-active","",xo.opacity24),unselectedComponentOpacityDisabled:mo.extend("--ft-radio-unselected-component-opacity-disabled","",xo.opacity40),focusFocusRingColor:mo.extend("--ft-radio-focus-focus-ring-color","",Go.borderActionFocusRing),focusOutlineOffset:mo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:mo.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:mo.extend("--ft-radio-gap","",xo.spacing3)},nr={iconSize:mo.extend("--ft-notification-icon-size","",xo.iconSize4),horizontalPadding:mo.extend("--ft-notification-horizontal-padding","",xo.spacing4),verticalPadding:mo.extend("--ft-notification-vertical-padding","",xo.spacing4),infoBackgroundColor:mo.extend("--ft-notification-info-background-color","",Go.backgroundInfoSubtle),infoColor:mo.extend("--ft-notification-info-color","",Go.contentInfoPrimary),infoBorderColor:mo.extend("--ft-notification-info-border-color","",Go.borderInfoSubtle),successBackgroundColor:mo.extend("--ft-notification-success-background-color","",Go.backgroundSuccessSubtle),successColor:mo.extend("--ft-notification-success-color","",Go.contentSuccessPrimary),successBorderColor:mo.extend("--ft-notification-success-border-color","",Go.borderSuccessSubtle),warningBackgroundColor:mo.extend("--ft-notification-warning-background-color","",Go.backgroundWarningSubtle),warningColor:mo.extend("--ft-notification-warning-color","",Go.contentWarningPrimary),warningBorderColor:mo.extend("--ft-notification-warning-border-color","",Go.borderWarningSubtle),errorBackgroundColor:mo.extend("--ft-notification-error-background-color","",Go.backgroundErrorSubtle),errorColor:mo.extend("--ft-notification-error-color","",Go.contentErrorPrimary),errorBorderColor:mo.extend("--ft-notification-error-border-color","",Go.borderErrorSubtle),borderRadius:mo.extend("--ft-notification-border-radius","",xo.borderRadiusPill),borderWidth:mo.create("--ft-notification-border-width","","SIZE","1px"),gapLeading:mo.extend("--ft-notification-gap-leading","",xo.spacing2),gapTrailing:mo.extend("--ft-notification-gap-trailing","",xo.spacing8)},ar={horizontalPadding:mo.extend("--ft-tooltip-horizontal-padding","",xo.spacing2),verticalPadding:mo.extend("--ft-tooltip-vertical-padding","",xo.spacing2),borderRadius:mo.extend("--ft-tooltip-border-radius","",xo.borderRadiusS),label:mo.extend("--ft-tooltip-label","",Go.contentGlobalOnColor),background:mo.extend("--ft-tooltip-background","",Go.contentGlobalPrimary),backgroundOpacity:mo.extend("--ft-tooltip-background-opacity","",xo.opacity80),shadow:mo.extend("--ft-tooltip-shadow","",xo.shadowElevation03)};var sr=Object.freeze({__proto__:null,FtCssVariableFactory:mo,button:Vo,chart:Qo,checkbox:or,chip:tr,collapsible:Jo,floatingMenu:qo,foundation:xo,notice:er,notification:nr,radio:ir,semantic:Go,setVariable:vo,switch_:Xo,tabs:Yo,toggle:rr,tooltip:ar,typographies:To,typographyBody1Medium:$o,typographyBody1Regular:Co,typographyBody1Semibold:Eo,typographyBody2Medium:ko,typographyBody2Regular:Ro,typographyBody2Semibold:Io,typographyCaption1Bold:Bo,typographyCaption1Medium:jo,typographyCaption1Semibold:_o,typographyCaption2Bold:Do,typographyCaption2Medium:Ko,typographyCaption2Semibold:Po,typographyCaption3Bold:Ho,typographyCaption3Medium:Mo,typographyCaption3Semibold:Zo,typographyDisplay:Oo,typographyLabel1Bold:Wo,typographyLabel1Medium:Lo,typographyLabel1Semibold:Uo,typographyLabel2Bold:Ao,typographyLabel2Medium:Fo,typographyLabel2Semibold:zo,typographyTitle1:wo,typographyTitle2:So,typographyTitle3:No,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","label-1","label-2","caption-1","caption-2","caption-3"]});const lr={colorPrimary:mo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:mo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:mo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:mo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:mo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:mo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:mo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:mo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:mo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:mo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:mo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:mo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:mo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:mo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:mo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:mo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:mo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:mo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:mo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:mo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:mo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:mo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:mo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:mo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:mo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:mo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:mo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:mo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:mo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:mo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:mo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:mo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:mo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:mo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:mo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:mo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:mo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:mo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:mo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:mo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:mo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:mo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:mo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:mo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:mo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:mo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:mo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:mo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:mo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:mo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:mo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var cr=Object.freeze({__proto__:null,designSystemVariables:lr});class fr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class pr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class hr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var dr=Object.freeze({__proto__:null,FtNotificationEvent:fr,PostResizeEvent:hr,PreResizeEvent:pr});const ur=["start","end"],yr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+ur[0],e+"-"+ur[1])),[]),gr=Math.min,br=Math.max,mr=Math.round,vr=t=>({x:t,y:t}),xr={left:"right",right:"left",bottom:"top",top:"bottom"},Or={start:"end",end:"start"};function wr(t,e,o){return br(t,gr(e,o))}function Sr(t,e){return"function"==typeof t?t(e):t}function Nr(t){return t.split("-")[0]}function Cr(t){return t.split("-")[1]}function $r(t){return"x"===t?"y":"x"}function Er(t){return"y"===t?"height":"width"}function Rr(t){return["top","bottom"].includes(Nr(t))?"y":"x"}function kr(t){return $r(Rr(t))}function Ir(t){return t.replace(/left|right|bottom|top/g,(t=>xr[t]))}function Lr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ur(t,e,o){let{reference:r,floating:i}=t;const n=Rr(e),a=kr(e),s=Er(a),l=Nr(e),c="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let d;switch(l){case"top":d={x:f,y:r.y-i.height};break;case"bottom":d={x:f,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:p};break;case"left":d={x:r.x-i.width,y:p};break;default:d={x:r.x,y:r.y}}switch(Cr(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function Wr(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=Sr(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===p?"reference":"floating":p],g=Lr(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.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=Lr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-x.top+u.top)/v.y,bottom:(x.bottom-g.bottom+u.bottom)/v.y,left:(g.left-x.left+u.left)/v.x,right:(x.right-g.right+u.right)/v.x}}function Fr(t,e,o){return(t?[...o.filter((e=>Cr(e)===t)),...o.filter((e=>Cr(e)!==t))]:o.filter((t=>Nr(t)===t))).filter((o=>!t||(Cr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Or[t]))}(o)!==o)))}const zr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:h=yr,autoAlignment:d=!0,...u}=Sr(t,e),y=void 0!==p||h===yr?Fr(p||null,d,h):h,g=await Wr(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=Cr(t),i=kr(t),n=Er(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Ir(a)),[a,Ir(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[Nr(m)],g[v[0]],g[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Cr(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,Cr(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=N[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Ar(t){return Br(t)?(t.nodeName||"").toLowerCase():"#document"}function jr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function _r(t){var e;return null==(e=(Br(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Br(t){return t instanceof Node||t instanceof jr(t).Node}function Kr(t){return t instanceof Element||t instanceof jr(t).Element}function Pr(t){return t instanceof HTMLElement||t instanceof jr(t).HTMLElement}function Dr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof jr(t).ShadowRoot)}function Mr(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=Vr(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function Zr(t){return["table","td","th"].includes(Ar(t))}function Hr(t){const e=Tr(),o=Vr(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function Tr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Gr(t){return["html","body","#document"].includes(Ar(t))}function Vr(t){return jr(t).getComputedStyle(t)}function qr(t){return Kr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Yr(t){if("html"===Ar(t))return t;const e=t.assignedSlot||t.parentNode||Dr(t)&&t.host||_r(t);return Dr(e)?e.host:e}function Jr(t){const e=Yr(t);return Gr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Pr(e)&&Mr(e)?e:Jr(e)}function Xr(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=Jr(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=jr(i);return n?e.concat(a,a.visualViewport||[],Mr(i)?i:[],a.frameElement&&o?Xr(a.frameElement):[]):e.concat(i,Xr(i,[],o))}function Qr(t){const e=Vr(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=Pr(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=mr(o)!==n||mr(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function ti(t){return Kr(t)?t:t.contextElement}function ei(t){const e=ti(t);if(!Pr(e))return vr(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=Qr(e);let a=(n?mr(o.width):o.width)/r,s=(n?mr(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const oi=vr(0);function ri(t){const e=jr(t);return Tr()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:oi}function ii(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=ti(t);let a=vr(1);e&&(r?Kr(r)&&(a=ei(r)):a=ei(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==jr(t))&&e}(n,o,r)?ri(n):vr(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=jr(n),e=r&&Kr(r)?jr(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=ei(o),e=o.getBoundingClientRect(),r=Vr(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=i,c+=n,o=jr(o).frameElement}}return Lr({width:f,height:p,x:l,y:c})}function ni(t){return ii(_r(t)).left+qr(t).scrollLeft}function ai(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=jr(t),r=_r(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=Tr();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)r=function(t){const e=_r(t),o=qr(t),r=t.ownerDocument.body,i=br(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=br(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+ni(t);const s=-o.scrollTop;return"rtl"===Vr(r).direction&&(a+=br(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(_r(t));else if(Kr(e))r=function(t,e){const o=ii(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=Pr(t)?ei(t):vr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=ri(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return Lr(r)}function si(t,e){const o=Yr(t);return!(o===e||!Kr(o)||Gr(o))&&("fixed"===Vr(o).position||si(o,e))}function li(t,e,o){const r=Pr(e),i=_r(e),n="fixed"===o,a=ii(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=vr(0);if(r||!r&&!n)if(("body"!==Ar(e)||Mr(i))&&(s=qr(e)),r){const t=ii(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else i&&(l.x=ni(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function ci(t,e){return Pr(t)&&"fixed"!==Vr(t).position?e?e(t):t.offsetParent:null}function fi(t,e){const o=jr(t);if(!Pr(t))return o;let r=ci(t,e);for(;r&&Zr(r)&&"static"===Vr(r).position;)r=ci(r,e);return r&&("html"===Ar(r)||"body"===Ar(r)&&"static"===Vr(r).position&&!Hr(r))?o:r||function(t){let e=Yr(t);for(;Pr(e)&&!Gr(e);){if(Hr(e))return e;e=Yr(e)}return null}(t)||o}const pi={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=Pr(o),n=_r(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=vr(1);const l=vr(0);if((i||!i&&"fixed"!==r)&&(("body"!==Ar(o)||Mr(n))&&(a=qr(o)),Pr(o))){const t=ii(o);s=ei(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:_r,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=Xr(t,[],!1).filter((t=>Kr(t)&&"body"!==Ar(t))),i=null;const n="fixed"===Vr(t).position;let a=n?Yr(t):t;for(;Kr(a)&&!Gr(a);){const e=Vr(a),o=Hr(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||Mr(a)&&!o&&si(t,a))?r=r.filter((t=>t!==a)):i=e,a=Yr(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=n[0],s=n.reduce(((t,o)=>{const r=ai(e,o,i);return t.top=br(r.top,t.top),t.right=gr(r.right,t.right),t.bottom=gr(r.bottom,t.bottom),t.left=br(r.left,t.left),t}),ai(e,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:fi,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||fi,n=this.getDimensions;return{reference:li(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Qr(t)},getScale:ei,isElement:Kr,isRTL:function(t){return"rtl"===Vr(t).direction}},hi=(t,e,o)=>{const r=new Map,i={platform:pi,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:p}=Ur(c,r,l),h=r,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,d={...d,[n]:{...d[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:f,y:p}=Ur(c,h,l))),o=-1)}return{x:f,y:p,placement:h,strategy:i,middlewareData:d}})(t,e,{...i,platform:n})};function di(t){return function(t){for(let e=t;e;e=ui(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=ui(t);e;e=ui(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function ui(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function yi(t,e,o){return hi(t,e,{platform:{...pi,getOffsetParent:t=>pi.getOffsetParent(t,di)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:e,y:o,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Sr(r,t),c={x:e,y:o},f=await Wr(t,l),p=Rr(Nr(i)),h=$r(p);let d=c[h],u=c[p];if(n){const t="y"===h?"bottom":"right";d=wr(d+f["y"===h?"top":"left"],d,d-f[t])}if(a){const t="y"===p?"bottom":"right";u=wr(u+f["y"===p?"top":"left"],u,u-f[t])}const y=s.fn({...t,[h]:d,[p]:u});return{...y,data:{x:y.x-e,y:y.y-o}}}}),zr({allowedPlacements:[o]})]});var r}var gi=Object.freeze({__proto__:null,computeOffsetPosition:yi});
|
|
135
|
+
*/let Yo=class extends zo{constructor(t){if(super(t),this.et=M,t.type!==Uo)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===M||null==t)return this.vt=void 0,this.et=t;if(t===D)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){var o,e;return(null!==(e=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==e?e:null==t?void 0:t.topic).metadata.map((t=>ie.flattenMetadata(t)))}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,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o){let e=ie.extractResultMetadata(this.selectedResult).find((o=>o.key===t));const r=this.allResults.flatMap((o=>ie.extractResultMetadata(o).filter((o=>o.key===t)))).filter((t=>!(t.key===(null==e?void 0:e.key)&&t.value===(null==e?void 0:e.value)))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return r.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){let i=this.metadataDescriptors.find((t=>e==t.key)),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}findBestResultForMetadataValue(t,o){const e=this.allResults.filter((e=>ie.extractResultMetadata(e).find((e=>e.key===t&&e.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 wo({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 wo({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)"),underline:me.create("--ft-underline","","UNKNOWN","underline")},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")},Se={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")},we={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")},Ne={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")},Ce={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")},Re={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")},Ie={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")},Ae={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")},je={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")},_e={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")},Ze={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")},Ke={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")},Pe={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")},De={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")},Me={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":Se,"title-2":we,"title-3":Ne,"body-1-regular":Ce,"body-1-medium":Ee,"body-1-semibold":$e,"body-2-regular":Re,"body-2-medium":Ie,"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":Ae,"caption-1-medium":je,"caption-1-semibold":_e,"caption-1-bold":Ze,"caption-2-medium":Ke,"caption-2-semibold":Pe,"caption-2-bold":De,"caption-3-medium":Me,"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={gap:me.extend("--ft-breadcrumb-gap","",xe.spacing1)},Xe={horizontalPadding:me.extend("--ft-page-header-horizontal-padding","",xe.spacing12),verticalPadding:me.extend("--ft-page-header-vertical-padding","",xe.spacing6)},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={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)},or={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)},er={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)},rr={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)},ir={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)},nr={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)},ar={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)},lr={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)},sr={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)},cr={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)},fr={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)},pr={infoBorderColor:me.extend("--ft-border-info-border-color","",Ve.borderInfoSubtle)},dr={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)},hr={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)},ur={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)},gr={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)},yr={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)},br={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 mr=Object.freeze({__proto__:null,FtCssVariableFactory:me,banner:Ye,border:pr,breadcrumb:Je,button:qe,chart:cr,checkbox:hr,chip:fr,collapsible:lr,comboboxMultiSelect:ir,comboboxSingleSelect:rr,floatingMenu:er,foundation:xe,modal:Qe,notice:dr,notification:yr,pageHeader:Xe,popover:nr,radio:gr,semantic:Ve,setVariable:ve,switch_:sr,tabs:ar,textArea:or,textInput:tr,toggle:ur,tooltip:br,typographies:Ge,typographyBody1Medium:Ee,typographyBody1Regular:Ce,typographyBody1Semibold:$e,typographyBody2Medium:Ie,typographyBody2MediumUnderline:ke,typographyBody2Regular:Re,typographyBody2Semibold:Le,typographyCaption1Bold:Ze,typographyCaption1Medium:je,typographyCaption1Semibold:_e,typographyCaption2Bold:De,typographyCaption2Medium:Ke,typographyCaption2Semibold:Pe,typographyCaption3Bold:Te,typographyCaption3Medium:Me,typographyCaption3Semibold:He,typographyDisplay:Oe,typographyLabel1Bold:ze,typographyLabel1Medium:Ue,typographyLabel1Semibold:We,typographyLabel2Bold:Ae,typographyLabel2Medium:Be,typographyLabel2Semibold:Fe,typographyTitle1:Se,typographyTitle2:we,typographyTitle3:Ne,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 vr={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 xr=Object.freeze({__proto__:null,designSystemVariables:vr});class Or 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 wr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var Nr=Object.freeze({__proto__:null,FtNotificationEvent:Or,PostResizeEvent:wr,PreResizeEvent:Sr});const Cr=["start","end"],Er=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Cr[0],o+"-"+Cr[1])),[]),$r=Math.min,Rr=Math.max,Ir=Math.round,kr=t=>({x:t,y:t}),Lr={left:"right",right:"left",bottom:"top",top:"bottom"},Ur={start:"end",end:"start"};function Wr(t,o,e){return Rr(t,$r(o,e))}function zr(t,o){return"function"==typeof t?t(o):t}function Br(t){return t.split("-")[0]}function Fr(t){return t.split("-")[1]}function Ar(t){return"x"===t?"y":"x"}function jr(t){return"y"===t?"height":"width"}function _r(t){return["top","bottom"].includes(Br(t))?"y":"x"}function Zr(t){return Ar(_r(t))}function Kr(t){return t.replace(/left|right|bottom|top/g,(t=>Lr[t]))}function Pr(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=Zr(o),l=jr(a),s=Br(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(Fr(o)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1)}return h}async function Mr(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}=zr(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=Pr(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=Pr(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 Hr(t,o,e){return(t?[...e.filter((o=>Fr(o)===t)),...e.filter((o=>Fr(o)!==t))]:e.filter((t=>Br(t)===t))).filter((e=>!t||(Fr(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ur[t]))}(e)!==e)))}const Tr=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=Er,autoAlignment:h=!0,...u}=zr(t,o),g=void 0!==p||d===Er?Hr(p||null,h,d):d,y=await Mr(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=Fr(t),i=Zr(t),n=jr(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[Br(m)],y[v[0]],y[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],S=g[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const w=O.map((t=>{const o=Fr(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])),N=w.filter((t=>t[2].slice(0,Fr(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=N[0])?void 0:i[0])||w[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Gr(t){return Yr(t)?(t.nodeName||"").toLowerCase():"#document"}function Vr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function qr(t){var o;return null==(o=(Yr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Yr(t){return t instanceof Node||t instanceof Vr(t).Node}function Jr(t){return t instanceof Element||t instanceof Vr(t).Element}function Xr(t){return t instanceof HTMLElement||t instanceof Vr(t).HTMLElement}function Qr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Vr(t).ShadowRoot)}function ti(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=ni(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function oi(t){return["table","td","th"].includes(Gr(t))}function ei(t){const o=ri(),e=ni(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 ri(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ii(t){return["html","body","#document"].includes(Gr(t))}function ni(t){return Vr(t).getComputedStyle(t)}function ai(t){return Jr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function li(t){if("html"===Gr(t))return t;const o=t.assignedSlot||t.parentNode||Qr(t)&&t.host||qr(t);return Qr(o)?o.host:o}function si(t){const o=li(t);return ii(o)?t.ownerDocument?t.ownerDocument.body:t.body:Xr(o)&&ti(o)?o:si(o)}function ci(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=si(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Vr(i);return n?o.concat(a,a.visualViewport||[],ti(i)?i:[],a.frameElement&&e?ci(a.frameElement):[]):o.concat(i,ci(i,[],e))}function fi(t){const o=ni(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Xr(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=Ir(e)!==n||Ir(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function pi(t){return Jr(t)?t:t.contextElement}function di(t){const o=pi(t);if(!Xr(o))return kr(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=fi(o);let a=(n?Ir(e.width):e.width)/r,l=(n?Ir(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const hi=kr(0);function ui(t){const o=Vr(t);return ri()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:hi}function gi(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=pi(t);let a=kr(1);o&&(r?Jr(r)&&(a=di(r)):a=di(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Vr(t))&&o}(n,e,r)?ui(n):kr(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=Vr(n),o=r&&Jr(r)?Vr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=di(e),o=e.getBoundingClientRect(),r=ni(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=Vr(e).frameElement}}return Pr({width:f,height:p,x:s,y:c})}function yi(t){return gi(qr(t)).left+ai(t).scrollLeft}function bi(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Vr(t),r=qr(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=ri();(!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=qr(t),e=ai(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+yi(t);const l=-e.scrollTop;return"rtl"===ni(r).direction&&(a+=Rr(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(qr(t));else if(Jr(o))r=function(t,o){const e=gi(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Xr(t)?di(t):kr(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=ui(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Pr(r)}function mi(t,o){const e=li(t);return!(e===o||!Jr(e)||ii(e))&&("fixed"===ni(e).position||mi(e,o))}function vi(t,o,e){const r=Xr(o),i=qr(o),n="fixed"===e,a=gi(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=kr(0);if(r||!r&&!n)if(("body"!==Gr(o)||ti(i))&&(l=ai(o)),r){const t=gi(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else i&&(s.x=yi(i));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function xi(t,o){return Xr(t)&&"fixed"!==ni(t).position?o?o(t):t.offsetParent:null}function Oi(t,o){const e=Vr(t);if(!Xr(t))return e;let r=xi(t,o);for(;r&&oi(r)&&"static"===ni(r).position;)r=xi(r,o);return r&&("html"===Gr(r)||"body"===Gr(r)&&"static"===ni(r).position&&!ei(r))?e:r||function(t){let o=li(t);for(;Xr(o)&&!ii(o);){if(ei(o))return o;o=li(o)}return null}(t)||e}const Si={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Xr(e),n=qr(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=kr(1);const s=kr(0);if((i||!i&&"fixed"!==r)&&(("body"!==Gr(e)||ti(n))&&(a=ai(e)),Xr(e))){const t=gi(e);l=di(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:qr,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=ci(t,[],!1).filter((t=>Jr(t)&&"body"!==Gr(t))),i=null;const n="fixed"===ni(t).position;let a=n?li(t):t;for(;Jr(a)&&!ii(a);){const o=ni(a),e=ei(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||ti(a)&&!e&&mi(t,a))?r=r.filter((t=>t!==a)):i=o,a=li(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=bi(o,e,i);return t.top=Rr(r.top,t.top),t.right=$r(r.right,t.right),t.bottom=$r(r.bottom,t.bottom),t.left=Rr(r.left,t.left),t}),bi(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Oi,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Oi,n=this.getDimensions;return{reference:vi(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 fi(t)},getScale:di,isElement:Jr,isRTL:function(t){return"rtl"===ni(t).direction}},wi=(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=Ci(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ci(t);o;o=Ci(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 Ci(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function Ei(t,o,e){return wi(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}=zr(r,t),c={x:o,y:e},f=await Mr(t,s),p=_r(Br(i)),d=Ar(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=Wr(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=Wr(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}}}}),Tr({allowedPlacements:[e]})]});var r}var $i=Object.freeze({__proto__:null,computeOffsetPosition:Ei});
|
|
136
136
|
/**
|
|
137
137
|
* @license
|
|
138
138
|
* Copyright 2019 Google LLC
|
|
139
139
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
140
|
-
*/const bi=window,mi=bi.ShadowRoot&&(void 0===bi.ShadyCSS||bi.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class vi extends be{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{mi?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=bi.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var xi,Oi=Object.freeze({__proto__:null,ScopedRegistryLitElement:vi}),wi=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Si=Symbol("constructorPrototype"),Ni=Symbol("constructorName"),Ci=Symbol("exportpartsDebouncer");class $i extends vi{constructor(){super(),this[xi]=new no(5),this[Ni]=this.constructor.name,this[Si]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ni]&&Object.setPrototypeOf(this,this[Si])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,e;if((null!==(e=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).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,e,o;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(o=null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)&&void 0!==o&&o)&&this[Ci].run((()=>{var t,e;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}xi=Ci,wi([we()],$i.prototype,"exportpartsPrefix",void 0),wi([uo([])],$i.prototype,"exportpartsPrefixes",void 0),wi([we()],$i.prototype,"customStylesheet",void 0);var Ei=Object.freeze({__proto__:null,FtLitElement:$i}),Ri=Object.freeze({__proto__:null});class ki{constructor(t,e=!0,o=[],r=5e3){this.ctx=t,this.iframes=e,this.exclude=o,this.iframesTimeout=r}static matches(t,e){const o="string"==typeof e?[e]:e,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let e=!1;return o.every((o=>!r.call(t,o)||(e=!0,!1))),e}return!1}getContexts(){let t,e=[];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 o=e.filter((e=>e.contains(t))).length>0;-1!==e.indexOf(t)||o||e.push(t)})),e}getIframeContents(t,e,o=(()=>{})){let r;try{const e=t.contentWindow;if(r=e.document,!e||!r)throw new Error("iframe inaccessible")}catch(t){o()}r&&e(r)}isIframeBlank(t){const e="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===e&&o!==e&&o}observeIframeLoad(t,e,o){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,e,o))}catch(t){o()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,e,o){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,e,o):this.getIframeContents(t,e,o):this.observeIframeLoad(t,e,o)}catch(t){o()}}waitForIframes(t,e){let o=0;this.forEachIframe(t,(()=>!0),(t=>{o++,this.waitForIframes(t.querySelector("html"),(()=>{--o||e()}))}),(t=>{t||e()}))}forEachIframe(t,e,o,r=(()=>{})){let i=t.querySelectorAll("iframe"),n=i.length,a=0;i=Array.prototype.slice.call(i);const s=()=>{--n<=0&&r(a)};n||s(),i.forEach((t=>{ki.matches(t,this.exclude)?s():this.onIframeReady(t,(r=>{e(t)&&(a++,o(r)),s()}),s)}))}createIterator(t,e,o){return document.createNodeIterator(t,e,o,!1)}createInstanceOnIframe(t){return new ki(t.querySelector("html"),this.iframes)}compareNodeIframe(t,e,o){if(t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING){if(null===e)return!0;if(e.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const e=t.previousNode();let o;return o=(null===e||t.nextNode())&&t.nextNode(),{prevNode:e,node:o}}checkIframeFilter(t,e,o,r){let i=!1,n=!1;return r.forEach(((t,e)=>{t.val===o&&(i=e,n=t.handled)})),this.compareNodeIframe(t,e,o)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:o,handled:!0}),!0):(!1===i&&r.push({val:o,handled:!1}),!1)}handleOpenIframes(t,e,o,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(e,o,r)}))}))}iterateThroughNodes(t,e,o,r,i){const n=this.createIterator(e,t,r);let a,s,l=[],c=[],f=()=>(({prevNode:s,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(e,(t=>this.checkIframeFilter(a,s,t,l)),(e=>{this.createInstanceOnIframe(e).forEachNode(t,(t=>c.push(t)),r)})),c.push(a);c.forEach((t=>{o(t)})),this.iframes&&this.handleOpenIframes(l,t,o,r),i()}forEachNode(t,e,o,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,e,o,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const Ii=function(t){const e=new class{constructor(t){this.ctx=t,this.ie=!1;const e=window.navigator.userAgent;(e.indexOf("MSIE")>-1||e.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 ki(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,e="debug"){const o=this.opt.log;this.opt.debug&&"object"==typeof o&&"function"==typeof o[e]&&o[e](`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 e=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in e)if(e.hasOwnProperty(i)){const n=e[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${o}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+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 e="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,e?"[\\S\\s]?":"\\S?").replace(/\u0002/g,e?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,e,o)=>{let r=o.charAt(e+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let e=[];const o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&e.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&e.push("\\u00ad\\u200b\\u200c\\u200d"),e.length?t.split(/\u0000+/).join(`[${e.join("")}]*`):t}createDiacriticsRegExp(t){const e=this.opt.caseSensitive?"":"i",o=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=>{o.every((o=>{if(-1!==o.indexOf(i)){if(r.indexOf(o)>-1)return!1;t=t.replace(new RegExp(`[${o}]`,`gm${e}`),`[${o}]`),r.push(o)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let e=this.opt.accuracy,o="string"==typeof e?e:e.value,r="string"==typeof e?[]:e.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),o){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 e=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===e.indexOf(t)&&e.push(t)})):t.trim()&&-1===e.indexOf(t)&&e.push(t)})),{keywords:e.sort(((t,e)=>e.length-t.length)),length:e.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 e=[];let o=0;return t.sort(((t,e)=>t.start-e.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,o);n&&(t.start=r,t.length=i-r,e.push(t),o=i)})),e}callNoMatchOnInvalidRanges(t,e){let o,r,i=!1;return t&&void 0!==t.start?(o=parseInt(t.start,10),r=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-e>0&&r-o>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:o,end:r,valid:i}}checkWhitespaceRanges(t,e,o){let r,i=!0,n=o.length,a=e-n,s=parseInt(t.start,10)-a;return s=s>n?n:s,r=s+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),s<0||r-s<0||s>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===o.substring(s,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:r,valid:i}}getTextNodes(t){let e="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{o.push({start:e.length,end:(e+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:e,nodes:o})}))}matchesExclude(t){return ki.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,e,o){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(e),n=i.splitText(o-e);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,e,o,r,i){t.nodes.every(((n,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>e){if(!r(n.node))return!1;const s=e-n.start,l=(o>n.end?n.end:o)-n.start,c=t.value.substr(0,n.start),f=t.value.substr(l+n.start);if(n.node=this.wrapRangeInTextNode(n.node,s,l),t.value=c+f,t.nodes.forEach(((e,o)=>{o>=a&&(t.nodes[o].start>0&&o!==a&&(t.nodes[o].start-=l),t.nodes[o].end-=l)})),o-=l,i(n.node.previousSibling,n.start),!(o>n.end))return!1;e=n.end}return!0}))}wrapMatches(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{e.nodes.forEach((e=>{let i;for(e=e.node;null!==(i=t.exec(e.textContent))&&""!==i[n];){if(!o(i[n],e))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;e=this.wrapRangeInTextNode(e,a,a+i[n].length),r(e.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{let a;for(;null!==(a=t.exec(e.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const s=i+a[n].length;this.wrapRangeInMappedTextNode(e,i,s,(t=>o(a[n],t)),((e,o)=>{t.lastIndex=o,r(e)}))}i()}))}wrapRangeFromIndex(t,e,o,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:s,valid:l}=this.checkWhitespaceRanges(t,n,i.value);l&&this.wrapRangeInMappedTextNode(i,a,s,(o=>e(o,t,i.value.substring(a,s),r)),(e=>{o(e,t)}))})),r()}))}unwrapMatches(t){const e=t.parentNode;let o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));e.replaceChild(o,t),this.ie?this.normalizeTextNode(e):e.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,e){this.opt=e,this.log(`Searching with expression "${t}"`);let o=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,e)=>this.opt.filter(e,t,o)),(t=>{o++,this.opt.each(t)}),(()=>{0===o&&this.opt.noMatch(t),this.opt.done(o)}))}mark(t,e){this.opt=e;let o=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let e=new RegExp(this.createRegExp(t),`gm${a}`),l=0;this.log(`Searching with expression "${e}"`),this[r](e,1,((e,r)=>this.opt.filter(r,t,o,l)),(t=>{l++,o++,this.opt.each(t)}),(()=>{0===l&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(o):s(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(o):s(i[0])}markRanges(t,e){this.opt=e;let o=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,e,o,r)=>this.opt.filter(t,e,o,r)),((t,e)=>{o++,this.opt.each(t,e)}),(()=>{this.opt.done(o)}))):this.opt.done(o)}unmark(t){this.opt=t;let e=this.opt.element?this.opt.element:"*";e+="[data-markjs]",this.opt.className&&(e+=`.${this.opt.className}`),this.log(`Removal selector "${e}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const o=ki.matches(t,e),r=this.matchesExclude(t);return!o||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,o)=>(e.mark(t,o),this),this.markRegExp=(t,o)=>(e.markRegExp(t,o),this),this.markRanges=(t,o)=>(e.markRanges(t,o),this),this.unmark=t=>(e.unmark(t),this),this},Li=mo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ui=ht`
|
|
140
|
+
*/const Ri=window,Ii=Ri.ShadowRoot&&(void 0===Ri.ShadyCSS||Ri.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class ki 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)=>{Ii?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 Li,Ui=Object.freeze({__proto__:null,ScopedRegistryLitElement:ki}),Wi=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 zi=Symbol("constructorPrototype"),Bi=Symbol("constructorName"),Fi=Symbol("exportpartsDebouncer");class Ai extends ki{constructor(){super(),this[Li]=new ae(5),this[Bi]=this.constructor.name,this[zi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Bi]&&Object.setPrototypeOf(this,this[zi])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,o;if((null!==(o=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){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[Fi].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(", "))}}Li=Fi,Wi([wo()],Ai.prototype,"exportpartsPrefix",void 0),Wi([ue([])],Ai.prototype,"exportpartsPrefixes",void 0),Wi([wo()],Ai.prototype,"customStylesheet",void 0);var ji=Object.freeze({__proto__:null,FtLitElement:Ai}),_i=Object.freeze({__proto__:null});class Zi{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=>{Zi.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 Zi(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 Zi(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 Zi.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=Zi.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},Pi=me.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Di=dt`
|
|
141
141
|
.highlight-html-match {
|
|
142
|
-
background: ${
|
|
142
|
+
background: ${Pi};
|
|
143
143
|
}
|
|
144
|
-
`,
|
|
144
|
+
`,Mi={className:"highlight-html-match"};var Hi=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(Mi),o&&o.trim()){r.mark(o.replace(/"[^"]+"/g,""),{...Mi,separateWordSearch:!0});(null!==(e=o.match(/"[^"]+"/g))&&void 0!==e?e:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Mi,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=o?o:"")},highlightHtmlColorCssVariable:Pi,highlightHtmlStyles:Di});const Ti=dt`
|
|
145
145
|
.ft-no-text-select {
|
|
146
146
|
-webkit-touch-callout: none;
|
|
147
147
|
-webkit-user-select: none;
|
|
@@ -150,7 +150,7 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
150
150
|
-ms-user-select: none;
|
|
151
151
|
user-select: none;
|
|
152
152
|
}
|
|
153
|
-
`,
|
|
153
|
+
`,Gi=dt`
|
|
154
154
|
.ft-word-wrap {
|
|
155
155
|
white-space: normal;
|
|
156
156
|
word-wrap: break-word;
|
|
@@ -162,7 +162,7 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
162
162
|
-webkit-hyphens: auto;
|
|
163
163
|
hyphens: auto
|
|
164
164
|
}
|
|
165
|
-
`,
|
|
165
|
+
`,Vi=dt`
|
|
166
166
|
.ft-safari-ellipsis-fix {
|
|
167
167
|
margin-right: 0;
|
|
168
168
|
|
|
@@ -173,7 +173,7 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
173
173
|
display: inline-block;
|
|
174
174
|
width: 0;
|
|
175
175
|
}
|
|
176
|
-
`;var _i=Object.freeze({__proto__:null,noTextSelect:zi,safariEllipsisFix:ji,wordWrap:Ai}),Bi=Object.freeze({__proto__:null});var Ki=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}});class Pi{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function Di(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Mi,Zi,Hi;const Ti=Symbol("internalReduxEventsUnsubscribers"),Gi=Symbol("internalStoresUnsubscribers"),Vi=Symbol("internalStores");class qi extends $i{constructor(){super(...arguments),this[Mi]=new Map,this[Zi]=new Map,this[Hi]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Vi].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Vi].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Vi].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Di(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Vi].delete(e)}setupStore(t,e){this[Vi].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Vi].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[Gi].has(t.store):this[Gi].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Gi].set(t,e.subscribe((()=>this.updateFromStores()))),Di(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[Ti].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Gi].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Ti].forEach((t=>t())),this[Ti]=[]}unsubscribeFromStore(t){this[Gi].has(t)&&this[Gi].get(t)(),this[Gi].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Yi(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ji(t){return!!t&&!!t[_n]}function Xi(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Bn}(t)||Array.isArray(t)||!!t[jn]||!!(null===(e=t.constructor)||void 0===e?void 0:e[jn])||nn(t)||an(t))}function Qi(t,e,o){void 0===o&&(o=!1),0===tn(t)?(o?Object.keys:Kn)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function tn(t){var e=t[_n];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:nn(t)?2:an(t)?3:0}function en(t,e){return 2===tn(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function on(t,e,o){var r=tn(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function rn(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function nn(t){return Wn&&t instanceof Map}function an(t){return Fn&&t instanceof Set}function sn(t){return t.o||t.t}function ln(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Pn(t);delete e[_n];for(var o=Kn(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function cn(t,e){return void 0===e&&(e=!1),pn(t)||Ji(t)||!Xi(t)||(tn(t)>1&&(t.set=t.add=t.clear=t.delete=fn),Object.freeze(t),e&&Qi(t,(function(t,e){return cn(e,!0)}),!0)),t}function fn(){Yi(2)}function pn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function hn(t){var e=Dn[t];return e||Yi(18,t),e}function dn(){return Ln}function un(t,e){e&&(hn("Patches"),t.u=[],t.s=[],t.v=e)}function yn(t){gn(t),t.p.forEach(mn),t.p=null}function gn(t){t===Ln&&(Ln=t.l)}function bn(t){return Ln={p:[],l:Ln,h:t,m:!0,_:0}}function mn(t){var e=t[_n];0===e.i||1===e.i?e.j():e.g=!0}function vn(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||hn("ES5").S(e,t,r),r?(o[_n].P&&(yn(e),Yi(4)),Xi(t)&&(t=xn(e,t),e.l||wn(e,t)),e.u&&hn("Patches").M(o[_n].t,t,e.u,e.s)):t=xn(e,o,[]),yn(e),e.u&&e.v(e.u,e.s),t!==An?t:void 0}function xn(t,e,o){if(pn(e))return e;var r=e[_n];if(!r)return Qi(e,(function(i,n){return On(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return wn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=ln(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),Qi(n,(function(e,n){return On(t,r,i,e,n,o,a)})),wn(t,i,!1),o&&t.u&&hn("Patches").N(r,o,t.u,t.s)}return r.o}function On(t,e,o,r,i,n,a){if(Ji(i)){var s=xn(t,i,n&&e&&3!==e.i&&!en(e.R,r)?n.concat(r):void 0);if(on(o,r,s),!Ji(s))return;t.m=!1}else a&&o.add(i);if(Xi(i)&&!pn(i)){if(!t.h.D&&t._<1)return;xn(t,i),e&&e.A.l||wn(t,i)}}function wn(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&cn(e,o)}function Sn(t,e){var o=t[_n];return(o?sn(o):t)[e]}function Nn(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function Cn(t){t.P||(t.P=!0,t.l&&Cn(t.l))}function $n(t){t.o||(t.o=ln(t.t))}function En(t,e,o){var r=nn(e)?hn("MapSet").F(e,o):an(e)?hn("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:dn(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=Mn;o&&(i=[r],n=Zn);var a=Proxy.revocable(i,n),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(e,o):hn("ES5").J(e,o);return(o?o.A:dn()).p.push(r),r}function Rn(t){return Ji(t)||Yi(22,t),function t(e){if(!Xi(e))return e;var o,r=e[_n],i=tn(e);if(r){if(!r.P&&(r.i<4||!hn("ES5").K(r)))return r.t;r.I=!0,o=kn(e,i),r.I=!1}else o=kn(e,i);return Qi(o,(function(e,i){r&&function(t,e){return 2===tn(t)?t.get(e):t[e]}(r.t,e)===i||on(o,e,t(i))})),3===i?new Set(o):o}(t)}function kn(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ln(t)}Mi=Gi,Zi=Vi,Hi=Ti,qi.reduxProperties=new Map,qi.reduxReactiveProperties=new Set,qi.reduxEventListeners=new Map;var In,Ln,Un="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Wn="undefined"!=typeof Map,Fn="undefined"!=typeof Set,zn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,An=Un?Symbol.for("immer-nothing"):((In={})["immer-nothing"]=!0,In),jn=Un?Symbol.for("immer-draftable"):"__$immer_draftable",_n=Un?Symbol.for("immer-state"):"__$immer_state",Bn=""+Object.prototype.constructor,Kn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Pn=Object.getOwnPropertyDescriptors||function(t){var e={};return Kn(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Dn={},Mn={get:function(t,e){if(e===_n)return t;var o=sn(t);if(!en(o,e))return function(t,e,o){var r,i=Nn(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!Xi(r)?r:r===Sn(t.t,e)?($n(t),t.o[e]=En(t.A.h,r,t)):r},has:function(t,e){return e in sn(t)},ownKeys:function(t){return Reflect.ownKeys(sn(t))},set:function(t,e,o){var r=Nn(sn(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=Sn(sn(t),e),n=null==i?void 0:i[_n];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(rn(o,i)&&(void 0!==o||en(t.t,e)))return!0;$n(t),Cn(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Sn(t.t,e)||e in t.t?(t.R[e]=!1,$n(t),Cn(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=sn(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){Yi(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Yi(12)}},Zn={};Qi(Mn,(function(t,e){Zn[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Zn.deleteProperty=function(t,e){return Zn.set.call(this,t,e,void 0)},Zn.set=function(t,e,o){return Mn.set.call(this,t[0],e,o,t[0])};var Hn=function(){function t(t){var e=this;this.O=zn,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Yi(6),void 0!==r&&"function"!=typeof r&&Yi(7),Xi(t)){var s=bn(e),l=En(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?yn(s):gn(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return un(s,r),vn(t,s)}),(function(t){throw yn(s),t})):(un(s,r),vn(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===An&&(a=void 0),e.D&&cn(a,!0),r){var f=[],p=[];hn("Patches").M(t,a,f,p),r(f,p)}return a}Yi(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));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 e=t.prototype;return e.createDraft=function(t){Xi(t)||Yi(8),Ji(t)&&(t=Rn(t));var e=bn(this),o=En(this,t,void 0);return o[_n].C=!0,gn(e),o},e.finishDraft=function(t,e){var o=(t&&t[_n]).A;return un(o,e),vn(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!zn&&Yi(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=hn("Patches").$;return Ji(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),Tn=new Hn,Gn=Tn.produce;function Vn(t){return Vn="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},Vn(t)}function qn(t){var e=function(t,e){if("object"!==Vn(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Vn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Vn(e)?e:String(e)}function Yn(t,e,o){return(e=qn(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Jn(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function Xn(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Jn(Object(o),!0).forEach((function(e){Yn(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Jn(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function Qn(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. "}Tn.produceWithPatches.bind(Tn),Tn.setAutoFreeze.bind(Tn),Tn.setUseProxies.bind(Tn),Tn.applyPatches.bind(Tn),Tn.createDraft.bind(Tn),Tn.finishDraft.bind(Tn);var ta="function"==typeof Symbol&&Symbol.observable||"@@observable",ea=function(){return Math.random().toString(36).substring(7).split("").join(".")},oa={INIT:"@@redux/INIT"+ea(),REPLACE:"@@redux/REPLACE"+ea(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ea()}};function ra(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(Qn(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(Qn(1));return o(ra)(t,e)}if("function"!=typeof t)throw new Error(Qn(2));var i=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(Qn(3));return n}function p(t){if("function"!=typeof t)throw new Error(Qn(4));if(l)throw new Error(Qn(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(Qn(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(Qn(7));if(void 0===t.type)throw new Error(Qn(8));if(l)throw new Error(Qn(9));try{l=!0,n=i(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return h({type:oa.INIT}),(r={dispatch:h,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Qn(10));i=t,h({type:oa.REPLACE})}})[ta]=function(){var t,e=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Qn(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[ta]=function(){return this},t},r}function ia(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:oa.INIT}))throw new Error(Qn(12));if(void 0===o(void 0,{type:oa.PROBE_UNKNOWN_ACTION()}))throw new Error(Qn(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],c=o[l],f=t[l],p=c(f,e);if(void 0===p)throw e&&e.type,new Error(Qn(14));i[l]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function na(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function aa(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(Qn(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=na.apply(void 0,n)(o.dispatch),Xn(Xn({},o),{},{dispatch:r})}}}function sa(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var la=sa();la.withExtraArgument=sa;var ca,fa=la,pa=(ca=function(t,e){return ca=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},ca(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}ca(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),ha=function(t,e){var o,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=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=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},da=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},ua=Object.defineProperty,ya=Object.defineProperties,ga=Object.getOwnPropertyDescriptors,ba=Object.getOwnPropertySymbols,ma=Object.prototype.hasOwnProperty,va=Object.prototype.propertyIsEnumerable,xa=function(t,e,o){return e in t?ua(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Oa=function(t,e){for(var o in e||(e={}))ma.call(e,o)&&xa(t,o,e[o]);if(ba)for(var r=0,i=ba(e);r<i.length;r++){o=i[r];va.call(e,o)&&xa(t,o,e[o])}return t},wa=function(t,e){return ya(t,ga(e))},Sa="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?na:na.apply(null,arguments)};var Na=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return pa(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,da([void 0],t[0].concat(this)))):new(e.bind.apply(e,da([void 0],t.concat(this))))},e}(Array),Ca=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return pa(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,da([void 0],t[0].concat(this)))):new(e.bind.apply(e,da([void 0],t.concat(this))))},e}(Array);function $a(t){return Xi(t)?Gn(t,(function(){})):t}function Ea(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new Na;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(fa.withExtraArgument(o.extraArgument)):r.push(fa));return r}(t)}}function Ra(t){var e,o=Ea(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,l=r.devTools,c=void 0===l||l,f=r.preloadedState,p=void 0===f?void 0:f,h=r.enhancers,d=void 0===h?void 0:h;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(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');e=ia(n)}var u=s;"function"==typeof u&&(u=u(o));var y=aa.apply(void 0,u),g=na;c&&(g=Sa(Oa({trace:!1},"object"==typeof c&&c)));var b=new Ca(y),m=b;return Array.isArray(d)?m=da([y],d):"function"==typeof d&&(m=d(b)),ra(e,p,g.apply(void 0,m))}function ka(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return Oa(Oa({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Ia(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function La(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:$a(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?Ia(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,f=Oa(Oa({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Ia(e):[e,o,r],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return $a(t())};else{var c=$a(t);i=function(){return c}}function f(t,e){void 0===t&&(t=i());var o=da([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var r;if(Ji(t))return void 0===(r=o(t,e))?t:r;if(Xi(t))return Gn(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){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 e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,r,n=i[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[c]=o,l[t]=r?ka(c,r):ka(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Ua=["name","message","stack","code"],Wa=function(t,e){this.payload=t,this.meta=e},Fa=function(t,e){this.payload=t,this.meta=e},za=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Ua;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function Aa(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=ka(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:wa(Oa({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=ka(t+"/pending",(function(t,e,o){return{payload:void 0,meta:wa(Oa({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=ka(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||za)(t||"Rejected"),meta:wa(Oa({},n||{}),{arg:r,requestId:e,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(s,l,c){var f,p=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),h=new a;function d(t){f=t,h.abort()}var u=function(){return a=this,u=null,y=function(){var a,u,y,g,b,m;return ha(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return h.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(u=null==o?void 0:o.getPendingMeta)?void 0:u.call(o,{requestId:p,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:p,signal:h.signal,abort:d,rejectWithValue:function(t,e){return new Wa(t,e)},fulfillWithValue:function(t,e){return new Fa(t,e)}})).then((function(e){if(e instanceof Wa)throw e;return e instanceof Fa?r(e.payload,p,t,e.meta):r(e,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Wa?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,u)).next())}));var a,u,y}();return Object.assign(u,{abort:d,requestId:p,arg:t,unwrap:function(){return u.then(Aa)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var ja="listenerMiddleware";ka(ja+"/add"),ka(ja+"/removeAll"),ka(ja+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[_n];return Mn.get(e,t)},set:function(e){var o=this[_n];Mn.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][_n];if(!i.P)switch(i.i){case 5:r(i)&&Cn(i);break;case 4:o(i)&&Cn(i)}}}function o(t){for(var e=t.t,o=t.k,r=Kn(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==_n){var a=e[n];if(void 0===a&&!en(e,n))return!0;var s=o[n],l=s&&s[_n];if(l?l.t!==a:!rn(s,a))return!0}}var c=!!e[_n];return r.length!==Kn(e).length+(c?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Dn[t]||(Dn[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Pn(o);delete n[_n];for(var a=Kn(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:dn(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,_n,{value:n,writable:!0}),i},S:function(t,o,i){i?Ji(o)&&o[_n].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[_n];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)Qi(n,(function(e){e!==_n&&(void 0!==i[e]||en(i,e)?a[e]||t(n[e]):(a[e]=!0,Cn(o)))})),Qi(i,(function(t){void 0!==n[t]||en(n,t)||(a[t]=!1,Cn(o))}));else if(5===s){if(r(o)&&(Cn(o),a.length=!0),n.length<i.length)for(var l=n.length;l<i.length;l++)a[l]=!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]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class _a{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(Di(i))return i;if(null==r)return;const n=La({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Ra({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new _a(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Pi,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",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 Ba=Object.freeze({__proto__:null,FtCommandQueue:Pi,FtLitElementRedux:qi,FtReduxStore:_a,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Di(e)&&e.clear()},isFtReduxStore:Di,redux:t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!fo(t,e),attribute:!1,...e};we(i)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}},reduxEventListener:t=>(e,o)=>{const r=e.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(o,t)},reduxReactive:()=>(t,e)=>{var o;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(o=r.reduxReactiveProperties)||void 0===o||o.add(e)}});var Ka=Object.freeze({__proto__:null,serializeRequest:function(t,e){var o;const r=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href}});const Pa=Symbol("elementInternals");function Da(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Pa].form}constructor(...t){super(t),this[Pa]=this.attachInternals(),this[Pa].role=e}setFormValue(t){this[Pa].setFormValue(t)}}}var Ma,Za,Ha,Ta,Ga=Object.freeze({__proto__:null,toFtFormComponent:Da});const Va=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ha=null===(Za=null===(Ma=window.safari)||void 0===Ma?void 0:Ma.pushNotification)||void 0===Za?void 0:Za.toString())&&void 0!==Ha?Ha:""),qa="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(Ta=window.ftGlobals)&&void 0!==Ta?Ta:{lit:ve,litDecorators:ke,litRepeat:De,litClassMap:Ze,litStyleMap:Ve,litUnsafeHTML:Je,wcUtils:{...oo,...eo,...io,...ao,...go,...cr,...dr,...gi,...sr,...Ei,...Ri,...po,...Fi,..._i,...Bi,...Ki,...Ba,...Oi,...Ka,...Ga,isSafari:Va,isTouchScreen:qa}};const Ya=mo.extend("--ft-ripple-color","",lr.colorContent),Ja={color:Ya,backgroundColor:mo.extend("--ft-ripple-background-color","",Ya),opacityContentOnSurfacePressed:mo.external(lr.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:mo.external(lr.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:mo.external(lr.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:mo.external(lr.opacityContentOnSurfaceSelected,"Design system"),borderRadius:mo.create("--ft-ripple-border-radius","","SIZE","0px")},Xa=mo.extend("--ft-ripple-color","",lr.colorPrimary),Qa=Xa,ts=mo.extend("--ft-ripple-background-color","",Xa),es=mo.extend("--ft-ripple-color","",lr.colorSecondary),os=es,rs=mo.extend("--ft-ripple-background-color","",es),is=ht`
|
|
176
|
+
`;var qi=Object.freeze({__proto__:null,noTextSelect:Ti,safariEllipsisFix:Vi,wordWrap:Gi}),Yi=Object.freeze({__proto__:null});var Ji=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 Xi{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 Qi(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var tn,on,en;const rn=Symbol("internalReduxEventsUnsubscribers"),nn=Symbol("internalStoresUnsubscribers"),an=Symbol("internalStores");class ln extends Ai{constructor(){super(...arguments),this[tn]=new Map,this[on]=new Map,this[en]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[an].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[an].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[an].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Qi(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[an].delete(o)}setupStore(t,o){this[an].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[an].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[nn].has(t.store):this[nn].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[nn].set(t,o.subscribe((()=>this.updateFromStores()))),Qi(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[rn].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[nn].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[rn].forEach((t=>t())),this[rn]=[]}unsubscribeFromStore(t){this[nn].has(t)&&this[nn].get(t)(),this[nn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function sn(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 cn(t){return!!t&&!!t[qn]}function fn(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)===Yn}(t)||Array.isArray(t)||!!t[Vn]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Vn])||yn(t)||bn(t))}function pn(t,o,e){void 0===e&&(e=!1),0===dn(t)?(e?Object.keys:Jn)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function dn(t){var o=t[qn];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:yn(t)?2:bn(t)?3:0}function hn(t,o){return 2===dn(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function un(t,o,e){var r=dn(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function gn(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function yn(t){return Mn&&t instanceof Map}function bn(t){return Hn&&t instanceof Set}function mn(t){return t.o||t.t}function vn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Xn(t);delete o[qn];for(var e=Jn(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 xn(t,o){return void 0===o&&(o=!1),Sn(t)||cn(t)||!fn(t)||(dn(t)>1&&(t.set=t.add=t.clear=t.delete=On),Object.freeze(t),o&&pn(t,(function(t,o){return xn(o,!0)}),!0)),t}function On(){sn(2)}function Sn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function wn(t){var o=Qn[t];return o||sn(18,t),o}function Nn(){return Pn}function Cn(t,o){o&&(wn("Patches"),t.u=[],t.s=[],t.v=o)}function En(t){$n(t),t.p.forEach(In),t.p=null}function $n(t){t===Pn&&(Pn=t.l)}function Rn(t){return Pn={p:[],l:Pn,h:t,m:!0,_:0}}function In(t){var o=t[qn];0===o.i||1===o.i?o.j():o.g=!0}function kn(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||wn("ES5").S(o,t,r),r?(e[qn].P&&(En(o),sn(4)),fn(t)&&(t=Ln(o,t),o.l||Wn(o,t)),o.u&&wn("Patches").M(e[qn].t,t,o.u,o.s)):t=Ln(o,e,[]),En(o),o.u&&o.v(o.u,o.s),t!==Gn?t:void 0}function Ln(t,o,e){if(Sn(o))return o;var r=o[qn];if(!r)return pn(o,(function(i,n){return Un(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Wn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=vn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),pn(n,(function(o,n){return Un(t,r,i,o,n,e,a)})),Wn(t,i,!1),e&&t.u&&wn("Patches").N(r,e,t.u,t.s)}return r.o}function Un(t,o,e,r,i,n,a){if(cn(i)){var l=Ln(t,i,n&&o&&3!==o.i&&!hn(o.R,r)?n.concat(r):void 0);if(un(e,r,l),!cn(l))return;t.m=!1}else a&&e.add(i);if(fn(i)&&!Sn(i)){if(!t.h.D&&t._<1)return;Ln(t,i),o&&o.A.l||Wn(t,i)}}function Wn(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&xn(o,e)}function zn(t,o){var e=t[qn];return(e?mn(e):t)[o]}function Bn(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 Fn(t){t.P||(t.P=!0,t.l&&Fn(t.l))}function An(t){t.o||(t.o=vn(t.t))}function jn(t,o,e){var r=yn(o)?wn("MapSet").F(o,e):bn(o)?wn("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=ta;e&&(i=[r],n=oa);var a=Proxy.revocable(i,n),l=a.revoke,s=a.proxy;return r.k=s,r.j=l,s}(o,e):wn("ES5").J(o,e);return(e?e.A:Nn()).p.push(r),r}function _n(t){return cn(t)||sn(22,t),function t(o){if(!fn(o))return o;var e,r=o[qn],i=dn(o);if(r){if(!r.P&&(r.i<4||!wn("ES5").K(r)))return r.t;r.I=!0,e=Zn(o,i),r.I=!1}else e=Zn(o,i);return pn(e,(function(o,i){r&&function(t,o){return 2===dn(t)?t.get(o):t[o]}(r.t,o)===i||un(e,o,t(i))})),3===i?new Set(e):e}(t)}function Zn(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return vn(t)}tn=nn,on=an,en=rn,ln.reduxProperties=new Map,ln.reduxReactiveProperties=new Set,ln.reduxEventListeners=new Map;var Kn,Pn,Dn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Mn="undefined"!=typeof Map,Hn="undefined"!=typeof Set,Tn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Gn=Dn?Symbol.for("immer-nothing"):((Kn={})["immer-nothing"]=!0,Kn),Vn=Dn?Symbol.for("immer-draftable"):"__$immer_draftable",qn=Dn?Symbol.for("immer-state"):"__$immer_state",Yn=""+Object.prototype.constructor,Jn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Xn=Object.getOwnPropertyDescriptors||function(t){var o={};return Jn(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Qn={},ta={get:function(t,o){if(o===qn)return t;var e=mn(t);if(!hn(e,o))return function(t,o,e){var r,i=Bn(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||!fn(r)?r:r===zn(t.t,o)?(An(t),t.o[o]=jn(t.A.h,r,t)):r},has:function(t,o){return o in mn(t)},ownKeys:function(t){return Reflect.ownKeys(mn(t))},set:function(t,o,e){var r=Bn(mn(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=zn(mn(t),o),n=null==i?void 0:i[qn];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(gn(e,i)&&(void 0!==e||hn(t.t,o)))return!0;An(t),Fn(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!==zn(t.t,o)||o in t.t?(t.R[o]=!1,An(t),Fn(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=mn(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(){sn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){sn(12)}},oa={};pn(ta,(function(t,o){oa[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),oa.deleteProperty=function(t,o){return oa.set.call(this,t,o,void 0)},oa.set=function(t,o,e){return ta.set.call(this,t[0],o,e,t[0])};var ea=function(){function t(t){var o=this;this.O=Tn,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&&sn(6),void 0!==r&&"function"!=typeof r&&sn(7),fn(t)){var l=Rn(o),s=jn(o,t,void 0),c=!0;try{a=e(s),c=!1}finally{c?En(l):$n(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Cn(l,r),kn(t,l)}),(function(t){throw En(l),t})):(Cn(l,r),kn(a,l))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Gn&&(a=void 0),o.D&&xn(a,!0),r){var f=[],p=[];wn("Patches").M(t,a,f,p),r(f,p)}return a}sn(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){fn(t)||sn(8),cn(t)&&(t=_n(t));var o=Rn(this),e=jn(this,t,void 0);return e[qn].C=!0,$n(o),e},o.finishDraft=function(t,o){var e=(t&&t[qn]).A;return Cn(e,o),kn(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Tn&&sn(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=wn("Patches").$;return cn(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),ra=new ea,ia=ra.produce;function na(t){return na="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},na(t)}function aa(t){var o=function(t,o){if("object"!==na(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==na(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===na(o)?o:String(o)}function la(t,o,e){return(o=aa(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function sa(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 ca(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?sa(Object(e),!0).forEach((function(o){la(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):sa(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function fa(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. "}ra.produceWithPatches.bind(ra),ra.setAutoFreeze.bind(ra),ra.setUseProxies.bind(ra),ra.applyPatches.bind(ra),ra.createDraft.bind(ra),ra.finishDraft.bind(ra);var pa="function"==typeof Symbol&&Symbol.observable||"@@observable",da=function(){return Math.random().toString(36).substring(7).split("").join(".")},ha={INIT:"@@redux/INIT"+da(),REPLACE:"@@redux/REPLACE"+da(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+da()}};function ua(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(fa(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(fa(1));return e(ua)(t,o)}if("function"!=typeof t)throw new Error(fa(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(fa(3));return n}function p(t){if("function"!=typeof t)throw new Error(fa(4));if(s)throw new Error(fa(5));var o=!0;return c(),l.push(t),function(){if(o){if(s)throw new Error(fa(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(fa(7));if(void 0===t.type)throw new Error(fa(8));if(s)throw new Error(fa(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:ha.INIT}),(r={dispatch:d,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(fa(10));i=t,d({type:ha.REPLACE})}})[pa]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(fa(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[pa]=function(){return this},t},r}function ga(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:ha.INIT}))throw new Error(fa(12));if(void 0===e(void 0,{type:ha.PROBE_UNKNOWN_ACTION()}))throw new Error(fa(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(fa(14));i[s]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ya(){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 ba(){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(fa(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=ya.apply(void 0,n)(e.dispatch),ca(ca({},e),{},{dispatch:r})}}}function ma(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 va=ma();va.withExtraArgument=ma;var xa,Oa=va,Sa=(xa=function(t,o){return xa=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])},xa(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}xa(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),wa=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},Ca=Object.defineProperty,Ea=Object.defineProperties,$a=Object.getOwnPropertyDescriptors,Ra=Object.getOwnPropertySymbols,Ia=Object.prototype.hasOwnProperty,ka=Object.prototype.propertyIsEnumerable,La=function(t,o,e){return o in t?Ca(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Ua=function(t,o){for(var e in o||(o={}))Ia.call(o,e)&&La(t,e,o[e]);if(Ra)for(var r=0,i=Ra(o);r<i.length;r++){e=i[r];ka.call(o,e)&&La(t,e,o[e])}return t},Wa=function(t,o){return Ea(t,$a(o))},za="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ya:ya.apply(null,arguments)};var Ba=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),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);function Aa(t){return fn(t)?ia(t,(function(){})):t}function ja(){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 Ba;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(Oa.withExtraArgument(e.extraArgument)):r.push(Oa));return r}(t)}}function _a(t){var o,e=ja(),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=ga(n)}var u=l;"function"==typeof u&&(u=u(e));var g=ba.apply(void 0,u),y=ya;c&&(y=za(Ua({trace:!1},"object"==typeof c&&c)));var b=new Fa(g),m=b;return Array.isArray(h)?m=Na([g],h):"function"==typeof h&&(m=h(b)),ua(o,p,y.apply(void 0,m))}function Za(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 Ua(Ua({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 Pa(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=Ua(Ua({},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(cn(t))return void 0===(r=e(t,o))?t:r;if(fn(t))return ia(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?Za(c,r):Za(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"],Ma=function(t,o){this.payload=t,this.meta=o},Ha=function(t,o){this.payload=t,this.meta=o},Ta=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 Ga(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=Za(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Wa(Ua({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Za(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Wa(Ua({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Za(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||Ta)(t||"Rejected"),meta:Wa(Ua({},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 wa(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 Ma(t,o)},fulfillWithValue:function(t,o){return new Ha(t,o)}})).then((function(o){if(o instanceof Ma)throw o;return o instanceof Ha?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 Ma?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(Ga)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Va="listenerMiddleware";Za(Va+"/add"),Za(Va+"/removeAll"),Za(Va+"/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[qn];return ta.get(o,t)},set:function(o){var e=this[qn];ta.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][qn];if(!i.P)switch(i.i){case 5:r(i)&&Fn(i);break;case 4:e(i)&&Fn(i)}}}function e(t){for(var o=t.t,e=t.k,r=Jn(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==qn){var a=o[n];if(void 0===a&&!hn(o,n))return!0;var l=e[n],s=l&&l[qn];if(s?s.t!==a:!gn(l,a))return!0}}var c=!!o[qn];return r.length!==Jn(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){Qn[t]||(Qn[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=Xn(e);delete n[qn];for(var a=Jn(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,qn,{value:n,writable:!0}),i},S:function(t,e,i){i?cn(e)&&e[qn].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[qn];if(e){var i=e.t,n=e.k,a=e.R,l=e.i;if(4===l)pn(n,(function(o){o!==qn&&(void 0!==i[o]||hn(i,o)?a[o]||t(n[o]):(a[o]=!0,Fn(e)))})),pn(i,(function(t){void 0!==n[t]||hn(n,t)||(a[t]=!1,Fn(e))}));else if(5===l){if(r(e)&&(Fn(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 qa{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(Qi(i))return i;if(null==r)return;const n=Pa({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=_a({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return n.reducer(t,o)}}});return window.ftReduxStores[r.name]=new qa(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Xi,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_STATE_FIELDS_VALUES_SETTER",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 Ya=Object.freeze({__proto__:null,FtCommandQueue:Xi,FtLitElementRedux:ln,FtReduxStore:qa,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Qi(o)&&o.clear()},isFtReduxStore:Qi,redux:t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!pe(t,o),attribute:!1,...o};wo(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 Ja=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e;const r=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all",query:o.query});if(o.filters.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("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href}});const Xa=Symbol("elementInternals");function Qa(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Xa].form}constructor(...t){super(t),this[Xa]=this.attachInternals(),this[Xa].role=o}setFormValue(t){this[Xa].setFormValue(t)}}}var tl,ol,el,rl,il=Object.freeze({__proto__:null,toFtFormComponent:Qa});const nl=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(el=null===(ol=null===(tl=window.safari)||void 0===tl?void 0:tl.pushNotification)||void 0===ol?void 0:ol.toString())&&void 0!==el?el:""),al="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(rl=window.ftGlobals)&&void 0!==rl?rl:{lit:xo,litDecorators:ko,litRepeat:Do,litClassMap:Ho,litStyleMap:qo,litUnsafeHTML:Xo,wcUtils:{...re,...ee,...ne,...le,...ye,...xr,...Nr,...$i,...mr,...ji,..._i,...de,...Hi,...qi,...Yi,...Ji,...Ya,...Ui,...Ja,...il,isSafari:nl,isTouchScreen:al}};const ll=me.extend("--ft-ripple-color","",vr.colorContent),sl={color:ll,backgroundColor:me.extend("--ft-ripple-background-color","",ll),opacityContentOnSurfacePressed:me.external(vr.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:me.external(vr.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:me.external(vr.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:me.external(vr.opacityContentOnSurfaceSelected,"Design system"),borderRadius:me.create("--ft-ripple-border-radius","","SIZE","0px")},cl=me.extend("--ft-ripple-color","",vr.colorPrimary),fl=cl,pl=me.extend("--ft-ripple-background-color","",cl),dl=me.extend("--ft-ripple-color","",vr.colorSecondary),hl=dl,ul=me.extend("--ft-ripple-background-color","",dl),gl=dt`
|
|
177
177
|
:host {
|
|
178
178
|
display: contents;
|
|
179
179
|
}
|
|
@@ -186,7 +186,7 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
186
186
|
|
|
187
187
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
188
188
|
overflow: hidden;
|
|
189
|
-
border-radius: ${
|
|
189
|
+
border-radius: ${sl.borderRadius};
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
.ft-ripple .ft-ripple--background,
|
|
@@ -220,27 +220,27 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
.ft-ripple .ft-ripple--background {
|
|
223
|
-
background-color: ${
|
|
223
|
+
background-color: ${sl.backgroundColor};
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
.ft-ripple .ft-ripple--effect {
|
|
227
|
-
background-color: ${
|
|
227
|
+
background-color: ${sl.color};
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
231
|
-
background-color: ${
|
|
231
|
+
background-color: ${ul};
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
235
|
-
background-color: ${
|
|
235
|
+
background-color: ${hl};
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
239
|
-
background-color: ${
|
|
239
|
+
background-color: ${pl};
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
243
|
-
background-color: ${
|
|
243
|
+
background-color: ${fl};
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
.ft-ripple .ft-ripple--background {
|
|
@@ -270,150 +270,150 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
273
|
-
opacity: ${
|
|
273
|
+
opacity: ${sl.opacityContentOnSurfaceHover};
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
277
|
-
opacity: ${
|
|
277
|
+
opacity: ${sl.opacityContentOnSurfaceSelected};
|
|
278
278
|
}
|
|
279
279
|
|
|
280
280
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
281
|
-
opacity: ${
|
|
281
|
+
opacity: ${sl.opacityContentOnSurfaceFocused};
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
285
|
-
opacity: ${
|
|
285
|
+
opacity: ${sl.opacityContentOnSurfacePressed};
|
|
286
286
|
transform: translate(-50%, -50%) scale(1);
|
|
287
287
|
}
|
|
288
|
-
`;var
|
|
288
|
+
`;var yl=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 bl 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`
|
|
289
289
|
<style>
|
|
290
290
|
.ft-ripple .ft-ripple--effect {
|
|
291
291
|
left: ${this.originX}px;
|
|
292
292
|
top: ${this.originY}px;
|
|
293
293
|
}
|
|
294
294
|
</style>
|
|
295
|
-
<div class="${
|
|
295
|
+
<div class="${Mo(t)}">
|
|
296
296
|
<div class="ft-ripple--background"></div>
|
|
297
297
|
<div class="ft-ripple--effect"></div>
|
|
298
298
|
</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 e
|
|
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()}}bl.elementDefinitions={},bl.styles=gl,yl([wo({type:Boolean})],bl.prototype,"primary",void 0),yl([wo({type:Boolean})],bl.prototype,"secondary",void 0),yl([wo({type:Boolean})],bl.prototype,"unbounded",void 0),yl([wo({type:Boolean})],bl.prototype,"activated",void 0),yl([wo({type:Boolean})],bl.prototype,"selected",void 0),yl([wo({type:Boolean})],bl.prototype,"disabled",void 0),yl([No()],bl.prototype,"hovered",void 0),yl([No()],bl.prototype,"focused",void 0),yl([No()],bl.prototype,"pressed",void 0),yl([No()],bl.prototype,"rippling",void 0),yl([No()],bl.prototype,"originX",void 0),yl([No()],bl.prototype,"originY",void 0),yl([$o(".ft-ripple")],bl.prototype,"ripple",void 0),yl([$o(".ft-ripple--effect")],bl.prototype,"rippleEffect",void 0),he("ft-ripple")(bl);
|
|
300
300
|
/**
|
|
301
301
|
* @license
|
|
302
302
|
* Copyright 2020 Google LLC
|
|
303
303
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
304
304
|
*/
|
|
305
|
-
const
|
|
305
|
+
const ml=Symbol.for(""),vl=t=>{if(t?.r===ml)return t?._$litStatic$},xl=t=>({_$litStatic$:t,r:ml}),Ol=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=vl(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=Ol.get(t))&&(a.raw=a,Ol.set(t,o=a)),e=l}return t(o,...e)})(P);var wl;!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"}(wl||(wl={}));const Nl=me.extend("--ft-typography-font-family","",vr.titleFont),Cl=me.extend("--ft-typography-font-family","",vr.contentFont),El={fontFamily:Cl,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")},$l=me.extend("--ft-typography-title-font-family","",Nl),Rl=me.extend("--ft-typography-title-font-size","",El.fontSize,"20px"),Il=me.extend("--ft-typography-title-font-weight","",El.fontWeight,"normal"),kl=me.extend("--ft-typography-title-letter-spacing","",El.letterSpacing,"0.15px"),Ll=me.extend("--ft-typography-title-line-height","",El.lineHeight,"1.2"),Ul=me.extend("--ft-typography-title-text-transform","",El.textTransform,"inherit"),Wl=me.extend("--ft-typography-title-dense-font-family","",Nl),zl=me.extend("--ft-typography-title-dense-font-size","",El.fontSize,"14px"),Bl=me.extend("--ft-typography-title-dense-font-weight","",El.fontWeight,"normal"),Fl=me.extend("--ft-typography-title-dense-letter-spacing","",El.letterSpacing,"0.105px"),Al=me.extend("--ft-typography-title-dense-line-height","",El.lineHeight,"1.7"),jl=me.extend("--ft-typography-title-dense-text-transform","",El.textTransform,"inherit"),_l=me.extend("--ft-typography-subtitle1-font-family","",Cl),Zl=me.extend("--ft-typography-subtitle1-font-size","",El.fontSize,"16px"),Kl=me.extend("--ft-typography-subtitle1-font-weight","",El.fontWeight,"600"),Pl=me.extend("--ft-typography-subtitle1-letter-spacing","",El.letterSpacing,"0.144px"),Dl=me.extend("--ft-typography-subtitle1-line-height","",El.lineHeight,"1.5"),Ml=me.extend("--ft-typography-subtitle1-text-transform","",El.textTransform,"inherit"),Hl=me.extend("--ft-typography-subtitle2-font-family","",Cl),Tl=me.extend("--ft-typography-subtitle2-font-size","",El.fontSize,"14px"),Gl=me.extend("--ft-typography-subtitle2-font-weight","",El.fontWeight,"normal"),Vl=me.extend("--ft-typography-subtitle2-letter-spacing","",El.letterSpacing,"0.098px"),ql=me.extend("--ft-typography-subtitle2-line-height","",El.lineHeight,"1.7"),Yl=me.extend("--ft-typography-subtitle2-text-transform","",El.textTransform,"inherit"),Jl=me.extend("--ft-typography-body1-font-family","",Cl),Xl=me.extend("--ft-typography-body1-font-size","",El.fontSize,"16px"),Ql=me.extend("--ft-typography-body1-font-weight","",El.fontWeight,"normal"),ts=me.extend("--ft-typography-body1-letter-spacing","",El.letterSpacing,"0.496px"),os=me.extend("--ft-typography-body1-line-height","",El.lineHeight,"1.5"),es=me.extend("--ft-typography-body1-text-transform","",El.textTransform,"inherit"),rs={fontFamily:me.extend("--ft-typography-body2-font-family","",Cl),fontSize:me.extend("--ft-typography-body2-font-size","",El.fontSize,"14px"),fontWeight:me.extend("--ft-typography-body2-font-weight","",El.fontWeight,"normal"),letterSpacing:me.extend("--ft-typography-body2-letter-spacing","",El.letterSpacing,"0.252px"),lineHeight:me.extend("--ft-typography-body2-line-height","",El.lineHeight,"1.4"),textTransform:me.extend("--ft-typography-body2-text-transform","",El.textTransform,"inherit")},is=me.extend("--ft-typography-caption-font-family","",Cl),ns=me.extend("--ft-typography-caption-font-size","",El.fontSize,"12px"),as=me.extend("--ft-typography-caption-font-weight","",El.fontWeight,"normal"),ls=me.extend("--ft-typography-caption-letter-spacing","",El.letterSpacing,"0.396px"),ss=me.extend("--ft-typography-caption-line-height","",El.lineHeight,"1.33"),cs=me.extend("--ft-typography-caption-text-transform","",El.textTransform,"inherit"),fs=me.extend("--ft-typography-breadcrumb-font-family","",Cl),ps=me.extend("--ft-typography-breadcrumb-font-size","",El.fontSize,"10px"),ds=me.extend("--ft-typography-breadcrumb-font-weight","",El.fontWeight,"normal"),hs=me.extend("--ft-typography-breadcrumb-letter-spacing","",El.letterSpacing,"0.33px"),us=me.extend("--ft-typography-breadcrumb-line-height","",El.lineHeight,"1.6"),gs=me.extend("--ft-typography-breadcrumb-text-transform","",El.textTransform,"inherit"),ys=me.extend("--ft-typography-overline-font-family","",Cl),bs=me.extend("--ft-typography-overline-font-size","",El.fontSize,"10px"),ms=me.extend("--ft-typography-overline-font-weight","",El.fontWeight,"normal"),vs=me.extend("--ft-typography-overline-letter-spacing","",El.letterSpacing,"1.5px"),xs=me.extend("--ft-typography-overline-line-height","",El.lineHeight,"1.6"),Os=me.extend("--ft-typography-overline-text-transform","",El.textTransform,"uppercase"),Ss={fontFamily:me.extend("--ft-typography-button-font-family","",Cl),fontSize:me.extend("--ft-typography-button-font-size","",El.fontSize,"14px"),fontWeight:me.extend("--ft-typography-button-font-weight","",El.fontWeight,"600"),letterSpacing:me.extend("--ft-typography-button-letter-spacing","",El.letterSpacing,"1.246px"),lineHeight:me.extend("--ft-typography-button-line-height","",El.lineHeight,"1.15"),textTransform:me.extend("--ft-typography-button-text-transform","",El.textTransform,"uppercase")},ws=dt`
|
|
306
306
|
.ft-typography--title {
|
|
307
|
-
font-family: ${
|
|
308
|
-
font-size: ${
|
|
309
|
-
font-weight: ${
|
|
310
|
-
letter-spacing: ${
|
|
311
|
-
line-height: ${
|
|
312
|
-
text-transform: ${
|
|
313
|
-
}
|
|
314
|
-
`,
|
|
307
|
+
font-family: ${$l};
|
|
308
|
+
font-size: ${Rl};
|
|
309
|
+
font-weight: ${Il};
|
|
310
|
+
letter-spacing: ${kl};
|
|
311
|
+
line-height: ${Ll};
|
|
312
|
+
text-transform: ${Ul};
|
|
313
|
+
}
|
|
314
|
+
`,Ns=dt`
|
|
315
315
|
.ft-typography--title-dense {
|
|
316
|
-
font-family: ${
|
|
317
|
-
font-size: ${
|
|
318
|
-
font-weight: ${
|
|
319
|
-
letter-spacing: ${
|
|
320
|
-
line-height: ${
|
|
321
|
-
text-transform: ${
|
|
322
|
-
}
|
|
323
|
-
`,
|
|
316
|
+
font-family: ${Wl};
|
|
317
|
+
font-size: ${zl};
|
|
318
|
+
font-weight: ${Bl};
|
|
319
|
+
letter-spacing: ${Fl};
|
|
320
|
+
line-height: ${Al};
|
|
321
|
+
text-transform: ${jl};
|
|
322
|
+
}
|
|
323
|
+
`,Cs=dt`
|
|
324
324
|
.ft-typography--subtitle1 {
|
|
325
|
-
font-family: ${
|
|
326
|
-
font-size: ${
|
|
327
|
-
font-weight: ${
|
|
328
|
-
letter-spacing: ${
|
|
329
|
-
line-height: ${
|
|
330
|
-
text-transform: ${
|
|
331
|
-
}
|
|
332
|
-
`,
|
|
325
|
+
font-family: ${_l};
|
|
326
|
+
font-size: ${Zl};
|
|
327
|
+
font-weight: ${Kl};
|
|
328
|
+
letter-spacing: ${Pl};
|
|
329
|
+
line-height: ${Dl};
|
|
330
|
+
text-transform: ${Ml};
|
|
331
|
+
}
|
|
332
|
+
`,Es=dt`
|
|
333
333
|
.ft-typography--subtitle2 {
|
|
334
|
-
font-family: ${
|
|
335
|
-
font-size: ${
|
|
336
|
-
font-weight: ${
|
|
337
|
-
letter-spacing: ${
|
|
338
|
-
line-height: ${
|
|
339
|
-
text-transform: ${
|
|
334
|
+
font-family: ${Hl};
|
|
335
|
+
font-size: ${Tl};
|
|
336
|
+
font-weight: ${Gl};
|
|
337
|
+
letter-spacing: ${Vl};
|
|
338
|
+
line-height: ${ql};
|
|
339
|
+
text-transform: ${Yl};
|
|
340
340
|
}
|
|
341
341
|
|
|
342
|
-
|
|
342
|
+
`,$s=dt`
|
|
343
343
|
.ft-typography--body1 {
|
|
344
|
-
font-family: ${
|
|
345
|
-
font-size: ${
|
|
346
|
-
font-weight: ${
|
|
347
|
-
letter-spacing: ${
|
|
348
|
-
line-height: ${
|
|
349
|
-
text-transform: ${
|
|
350
|
-
}
|
|
351
|
-
`,
|
|
344
|
+
font-family: ${Jl};
|
|
345
|
+
font-size: ${Xl};
|
|
346
|
+
font-weight: ${Ql};
|
|
347
|
+
letter-spacing: ${ts};
|
|
348
|
+
line-height: ${os};
|
|
349
|
+
text-transform: ${es};
|
|
350
|
+
}
|
|
351
|
+
`,Rs=dt`
|
|
352
352
|
.ft-typography--body2 {
|
|
353
|
-
font-family: ${
|
|
354
|
-
font-size: ${
|
|
355
|
-
font-weight: ${
|
|
356
|
-
letter-spacing: ${
|
|
357
|
-
line-height: ${
|
|
358
|
-
text-transform: ${
|
|
359
|
-
}
|
|
360
|
-
`,
|
|
353
|
+
font-family: ${rs.fontFamily};
|
|
354
|
+
font-size: ${rs.fontSize};
|
|
355
|
+
font-weight: ${rs.fontWeight};
|
|
356
|
+
letter-spacing: ${rs.letterSpacing};
|
|
357
|
+
line-height: ${rs.lineHeight};
|
|
358
|
+
text-transform: ${rs.textTransform};
|
|
359
|
+
}
|
|
360
|
+
`,Is=dt`
|
|
361
361
|
.ft-typography--caption {
|
|
362
|
-
font-family: ${
|
|
363
|
-
font-size: ${
|
|
364
|
-
font-weight: ${
|
|
365
|
-
letter-spacing: ${
|
|
366
|
-
line-height: ${
|
|
367
|
-
text-transform: ${
|
|
368
|
-
}
|
|
369
|
-
`,
|
|
362
|
+
font-family: ${is};
|
|
363
|
+
font-size: ${ns};
|
|
364
|
+
font-weight: ${as};
|
|
365
|
+
letter-spacing: ${ls};
|
|
366
|
+
line-height: ${ss};
|
|
367
|
+
text-transform: ${cs};
|
|
368
|
+
}
|
|
369
|
+
`,ks=dt`
|
|
370
370
|
.ft-typography--breadcrumb {
|
|
371
|
-
font-family: ${
|
|
372
|
-
font-size: ${
|
|
373
|
-
font-weight: ${
|
|
374
|
-
letter-spacing: ${
|
|
375
|
-
line-height: ${
|
|
376
|
-
text-transform: ${
|
|
377
|
-
}
|
|
378
|
-
`,
|
|
371
|
+
font-family: ${fs};
|
|
372
|
+
font-size: ${ps};
|
|
373
|
+
font-weight: ${ds};
|
|
374
|
+
letter-spacing: ${hs};
|
|
375
|
+
line-height: ${us};
|
|
376
|
+
text-transform: ${gs};
|
|
377
|
+
}
|
|
378
|
+
`,Ls=dt`
|
|
379
379
|
.ft-typography--overline {
|
|
380
|
-
font-family: ${
|
|
381
|
-
font-size: ${
|
|
382
|
-
font-weight: ${
|
|
383
|
-
letter-spacing: ${
|
|
384
|
-
line-height: ${
|
|
385
|
-
text-transform: ${
|
|
386
|
-
}
|
|
387
|
-
`,
|
|
380
|
+
font-family: ${ys};
|
|
381
|
+
font-size: ${bs};
|
|
382
|
+
font-weight: ${ms};
|
|
383
|
+
letter-spacing: ${vs};
|
|
384
|
+
line-height: ${xs};
|
|
385
|
+
text-transform: ${Os};
|
|
386
|
+
}
|
|
387
|
+
`,Us=dt`
|
|
388
388
|
.ft-typography--button {
|
|
389
|
-
font-family: ${
|
|
390
|
-
font-size: ${
|
|
391
|
-
font-weight: ${
|
|
392
|
-
letter-spacing: ${
|
|
393
|
-
line-height: ${
|
|
394
|
-
text-transform: ${
|
|
395
|
-
}
|
|
396
|
-
`,
|
|
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
|
+
`,Ws=dt`
|
|
397
397
|
.ft-typography {
|
|
398
398
|
vertical-align: inherit;
|
|
399
399
|
}
|
|
400
|
-
`,
|
|
400
|
+
`,zs=[Object.keys(Ge).map((t=>function(t){const o=Ge[t];return dt`
|
|
401
401
|
.ft-typography--${pt(t)} {
|
|
402
|
-
font-family: ${
|
|
403
|
-
font-size: ${
|
|
404
|
-
font-weight: ${
|
|
405
|
-
letter-spacing: ${
|
|
406
|
-
line-height: ${
|
|
407
|
-
text-transform: ${
|
|
408
|
-
}
|
|
409
|
-
`}(t)))];var
|
|
410
|
-
<${
|
|
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 Bs,Fs,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 js extends Ai{constructor(){super(...arguments),this.variant=wl.body1}render(){return this.element?Sl`
|
|
410
|
+
<${xl(this.element)}
|
|
411
411
|
class="ft-typography ft-typography--${this.variant}">
|
|
412
412
|
<slot></slot>
|
|
413
|
-
</${
|
|
414
|
-
`:
|
|
413
|
+
</${xl(this.element)}>
|
|
414
|
+
`:Sl`
|
|
415
415
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
416
|
-
`}}
|
|
416
|
+
`}}js.styles=[ws,Ns,Cs,Es,$s,Rs,Is,ks,Ls,Us,Ws,...zs],As([wo()],js.prototype,"element",void 0),As([wo()],js.prototype,"variant",void 0),he("ft-typography")(js),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(Bs||(Bs={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Fs||(Fs={})),new Map([...["abw"].map((t=>[t,Fs.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,Fs.AUDIO])),...["avi"].map((t=>[t,Fs.AVI])),...["chm","xhs"].map((t=>[t,Fs.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,Fs.CODE])),...["csv"].map((t=>[t,Fs.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Fs.DITA])),...["epub"].map((t=>[t,Fs.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Fs.EXCEL])),...["flac"].map((t=>[t,Fs.FLAC])),...["gif"].map((t=>[t,Fs.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Fs.GZIP])),...["html","htm","xhtml"].map((t=>[t,Fs.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,Fs.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Fs.JPEG])),...["json"].map((t=>[t,Fs.JSON])),...["m4a","m4p"].map((t=>[t,Fs.M4A])),...["mov","qt"].map((t=>[t,Fs.MOV])),...["mp3"].map((t=>[t,Fs.MP3])),...["mp4","m4v"].map((t=>[t,Fs.MP4])),...["ogg","oga"].map((t=>[t,Fs.OGG])),...["pdf","ps"].map((t=>[t,Fs.PDF])),...["png"].map((t=>[t,Fs.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Fs.POWERPOINT])),...["rar"].map((t=>[t,Fs.RAR])),...["stp"].map((t=>[t,Fs.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Fs.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,Fs.VIDEO])),...["wav"].map((t=>[t,Fs.WAV])),...["wma"].map((t=>[t,Fs.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Fs.WORD])),...["xml","xsl","rdf"].map((t=>[t,Fs.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Fs.YAML])),...["zip"].map((t=>[t,Fs.ZIP]))]),Fs.ABW,Fs.AUDIO,Fs.AVI,Fs.CHM,Fs.CODE,Fs.CSV,Fs.DITA,Fs.EPUB,Fs.EXCEL,Fs.FLAC,Fs.GIF,Fs.GZIP,Fs.HTML,Fs.IMAGE,Fs.JPEG,Fs.JSON,Fs.M4A,Fs.MOV,Fs.MP3,Fs.MP4,Fs.OGG,Fs.PDF,Fs.PNG,Fs.POWERPOINT,Fs.RAR,Fs.STP,Fs.TEXT,Fs.UNKNOWN,Fs.VIDEO,Fs.WAV,Fs.WMA,Fs.WORD,Fs.XML,Fs.YAML,Fs.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")},Zs=dt`
|
|
417
417
|
:host, i.ft-icon {
|
|
418
418
|
display: inline-flex;
|
|
419
419
|
align-items: center;
|
|
@@ -422,14 +422,14 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
422
422
|
}
|
|
423
423
|
|
|
424
424
|
:host {
|
|
425
|
-
width: ${
|
|
426
|
-
height: ${
|
|
425
|
+
width: ${_s.size};
|
|
426
|
+
height: ${_s.size};
|
|
427
427
|
}
|
|
428
428
|
|
|
429
429
|
i.ft-icon {
|
|
430
430
|
width: 100%;
|
|
431
431
|
height: 100%;
|
|
432
|
-
font-size: ${
|
|
432
|
+
font-size: ${_s.size};
|
|
433
433
|
line-height: 1;
|
|
434
434
|
font-weight: normal;
|
|
435
435
|
text-transform: none;
|
|
@@ -440,33 +440,33 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
440
440
|
text-rendering: auto;
|
|
441
441
|
-webkit-font-smoothing: antialiased;
|
|
442
442
|
-moz-osx-font-smoothing: grayscale;
|
|
443
|
-
vertical-align: ${
|
|
443
|
+
vertical-align: ${_s.verticalAlign};
|
|
444
444
|
}
|
|
445
445
|
|
|
446
446
|
i.ft-icon.ft-icon--fluid-topics {
|
|
447
|
-
font-family: ${
|
|
447
|
+
font-family: ${_s.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
448
448
|
|
|
449
449
|
/* Ugly fix because font is broken */
|
|
450
|
-
font-size: calc(0.75 * ${
|
|
451
|
-
line-height: ${
|
|
450
|
+
font-size: calc(0.75 * ${_s.size});
|
|
451
|
+
line-height: ${_s.size};
|
|
452
452
|
position: relative;
|
|
453
453
|
top: -4%;
|
|
454
454
|
justify-content: center;
|
|
455
455
|
}
|
|
456
456
|
|
|
457
457
|
.ft-icon--file-format {
|
|
458
|
-
font-family: ${
|
|
458
|
+
font-family: ${_s.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
459
459
|
}
|
|
460
460
|
|
|
461
461
|
.ft-icon--material {
|
|
462
|
-
font-family: ${
|
|
462
|
+
font-family: ${_s.materialFontFamily}, "Material Icons", sans-serif;
|
|
463
463
|
}
|
|
464
|
-
`;var
|
|
464
|
+
`;var Ks;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ks||(Ks={}));var Ps=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`
|
|
465
465
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
466
|
-
${
|
|
467
|
-
<slot ?hidden=${
|
|
466
|
+
${Jo(this.resolvedIcon)}
|
|
467
|
+
<slot ?hidden=${o}></slot>
|
|
468
468
|
</i>
|
|
469
|
-
`}get textContent(){var t,
|
|
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=Fs[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case Ks.material:this.resolvedIcon=this.value||to;break;default:this.resolvedIcon=null!==(o=Bs[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ds.elementDefinitions={},Ds.styles=Zs,Ps([wo()],Ds.prototype,"variant",void 0),Ps([wo()],Ds.prototype,"value",void 0),Ps([No()],Ds.prototype,"resolvedIcon",void 0),Ps([$o("slot")],Ds.prototype,"slottedContent",void 0),he("ft-icon")(Ds);const Ms={color:me.extend("--ft-loader-color","",vr.colorPrimary),size:me.create("--ft-loader-size","","SIZE","80px")},Hs=dt`
|
|
470
470
|
:host {
|
|
471
471
|
line-height: 0;
|
|
472
472
|
}
|
|
@@ -475,8 +475,8 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
475
475
|
display: inline-block;
|
|
476
476
|
position: relative;
|
|
477
477
|
|
|
478
|
-
width: ${
|
|
479
|
-
height: ${
|
|
478
|
+
width: ${Ms.size};
|
|
479
|
+
height: ${Ms.size};
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
.ft-loader div {
|
|
@@ -485,7 +485,7 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
485
485
|
width: 25%;
|
|
486
486
|
height: 25%;
|
|
487
487
|
border-radius: 50%;
|
|
488
|
-
background: ${
|
|
488
|
+
background: ${Ms.color};
|
|
489
489
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
490
490
|
}
|
|
491
491
|
|
|
@@ -532,10 +532,10 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
532
532
|
transform: translate(0, 0);
|
|
533
533
|
}
|
|
534
534
|
100% {
|
|
535
|
-
transform: translate(calc(0.35 * ${
|
|
535
|
+
transform: translate(calc(0.35 * ${Ms.size}), 0);
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
|
-
`,
|
|
538
|
+
`,Ts=me.extend("--ft-button-color","",vr.colorPrimary),Gs={backgroundColor:me.extend("--ft-button-background-color","",vr.colorSurface),borderRadius:me.extend("--ft-button-border-radius","",vr.borderRadiusL),color:Ts,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","",Ts),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(vr.colorOpacityDisabled,"Design system")},Vs=me.extend("--ft-button-primary-color","",me.extend("--ft-button-color","",vr.colorOnPrimary)),qs={backgroundColor:me.extend("--ft-button-primary-background-color","",me.extend("--ft-button-background-color","",vr.colorPrimary)),color:Vs,rippleColor:me.extend("--ft-button-primary-ripple-color","",Vs)},Ys=me.extend("--ft-button-dense-border-radius","",me.extend("--ft-button-border-radius","",vr.borderRadiusM)),Js=me.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Xs=me.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Qs=me.create("--ft-button-dense-icon-padding","","SIZE","4px"),tc=[dt`
|
|
539
539
|
:host {
|
|
540
540
|
display: inline-block;
|
|
541
541
|
max-width: 100%;
|
|
@@ -546,7 +546,7 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
546
546
|
box-shadow: 0px 0px 0px transparent;
|
|
547
547
|
border: 0px solid transparent;
|
|
548
548
|
text-shadow: 0px 0px 0px transparent;
|
|
549
|
-
font-size: ${
|
|
549
|
+
font-size: ${Gs.fontSize};
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
button:hover {
|
|
@@ -575,31 +575,31 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
575
575
|
border: none;
|
|
576
576
|
pointer-events: auto;
|
|
577
577
|
|
|
578
|
-
--ft-button-internal-line-height: max(calc(${
|
|
579
|
-
--ft-button-internal-color: ${
|
|
580
|
-
${
|
|
581
|
-
${
|
|
578
|
+
--ft-button-internal-line-height: max(calc(${Gs.fontSize} + 2px), ${Gs.iconSize});
|
|
579
|
+
--ft-button-internal-color: ${Gs.color};
|
|
580
|
+
${ve(_s.size,Gs.iconSize)};
|
|
581
|
+
${ve(sl.color,Gs.rippleColor)};
|
|
582
582
|
|
|
583
|
-
border-radius: ${
|
|
584
|
-
padding: ${
|
|
585
|
-
background-color: ${
|
|
583
|
+
border-radius: ${Gs.borderRadius};
|
|
584
|
+
padding: ${Gs.verticalPadding} ${Gs.horizontalPadding};
|
|
585
|
+
background-color: ${Gs.backgroundColor};
|
|
586
586
|
color: var(--ft-button-internal-color);
|
|
587
587
|
-webkit-mask-image: radial-gradient(white, black);
|
|
588
588
|
}
|
|
589
589
|
|
|
590
590
|
.ft-button.ft-button--outlined {
|
|
591
591
|
border: 1px solid var(--ft-button-internal-color);
|
|
592
|
-
padding: calc(${
|
|
592
|
+
padding: calc(${Gs.verticalPadding} - 1px) calc(${Gs.horizontalPadding} - 1px);
|
|
593
593
|
}
|
|
594
594
|
|
|
595
595
|
.ft-button.ft-button--dense {
|
|
596
|
-
padding: ${
|
|
597
|
-
border-radius: ${
|
|
598
|
-
gap: ${
|
|
596
|
+
padding: ${Js} ${Xs};
|
|
597
|
+
border-radius: ${Ys};
|
|
598
|
+
gap: ${Qs};
|
|
599
599
|
}
|
|
600
600
|
|
|
601
601
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
602
|
-
padding: calc(${
|
|
602
|
+
padding: calc(${Js} - 1px) calc(${Xs} - 1px);
|
|
603
603
|
}
|
|
604
604
|
|
|
605
605
|
.ft-button:not([disabled]):hover {
|
|
@@ -607,22 +607,22 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
607
607
|
}
|
|
608
608
|
|
|
609
609
|
.ft-button--round {
|
|
610
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
610
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Gs.verticalPadding});
|
|
611
611
|
}
|
|
612
612
|
|
|
613
613
|
.ft-button--round.ft-button--dense {
|
|
614
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
614
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Js});
|
|
615
615
|
}
|
|
616
616
|
|
|
617
617
|
.ft-button[disabled] {
|
|
618
618
|
filter: grayscale(1);
|
|
619
|
-
opacity: ${
|
|
619
|
+
opacity: ${Gs.opacityDisabled};
|
|
620
620
|
}
|
|
621
621
|
|
|
622
622
|
.ft-button.ft-button--primary {
|
|
623
|
-
background-color: ${
|
|
624
|
-
--ft-button-internal-color: ${
|
|
625
|
-
${
|
|
623
|
+
background-color: ${qs.backgroundColor};
|
|
624
|
+
--ft-button-internal-color: ${qs.color};
|
|
625
|
+
${ve(sl.color,qs.rippleColor)};
|
|
626
626
|
}
|
|
627
627
|
|
|
628
628
|
.ft-button:focus {
|
|
@@ -635,13 +635,13 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
635
635
|
white-space: nowrap;
|
|
636
636
|
text-overflow: ellipsis;
|
|
637
637
|
display: block;
|
|
638
|
-
margin: 0 ${
|
|
639
|
-
${
|
|
640
|
-
${
|
|
638
|
+
margin: 0 ${Gs.iconPadding};
|
|
639
|
+
${ve(Ss.fontSize,"1em")};
|
|
640
|
+
${ve(Ss.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
641
641
|
}
|
|
642
642
|
|
|
643
643
|
.ft-button--dense .ft-button--label {
|
|
644
|
-
margin: 0 ${
|
|
644
|
+
margin: 0 ${Qs};
|
|
645
645
|
}
|
|
646
646
|
|
|
647
647
|
.ft-button--label[hidden] {
|
|
@@ -654,13 +654,13 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
654
654
|
}
|
|
655
655
|
|
|
656
656
|
.ft-button--label[hidden] + ft-icon {
|
|
657
|
-
margin: 0 calc(${
|
|
658
|
-
padding: 0 ${
|
|
657
|
+
margin: 0 calc(${Gs.horizontalPadding} * -1);
|
|
658
|
+
padding: 0 ${Gs.verticalPadding};
|
|
659
659
|
}
|
|
660
660
|
|
|
661
661
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
662
|
-
margin: 0 calc(${
|
|
663
|
-
padding: 0 ${
|
|
662
|
+
margin: 0 calc(${Xs} * -1);
|
|
663
|
+
padding: 0 ${Js};
|
|
664
664
|
}
|
|
665
665
|
|
|
666
666
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -669,10 +669,10 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
669
669
|
}
|
|
670
670
|
|
|
671
671
|
ft-loader {
|
|
672
|
-
${
|
|
673
|
-
${
|
|
672
|
+
${ve(Ms.size,Gs.iconSize)};
|
|
673
|
+
${ve(Ms.color,"var(--ft-button-internal-color)")};
|
|
674
674
|
}
|
|
675
|
-
`,
|
|
675
|
+
`,Ti],oc=me.create("--ft-tooltip-distance","","SIZE","4px"),ec=me.create("--ft-tooltip-color","","COLOR","#FFFFFF"),rc=me.create("--ft-tooltip-background-color","","COLOR","#666666"),ic=me.create("--ft-tooltip-z-index","","NUMBER","100"),nc=me.external(vr.borderRadiusS,"Design system"),ac=me.create("--ft-tooltip-max-width","","SIZE","150px"),lc=dt`
|
|
676
676
|
.ft-tooltip--container {
|
|
677
677
|
display: block;
|
|
678
678
|
}
|
|
@@ -687,21 +687,21 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
687
687
|
box-sizing: border-box;
|
|
688
688
|
overflow: hidden;
|
|
689
689
|
width: max-content;
|
|
690
|
-
max-width: ${
|
|
690
|
+
max-width: ${ac};
|
|
691
691
|
text-align: center;
|
|
692
|
-
padding: ${
|
|
693
|
-
z-index: ${
|
|
692
|
+
padding: ${oc};
|
|
693
|
+
z-index: ${ic};
|
|
694
694
|
}
|
|
695
695
|
|
|
696
696
|
.ft-tooltip--content {
|
|
697
697
|
padding: 4px 8px;
|
|
698
|
-
border-radius: ${
|
|
699
|
-
background-color: ${
|
|
700
|
-
color: ${
|
|
698
|
+
border-radius: ${nc};
|
|
699
|
+
background-color: ${rc};
|
|
700
|
+
color: ${ec};
|
|
701
701
|
position: relative;
|
|
702
702
|
word-break: break-word;
|
|
703
703
|
}
|
|
704
|
-
`;var
|
|
704
|
+
`;var sc=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 cc 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`
|
|
705
705
|
<div part="container"
|
|
706
706
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
707
707
|
@mouseenter=${this.onHover}
|
|
@@ -719,23 +719,23 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
719
719
|
</div>
|
|
720
720
|
</div>
|
|
721
721
|
</div>
|
|
722
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((
|
|
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="",Ei(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))}}cc.elementDefinitions={"ft-typography":js},cc.styles=lc,sc([wo()],cc.prototype,"text",void 0),sc([wo({type:Boolean})],cc.prototype,"manual",void 0),sc([wo({type:Boolean})],cc.prototype,"inline",void 0),sc([wo({type:Number})],cc.prototype,"delay",void 0),sc([wo()],cc.prototype,"position",void 0),sc([Io()],cc.prototype,"slotNodes",void 0),sc([$o(".ft-tooltip--container")],cc.prototype,"container",void 0),sc([$o(".ft-tooltip")],cc.prototype,"tooltip",void 0),sc([$o(".ft-tooltip--content")],cc.prototype,"tooltipContent",void 0),sc([No()],cc.prototype,"visible",void 0),sc([Co({passive:!0})],cc.prototype,"onTouch",null),sc([Co({passive:!0})],cc.prototype,"onHover",null),sc([Co({passive:!0})],cc.prototype,"onOut",null),sc([Co({passive:!0})],cc.prototype,"onClick",null),he("ft-tooltip")(cc);class fc extends Ai{render(){return Jt`
|
|
723
723
|
<div class="ft-loader">
|
|
724
724
|
<div></div>
|
|
725
725
|
<div></div>
|
|
726
726
|
<div></div>
|
|
727
727
|
<div></div>
|
|
728
728
|
</div>
|
|
729
|
-
`}}
|
|
729
|
+
`}}fc.styles=Hs,he("ft-loader")(fc);var pc=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 dc extends(Qa(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`
|
|
730
730
|
<button part="button"
|
|
731
|
-
class="${
|
|
731
|
+
class="${Mo(this.buttonClasses)}"
|
|
732
732
|
aria-label="${this.getLabel()}"
|
|
733
733
|
?disabled=${this.isDisabled()}>
|
|
734
734
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
735
735
|
<ft-typography part="label"
|
|
736
736
|
variant=${this.typographyVariant}
|
|
737
737
|
element="span"
|
|
738
|
-
class="ft-button--label ${
|
|
738
|
+
class="ft-button--label ${nl?"ft-safari-ellipsis-fix":""}"
|
|
739
739
|
?hidden=${!this.hasTextContent()}>
|
|
740
740
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
741
741
|
</ft-typography>
|
|
@@ -749,7 +749,7 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
749
749
|
</ft-tooltip>
|
|
750
750
|
`:t}resolveIcon(){return this.loading?Jt`
|
|
751
751
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?Jt`
|
|
752
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:
|
|
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}}dc.elementDefinitions={"ft-ripple":bl,"ft-tooltip":cc,"ft-typography":js,"ft-icon":Ds,"ft-loader":fc},pc([wo({type:String,reflect:!0})],dc.prototype,"role",void 0),pc([wo()],dc.prototype,"type",void 0),pc([wo({type:Boolean})],dc.prototype,"disabled",void 0),pc([wo()],dc.prototype,"label",void 0),pc([wo()],dc.prototype,"icon",void 0),pc([wo()],dc.prototype,"iconVariant",void 0),pc([wo({type:Boolean})],dc.prototype,"trailingIcon",void 0),pc([wo({type:Boolean})],dc.prototype,"loading",void 0),pc([wo()],dc.prototype,"tooltipPosition",void 0),pc([wo({type:Boolean})],dc.prototype,"hideTooltip",void 0),pc([wo({type:Boolean})],dc.prototype,"forceTooltip",void 0),pc([$o(".ft-button")],dc.prototype,"button",void 0),pc([$o(".ft-button--label slot")],dc.prototype,"slottedContent",void 0);var hc=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 dc{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"}}uc.styles=[Vi,tc],hc([wo({type:Boolean})],uc.prototype,"primary",void 0),hc([wo({type:Boolean})],uc.prototype,"outlined",void 0),hc([wo({type:Boolean})],uc.prototype,"dense",void 0),hc([wo({type:Boolean})],uc.prototype,"round",void 0);const gc=[dt`
|
|
753
753
|
:host {
|
|
754
754
|
display: inline-block;
|
|
755
755
|
max-width: 100%;
|
|
@@ -799,7 +799,7 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
799
799
|
}
|
|
800
800
|
|
|
801
801
|
.ft-button:focus-visible {
|
|
802
|
-
outline-color: ${
|
|
802
|
+
outline-color: ${qe.focusFocusRingColor};
|
|
803
803
|
outline-style: solid;
|
|
804
804
|
}
|
|
805
805
|
|
|
@@ -828,146 +828,146 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
828
828
|
/** Primary styles **/
|
|
829
829
|
|
|
830
830
|
.ft-button--primary {
|
|
831
|
-
${
|
|
831
|
+
${ve(Ms.color,qe.primaryIconColor)};
|
|
832
832
|
|
|
833
|
-
${
|
|
834
|
-
${
|
|
835
|
-
${
|
|
836
|
-
${
|
|
837
|
-
${
|
|
833
|
+
${ve(sl.color,qe.primaryStateLayerColor)};
|
|
834
|
+
${ve(sl.opacityContentOnSurfaceHover,qe.primaryHoverStateLayerOpacity)};
|
|
835
|
+
${ve(sl.opacityContentOnSurfaceFocused,qe.primaryFocusStateLayerOpacity)};
|
|
836
|
+
${ve(sl.opacityContentOnSurfaceSelected,qe.primaryActiveStateLayerOpacity)};
|
|
837
|
+
${ve(sl.opacityContentOnSurfacePressed,qe.primaryActiveStateLayerOpacity)};
|
|
838
838
|
|
|
839
|
-
background-color: ${
|
|
840
|
-
color: ${
|
|
839
|
+
background-color: ${qe.primaryBackgroundColor};
|
|
840
|
+
color: ${qe.primaryColor};
|
|
841
841
|
border-style: none;
|
|
842
842
|
}
|
|
843
843
|
|
|
844
844
|
.ft-button--primary[disabled] {
|
|
845
|
-
opacity: ${
|
|
845
|
+
opacity: ${qe.primaryDisabledComponentOpacity};
|
|
846
846
|
}
|
|
847
847
|
|
|
848
848
|
.ft-button--primary ft-icon {
|
|
849
|
-
color: ${
|
|
849
|
+
color: ${qe.primaryIconColor};
|
|
850
850
|
}
|
|
851
851
|
|
|
852
852
|
/** Secondary styles **/
|
|
853
853
|
|
|
854
854
|
.ft-button--secondary {
|
|
855
|
-
${
|
|
855
|
+
${ve(Ms.color,qe.secondaryIconColor)};
|
|
856
856
|
|
|
857
|
-
${
|
|
858
|
-
${
|
|
859
|
-
${
|
|
860
|
-
${
|
|
861
|
-
${
|
|
857
|
+
${ve(sl.color,qe.secondaryStateLayerColor)};
|
|
858
|
+
${ve(sl.opacityContentOnSurfaceHover,qe.secondaryHoverStateLayerOpacity)};
|
|
859
|
+
${ve(sl.opacityContentOnSurfaceFocused,qe.secondaryFocusStateLayerOpacity)};
|
|
860
|
+
${ve(sl.opacityContentOnSurfaceSelected,qe.secondaryActiveStateLayerOpacity)};
|
|
861
|
+
${ve(sl.opacityContentOnSurfacePressed,qe.secondaryActiveStateLayerOpacity)};
|
|
862
862
|
|
|
863
|
-
background-color: ${
|
|
864
|
-
color: ${
|
|
865
|
-
border-color: ${
|
|
863
|
+
background-color: ${qe.secondaryBackgroundColor};
|
|
864
|
+
color: ${qe.secondaryColor};
|
|
865
|
+
border-color: ${qe.secondaryBorderColor};
|
|
866
866
|
border-style: solid;
|
|
867
867
|
}
|
|
868
868
|
|
|
869
869
|
.ft-button--secondary[disabled] {
|
|
870
|
-
opacity: ${
|
|
870
|
+
opacity: ${qe.secondaryDisabledComponentOpacity};
|
|
871
871
|
}
|
|
872
872
|
|
|
873
873
|
.ft-button--secondary ft-icon {
|
|
874
|
-
color: ${
|
|
874
|
+
color: ${qe.secondaryIconColor};
|
|
875
875
|
}
|
|
876
876
|
|
|
877
877
|
/** Tertiary styles **/
|
|
878
878
|
|
|
879
879
|
.ft-button--tertiary {
|
|
880
|
-
${
|
|
880
|
+
${ve(Ms.color,qe.tertiaryIconColor)};
|
|
881
881
|
|
|
882
|
-
${
|
|
883
|
-
${
|
|
884
|
-
${
|
|
885
|
-
${
|
|
886
|
-
${
|
|
882
|
+
${ve(sl.color,qe.tertiaryStateLayerColor)};
|
|
883
|
+
${ve(sl.opacityContentOnSurfaceHover,qe.tertiaryHoverStateLayerOpacity)};
|
|
884
|
+
${ve(sl.opacityContentOnSurfaceFocused,qe.tertiaryFocusStateLayerOpacity)};
|
|
885
|
+
${ve(sl.opacityContentOnSurfaceSelected,qe.tertiaryActiveStateLayerOpacity)};
|
|
886
|
+
${ve(sl.opacityContentOnSurfacePressed,qe.tertiaryActiveStateLayerOpacity)};
|
|
887
887
|
|
|
888
|
-
background-color: ${
|
|
889
|
-
color: ${
|
|
888
|
+
background-color: ${qe.tertiaryBackgroundColor};
|
|
889
|
+
color: ${qe.tertiaryColor};
|
|
890
890
|
border-style: none;
|
|
891
891
|
}
|
|
892
892
|
|
|
893
893
|
.ft-button--tertiary[disabled] {
|
|
894
|
-
opacity: ${
|
|
894
|
+
opacity: ${qe.tertiaryDisabledComponentOpacity};
|
|
895
895
|
}
|
|
896
896
|
|
|
897
897
|
.ft-button--tertiary ft-icon {
|
|
898
|
-
color: ${
|
|
898
|
+
color: ${qe.tertiaryIconColor};
|
|
899
899
|
}
|
|
900
900
|
|
|
901
901
|
/** Neutral styles **/
|
|
902
902
|
|
|
903
903
|
.ft-button--neutral {
|
|
904
|
-
${
|
|
904
|
+
${ve(Ms.color,qe.neutralIconColor)};
|
|
905
905
|
|
|
906
|
-
${
|
|
907
|
-
${
|
|
908
|
-
${
|
|
909
|
-
${
|
|
910
|
-
${
|
|
906
|
+
${ve(sl.backgroundColor,qe.neutralStateLayerColor)};
|
|
907
|
+
${ve(sl.opacityContentOnSurfaceHover,qe.neutralHoverStateLayerOpacity)};
|
|
908
|
+
${ve(sl.opacityContentOnSurfaceFocused,qe.neutralFocusStateLayerOpacity)};
|
|
909
|
+
${ve(sl.opacityContentOnSurfaceSelected,qe.neutralActiveStateLayerOpacity)};
|
|
910
|
+
${ve(sl.opacityContentOnSurfacePressed,qe.neutralActiveStateLayerOpacity)};
|
|
911
911
|
|
|
912
|
-
background-color: ${
|
|
913
|
-
color: ${
|
|
912
|
+
background-color: ${qe.neutralBackgroundColor};
|
|
913
|
+
color: ${qe.neutralColor};
|
|
914
914
|
border-style: none;
|
|
915
915
|
}
|
|
916
916
|
|
|
917
917
|
.ft-button--neutral[disabled] {
|
|
918
|
-
opacity: ${
|
|
918
|
+
opacity: ${qe.neutralDisabledComponentOpacity};
|
|
919
919
|
}
|
|
920
920
|
|
|
921
921
|
.ft-button--neutral ft-icon {
|
|
922
|
-
color: ${
|
|
922
|
+
color: ${qe.neutralIconColor};
|
|
923
923
|
}
|
|
924
924
|
|
|
925
925
|
/** Large styles **/
|
|
926
926
|
|
|
927
927
|
.ft-button--large {
|
|
928
|
-
${
|
|
929
|
-
${
|
|
928
|
+
${ve(_s.size,qe.largeIconSize)};
|
|
929
|
+
${ve(Ms.size,qe.largeIconSize)};
|
|
930
930
|
|
|
931
|
-
height: ${
|
|
932
|
-
padding: 0 ${
|
|
933
|
-
gap: ${
|
|
934
|
-
border-radius: ${
|
|
935
|
-
border-width: ${
|
|
931
|
+
height: ${qe.largeHeight};
|
|
932
|
+
padding: 0 ${qe.largeHorizontalPadding};
|
|
933
|
+
gap: ${qe.largeGap};
|
|
934
|
+
border-radius: ${qe.largeBorderRadius};
|
|
935
|
+
border-width: ${qe.largeBorderWidth};
|
|
936
936
|
}
|
|
937
937
|
|
|
938
938
|
.ft-button--large:focus-visible {
|
|
939
|
-
outline-width: ${
|
|
940
|
-
outline-offset: ${
|
|
939
|
+
outline-width: ${qe.largeFocusOutlineWidth};
|
|
940
|
+
outline-offset: ${qe.largeFocusOutlineOffset};
|
|
941
941
|
}
|
|
942
942
|
|
|
943
943
|
.ft-button--large.ft-button--icon-only {
|
|
944
|
-
width: ${
|
|
944
|
+
width: ${qe.largeIconOnlyWidth};
|
|
945
945
|
padding: unset;
|
|
946
946
|
}
|
|
947
947
|
|
|
948
948
|
/** Small styles **/
|
|
949
949
|
|
|
950
950
|
.ft-button--small {
|
|
951
|
-
${
|
|
952
|
-
${
|
|
951
|
+
${ve(_s.size,qe.smallIconSize)};
|
|
952
|
+
${ve(Ms.size,qe.smallIconSize)};
|
|
953
953
|
|
|
954
|
-
height: ${
|
|
955
|
-
padding: 0 ${
|
|
956
|
-
gap: ${
|
|
957
|
-
border-radius: ${
|
|
958
|
-
border-width: ${
|
|
954
|
+
height: ${qe.smallHeight};
|
|
955
|
+
padding: 0 ${qe.smallHorizontalPadding};
|
|
956
|
+
gap: ${qe.smallGap};
|
|
957
|
+
border-radius: ${qe.smallBorderRadius};
|
|
958
|
+
border-width: ${qe.smallBorderWidth};
|
|
959
959
|
}
|
|
960
960
|
|
|
961
961
|
.ft-button--small:focus-visible {
|
|
962
|
-
outline-width: ${
|
|
963
|
-
outline-offset: ${
|
|
962
|
+
outline-width: ${qe.smallFocusOutlineWidth};
|
|
963
|
+
outline-offset: ${qe.smallFocusOutlineOffset};
|
|
964
964
|
}
|
|
965
965
|
|
|
966
966
|
.ft-button--small.ft-button--icon-only {
|
|
967
|
-
width: ${
|
|
967
|
+
width: ${qe.smallIconOnlyWidth};
|
|
968
968
|
padding: unset;
|
|
969
969
|
}
|
|
970
|
-
`,
|
|
970
|
+
`,Ti];var yc=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 bc extends dc{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?wl.caption1medium:wl.body2medium}}bc.styles=[Vi,gc],yc([wo({type:Boolean})],bc.prototype,"primary",void 0),yc([wo({type:Boolean})],bc.prototype,"secondary",void 0),yc([wo({type:Boolean})],bc.prototype,"tertiary",void 0),yc([wo({type:Boolean})],bc.prototype,"neutral",void 0),yc([wo({type:Boolean})],bc.prototype,"small",void 0),he("ft-button")(uc),he("ftds-button")(bc);const mc=me.extend("--ft-chip-color","",vr.colorOnSurface),vc={backgroundColor:me.extend("--ft-chip-background-color","",vr.colorSurface),color:mc,fontSize:me.extend("--ft-chip-font-size","",rs.fontSize),iconSize:me.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:me.extend("--ft-chip-ripple-color","",mc),horizontalPadding:me.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:me.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:me.external(vr.colorOutline,"Design system"),opacityDisabled:me.external(vr.colorOpacityDisabled,"Design system")},xc=me.extend("--ft-chip-highlighted-color","",me.extend("--ft-chip-color","",vr.colorOnPrimary)),Oc={backgroundColor:me.extend("--ft-chip-highlighted-background-color","",me.extend("--ft-chip-background-color","",vr.colorPrimary)),color:xc,rippleColor:me.extend("--ft-chip-highlighted-ripple-color","",xc)},Sc=me.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),wc=me.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Nc=[Ti,dt`
|
|
971
971
|
:host {
|
|
972
972
|
display: inline-block;
|
|
973
973
|
max-width: 100%;
|
|
@@ -983,20 +983,20 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
983
983
|
box-sizing: border-box;
|
|
984
984
|
pointer-events: auto;
|
|
985
985
|
|
|
986
|
-
--ft-chip-internal-font-size: ${
|
|
986
|
+
--ft-chip-internal-font-size: ${vc.fontSize};
|
|
987
987
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
988
|
-
${
|
|
989
|
-
--ft-chip-internal-vertical-padding: ${
|
|
990
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
988
|
+
${ve(_s.size,vc.iconSize)};
|
|
989
|
+
--ft-chip-internal-vertical-padding: ${vc.verticalPadding};
|
|
990
|
+
--ft-chip-internal-horizontal-padding: ${vc.horizontalPadding};
|
|
991
991
|
--ft-chip-internal-icon-padding: 3px;
|
|
992
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
992
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${vc.iconSize});
|
|
993
993
|
|
|
994
|
-
border: 1px solid ${
|
|
995
|
-
color: ${
|
|
996
|
-
${
|
|
994
|
+
border: 1px solid ${vc.colorOutline};
|
|
995
|
+
color: ${vc.color};
|
|
996
|
+
${ve(sl.color,vc.rippleColor)};
|
|
997
997
|
border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
|
|
998
998
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
999
|
-
background-color: ${
|
|
999
|
+
background-color: ${vc.backgroundColor};
|
|
1000
1000
|
line-height: var(--ft-chip-internal-content-height);
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
@@ -1006,8 +1006,8 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
1006
1006
|
|
|
1007
1007
|
.ft-chip--dense {
|
|
1008
1008
|
--ft-chip-internal-icon-padding: 3px;
|
|
1009
|
-
--ft-chip-internal-vertical-padding: ${
|
|
1010
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
1009
|
+
--ft-chip-internal-vertical-padding: ${wc};
|
|
1010
|
+
--ft-chip-internal-horizontal-padding: ${Sc};
|
|
1011
1011
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
1012
1012
|
}
|
|
1013
1013
|
|
|
@@ -1019,15 +1019,15 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
1019
1019
|
cursor: default;
|
|
1020
1020
|
pointer-events: none;
|
|
1021
1021
|
filter: grayscale(1);
|
|
1022
|
-
opacity: ${
|
|
1022
|
+
opacity: ${vc.opacityDisabled};
|
|
1023
1023
|
}
|
|
1024
1024
|
|
|
1025
1025
|
.ft-chip--highlighted {
|
|
1026
1026
|
border: none;
|
|
1027
1027
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
1028
|
-
background-color: ${
|
|
1029
|
-
${
|
|
1030
|
-
color: ${
|
|
1028
|
+
background-color: ${Oc.backgroundColor};
|
|
1029
|
+
${ve(sl.color,Oc.rippleColor)};
|
|
1030
|
+
color: ${Oc.color};
|
|
1031
1031
|
}
|
|
1032
1032
|
|
|
1033
1033
|
.ft-chip--clickable {
|
|
@@ -1057,9 +1057,9 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
1057
1057
|
}
|
|
1058
1058
|
|
|
1059
1059
|
.ft-chip--icon-button {
|
|
1060
|
-
${
|
|
1061
|
-
${
|
|
1062
|
-
${
|
|
1060
|
+
${ve(Gs.iconSize,vc.iconSize)};
|
|
1061
|
+
${ve(Gs.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1062
|
+
${ve(Gs.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1063
1063
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
1064
1064
|
}
|
|
1065
1065
|
|
|
@@ -1067,8 +1067,8 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
1067
1067
|
vertical-align: bottom;
|
|
1068
1068
|
display: block;
|
|
1069
1069
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
1070
|
-
${
|
|
1071
|
-
${
|
|
1070
|
+
${ve(rs.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
1071
|
+
${ve(rs.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
1072
1072
|
}
|
|
1073
1073
|
|
|
1074
1074
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -1104,8 +1104,8 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
1104
1104
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
1105
1105
|
order: -1;
|
|
1106
1106
|
}
|
|
1107
|
-
`];var
|
|
1108
|
-
<div class="${
|
|
1107
|
+
`];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 Ec extends CustomEvent{constructor(){super("icon-click")}}class $c 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":nl};return Jt`
|
|
1108
|
+
<div class="${Mo(t)}"
|
|
1109
1109
|
aria-label="${this.getLabel()}"
|
|
1110
1110
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
1111
1111
|
@keyup=${this.onKeyUp}>
|
|
@@ -1127,7 +1127,7 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
1127
1127
|
<div class="ft-chip--icon-container ft-no-text-select">
|
|
1128
1128
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
|
|
1129
1129
|
</div>
|
|
1130
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new
|
|
1130
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Ec))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Ec))}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)}}$c.elementDefinitions={"ft-ripple":bl,"ft-typography":js,"ft-icon":Ds,"ft-button":uc},$c.styles=Nc,Cc([wo({type:Boolean})],$c.prototype,"highlighted",void 0),Cc([wo({type:Boolean})],$c.prototype,"removable",void 0),Cc([wo({type:Boolean})],$c.prototype,"disabled",void 0),Cc([wo({type:Boolean})],$c.prototype,"clickable",void 0),Cc([wo({type:Boolean})],$c.prototype,"iconClickable",void 0),Cc([wo({type:Boolean})],$c.prototype,"dense",void 0),Cc([wo({type:Boolean})],$c.prototype,"multiLine",void 0),Cc([wo()],$c.prototype,"label",void 0),Cc([wo()],$c.prototype,"iconLabel",void 0),Cc([wo()],$c.prototype,"icon",void 0),Cc([wo()],$c.prototype,"iconVariant",void 0),Cc([wo({type:Boolean})],$c.prototype,"trailingIcon",void 0),Cc([$o("ft-typography slot")],$c.prototype,"slottedContent",void 0),he("ft-chip")($c);const Rc={zIndex:me.create("--ft-file-drop-z-index","","NUMBER","10"),hintBackgroundColor:me.extend("--ft-file-drop-hint-background-color","",vr.colorSurface),hintColor:me.extend("--ft-file-drop-hint-color","",vr.colorPrimary),errorColor:me.extend("--ft-file-drop-error-color","",vr.colorError),borderRadius:me.extend("--ft-file-drop-border-radius","",vr.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","",vr.colorOutline),activeBorderColor:me.extend("--ft-file-drop-active-border-color","",vr.colorPrimary)},Ic=dt`
|
|
1131
1131
|
:host {
|
|
1132
1132
|
display: block;
|
|
1133
1133
|
position: relative;
|
|
@@ -1136,16 +1136,16 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
1136
1136
|
#container {
|
|
1137
1137
|
position: absolute;
|
|
1138
1138
|
inset: 0;
|
|
1139
|
-
border: dashed ${
|
|
1140
|
-
border-radius: ${
|
|
1139
|
+
border: dashed ${Rc.borderWidth} ${Rc.borderColor};
|
|
1140
|
+
border-radius: ${Rc.borderRadius};
|
|
1141
1141
|
}
|
|
1142
1142
|
|
|
1143
1143
|
#container.visible {
|
|
1144
|
-
border-color: ${
|
|
1144
|
+
border-color: ${Rc.visibleBorderColor}
|
|
1145
1145
|
}
|
|
1146
1146
|
|
|
1147
1147
|
#container.dragging {
|
|
1148
|
-
border-color: ${
|
|
1148
|
+
border-color: ${Rc.activeBorderColor}
|
|
1149
1149
|
}
|
|
1150
1150
|
|
|
1151
1151
|
slot {
|
|
@@ -1159,7 +1159,7 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
1159
1159
|
display: none;
|
|
1160
1160
|
position: absolute;
|
|
1161
1161
|
inset: 0;
|
|
1162
|
-
z-index: ${
|
|
1162
|
+
z-index: ${Rc.zIndex};
|
|
1163
1163
|
}
|
|
1164
1164
|
|
|
1165
1165
|
#container.dragging #overlay {
|
|
@@ -1170,9 +1170,9 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
1170
1170
|
z-index: 1;
|
|
1171
1171
|
position: absolute;
|
|
1172
1172
|
inset: 0;
|
|
1173
|
-
background-color: ${
|
|
1173
|
+
background-color: ${Rc.activeBorderColor};
|
|
1174
1174
|
opacity: 0.20;
|
|
1175
|
-
border-radius: ${
|
|
1175
|
+
border-radius: ${Rc.borderRadius};
|
|
1176
1176
|
}
|
|
1177
1177
|
|
|
1178
1178
|
#overlay-drop {
|
|
@@ -1192,22 +1192,22 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
1192
1192
|
|
|
1193
1193
|
#overlay-content ft-chip {
|
|
1194
1194
|
margin-bottom: 10%;
|
|
1195
|
-
${
|
|
1196
|
-
${
|
|
1197
|
-
${
|
|
1195
|
+
${ve(vc.color,Rc.hintColor)};
|
|
1196
|
+
${ve(vc.iconSize,"32px")};
|
|
1197
|
+
${ve(vc.colorOutline,"transparent")};
|
|
1198
1198
|
}
|
|
1199
1199
|
|
|
1200
1200
|
#overlay-content xft-chip[icon=error] {
|
|
1201
|
-
${
|
|
1202
|
-
${
|
|
1201
|
+
${ve(vc.color,Rc.errorColor)};
|
|
1202
|
+
${ve(vc.backgroundColor,Rc.hintBackgroundColor)};
|
|
1203
1203
|
}
|
|
1204
1204
|
|
|
1205
1205
|
[hidden] {
|
|
1206
1206
|
display: none;
|
|
1207
1207
|
}
|
|
1208
|
-
`;var
|
|
1208
|
+
`;var kc=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 Lc extends CustomEvent{constructor(t){super("file-drop",{detail:{file:t}})}}class Uc 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`
|
|
1209
1209
|
<div id="container"
|
|
1210
|
-
class="${
|
|
1210
|
+
class="${Mo(t)}"
|
|
1211
1211
|
@dragenter=${this.onDragEnter}
|
|
1212
1212
|
@dragover=${this.onDragOver}
|
|
1213
1213
|
@drop=${this.onDrop}>
|
|
@@ -1223,4 +1223,4 @@ const ss=Symbol.for(""),ls=t=>{if(t?.r===ss)return t?._$litStatic$},cs=t=>({_$li
|
|
|
1223
1223
|
</div>
|
|
1224
1224
|
<slot></slot>
|
|
1225
1225
|
</div>
|
|
1226
|
-
`}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
|
|
1226
|
+
`}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 Lc(o)))}}}Uc.elementDefinitions={"ft-chip":$c},Uc.styles=Ic,kc([wo()],Uc.prototype,"dropHint",void 0),kc([wo()],Uc.prototype,"accept",void 0),kc([wo()],Uc.prototype,"fileTypeError",void 0),kc([wo({type:Boolean})],Uc.prototype,"visible",void 0),kc([No()],Uc.prototype,"dragging",void 0),kc([No()],Uc.prototype,"fileError",void 0),he("ft-file-drop")(Uc),t.FileDropEvent=Lc,t.FtFileDrop=Uc,t.FtFileDropCssVariables=Rc,t.styles=Ic}({});
|