@fluid-topics/ft-ripple 1.1.48 → 1.1.50
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-ripple.min.js +37 -37
- package/package.json +3 -3
package/build/ft-ripple.min.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
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,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,
|
|
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,c=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,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 c=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);d(i,l,c);const s={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:c,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,s),this._definitionsByClass.set(i,s);let f=e.call(r,t);f||(f=p(t),o.call(r,t,f)),this===window.customElements&&(a.set(i,s),s.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),h(t,s,!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=l;if(o)return l=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 s=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!s(o)){const t=y[y.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),s(o)||(o=c.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?h(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)})},u=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):u(e)},h=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),l=t;try{new o.elementClass}catch(t){u(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&&c.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(Ni){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
|
|
@@ -22,35 +22,35 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.cust
|
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:
|
|
25
|
+
*/,{is:c,defineProperty:l,getOwnPropertyDescriptor:s,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:d}=Object,u=globalThis,h=u.trustedTypes,g=h?h.emptyScript:"",y=u.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)=>!c(t,o),O={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let S=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=O){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&&l(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=s(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)??O}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){}};S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[b("elementProperties")]=new Map,S[b("finalized")]=new Map,y?.({ReactiveElement:S}),(u.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 x=globalThis,w=x.trustedTypes,
|
|
31
|
+
const x=globalThis,w=x.trustedTypes,C=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,N="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,I=`<${R}>`,L=document,W=()=>L.createComment(""),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,B=t=>k(t)||"function"==typeof t?.[Symbol.iterator],F="[ \t\n\f\r]",z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,_=/>/g,P=RegExp(`>|${F}(?:([^\\s"'>=/]+)(${F}*=${F}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Z=/'/g,K=/"/g,j=/^(?:script|style|textarea|title)$/i,$=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),D=new WeakMap,H=L.createTreeWalker(L,129);function T(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==C?C.createHTML(o):o}const G=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=z;for(let o=0;o<e;o++){const e=t[o];let c,l,s=-1,f=0;for(;f<e.length&&(a.lastIndex=f,l=a.exec(e),null!==l);)f=a.lastIndex,a===z?"!--"===l[1]?a=A:void 0!==l[1]?a=_:void 0!==l[2]?(j.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=P):void 0!==l[3]&&(a=P):a===P?">"===l[0]?(a=i??z,s=-1):void 0===l[1]?s=-2:(s=a.lastIndex-l[2].length,c=l[1],a=void 0===l[3]?P:'"'===l[3]?K:Z):a===K||a===Z?a=P:a===A||a===_?a=z:(a=P,i=void 0);const p=a===P&&t[o+1].startsWith("/>")?" ":"";n+=a===z?e+I:s>=0?(r.push(c),e.slice(0,s)+N+e.slice(s)+E+p):e+E+(-2===s?o:p)}return[T(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let V=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let n=0,a=0;const c=o.length-1,l=this.parts,[s,f]=G(o,e);if(this.el=t.createElement(s,r),H.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=H.nextNode())&&l.length<c;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(N)){const o=f[a++],e=i.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:r[2],strings:e,ctor:"."===r[1]?Q:"?"===r[1]?tt:"@"===r[1]?ot:X}),i.removeAttribute(t)}else t.startsWith(E)&&(l.push({type:6,index:n}),i.removeAttribute(t));if(j.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],W()),H.nextNode(),l.push({type:2,index:++n});i.append(t[o],W())}}}else if(8===i.nodeType)if(i.data===R)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(E,t+1));)l.push({type:7,index:n}),t+=E.length-1}n++}}static createElement(t,o){const e=L.createElement("template");return e.innerHTML=t,e}};function q(t,o,e=t,r){if(o===$)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=U(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=q(t,i._$AS(t,o.values),i,r)),o}let Y=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??L).importNode(o,!0);H.currentNode=r;let i=H.nextNode(),n=0,a=0,c=e[0];for(;void 0!==c;){if(n===c.index){let o;2===c.type?o=new J(i,i.nextSibling,this,t):1===c.type?o=new c.ctor(i,c.name,c.strings,this,t):6===c.type&&(o=new et(i,this,t)),this._$AV.push(o),c=e[++a]}n!==c?.index&&(i=H.nextNode(),n++)}return H.currentNode=L,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++}},J=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=q(this,t,o),U(t)?t===M||null==t||""===t?(this._$AH!==M&&this._$AR(),this._$AH=M):t!==this._$AH&&t!==$&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):B(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&&U(this._$AH)?this._$AA.nextSibling.data=t:this.$(L.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=V.createElement(T(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new Y(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=D.get(t.strings);return void 0===o&&D.set(t.strings,o=new V(t)),o}T(o){k(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(W()),this.k(W()),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))}},X=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=q(this,t,o,0),n=!U(t)||t!==this._$AH&&t!==$,n&&(this._$AH=t);else{const r=t;let a,c;for(t=i[0],a=0;a<i.length-1;a++)c=q(this,r[e+a],o,a),c===$&&(c=this._$AH[a]),n||=!U(c)||c!==this._$AH[a],c===M?t=M:t!==M&&(t+=(c??"")+i[a+1]),this._$AH[a]=c}n&&!r&&this.O(t)}O(t){t===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Q=class extends X{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===M?void 0:t}},tt=class extends X{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==M)}},ot=class extends X{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=q(this,t,o,0)??M)===$)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)}},et=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){q(this,t)}};const rt={j:N,P:E,A:R,C:1,M:G,L:Y,R:B,V:q,D:J,I:X,H:tt,N:ot,U:Q,B:et},it=x.litHtmlPolyfillSupport;it?.(V,J),(x.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 nt=globalThis,at=nt.ShadowRoot&&(void 0===nt.ShadyCSS||nt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,
|
|
37
|
+
const nt=globalThis,at=nt.ShadowRoot&&(void 0===nt.ShadyCSS||nt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ct=Symbol(),lt=new WeakMap;let st=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==ct)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(at&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=lt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&<.set(o,t))}return t}toString(){return this.cssText}};const ft=t=>new st("string"==typeof t?t:t+"",void 0,ct),pt=(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 st(e,t,ct)},dt=(t,o)=>{if(at)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=nt.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}},ut=at?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return ft(o)})(t):t
|
|
38
38
|
/**
|
|
39
39
|
* @license
|
|
40
40
|
* Copyright 2017 Google LLC
|
|
41
41
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
|
-
*/,{is:ht,defineProperty:
|
|
42
|
+
*/,{is:ht,defineProperty:gt,getOwnPropertyDescriptor:yt,getOwnPropertyNames:bt,getOwnPropertySymbols:mt,getPrototypeOf:vt}=Object,Ot=globalThis,St=Ot.trustedTypes,xt=St?St.emptyScript:"",wt=Ot.reactiveElementPolyfillSupport,Ct=(t,o)=>t,Nt={toAttribute(t,o){switch(o){case Boolean:t=t?xt: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}},Et=(t,o)=>!ht(t,o),Rt={attribute:!0,type:String,converter:Nt,reflect:!1,hasChanged:Et};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&>(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=yt(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=vt(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=[...bt(t),...mt(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 dt(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:Nt).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:Nt;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??Et)(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,wt?.({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 Lt=globalThis,
|
|
48
|
+
const Lt=globalThis,Wt=Lt.trustedTypes,Ut=Wt?Wt.createPolicy("lit-html",{createHTML:t=>t}):void 0,kt="$lit$",Bt=`lit$${(Math.random()+"").slice(9)}$`,Ft="?"+Bt,zt=`<${Ft}>`,At=document,_t=()=>At.createComment(""),Pt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Zt=Array.isArray,Kt=t=>Zt(t)||"function"==typeof t?.[Symbol.iterator],jt="[ \t\n\f\r]",$t=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Mt=/-->/g,Dt=/>/g,Ht=RegExp(`>|${jt}(?:([^\\s"'>=/]+)(${jt}*=${jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Tt=/'/g,Gt=/"/g,Vt=/^(?:script|style|textarea|title)$/i,qt=t=>(o,...e)=>({_$litType$:t,strings:o,values:e}),Yt=qt(1),Jt=qt(2),Xt=Symbol.for("lit-noChange"),Qt=Symbol.for("lit-nothing"),to=new WeakMap,oo=At.createTreeWalker(At,129);function eo(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ut?Ut.createHTML(o):o}const ro=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=$t;for(let o=0;o<e;o++){const e=t[o];let c,l,s=-1,f=0;for(;f<e.length&&(a.lastIndex=f,l=a.exec(e),null!==l);)f=a.lastIndex,a===$t?"!--"===l[1]?a=Mt:void 0!==l[1]?a=Dt:void 0!==l[2]?(Vt.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=Ht):void 0!==l[3]&&(a=Ht):a===Ht?">"===l[0]?(a=i??$t,s=-1):void 0===l[1]?s=-2:(s=a.lastIndex-l[2].length,c=l[1],a=void 0===l[3]?Ht:'"'===l[3]?Gt:Tt):a===Gt||a===Tt?a=Ht:a===Mt||a===Dt?a=$t:(a=Ht,i=void 0);const p=a===Ht&&t[o+1].startsWith("/>")?" ":"";n+=a===$t?e+zt:s>=0?(r.push(c),e.slice(0,s)+kt+e.slice(s)+Bt+p):e+Bt+(-2===s?o:p)}return[eo(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class io{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,c=this.parts,[l,s]=ro(t,o);if(this.el=io.createElement(l,e),oo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=oo.nextNode())&&c.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(kt)){const o=s[n++],e=r.getAttribute(t).split(Bt),a=/([.?@])?(.*)/.exec(o);c.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?so:"?"===a[1]?fo:"@"===a[1]?po:lo}),r.removeAttribute(t)}else t.startsWith(Bt)&&(c.push({type:6,index:i}),r.removeAttribute(t));if(Vt.test(r.tagName)){const t=r.textContent.split(Bt),o=t.length-1;if(o>0){r.textContent=Wt?Wt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],_t()),oo.nextNode(),c.push({type:2,index:++i});r.append(t[o],_t())}}}else if(8===r.nodeType)if(r.data===Ft)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Bt,t+1));)c.push({type:7,index:i}),t+=Bt.length-1}i++}}static createElement(t,o){const e=At.createElement("template");return e.innerHTML=t,e}}function no(t,o,e=t,r){if(o===Xt)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=Pt(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=no(t,i._$AS(t,o.values),i,r)),o}let ao=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);oo.currentNode=r;let i=oo.nextNode(),n=0,a=0,c=e[0];for(;void 0!==c;){if(n===c.index){let o;2===c.type?o=new co(i,i.nextSibling,this,t):1===c.type?o=new c.ctor(i,c.name,c.strings,this,t):6===c.type&&(o=new uo(i,this,t)),this._$AV.push(o),c=e[++a]}n!==c?.index&&(i=oo.nextNode(),n++)}return oo.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++}},co=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=Qt,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=no(this,t,o),Pt(t)?t===Qt||null==t||""===t?(this._$AH!==Qt&&this._$AR(),this._$AH=Qt):t!==this._$AH&&t!==Xt&&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!==Qt&&Pt(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=io.createElement(eo(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new ao(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=to.get(t.strings);return void 0===o&&to.set(t.strings,o=new io(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(_t()),this.k(_t()),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))}},lo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=Qt,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=Qt}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=no(this,t,o,0),n=!Pt(t)||t!==this._$AH&&t!==Xt,n&&(this._$AH=t);else{const r=t;let a,c;for(t=i[0],a=0;a<i.length-1;a++)c=no(this,r[e+a],o,a),c===Xt&&(c=this._$AH[a]),n||=!Pt(c)||c!==this._$AH[a],c===Qt?t=Qt:t!==Qt&&(t+=(c??"")+i[a+1]),this._$AH[a]=c}n&&!r&&this.O(t)}O(t){t===Qt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},so=class extends lo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Qt?void 0:t}},fo=class extends lo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Qt)}},po=class extends lo{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=no(this,t,o,0)??Qt)===Xt)return;const e=this._$AH,r=t===Qt&&e!==Qt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==Qt&&(e===Qt||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){no(this,t)}};const ho={j:kt,P:Bt,A:Ft,C:1,M:ro,L:ao,R:Kt,V:no,D:co,I:lo,H:fo,N:po,U:so,B:uo},go=Lt.litHtmlPolyfillSupport;go?.(io,co),(Lt.litHtmlVersions??=[]).push("3.1.0");const yo=(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 co(o.insertBefore(_t(),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 bo=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=
|
|
53
|
+
*/};let bo=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=yo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Xt}};bo._$litElement$=!0,bo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:bo});const mo=globalThis.litElementPolyfillSupport;mo?.({LitElement:bo});(globalThis.litElementVersions??=[]).push("4.0.2");var vo=Object.freeze({__proto__:null,CSSResult:st,LitElement:bo,ReactiveElement:It,_$LE:{_$AK:(t,o,e)=>{t._$AK(o,e)},_$AL:t=>t._$AL},_$LH:ho,adoptStyles:dt,css:pt,defaultConverter:Nt,getCompatibleStyle:ut,html:Yt,isServer:!1,noChange:Xt,notEqual:Et,nothing:Qt,render:yo,supportsAdoptingStyleSheets:at,svg:Jt,unsafeCSS:ft});
|
|
54
54
|
/**
|
|
55
55
|
* @license
|
|
56
56
|
* Copyright 2017 Google LLC
|
|
@@ -76,17 +76,17 @@ const Lt=globalThis,Ut=Lt.trustedTypes,Wt=Ut?Ut.createPolicy("lit-html",{createH
|
|
|
76
76
|
* Copyright 2017 Google LLC
|
|
77
77
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
78
78
|
*/
|
|
79
|
-
const
|
|
79
|
+
const Co=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
80
80
|
/**
|
|
81
81
|
* @license
|
|
82
82
|
* Copyright 2017 Google LLC
|
|
83
83
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
|
-
*/;function
|
|
84
|
+
*/;function No(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 Co(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 Co(0,0,{get(){return n(this)}})}}
|
|
85
85
|
/**
|
|
86
86
|
* @license
|
|
87
87
|
* Copyright 2017 Google LLC
|
|
88
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
|
-
*/let Eo;var Ro=Object.freeze({__proto__:null,customElement:t=>(o,e)=>{void 0!==e?e.addInitializer((()=>{customElements.define(t,o)})):customElements.define(t,o)},eventOptions:function(t){return(o,e)=>{const r="function"==typeof o?o:o[e];Object.assign(r,t)}},property:xo,query:
|
|
89
|
+
*/let Eo;var Ro=Object.freeze({__proto__:null,customElement:t=>(o,e)=>{void 0!==e?e.addInitializer((()=>{customElements.define(t,o)})):customElements.define(t,o)},eventOptions:function(t){return(o,e)=>{const r="function"==typeof o?o:o[e];Object.assign(r,t)}},property:xo,query:No,queryAll:function(t){return(o,e)=>Co(0,0,{get(){return(this.renderRoot??(Eo??=document.createDocumentFragment())).querySelectorAll(t)}})
|
|
90
90
|
/**
|
|
91
91
|
* @license
|
|
92
92
|
* Copyright 2017 Google LLC
|
|
@@ -97,51 +97,51 @@ const No=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
|
97
97
|
* Copyright 2021 Google LLC
|
|
98
98
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
99
99
|
*/
|
|
100
|
-
function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return
|
|
100
|
+
function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return Co(0,0,{get(){const o=this.renderRoot?.querySelector(n),e=o?.assignedElements(t)??[];return void 0===i?e:e.filter((t=>t.matches(i)))}})}}
|
|
101
101
|
/**
|
|
102
102
|
* @license
|
|
103
103
|
* Copyright 2017 Google LLC
|
|
104
104
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
105
|
-
*/,queryAssignedNodes:function(t){return(o,e)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return
|
|
105
|
+
*/,queryAssignedNodes:function(t){return(o,e)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Co(0,0,{get(){const o=this.renderRoot?.querySelector(i);return o?.assignedNodes(t)??[]}})}},queryAsync:function(t){return(o,e)=>Co(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:So,state:wo});
|
|
106
106
|
/**
|
|
107
107
|
* @license
|
|
108
108
|
* Copyright 2017 Google LLC
|
|
109
109
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
110
|
-
*/const Io=1,Lo=2,
|
|
110
|
+
*/const Io=1,Lo=2,Wo=t=>(...o)=>({_$litDirective$:t,values:o});let Uo=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:ko}=rt,
|
|
115
|
+
*/const{D:ko}=rt,Bo=()=>document.createComment(""),Fo=(t,o,e)=>{const r=t._$AA.parentNode,i=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(Bo(),i),n=r.insertBefore(Bo(),i);e=new ko(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},zo=(t,o,e=t)=>(t._$AI(o,e),t),Ao={},_o=t=>{t._$AP?.(!1,!0);let o=t._$AA;const e=t._$AB.nextSibling;for(;o!==e;){const t=o.nextSibling;o.remove(),o=t}},Po=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},Zo=Wo(class extends Uo{constructor(t){if(super(t),t.type!==Lo)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 c=this.dt??=[],l=[];let s,f,p=0,d=i.length-1,u=0,h=n.length-1;for(;p<=d&&u<=h;)if(null===i[p])p++;else if(null===i[d])d--;else if(c[p]===a[u])l[u]=zo(i[p],n[u]),p++,u++;else if(c[d]===a[h])l[h]=zo(i[d],n[h]),d--,h--;else if(c[p]===a[h])l[h]=zo(i[p],n[h]),Fo(t,l[h+1],i[p]),p++,h--;else if(c[d]===a[u])l[u]=zo(i[d],n[u]),Fo(t,i[p],i[d]),d--,u++;else if(void 0===s&&(s=Po(a,u,h),f=Po(c,p,d)),s.has(c[p]))if(s.has(c[d])){const o=f.get(a[u]),e=void 0!==o?i[o]:null;if(null===e){const o=Fo(t,i[p]);zo(o,n[u]),l[u]=o}else l[u]=zo(e,n[u]),Fo(t,i[p],e),i[o]=null;u++}else _o(i[d]),d--;else _o(i[p]),p++;for(;u<=h;){const o=Fo(t,l[h+1]);zo(o,n[u]),l[u++]=o}for(;p<=d;){const t=i[p++];null!==t&&_o(t)}return this.dt=a,((t,o=Ao)=>{t._$AH=o})(t,l),$}});
|
|
116
116
|
/**
|
|
117
117
|
* @license
|
|
118
118
|
* Copyright 2017 Google LLC
|
|
119
119
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
120
|
-
*/var
|
|
120
|
+
*/var Ko=Object.freeze({__proto__:null,repeat:Zo});
|
|
121
121
|
/**
|
|
122
122
|
* @license
|
|
123
123
|
* Copyright 2018 Google LLC
|
|
124
124
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
125
|
-
*/const jo=
|
|
125
|
+
*/const jo=Wo(class extends Uo{constructor(t){if(super(t),t.type!==Io||"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 $}});var $o=Object.freeze({__proto__:null,classMap:jo});
|
|
126
126
|
/**
|
|
127
127
|
* @license
|
|
128
128
|
* Copyright 2018 Google LLC
|
|
129
129
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
130
|
-
*/const Mo="important",Do=" !"+Mo,Ho=
|
|
130
|
+
*/const Mo="important",Do=" !"+Mo,Ho=Wo(class extends Uo{constructor(t){if(super(t),t.type!==Io||"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(Do);t.includes("-")||o?e.setProperty(t,o?r.slice(0,-11):r,o?Mo:""):e[t]=r}}return $}});var To=Object.freeze({__proto__:null,styleMap:Ho});
|
|
131
131
|
/**
|
|
132
132
|
* @license
|
|
133
133
|
* Copyright 2017 Google LLC
|
|
134
134
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
135
|
-
*/let Go=class extends Wo{constructor(t){if(super(t),this.et=M,t.type!==Lo)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===$)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:[]}}};Go.directiveName="unsafeHTML",Go.resultType=1;const Vo=Uo(Go);var qo=Object.freeze({__proto__:null,UnsafeHTMLDirective:Go,unsafeHTML:Vo});class Yo extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class Jo extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new Yo("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new Yo("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const Xo=t=>new Jo(((o,e)=>t.then(o).catch(e)));var Qo=Object.freeze({__proto__:null,CancelablePromise:Jo,CanceledPromiseError:Yo,cancelable:Xo});var te=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 Jo&&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=Xo(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 oe{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=>oe.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=oe.extractResultMetadata(this.selectedResult).find((o=>o.key===t));const r=this.allResults.flatMap((o=>oe.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=>oe.extractResultMetadata(e).find((e=>e.key===t&&e.value===o))));let r,i=oe.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 oe.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var ee=Object.freeze({__proto__:null,ClusteringHelper:oe});class re{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 ie=Object.freeze({__proto__:null,Debouncer:re});const ne=t=>new Promise((o=>setTimeout(o,t)));async function ae(t,o=10,e=2e4){let r,i,n=await t();for(r=i=performance.now();null==n&&(!e||i-r<e);)await ne(o),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function le(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 ce(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(!ce(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(!ce(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(!ce(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}var se=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?le(e):e}},deepEqual:ce,delay:ne,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:le,waitFor:ae,waitUntil:async function(t,o=10,e=2e4){await ae((async()=>await t()||void 0),o,e)}});const fe=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function pe(t,o){const e=()=>JSON.parse(JSON.stringify(t));return xo({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)=>!ce(t,o),...null!=o?o:{}})}function ue(t){return!isNaN(parseFloat(t))}var de=Object.freeze({__proto__:null,customElement:fe,isNumber:ue,jsonProperty:pe,optionalNumberProperty:function(t){return xo({type:Object,converter:{fromAttribute:t=>{if(null!=t)return ue(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const he=t=>"string"==typeof t?ft(t):t;class ye{static create(t,o,e,r){const i=t=>he(null!=t?t:r),n=pt`var(${he(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>pt`var(${he(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=pt`var(${he(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=>pt`var(${he(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):he(null!=o?o:t.lastResortDefaultValue()),r=pt`var(${he(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=>pt`var(${he(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const ge={colorWhite:ye.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ye.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ye.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ye.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ye.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ye.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ye.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ye.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ye.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ye.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ye.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ye.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ye.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ye.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ye.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ye.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ye.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ye.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ye.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ye.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ye.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ye.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ye.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ye.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ye.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ye.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ye.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ye.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ye.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ye.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ye.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ye.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ye.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ye.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ye.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ye.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ye.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ye.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ye.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ye.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ye.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ye.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ye.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ye.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ye.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ye.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ye.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ye.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ye.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ye.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ye.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ye.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ye.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ye.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ye.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ye.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ye.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ye.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ye.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ye.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ye.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ye.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ye.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ye.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:ye.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:ye.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:ye.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:ye.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:ye.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:ye.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:ye.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:ye.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:ye.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:ye.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:ye.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:ye.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:ye.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:ye.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:ye.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ye.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ye.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ye.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ye.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ye.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ye.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ye.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ye.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ye.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ye.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ye.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ye.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ye.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ye.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ye.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ye.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ye.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ye.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ye.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ye.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ye.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ye.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ye.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ye.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ye.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ye.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ye.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ye.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ye.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ye.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ye.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ye.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ye.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ye.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ye.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ye.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ye.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ye.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ye.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ye.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ye.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ye.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ye.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ye.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ye.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ye.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ye.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ye.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ye.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ye.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ye.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ye.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ye.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ye.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ye.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ye.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ye.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ye.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ye.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ye.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ye.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ye.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ye.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ye.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ye.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ye.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ye.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ye.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ye.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ye.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ye.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ye.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ye.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ye.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ye.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ye.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ye.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ye.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ye.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ye.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ye.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ye.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ye.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ye.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ye.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ye.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ye.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ye.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ye.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ye.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ye.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ye.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ye.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ye.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ye.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ye.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ye.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ye.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ye.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ye.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ye.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ye.create("--ft-opacity-0","","NUMBER","0"),opacity8:ye.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ye.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ye.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ye.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ye.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:ye.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:ye.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:ye.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:ye.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:ye.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:ye.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:ye.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:ye.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:ye.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:ye.create("--ft-underline","","UNKNOWN","underline")},be={fontFamily:ye.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ye.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ye.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ye.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ye.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ye.create("--ft-typography-display-textCase","","UNKNOWN","none")},me={fontFamily:ye.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ye.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ye.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:ye.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ye.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ye.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},ve={fontFamily:ye.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:ye.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ye.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:ye.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ye.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ye.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Oe={fontFamily:ye.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:ye.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ye.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:ye.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ye.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ye.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Se={fontFamily:ye.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ye.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ye.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ye.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ye.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ye.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},xe={fontFamily:ye.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ye.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ye.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ye.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ye.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ye.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},we={fontFamily:ye.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ye.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ye.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ye.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ye.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ye.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ne={fontFamily:ye.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ye.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ye.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ye.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ye.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ye.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ce={fontFamily:ye.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ye.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ye.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ye.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ye.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ye.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ee={fontFamily:ye.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:ye.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:ye.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:ye.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:ye.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:ye.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:ye.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Re={fontFamily:ye.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ye.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ye.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ye.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ye.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ye.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ie={fontFamily:ye.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ye.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ye.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ye.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ye.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ye.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Le={fontFamily:ye.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ye.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ye.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ye.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ye.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ye.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Ue={fontFamily:ye.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ye.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ye.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ye.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ye.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ye.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},We={fontFamily:ye.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ye.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ye.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ye.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ye.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ye.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},ke={fontFamily:ye.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ye.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ye.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ye.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ye.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ye.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Fe={fontFamily:ye.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ye.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ye.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ye.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ye.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ye.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ze={fontFamily:ye.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ye.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ye.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ye.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ye.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ye.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ae={fontFamily:ye.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ye.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ye.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ye.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ye.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ye.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Be={fontFamily:ye.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ye.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ye.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ye.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ye.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ye.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},_e={fontFamily:ye.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ye.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ye.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ye.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ye.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ye.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ke={fontFamily:ye.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ye.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ye.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ye.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ye.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ye.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Pe={fontFamily:ye.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ye.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ye.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ye.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ye.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ye.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ze={fontFamily:ye.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:ye.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:ye.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:ye.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:ye.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ye.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},je={fontFamily:ye.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ye.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:ye.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:ye.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:ye.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ye.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},$e={fontFamily:ye.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ye.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:ye.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:ye.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:ye.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:ye.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ye.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ye.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ye.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Me={display:be,"title-1":me,"title-2":ve,"title-3":Oe,"body-1-regular":Se,"body-1-medium":xe,"body-1-semibold":we,"body-2-regular":Ne,"body-2-medium":Ce,"body-2-medium-underline":Ee,"body-2-semibold":Re,"label-1-medium":Ie,"label-1-semibold":Le,"label-1-bold":Ue,"label-2-medium":We,"label-2-semibold":ke,"label-2-bold":Fe,"caption-1-medium":ze,"caption-1-semibold":Ae,"caption-1-bold":Be,"caption-2-medium":_e,"caption-2-semibold":Ke,"caption-2-bold":Pe,"caption-3-medium":Ze,"caption-3-semibold":je,"caption-3-bold":$e},De={backgroundActionPrimary:ye.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ge.colorBrand0),backgroundErrorSubtle:ye.extend("--ft-background-error-subtle","Used as background of subtle error components.",ge.colorRed10),backgroundInfoSubtle:ye.extend("--ft-background-info-subtle","Used as background of subtle information components.",ge.colorCyan10),backgroundWarningSubtle:ye.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ge.colorOrange10),backgroundSuccessSubtle:ye.extend("--ft-background-success-subtle","Used as background of subtle success components.",ge.colorGreen10),backgroundGlobalSurface:ye.extend("--ft-background-global-surface","Used as app background.",ge.colorWhite),backgroundGlobalOnSurface:ye.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ge.colorGray10),backgroundGlobalOnSurfaceDark:ye.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ge.colorGray30),contentActionPrimary:ye.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ge.colorBrand0),contentWarningPrimary:ye.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ge.colorOrange200),contentWarningIconOnly:ye.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ge.colorOrange0),contentErrorPrimary:ye.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ge.colorRed0),contentErrorIconOnly:ye.extend("--ft-content-error-icon-only","Used on error status icons alone",ge.colorRed70),contentInfoPrimary:ye.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ge.colorCyan200),contentInfoIconOnly:ye.extend("--ft-content-info-icon-only","Used on info status icons alone",ge.colorCyan0),contentSuccessPrimary:ye.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ge.colorGreen200),contentSuccessIconOnly:ye.extend("--ft-content-success-icon-only","Used on success status icons alone",ge.colorGreen0),contentGlobalPrimary:ye.extend("--ft-content-global-primary","Used for main content on the page.",ge.colorGray500),contentGlobalSecondary:ye.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ge.colorGray200),contentGlobalSubtle:ye.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ge.colorGray0),contentGlobalOnColor:ye.extend("--ft-content-global-on-color","Used for content on a dominant color.",ge.colorWhite),borderActionPrimary:ye.extend("--ft-border-action-primary","Used as border for primary action components.",ge.colorBrand0),borderActionFocusRing:ye.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ge.colorCyan0),borderWarningPrimary:ye.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",ge.colorOrange200),borderWarningSubtle:ye.extend("--ft-border-warning-subtle","Used as border for warning components.",ge.colorOrange30),borderSuccessPrimary:ye.extend("--ft-border-success-primary","Used as border for success buttons.",ge.colorGreen200),borderSuccessSubtle:ye.extend("--ft-border-success-subtle","Used as border for success components.",ge.colorGreen30),borderErrorPrimary:ye.extend("--ft-border-error-primary","Used as border for text fields in error states.",ge.colorRed0),borderErrorSubtle:ye.extend("--ft-border-error-subtle","Used as border for error components.",ge.colorRed30),borderInfoPrimary:ye.extend("--ft-border-info-primary","Used as border for buttons in info color.",ge.colorCyan200),borderInfoSubtle:ye.extend("--ft-border-info-subtle","Used as border for information components.",ge.colorCyan30),borderGlobalPrimary:ye.extend("--ft-border-global-primary","Used as border for element like input.",ge.colorGray50),borderGlobalSubtle:ye.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ge.colorGray30),borderInputPrimary:ye.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ge.colorGray80)},He={largeHeight:ye.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ye.extend("--ft-button-large-horizontal-padding","",ge.spacing4),largeGap:ye.extend("--ft-button-large-gap","",ge.spacing2),largeBorderRadius:ye.extend("--ft-button-large-border-radius","",ge.borderRadiusS),largeIconSize:ye.extend("--ft-button-large-icon-size","",ge.iconSize3),largeBorderWidth:ye.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:ye.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ye.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:ye.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:ye.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:ye.extend("--ft-button-small-horizontal-padding","",ge.spacing3),smallGap:ye.extend("--ft-button-small-gap","",ge.spacing2),smallBorderRadius:ye.extend("--ft-button-small-border-radius","",ge.borderRadiusS),smallIconSize:ye.extend("--ft-button-small-icon-size","",ge.iconSize2),smallBorderWidth:ye.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:ye.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ye.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:ye.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:ye.extend("--ft-button-primary-background-color","",De.backgroundActionPrimary),primaryColor:ye.extend("--ft-button-primary-color","",De.contentGlobalOnColor),primaryIconColor:ye.extend("--ft-button-primary-icon-color","",De.contentGlobalOnColor),primaryStateLayerColor:ye.extend("--ft-button-primary-state-layer-color","",De.contentGlobalOnColor),primaryHoverStateLayerOpacity:ye.extend("--ft-button-primary-hover-state-layer-opacity","",ge.opacity16),primaryFocusStateLayerOpacity:ye.extend("--ft-button-primary-focus-state-layer-opacity","",ge.opacity16),primaryActiveStateLayerOpacity:ye.extend("--ft-button-primary-active-state-layer-opacity","",ge.opacity24),primaryDisabledComponentOpacity:ye.extend("--ft-button-primary-disabled-component-opacity","",ge.opacity40),focusFocusRingColor:ye.extend("--ft-button-focus-focus-ring-color","",De.borderActionFocusRing),tertiaryBackgroundColor:ye.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ye.extend("--ft-button-tertiary-color","",De.contentActionPrimary),tertiaryIconColor:ye.extend("--ft-button-tertiary-icon-color","",De.contentActionPrimary),tertiaryStateLayerColor:ye.extend("--ft-button-tertiary-state-layer-color","",De.contentActionPrimary),tertiaryHoverStateLayerOpacity:ye.extend("--ft-button-tertiary-hover-state-layer-opacity","",ge.opacity8),tertiaryFocusStateLayerOpacity:ye.extend("--ft-button-tertiary-focus-state-layer-opacity","",ge.opacity8),tertiaryActiveStateLayerOpacity:ye.extend("--ft-button-tertiary-active-state-layer-opacity","",ge.opacity16),tertiaryDisabledComponentOpacity:ye.extend("--ft-button-tertiary-disabled-component-opacity","",ge.opacity40),secondaryBackgroundColor:ye.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ye.extend("--ft-button-secondary-color","",De.contentActionPrimary),secondaryIconColor:ye.extend("--ft-button-secondary-icon-color","",De.contentActionPrimary),secondaryStateLayerColor:ye.extend("--ft-button-secondary-state-layer-color","",De.contentActionPrimary),secondaryHoverStateLayerOpacity:ye.extend("--ft-button-secondary-hover-state-layer-opacity","",ge.opacity8),secondaryFocusStateLayerOpacity:ye.extend("--ft-button-secondary-focus-state-layer-opacity","",ge.opacity8),secondaryActiveStateLayerOpacity:ye.extend("--ft-button-secondary-active-state-layer-opacity","",ge.opacity16),secondaryDisabledComponentOpacity:ye.extend("--ft-button-secondary-disabled-component-opacity","",ge.opacity40),secondaryBorderColor:ye.extend("--ft-button-secondary-border-color","",De.borderActionPrimary),neutralBackgroundColor:ye.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ye.extend("--ft-button-neutral-icon-color","",De.contentGlobalSecondary),neutralColor:ye.extend("--ft-button-neutral-color","",De.contentGlobalSecondary),neutralStateLayerColor:ye.extend("--ft-button-neutral-state-layer-color","",De.contentGlobalSecondary),neutralHoverStateLayerOpacity:ye.extend("--ft-button-neutral-hover-state-layer-opacity","",ge.opacity8),neutralFocusStateLayerOpacity:ye.extend("--ft-button-neutral-focus-state-layer-opacity","",ge.opacity8),neutralActiveStateLayerOpacity:ye.extend("--ft-button-neutral-active-state-layer-opacity","",ge.opacity16),neutralDisabledComponentOpacity:ye.extend("--ft-button-neutral-disabled-component-opacity","",ge.opacity40)},Te={iconSize:ye.extend("--ft-banner-icon-size","",ge.iconSize5),borderWidth:ye.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:ye.extend("--ft-banner-horizontal-padding","",ge.spacing6),verticalPadding:ye.extend("--ft-banner-vertical-padding","",ge.spacing6),horizontalSideGap:ye.extend("--ft-banner-horizontal-side-gap","",ge.spacing6),horizontalMobileGap:ye.extend("--ft-banner-horizontal-mobile-gap","",ge.spacing4),verticalMobileGap:ye.extend("--ft-banner-vertical-mobile-gap","",ge.spacing6),horizontalMiddleGap:ye.extend("--ft-banner-horizontal-middle-gap","",ge.spacing20),infoBackgroundColor:ye.extend("--ft-banner-info-background-color","",De.backgroundInfoSubtle),infoColor:ye.extend("--ft-banner-info-color","",De.contentInfoPrimary),infoIconColor:ye.extend("--ft-banner-info-icon-color","",De.contentInfoIconOnly)},Ge={gap:ye.extend("--ft-breadcrumb-gap","",ge.spacing1)},Ve={horizontalPadding:ye.extend("--ft-page-header-horizontal-padding","",ge.spacing12),verticalPadding:ye.extend("--ft-page-header-vertical-padding","",ge.spacing6)},qe={smallContainerWidth:ye.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:ye.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:ye.extend("--ft-modal-overlay-background-color","",ge.colorGray700),overlayOpacity:ye.extend("--ft-modal-overlay-opacity","",ge.opacity40),shadow:ye.extend("--ft-modal-shadow","",ge.shadowElevation03),bodyBackgroundColor:ye.extend("--ft-modal-body-background-color","",ge.colorWhite),bodyColor:ye.extend("--ft-modal-body-color","",De.contentGlobalPrimary),bodyHorizontalPadding:ye.extend("--ft-modal-body-horizontal-padding","",ge.spacing6),bodyVerticalPadding:ye.extend("--ft-modal-body-vertical-padding","",ge.spacing6),bodyVerticalGap:ye.extend("--ft-modal-body-vertical-gap","",ge.spacing6),containerMargin:ye.extend("--ft-modal-container-margin","",ge.spacing3),headerBackgroundColor:ye.extend("--ft-modal-header-background-color","",De.backgroundGlobalOnSurface),headerBorderColor:ye.extend("--ft-modal-header-border-color","",De.borderGlobalSubtle),headerColor:ye.extend("--ft-modal-header-color","",De.contentGlobalPrimary),headerTrailingIconColor:ye.extend("--ft-modal-header-trailing-icon-color","",De.contentGlobalSecondary),headerVerticalPadding:ye.extend("--ft-modal-header-vertical-padding","",ge.spacing1),headerRightPadding:ye.extend("--ft-modal-header-right-padding","",ge.spacing1),headerLeftPadding:ye.extend("--ft-modal-header-left-padding","",ge.spacing6),headerGap:ye.extend("--ft-modal-header-gap","",ge.spacing2),headerBorderBottom:ye.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:ye.extend("--ft-modal-border-radius","",ge.borderRadiusM)},Ye={fieldHorizontalPadding:ye.extend("--ft-text-input-field-horizontal-padding","",ge.spacing4),fieldHorizontalGap:ye.extend("--ft-text-input-field-horizontal-gap","",ge.spacing3),fieldVerticalGap:ye.extend("--ft-text-input-field-vertical-gap","",ge.spacing05),fieldIconSize:ye.extend("--ft-text-input-field-icon-size","",ge.iconSize3),fieldHeight:ye.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:ye.extend("--ft-text-input-helper-horizontal-padding","",ge.spacing4),helperHorizontalGap:ye.extend("--ft-text-input-helper-horizontal-gap","",ge.spacing1),helperIconSize:ye.extend("--ft-text-input-helper-icon-size","",ge.iconSize2),borderRadius:ye.extend("--ft-text-input-border-radius","",ge.borderRadiusM),backgroundColor:ye.extend("--ft-text-input-background-color","",ge.colorWhite),contentValueColor:ye.extend("--ft-text-input-content-value-color","",De.contentGlobalPrimary),trailingIconColor:ye.extend("--ft-text-input-trailing-icon-color","",De.contentGlobalSubtle),labelColor:ye.extend("--ft-text-input-label-color","",De.contentGlobalSubtle),defaultBorderColor:ye.extend("--ft-text-input-default-border-color","",De.borderInputPrimary),defaultHelperTextColor:ye.extend("--ft-text-input-default-helper-text-color","",De.contentGlobalSubtle),defaultBorderWidth:ye.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:ye.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:ye.extend("--ft-text-input-error-border-color","",De.borderErrorPrimary),errorHelperTextColor:ye.extend("--ft-text-input-error-helper-text-color","",De.contentErrorPrimary),errorHelperIconColor:ye.extend("--ft-text-input-error-helper-icon-color","",De.contentErrorIconOnly),warningBorderWidth:ye.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:ye.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ye.extend("--ft-text-input-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineOffset:ye.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ye.extend("--ft-text-input-disabled-component-opacity","",ge.opacity40)},Je={backgroundColor:ye.extend("--ft-text-area-background-color","",ge.colorWhite),contentValueColor:ye.extend("--ft-text-area-content-value-color","",De.contentGlobalPrimary),labelColor:ye.extend("--ft-text-area-label-color","",De.contentGlobalSubtle),defaultBorderColor:ye.extend("--ft-text-area-default-border-color","",De.borderInputPrimary),defaultHelperTextColor:ye.extend("--ft-text-area-default-helper-text-color","",De.contentGlobalSubtle),defaultBorderWidth:ye.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:ye.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:ye.extend("--ft-text-area-error-border-color","",De.borderErrorPrimary),errorHelperTextColor:ye.extend("--ft-text-area-error-helper-text-color","",De.contentErrorPrimary),errorHelperIconColor:ye.extend("--ft-text-area-error-helper-icon-color","",De.contentErrorIconOnly),focusFocusRingColor:ye.extend("--ft-text-area-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineWidth:ye.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:ye.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ye.extend("--ft-text-area-disabled-component-opacity","",ge.opacity40),fieldHorizontalLeftPadding:ye.extend("--ft-text-area-field-horizontal-left-padding","",ge.spacing4),fieldHorizontalGap:ye.extend("--ft-text-area-field-horizontal-gap","",ge.spacing3),fieldVerticalGap:ye.extend("--ft-text-area-field-vertical-gap","",ge.spacing05),fieldMinHeight:ye.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:ye.extend("--ft-text-area-helper-horizontal-padding","",ge.spacing4),helperHorizontalGap:ye.extend("--ft-text-area-helper-horizontal-gap","",ge.spacing1),helperIconSize:ye.extend("--ft-text-area-helper-icon-size","",ge.iconSize2),borderRadius:ye.extend("--ft-text-area-border-radius","",ge.borderRadiusM)},Xe={height:ye.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:ye.extend("--ft-floating-menu-horizontal-padding","",ge.spacing4),offIconColor:ye.extend("--ft-floating-menu-off-icon-color","",De.contentGlobalPrimary),offColor:ye.extend("--ft-floating-menu-off-color","",De.contentGlobalPrimary),onColor:ye.extend("--ft-floating-menu-on-color","",De.contentActionPrimary),onStateLayerColor:ye.extend("--ft-floating-menu-on-state-layer-color","",De.contentActionPrimary),gap:ye.extend("--ft-floating-menu-gap","",ge.spacing3),focusFocusRingColor:ye.extend("--ft-floating-menu-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineWidth:ye.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:ye.extend("--ft-floating-menu-focus-state-layer-opacity","",ge.opacity8),hoverStateLayerOpacity:ye.extend("--ft-floating-menu-hover-state-layer-opacity","",ge.opacity8),activeStateLayerOpacity:ye.extend("--ft-floating-menu-active-state-layer-opacity","",ge.opacity16),disabledComponentOpacity:ye.extend("--ft-floating-menu-disabled-component-opacity","",ge.opacity40),iconSize:ye.extend("--ft-floating-menu-icon-size","",ge.iconSize3),backgroundColor:ye.extend("--ft-floating-menu-background-color","",De.backgroundGlobalOnSurface)},Qe={fieldHorizontalPadding:ye.extend("--ft-combobox-single-select-field-horizontal-padding","",ge.spacing4),fieldHorizontalGap:ye.extend("--ft-combobox-single-select-field-horizontal-gap","",ge.spacing3),fieldVerticalGap:ye.extend("--ft-combobox-single-select-field-vertical-gap","",ge.spacing05),fieldIconSize:ye.extend("--ft-combobox-single-select-field-icon-size","",ge.iconSize3),fieldHeight:ye.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:ye.extend("--ft-combobox-single-select-helper-horizontal-padding","",ge.spacing4),helperHorizontalGap:ye.extend("--ft-combobox-single-select-helper-horizontal-gap","",ge.spacing1),helperVerticalGap:ye.extend("--ft-combobox-single-select-helper-vertical-gap","",ge.spacing1),helperIconSize:ye.extend("--ft-combobox-single-select-helper-icon-size","",ge.iconSize2),menuVerticalGap:ye.extend("--ft-combobox-single-select-menu-vertical-gap","",ge.spacing2),borderRadius:ye.extend("--ft-combobox-single-select-border-radius","",ge.borderRadiusM),backgroundColor:ye.extend("--ft-combobox-single-select-background-color","",ge.colorWhite),labelColor:ye.extend("--ft-combobox-single-select-label-color","",De.contentGlobalSubtle),contentValueColor:ye.extend("--ft-combobox-single-select-content-value-color","",De.contentGlobalPrimary),trailingIconColor:ye.extend("--ft-combobox-single-select-trailing-icon-color","",De.contentGlobalSubtle),defaultBorderColor:ye.extend("--ft-combobox-single-select-default-border-color","",De.borderInputPrimary),defaultHelperTextColor:ye.extend("--ft-combobox-single-select-default-helper-text-color","",De.contentGlobalSubtle),defaultBorderWidth:ye.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:ye.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:ye.extend("--ft-combobox-single-select-error-border-color","",De.borderErrorPrimary),errorHelperTextColor:ye.extend("--ft-combobox-single-select-error-helper-text-color","",De.contentErrorPrimary),warningBorderWidth:ye.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:ye.extend("--ft-combobox-single-select-warning-border-color","",De.borderWarningPrimary),warningHelperTextColor:ye.extend("--ft-combobox-single-select-warning-helper-text-color","",De.contentWarningPrimary),warningHelperIconColor:ye.extend("--ft-combobox-single-select-warning-helper-icon-color","",De.contentWarningIconOnly),focusOutlineWidth:ye.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ye.extend("--ft-combobox-single-select-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineOffset:ye.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ye.extend("--ft-combobox-single-select-disabled-component-opacity","",ge.opacity40)},tr={backgroundColor:ye.extend("--ft-combobox-multi-select-background-color","",ge.colorWhite),labelColor:ye.extend("--ft-combobox-multi-select-label-color","",De.contentGlobalSubtle),trailingIconColor:ye.extend("--ft-combobox-multi-select-trailing-icon-color","",De.contentGlobalSubtle),defaultBorderColor:ye.extend("--ft-combobox-multi-select-default-border-color","",De.borderInputPrimary),defaultHelperTextColor:ye.extend("--ft-combobox-multi-select-default-helper-text-color","",De.contentGlobalSubtle),defaultBorderWidth:ye.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:ye.extend("--ft-combobox-multi-select-error-border-color","",De.borderErrorPrimary),errorHelperTextColor:ye.extend("--ft-combobox-multi-select-error-helper-text-color","",De.contentErrorPrimary),errorHelperIcon:ye.extend("--ft-combobox-multi-select-error-helper-icon","",De.contentErrorIconOnly),errorBorderWidth:ye.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:ye.extend("--ft-combobox-multi-select-warning-border-color","",De.borderWarningPrimary),warningHelperTextColor:ye.extend("--ft-combobox-multi-select-warning-helper-text-color","",De.contentWarningPrimary),warningHelperIconColor:ye.extend("--ft-combobox-multi-select-warning-helper-icon-color","",De.contentWarningIconOnly),warningBorderWidth:ye.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:ye.extend("--ft-combobox-multi-select-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineWidth:ye.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:ye.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ye.extend("--ft-combobox-multi-select-disabled-component-opacity","",ge.opacity40),helperHorizontalPadding:ye.extend("--ft-combobox-multi-select-helper-horizontal-padding","",ge.spacing4),helperHorizontalGap:ye.extend("--ft-combobox-multi-select-helper-horizontal-gap","",ge.spacing1),helperVerticalGap:ye.extend("--ft-combobox-multi-select-helper-vertical-gap","",ge.spacing1),helperIconSize:ye.extend("--ft-combobox-multi-select-helper-icon-size","",ge.iconSize2),fieldHorizontalPadding:ye.extend("--ft-combobox-multi-select-field-horizontal-padding","",ge.spacing4),fieldHorizontalGap:ye.extend("--ft-combobox-multi-select-field-horizontal-gap","",ge.spacing3),fieldVerticalGap:ye.extend("--ft-combobox-multi-select-field-vertical-gap","",ge.spacing05),fieldIconSize:ye.extend("--ft-combobox-multi-select-field-icon-size","",ge.iconSize3),fieldMaxHeight:ye.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:ye.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",ge.spacing1),contentValuesVerticalGap:ye.extend("--ft-combobox-multi-select-content-values-vertical-gap","",ge.spacing1),borderRadius:ye.extend("--ft-combobox-multi-select-border-radius","",ge.borderRadiusM)},or={backgroundColor:ye.extend("--ft-popover-background-color","",De.backgroundGlobalOnSurface),horizontalPadding:ye.extend("--ft-popover-horizontal-padding","",ge.spacing6),verticalPadding:ye.extend("--ft-popover-vertical-padding","",ge.spacing6),iconColor:ye.extend("--ft-popover-icon-color","",De.contentGlobalSecondary),iconSize:ye.extend("--ft-popover-icon-size","",ge.iconSize2),titleColor:ye.extend("--ft-popover-title-color","",De.contentGlobalPrimary),bodyColor:ye.extend("--ft-popover-body-color","",De.contentGlobalSecondary),linkColor:ye.extend("--ft-popover-link-color","",De.contentActionPrimary),gap:ye.extend("--ft-popover-gap","",ge.spacing3),borderRadius:ye.extend("--ft-popover-border-radius","",ge.borderRadiusM),shadow:ye.extend("--ft-popover-shadow","",ge.shadowElevation02)},er={topLeftBorderRadius:ye.extend("--ft-tabs-top-left-border-radius","",ge.borderRadiusS),topRightBorderRadius:ye.extend("--ft-tabs-top-right-border-radius","",ge.borderRadiusS),labelHorizontalPadding:ye.extend("--ft-tabs-label-horizontal-padding","",ge.spacing4),labelVerticalPadding:ye.extend("--ft-tabs-label-vertical-padding","",ge.spacing3),labelGap:ye.extend("--ft-tabs-label-gap","",ge.spacing1),offHoverStateLayerOpacity:ye.extend("--ft-tabs-off-hover-state-layer-opacity","",ge.opacity8),offFocusStateLayerOpacity:ye.extend("--ft-tabs-off-focus-state-layer-opacity","",ge.opacity8),offActiveStateLayerOpacity:ye.extend("--ft-tabs-off-active-state-layer-opacity","",ge.opacity16),offDisabledComponentOpacity:ye.extend("--ft-tabs-off-disabled-component-opacity","",ge.opacity40),offColor:ye.extend("--ft-tabs-off-color","",De.contentGlobalSubtle),offStateLayerColor:ye.extend("--ft-tabs-off-state-layer-color","",De.contentGlobalSubtle),onHoverStateLayerOpacity:ye.extend("--ft-tabs-on-hover-state-layer-opacity","",ge.opacity8),onFocusStateLayerOpacity:ye.extend("--ft-tabs-on-focus-state-layer-opacity","",ge.opacity8),onActiveStateLayerOpacity:ye.extend("--ft-tabs-on-active-state-layer-opacity","",ge.opacity16),onDisabledComponentOpacity:ye.extend("--ft-tabs-on-disabled-component-opacity","",ge.opacity40),onColor:ye.extend("--ft-tabs-on-color","",De.contentActionPrimary),onStateLayerColor:ye.extend("--ft-tabs-on-state-layer-color","",De.contentActionPrimary),iconHorizontalPadding:ye.extend("--ft-tabs-icon-horizontal-padding","",ge.spacing1),iconVerticalPadding:ye.extend("--ft-tabs-icon-vertical-padding","",ge.spacing4),focusOutlineWidth:ye.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ye.extend("--ft-tabs-focus-focus-ring-color","",De.borderActionFocusRing)},rr={hoverStateLayerOpacity:ye.extend("--ft-collapsible-hover-state-layer-opacity","",ge.opacity8),focusStateLayerOpacity:ye.extend("--ft-collapsible-focus-state-layer-opacity","",ge.opacity8),focusOutlineWidth:ye.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:ye.extend("--ft-collapsible-focus-focus-ring-color","",De.borderActionFocusRing),activeStateLayerOpacity:ye.extend("--ft-collapsible-active-state-layer-opacity","",ge.opacity16),disabledComponentOpacity:ye.extend("--ft-collapsible-disabled-component-opacity","",ge.opacity40),horizontalPadding:ye.extend("--ft-collapsible-horizontal-padding","",ge.spacing4),verticalPadding:ye.extend("--ft-collapsible-vertical-padding","",ge.spacing3),color:ye.extend("--ft-collapsible-color","",De.contentGlobalPrimary),stateLayerColor:ye.extend("--ft-collapsible-state-layer-color","",De.contentGlobalPrimary),backgroundColor:ye.extend("--ft-collapsible-background-color","",De.backgroundGlobalOnSurface),borderColor:ye.extend("--ft-collapsible-border-color","",De.borderGlobalSubtle),iconSize:ye.extend("--ft-collapsible-icon-size","",ge.iconSize3)},ir={groupHorizontalPadding:ye.extend("--ft-switch-group-horizontal-padding","",ge.spacing1),groupVerticalPadding:ye.extend("--ft-switch-group-vertical-padding","",ge.spacing1),groupGap:ye.extend("--ft-switch-group-gap","",ge.spacing1),groupBackgroundColor:ye.extend("--ft-switch-group-background-color","",De.backgroundGlobalSurface),groupBorderColor:ye.extend("--ft-switch-group-border-color","",De.borderGlobalSubtle),groupBorderRadius:ye.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:ye.extend("--ft-switch-label-horizontal-padding","",ge.spacing2),labelVerticalPadding:ye.extend("--ft-switch-label-vertical-padding","",ge.spacing1),offHoverStateLayerOpacity:ye.extend("--ft-switch-off-hover-state-layer-opacity","",ge.opacity8),offFocusStateLayerOpacity:ye.extend("--ft-switch-off-focus-state-layer-opacity","",ge.opacity8),offActiveStateLayerOpacity:ye.extend("--ft-switch-off-active-state-layer-opacity","",ge.opacity16),offDisabledComponentOpacity:ye.extend("--ft-switch-off-disabled-component-opacity","",ge.opacity40),offColor:ye.extend("--ft-switch-off-color","",De.contentGlobalSubtle),offStateLayerColor:ye.extend("--ft-switch-off-state-layer-color","",De.contentGlobalSubtle),onHoverStateLayerOpacity:ye.extend("--ft-switch-on-hover-state-layer-opacity","",ge.opacity8),onFocusStateLayerOpacity:ye.extend("--ft-switch-on-focus-state-layer-opacity","",ge.opacity8),onActiveStateLayerOpacity:ye.extend("--ft-switch-on-active-state-layer-opacity","",ge.opacity16),onDisabledComponentOpacity:ye.extend("--ft-switch-on-disabled-component-opacity","",ge.opacity40),onColor:ye.extend("--ft-switch-on-color","",De.contentActionPrimary),onStateLayerColor:ye.extend("--ft-switch-on-state-layer-color","",De.contentActionPrimary),iconHorizontalPadding:ye.extend("--ft-switch-icon-horizontal-padding","",ge.spacing1),iconVerticalPadding:ye.extend("--ft-switch-icon-vertical-padding","",ge.spacing1),focusOutlineWidth:ye.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ye.extend("--ft-switch-focus-focus-ring-color","",De.borderActionFocusRing),optionBorderRadius:ye.extend("--ft-switch-option-border-radius","",ge.borderRadiusS)},nr={color1Light:ye.extend("--ft-chart-1-light","for area color charts",ge.colorBrand40),color1Base:ye.extend("--ft-chart-1-base","for line charts",ge.colorBrand0),color2Light:ye.extend("--ft-chart-2-light","for area color charts",ge.colorYellow60),color2Base:ye.extend("--ft-chart-2-base","for line charts",ge.colorYellow100),color3Light:ye.extend("--ft-chart-3-light","",ge.colorUltramarine40),color3Base:ye.extend("--ft-chart-3-base","",ge.colorUltramarine70),color4Light:ye.extend("--ft-chart-4-light","",ge.colorCyan50),color4Base:ye.extend("--ft-chart-4-base","",ge.colorCyan100),color5Light:ye.extend("--ft-chart-5-light","",ge.colorRed40),color5Base:ye.extend("--ft-chart-5-base","",ge.colorRed60),color6Light:ye.extend("--ft-chart-6-light","",ge.colorGreen40),color6Base:ye.extend("--ft-chart-6-base","",ge.colorGreen70),color7Light:ye.extend("--ft-chart-7-light","",ge.colorOrange70),color7Base:ye.extend("--ft-chart-7-base","",ge.colorOrange100),color8Light:ye.extend("--ft-chart-8-light","",ge.colorAvocado70),color8Base:ye.extend("--ft-chart-8-base","",ge.colorAvocado200),color9Light:ye.extend("--ft-chart-9-light","",ge.colorBrown50),color9Base:ye.extend("--ft-chart-9-base","",ge.colorBrown200),color10Light:ye.extend("--ft-chart-10-light","",ge.colorGray50),color10Base:ye.extend("--ft-chart-10-base","",ge.colorGray80),monochrome10:ye.extend("--ft-chart-monochrome-10","",ge.colorBrand10),monochrome20:ye.extend("--ft-chart-monochrome-20","",ge.colorBrand20),monochrome30:ye.extend("--ft-chart-monochrome-30","",ge.colorBrand40),monochrome40:ye.extend("--ft-chart-monochrome-40","",ge.colorBrand60),monochrome50:ye.extend("--ft-chart-monochrome-50","",ge.colorBrand0),monochrome60:ye.extend("--ft-chart-monochrome-60","",ge.colorBrand200)},ar={largeHorizontalPadding:ye.extend("--ft-chip-large-horizontal-padding","",ge.spacing4),largeVerticalPadding:ye.extend("--ft-chip-large-vertical-padding","",ge.spacing2),largeGap:ye.extend("--ft-chip-large-gap","",ge.spacing1),largeFocusOutlineOffset:ye.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ye.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:ye.extend("--ft-chip-large-border-radius","",ge.borderRadiusPill),largeBorderWidth:ye.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:ye.extend("--ft-chip-large-icon-size","",ge.iconSize3),mediumHorizontalPadding:ye.extend("--ft-chip-medium-horizontal-padding","",ge.spacing3),mediumVerticalPadding:ye.extend("--ft-chip-medium-vertical-padding","",ge.spacing1),mediumGap:ye.extend("--ft-chip-medium-gap","",ge.spacing1),mediumFocusOutlineOffset:ye.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:ye.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:ye.extend("--ft-chip-medium-border-radius","",ge.borderRadiusPill),mediumBorderWidth:ye.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:ye.extend("--ft-chip-medium-icon-size","",ge.iconSize2),smallHorizontalPadding:ye.extend("--ft-chip-small-horizontal-padding","",ge.spacing2),smallVerticalPadding:ye.extend("--ft-chip-small-vertical-padding","",ge.spacing05),smallGap:ye.extend("--ft-chip-small-gap","",ge.spacing1),smallFocusOutlineOffset:ye.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ye.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:ye.extend("--ft-chip-small-border-radius","",ge.borderRadiusPill),smallBorderWidth:ye.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:ye.extend("--ft-chip-small-icon-size","",ge.iconSize1),neutralBackgroundColor:ye.extend("--ft-chip-neutral-background-color","",De.backgroundGlobalOnSurface),neutralColor:ye.extend("--ft-chip-neutral-color","",De.contentGlobalPrimary),neutralIconColor:ye.extend("--ft-chip-neutral-icon-color","",De.contentGlobalPrimary),neutralBorderColor:ye.extend("--ft-chip-neutral-border-color","",De.borderGlobalSubtle),infoBackgroundColor:ye.extend("--ft-chip-info-background-color","",De.backgroundInfoSubtle),infoColor:ye.extend("--ft-chip-info-color","",De.contentInfoPrimary),infoIconColor:ye.extend("--ft-chip-info-icon-color","",De.contentInfoIconOnly),infoBorderColor:ye.extend("--ft-chip-info-border-color","",De.borderInfoSubtle),successBackgroundColor:ye.extend("--ft-chip-success-background-color","",De.backgroundSuccessSubtle),successColor:ye.extend("--ft-chip-success-color","",De.contentSuccessPrimary),successIconColor:ye.extend("--ft-chip-success-icon-color","",De.contentSuccessIconOnly),successBorderColor:ye.extend("--ft-chip-success-border-color","",De.borderSuccessSubtle),warningBackgroundColor:ye.extend("--ft-chip-warning-background-color","",De.backgroundWarningSubtle),warningColor:ye.extend("--ft-chip-warning-color","",De.contentWarningPrimary),warningIconColor:ye.extend("--ft-chip-warning-icon-color","",De.contentWarningIconOnly),warningBorderColor:ye.extend("--ft-chip-warning-border-color","",De.borderWarningSubtle),errorBackgroundColor:ye.extend("--ft-chip-error-background-color","",De.backgroundErrorSubtle),errorColor:ye.extend("--ft-chip-error-color","",De.contentErrorPrimary),errorIconColor:ye.extend("--ft-chip-error-icon-color","",De.contentErrorIconOnly),errorBorderColor:ye.extend("--ft-chip-error-border-color","",De.borderErrorSubtle)},lr={infoBorderColor:ye.extend("--ft-border-info-border-color","",De.borderInfoSubtle)},cr={borderWidth:ye.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:ye.extend("--ft-notice-horizontal-padding","",ge.spacing2),verticalPadding:ye.extend("--ft-notice-vertical-padding","",ge.spacing1),borderRadius:ye.extend("--ft-notice-border-radius","",ge.borderRadiusS),gap:ye.extend("--ft-notice-gap","",ge.spacing2),iconSize:ye.extend("--ft-notice-icon-size","",ge.iconSize3),infoBackgroundColor:ye.extend("--ft-notice-info-background-color","",De.backgroundInfoSubtle),infoBorderColor:ye.extend("--ft-notice-info-border-color","",De.borderInfoSubtle),infoColor:ye.extend("--ft-notice-info-color","",De.contentInfoPrimary),infoIconColor:ye.extend("--ft-notice-info-icon-color","",De.contentInfoIconOnly),warningBackgroundColor:ye.extend("--ft-notice-warning-background-color","",De.backgroundWarningSubtle),warningBorderColor:ye.extend("--ft-notice-warning-border-color","",De.borderWarningSubtle),warningColor:ye.extend("--ft-notice-warning-color","",De.contentWarningPrimary),warningIconColor:ye.extend("--ft-notice-warning-icon-color","",De.contentWarningIconOnly)},sr={color:ye.extend("--ft-checkbox-color","",De.contentGlobalPrimary),checkedBackgroundColor:ye.extend("--ft-checkbox-checked-background-color","",De.contentActionPrimary),checkedStateLayerColor:ye.extend("--ft-checkbox-checked-state-layer-color","",De.contentActionPrimary),checkedIconColor:ye.extend("--ft-checkbox-checked-icon-color","",De.contentGlobalOnColor),checkedHoverStateLayerOpacity:ye.extend("--ft-checkbox-checked-hover-state-layer-opacity","",ge.opacity16),checkedFocusStateLayerOpacity:ye.extend("--ft-checkbox-checked-focus-state-layer-opacity","",ge.opacity16),checkedActiveStateLayerOpacity:ye.extend("--ft-checkbox-checked-active-state-layer-opacity","",ge.opacity24),checkedDisabledComponentOpacity:ye.extend("--ft-checkbox-checked-disabled-component-opacity","",ge.opacity40),uncheckedBorderColor:ye.extend("--ft-checkbox-unchecked-border-color","",ge.colorGray80),uncheckedStateLayerColor:ye.extend("--ft-checkbox-unchecked-state-layer-color","",ge.colorGray80),uncheckedHoverStateLayerOpacity:ye.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",ge.opacity16),uncheckedFocusStateLayerOpacity:ye.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",ge.opacity16),uncheckedActiveStateLayerOpacity:ye.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",ge.opacity24),uncheckedDisabledComponentOpacity:ye.extend("--ft-checkbox-unchecked-disabled-component-opacity","",ge.opacity40),focusFocusRingColor:ye.extend("--ft-checkbox-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineOffset:ye.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:ye.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:ye.extend("--ft-checkbox-gap","",ge.spacing3)},fr={offHoverStateLayerOpacity:ye.extend("--ft-toggle-off-hover-state-layer-opacity","",ge.opacity16),offFocusStateLayerOpacity:ye.extend("--ft-toggle-off-focus-state-layer-opacity","",ge.opacity16),offActiveStateLayerOpacity:ye.extend("--ft-toggle-off-active-state-layer-opacity","",ge.opacity24),offDisabledComponentOpacity:ye.extend("--ft-toggle-off-disabled-component-opacity","",ge.opacity40),offBackgroundColor:ye.extend("--ft-toggle-off-background-color","",De.contentGlobalSubtle),offIconColor:ye.extend("--ft-toggle-off-icon-color","",De.contentGlobalSubtle),offStateLayerColor:ye.extend("--ft-toggle-off-state-layer-color","",De.contentGlobalSubtle),onHoverStateLayerOpacity:ye.extend("--ft-toggle-on-hover-state-layer-opacity","",ge.opacity16),onFocusStateLayerOpacity:ye.extend("--ft-toggle-on-focus-state-layer-opacity","",ge.opacity16),onActiveStateLayerOpacity:ye.extend("--ft-toggle-on-active-state-layer-opacity","",ge.opacity24),onDisabledComponentOpacity:ye.extend("--ft-toggle-on-disabled-component-opacity","",ge.opacity40),onBackgroundColor:ye.extend("--ft-toggle-on-background-color","",De.contentActionPrimary),onStateLayerColor:ye.extend("--ft-toggle-on-state-layer-color","",De.contentActionPrimary),onIconColor:ye.extend("--ft-toggle-on-icon-color","",De.contentActionPrimary),color:ye.extend("--ft-toggle-color","",De.contentGlobalPrimary),focusFocusRingColor:ye.extend("--ft-toggle-focus-focus-ring-color","",De.borderActionFocusRing),gap:ye.extend("--ft-toggle-gap","",ge.spacing3)},pr={color:ye.extend("--ft-radio-color","",De.contentGlobalPrimary),selectedRadioColor:ye.extend("--ft-radio-selected-radio-color","",De.contentActionPrimary),selectedStateLayerColor:ye.extend("--ft-radio-selected-state-layer-color","",De.contentActionPrimary),selectedHoverStateLayerOpacity:ye.extend("--ft-radio-selected-hover-state-layer-opacity","",ge.opacity16),selectedFocusStateLayerOpacity:ye.extend("--ft-radio-selected-focus-state-layer-opacity","",ge.opacity16),selectedActiveStateLayerOpacity:ye.extend("--ft-radio-selected-active-state-layer-opacity","",ge.opacity24),selectedDisabledComponentOpacity:ye.extend("--ft-radio-selected-disabled-component-opacity","",ge.opacity40),unselectedStateLayerColor:ye.extend("--ft-radio-unselected-state-layer-color","",De.borderInputPrimary),unselectedBorderColor:ye.extend("--ft-radio-unselected-border-color","",De.borderInputPrimary),unselectedHoverStateLayerOpacity:ye.extend("--ft-radio-unselected-hover-state-layer-opacity","",ge.opacity16),unselectedFocusStateLayerOpacity:ye.extend("--ft-radio-unselected-focus-state-layer-opacity","",ge.opacity16),unselectedActiveStateLayerOpacity:ye.extend("--ft-radio-unselected-active-state-layer-opacity","",ge.opacity24),unselectedDisabledComponentOpacity:ye.extend("--ft-radio-unselected-disabled-component-opacity","",ge.opacity40),focusFocusRingColor:ye.extend("--ft-radio-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineOffset:ye.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:ye.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:ye.extend("--ft-radio-gap","",ge.spacing3)},ur={iconSize:ye.extend("--ft-notification-icon-size","",ge.iconSize4),horizontalPadding:ye.extend("--ft-notification-horizontal-padding","",ge.spacing4),verticalPadding:ye.extend("--ft-notification-vertical-padding","",ge.spacing4),infoBackgroundColor:ye.extend("--ft-notification-info-background-color","",De.backgroundInfoSubtle),infoColor:ye.extend("--ft-notification-info-color","",De.contentInfoPrimary),infoIconColor:ye.extend("--ft-notification-info-icon-color","",De.contentInfoIconOnly),infoBorderColor:ye.extend("--ft-notification-info-border-color","",De.borderInfoSubtle),successBackgroundColor:ye.extend("--ft-notification-success-background-color","",De.backgroundSuccessSubtle),successColor:ye.extend("--ft-notification-success-color","",De.contentSuccessPrimary),successIconColor:ye.extend("--ft-notification-success-icon-color","",De.contentSuccessIconOnly),successBorderColor:ye.extend("--ft-notification-success-border-color","",De.borderSuccessSubtle),warningBackgroundColor:ye.extend("--ft-notification-warning-background-color","",De.backgroundWarningSubtle),warningColor:ye.extend("--ft-notification-warning-color","",De.contentWarningPrimary),warningIconColor:ye.extend("--ft-notification-warning-icon-color","",De.contentWarningIconOnly),warningBorderColor:ye.extend("--ft-notification-warning-border-color","",De.borderWarningSubtle),errorBackgroundColor:ye.extend("--ft-notification-error-background-color","",De.backgroundErrorSubtle),errorColor:ye.extend("--ft-notification-error-color","",De.contentErrorPrimary),errorIconColor:ye.extend("--ft-notification-error-icon-color","",De.contentErrorIconOnly),errorBorderColor:ye.extend("--ft-notification-error-border-color","",De.borderErrorSubtle),borderRadius:ye.extend("--ft-notification-border-radius","",ge.borderRadiusPill),borderWidth:ye.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:ye.extend("--ft-notification-leading-gap","",ge.spacing2),trailingGap:ye.extend("--ft-notification-trailing-gap","",ge.spacing8)},dr={horizontalPadding:ye.extend("--ft-tooltip-horizontal-padding","",ge.spacing2),verticalPadding:ye.extend("--ft-tooltip-vertical-padding","",ge.spacing2),borderRadius:ye.extend("--ft-tooltip-border-radius","",ge.borderRadiusS),color:ye.extend("--ft-tooltip-color","",De.contentGlobalOnColor),backgroundColor:ye.extend("--ft-tooltip-background-color","",De.contentGlobalPrimary),backgroundOpacity:ye.extend("--ft-tooltip-background-opacity","",ge.opacity80),shadow:ye.extend("--ft-tooltip-shadow","",ge.shadowElevation03),maxWidth:ye.create("--ft-tooltip-max-width","","SIZE","256px"),gap:ye.extend("--ft-tooltip-gap","",ge.spacing05)};var hr=Object.freeze({__proto__:null,FtCssVariableFactory:ye,banner:Te,border:lr,breadcrumb:Ge,button:He,chart:nr,checkbox:sr,chip:ar,collapsible:rr,comboboxMultiSelect:tr,comboboxSingleSelect:Qe,floatingMenu:Xe,foundation:ge,modal:qe,notice:cr,notification:ur,pageHeader:Ve,popover:or,radio:pr,semantic:De,setVariable:function(t,o){return he(`${t.name}: ${o}`)},switch_:ir,tabs:er,textArea:Je,textInput:Ye,toggle:fr,tooltip:dr,typographies:Me,typographyBody1Medium:xe,typographyBody1Regular:Se,typographyBody1Semibold:we,typographyBody2Medium:Ce,typographyBody2MediumUnderline:Ee,typographyBody2Regular:Ne,typographyBody2Semibold:Re,typographyCaption1Bold:Be,typographyCaption1Medium:ze,typographyCaption1Semibold:Ae,typographyCaption2Bold:Pe,typographyCaption2Medium:_e,typographyCaption2Semibold:Ke,typographyCaption3Bold:$e,typographyCaption3Medium:Ze,typographyCaption3Semibold:je,typographyDisplay:be,typographyLabel1Bold:Ue,typographyLabel1Medium:Ie,typographyLabel1Semibold:Le,typographyLabel2Bold:Fe,typographyLabel2Medium:We,typographyLabel2Semibold:ke,typographyTitle1:me,typographyTitle2:ve,typographyTitle3:Oe,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 yr={colorPrimary:ye.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:ye.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:ye.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:ye.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:ye.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:ye.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ye.create("--ft-color-error","","COLOR","#B00020"),colorOutline:ye.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ye.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:ye.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:ye.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:ye.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:ye.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:ye.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ye.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ye.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:ye.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:ye.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ye.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ye.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ye.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ye.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ye.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ye.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:ye.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:ye.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:ye.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:ye.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:ye.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:ye.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ye.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ye.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:ye.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ye.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ye.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ye.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ye.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ye.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ye.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:ye.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ye.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ye.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ye.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ye.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:ye.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:ye.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:ye.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:ye.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:ye.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:ye.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:ye.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:ye.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:ye.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:ye.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:ye.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:ye.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:ye.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:ye.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:ye.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ye.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ye.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:ye.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var gr=Object.freeze({__proto__:null,designSystemVariables:yr});class br extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class mr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class vr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var Or=Object.freeze({__proto__:null,FtNotificationEvent:br,PostResizeEvent:vr,PreResizeEvent:mr});const Sr=["start","end"],xr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Sr[0],o+"-"+Sr[1])),[]),wr=Math.min,Nr=Math.max,Cr=Math.round,Er=t=>({x:t,y:t}),Rr={left:"right",right:"left",bottom:"top",top:"bottom"},Ir={start:"end",end:"start"};function Lr(t,o,e){return Nr(t,wr(o,e))}function Ur(t,o){return"function"==typeof t?t(o):t}function Wr(t){return t.split("-")[0]}function kr(t){return t.split("-")[1]}function Fr(t){return"x"===t?"y":"x"}function zr(t){return"y"===t?"height":"width"}function Ar(t){return["top","bottom"].includes(Wr(t))?"y":"x"}function Br(t){return Fr(Ar(t))}function _r(t){return t.replace(/left|right|bottom|top/g,(t=>Rr[t]))}function Kr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Pr(t,o,e){let{reference:r,floating:i}=t;const n=Ar(o),a=Br(o),l=zr(a),c=Wr(o),s="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,u=r[l]/2-i[l]/2;let d;switch(c){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(kr(o)){case"start":d[a]-=u*(e&&s?-1:1);break;case"end":d[a]+=u*(e&&s?-1:1)}return d}async function Zr(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:u=!1,padding:d=0}=Ur(o,t),h=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=l[u?"floating"===p?"reference":"floating":p],g=Kr(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),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},O=Kr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-O.top+h.top)/v.y,bottom:(O.bottom-g.bottom+h.bottom)/v.y,left:(g.left-O.left+h.left)/v.x,right:(O.right-g.right+h.right)/v.x}}function jr(t,o,e){return(t?[...e.filter((o=>kr(o)===t)),...e.filter((o=>kr(o)!==t))]:e.filter((t=>Wr(t)===t))).filter((e=>!t||(kr(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ir[t]))}(e)!==e)))}const $r=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:c,elements:s}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:u=xr,autoAlignment:d=!0,...h}=Ur(t,o),y=void 0!==p||u===xr?jr(p||null,d,u):u,g=await Zr(o,h),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const r=kr(t),i=Br(t),n=zr(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=_r(a)),[a,_r(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:y[0]}};const O=[g[Wr(m)],g[v[0]],g[v[1]]],S=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],x=y[b+1];if(x)return{data:{index:b+1,overflows:S},reset:{placement:x}};const w=S.map((t=>{const o=kr(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,kr(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:S},reset:{placement:C}}:{}}}};function Mr(t){return Tr(t)?(t.nodeName||"").toLowerCase():"#document"}function Dr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Hr(t){var o;return null==(o=(Tr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Tr(t){return t instanceof Node||t instanceof Dr(t).Node}function Gr(t){return t instanceof Element||t instanceof Dr(t).Element}function Vr(t){return t instanceof HTMLElement||t instanceof Dr(t).HTMLElement}function qr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Dr(t).ShadowRoot)}function Yr(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=oi(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Jr(t){return["table","td","th"].includes(Mr(t))}function Xr(t){const o=Qr(),e=oi(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 Qr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ti(t){return["html","body","#document"].includes(Mr(t))}function oi(t){return Dr(t).getComputedStyle(t)}function ei(t){return Gr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ri(t){if("html"===Mr(t))return t;const o=t.assignedSlot||t.parentNode||qr(t)&&t.host||Hr(t);return qr(o)?o.host:o}function ii(t){const o=ri(t);return ti(o)?t.ownerDocument?t.ownerDocument.body:t.body:Vr(o)&&Yr(o)?o:ii(o)}function ni(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=ii(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Dr(i);return n?o.concat(a,a.visualViewport||[],Yr(i)?i:[],a.frameElement&&e?ni(a.frameElement):[]):o.concat(i,ni(i,[],e))}function ai(t){const o=oi(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Vr(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=Cr(e)!==n||Cr(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function li(t){return Gr(t)?t:t.contextElement}function ci(t){const o=li(t);if(!Vr(o))return Er(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=ai(o);let a=(n?Cr(e.width):e.width)/r,l=(n?Cr(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const si=Er(0);function fi(t){const o=Dr(t);return Qr()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:si}function pi(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=li(t);let a=Er(1);o&&(r?Gr(r)&&(a=ci(r)):a=ci(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Dr(t))&&o}(n,e,r)?fi(n):Er(0);let c=(i.left+l.x)/a.x,s=(i.top+l.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=Dr(n),o=r&&Gr(r)?Dr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=ci(e),o=e.getBoundingClientRect(),r=oi(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,f*=t.x,p*=t.y,c+=i,s+=n,e=Dr(e).frameElement}}return Kr({width:f,height:p,x:c,y:s})}function ui(t){return pi(Hr(t)).left+ei(t).scrollLeft}function di(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Dr(t),r=Hr(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){n=i.width,a=i.height;const t=Qr();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Hr(t),e=ei(t),r=t.ownerDocument.body,i=Nr(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Nr(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+ui(t);const l=-e.scrollTop;return"rtl"===oi(r).direction&&(a+=Nr(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(Hr(t));else if(Gr(o))r=function(t,o){const e=pi(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Vr(t)?ci(t):Er(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=fi(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Kr(r)}function hi(t,o){const e=ri(t);return!(e===o||!Gr(e)||ti(e))&&("fixed"===oi(e).position||hi(e,o))}function yi(t,o,e){const r=Vr(o),i=Hr(o),n="fixed"===e,a=pi(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=Er(0);if(r||!r&&!n)if(("body"!==Mr(o)||Yr(i))&&(l=ei(o)),r){const t=pi(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=ui(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function gi(t,o){return Vr(t)&&"fixed"!==oi(t).position?o?o(t):t.offsetParent:null}function bi(t,o){const e=Dr(t);if(!Vr(t))return e;let r=gi(t,o);for(;r&&Jr(r)&&"static"===oi(r).position;)r=gi(r,o);return r&&("html"===Mr(r)||"body"===Mr(r)&&"static"===oi(r).position&&!Xr(r))?e:r||function(t){let o=ri(t);for(;Vr(o)&&!ti(o);){if(Xr(o))return o;o=ri(o)}return null}(t)||e}const mi={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Vr(e),n=Hr(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Er(1);const c=Er(0);if((i||!i&&"fixed"!==r)&&(("body"!==Mr(e)||Yr(n))&&(a=ei(e)),Vr(e))){const t=pi(e);l=ci(e),c.x=t.x+e.clientLeft,c.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+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:Hr,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=ni(t,[],!1).filter((t=>Gr(t)&&"body"!==Mr(t))),i=null;const n="fixed"===oi(t).position;let a=n?ri(t):t;for(;Gr(a)&&!ti(a);){const o=oi(a),e=Xr(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Yr(a)&&!e&&hi(t,a))?r=r.filter((t=>t!==a)):i=o,a=ri(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=di(o,e,i);return t.top=Nr(r.top,t.top),t.right=wr(r.right,t.right),t.bottom=wr(r.bottom,t.bottom),t.left=Nr(r.left,t.left),t}),di(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:bi,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||bi,n=this.getDimensions;return{reference:yi(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 ai(t)},getScale:ci,isElement:Gr,isRTL:function(t){return"rtl"===oi(t).direction}},vi=(t,o,e)=>{const r=new Map,i={platform:mi,...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),c=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:f,y:p}=Pr(s,r,c),u=r,d={},h=0;for(let e=0;e<l.length;e++){const{name:n,fn:y}=l[e],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:u,strategy:i,middlewareData:d,rects:s,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,p=null!=b?b:p,d={...d,[n]:{...d[n],...m}},v&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(u=v.placement),v.rects&&(s=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):v.rects),({x:f,y:p}=Pr(s,u,c))),e=-1)}return{x:f,y:p,placement:u,strategy:i,middlewareData:d}})(t,o,{...i,platform:n})};function Oi(t){return function(t){for(let o=t;o;o=Si(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Si(t);o;o=Si(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 Si(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var xi=Object.freeze({__proto__:null,computeOffsetPosition:async function(t,o,e){return vi(t,o,{platform:{...mi,getOffsetParent:t=>mi.getOffsetParent(t,Oi)},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}}},...c}=Ur(r,t),s={x:o,y:e},f=await Zr(t,c),p=Ar(Wr(i)),u=Fr(p);let d=s[u],h=s[p];if(n){const t="y"===u?"bottom":"right";d=Lr(d+f["y"===u?"top":"left"],d,d-f[t])}if(a){const t="y"===p?"bottom":"right";h=Lr(h+f["y"===p?"top":"left"],h,h-f[t])}const y=l.fn({...t,[u]:d,[p]:h});return{...y,data:{x:y.x-o,y:y.y-e}}}}),$r({allowedPlacements:[e]})]});var r}});
|
|
135
|
+
*/let Go=class extends Uo{constructor(t){if(super(t),this.et=M,t.type!==Lo)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===$)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:[]}}};Go.directiveName="unsafeHTML",Go.resultType=1;const Vo=Wo(Go);var qo=Object.freeze({__proto__:null,UnsafeHTMLDirective:Go,unsafeHTML:Vo});class Yo extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class Jo extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new Yo("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new Yo("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const Xo=t=>new Jo(((o,e)=>t.then(o).catch(e)));var Qo=Object.freeze({__proto__:null,CancelablePromise:Jo,CanceledPromiseError:Yo,cancelable:Xo});var te=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 Jo&&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=Xo(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 oe{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=>oe.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=oe.extractResultMetadata(this.selectedResult).find((o=>o.key===t));const r=this.allResults.flatMap((o=>oe.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=>oe.extractResultMetadata(e).find((e=>e.key===t&&e.value===o))));let r,i=oe.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 oe.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var ee=Object.freeze({__proto__:null,ClusteringHelper:oe});class re{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 ie=Object.freeze({__proto__:null,Debouncer:re});const ne=t=>new Promise((o=>setTimeout(o,t)));async function ae(t,o=10,e=2e4){let r,i,n=await t();for(r=i=performance.now();null==n&&(!e||i-r<e);)await ne(o),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function ce(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 le(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(!le(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(!le(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(!le(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}var se=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?ce(e):e}},deepEqual:le,delay:ne,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:ce,waitFor:ae,waitUntil:async function(t,o=10,e=2e4){await ae((async()=>await t()||void 0),o,e)}});const fe=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function pe(t,o){const e=()=>JSON.parse(JSON.stringify(t));return xo({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)=>!le(t,o),...null!=o?o:{}})}function de(t){return!isNaN(parseFloat(t))}var ue=Object.freeze({__proto__:null,customElement:fe,isNumber:de,jsonProperty:pe,optionalNumberProperty:function(t){return xo({type:Object,converter:{fromAttribute:t=>{if(null!=t)return de(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const he=t=>"string"==typeof t?ft(t):t;class ge{static create(t,o,e,r){const i=t=>he(null!=t?t:r),n=pt`var(${he(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>pt`var(${he(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=pt`var(${he(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=>pt`var(${he(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):he(null!=o?o:t.lastResortDefaultValue()),r=pt`var(${he(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=>pt`var(${he(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const ye={colorWhite:ge.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ge.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ge.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ge.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ge.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ge.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ge.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ge.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ge.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ge.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ge.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ge.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ge.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ge.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ge.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ge.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ge.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ge.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ge.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ge.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ge.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ge.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ge.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ge.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ge.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ge.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ge.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ge.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ge.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ge.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ge.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ge.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ge.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ge.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ge.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ge.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ge.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ge.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ge.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ge.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ge.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ge.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ge.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ge.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ge.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ge.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ge.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ge.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ge.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ge.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ge.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ge.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ge.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ge.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ge.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ge.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ge.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ge.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ge.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ge.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ge.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ge.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ge.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ge.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:ge.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:ge.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:ge.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:ge.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:ge.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:ge.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:ge.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:ge.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:ge.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:ge.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:ge.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:ge.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:ge.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:ge.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:ge.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ge.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ge.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ge.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ge.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ge.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ge.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ge.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ge.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ge.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ge.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ge.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ge.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ge.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ge.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ge.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ge.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ge.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ge.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ge.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ge.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ge.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ge.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ge.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ge.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ge.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ge.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ge.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ge.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ge.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ge.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ge.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ge.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ge.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ge.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ge.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ge.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ge.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ge.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ge.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ge.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ge.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ge.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ge.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ge.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ge.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ge.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ge.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ge.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ge.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ge.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ge.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ge.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ge.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ge.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ge.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ge.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ge.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ge.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ge.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ge.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ge.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ge.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ge.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ge.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ge.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ge.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ge.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ge.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ge.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ge.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ge.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ge.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ge.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ge.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ge.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ge.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ge.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ge.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ge.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ge.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ge.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ge.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ge.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ge.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ge.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ge.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ge.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ge.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ge.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ge.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ge.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ge.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ge.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ge.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ge.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ge.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ge.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ge.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ge.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ge.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ge.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ge.create("--ft-opacity-0","","NUMBER","0"),opacity8:ge.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ge.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ge.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ge.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ge.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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)")},be={fontFamily:ge.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ge.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ge.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ge.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-display-textCase","","UNKNOWN","none")},me={fontFamily:ge.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ge.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:ge.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ge.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},ve={fontFamily:ge.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ge.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:ge.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ge.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Oe={fontFamily:ge.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ge.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:ge.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ge.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Se={fontFamily:ge.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ge.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ge.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},xe={fontFamily:ge.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ge.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},we={fontFamily:ge.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ge.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ce={fontFamily:ge.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ge.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ne={fontFamily:ge.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ee={fontFamily:ge.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:ge.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:ge.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Re={fontFamily:ge.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ie={fontFamily:ge.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Le={fontFamily:ge.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},We={fontFamily:ge.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ge.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ue={fontFamily:ge.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},ke={fontFamily:ge.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Be={fontFamily:ge.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ge.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Fe={fontFamily:ge.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},ze={fontFamily:ge.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ae={fontFamily:ge.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ge.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},_e={fontFamily:ge.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ge.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Pe={fontFamily:ge.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ge.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ze={fontFamily:ge.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ge.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ge.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ke={fontFamily:ge.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:ge.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},je={fontFamily:ge.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:ge.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},$e={fontFamily:ge.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:ge.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:ge.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Me={display:be,"title-1":me,"title-2":ve,"title-3":Oe,"body-1-regular":Se,"body-1-medium":xe,"body-1-semibold":we,"body-2-regular":Ce,"body-2-medium":Ne,"body-2-medium-underline":Ee,"body-2-semibold":Re,"label-1-medium":Ie,"label-1-semibold":Le,"label-1-bold":We,"label-2-medium":Ue,"label-2-semibold":ke,"label-2-bold":Be,"caption-1-medium":Fe,"caption-1-semibold":ze,"caption-1-bold":Ae,"caption-2-medium":_e,"caption-2-semibold":Pe,"caption-2-bold":Ze,"caption-3-medium":Ke,"caption-3-semibold":je,"caption-3-bold":$e},De={backgroundActionPrimary:ge.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ye.colorBrand0),backgroundErrorSubtle:ge.extend("--ft-background-error-subtle","Used as background of subtle error components.",ye.colorRed10),backgroundInfoSubtle:ge.extend("--ft-background-info-subtle","Used as background of subtle information components.",ye.colorCyan10),backgroundWarningSubtle:ge.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ye.colorOrange10),backgroundSuccessSubtle:ge.extend("--ft-background-success-subtle","Used as background of subtle success components.",ye.colorGreen10),backgroundGlobalSurface:ge.extend("--ft-background-global-surface","Used as app background.",ye.colorWhite),backgroundGlobalOnSurface:ge.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ye.colorGray10),backgroundGlobalOnSurfaceDark:ge.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ye.colorGray30),contentActionPrimary:ge.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ye.colorBrand0),contentWarningPrimary:ge.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ye.colorOrange200),contentWarningIconOnly:ge.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ye.colorOrange0),contentErrorPrimary:ge.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ye.colorRed0),contentErrorIconOnly:ge.extend("--ft-content-error-icon-only","Used on error status icons alone",ye.colorRed70),contentInfoPrimary:ge.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ye.colorCyan200),contentInfoIconOnly:ge.extend("--ft-content-info-icon-only","Used on info status icons alone",ye.colorCyan0),contentSuccessPrimary:ge.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ye.colorGreen200),contentSuccessIconOnly:ge.extend("--ft-content-success-icon-only","Used on success status icons alone",ye.colorGreen0),contentGlobalPrimary:ge.extend("--ft-content-global-primary","Used for main content on the page.",ye.colorGray500),contentGlobalSecondary:ge.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ye.colorGray200),contentGlobalSubtle:ge.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ye.colorGray0),contentGlobalOnColor:ge.extend("--ft-content-global-on-color","Used for content on a dominant color.",ye.colorWhite),borderActionPrimary:ge.extend("--ft-border-action-primary","Used as border for primary action components.",ye.colorBrand0),borderActionFocusRing:ge.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ye.colorCyan0),borderWarningPrimary:ge.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",ye.colorOrange200),borderWarningSubtle:ge.extend("--ft-border-warning-subtle","Used as border for warning components.",ye.colorOrange30),borderSuccessPrimary:ge.extend("--ft-border-success-primary","Used as border for success buttons.",ye.colorGreen200),borderSuccessSubtle:ge.extend("--ft-border-success-subtle","Used as border for success components.",ye.colorGreen30),borderErrorPrimary:ge.extend("--ft-border-error-primary","Used as border for text fields in error states.",ye.colorRed0),borderErrorSubtle:ge.extend("--ft-border-error-subtle","Used as border for error components.",ye.colorRed30),borderInfoPrimary:ge.extend("--ft-border-info-primary","Used as border for buttons in info color.",ye.colorCyan200),borderInfoSubtle:ge.extend("--ft-border-info-subtle","Used as border for information components.",ye.colorCyan30),borderGlobalPrimary:ge.extend("--ft-border-global-primary","Used as border for element like input.",ye.colorGray50),borderGlobalSubtle:ge.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ye.colorGray30),borderInputPrimary:ge.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ye.colorGray80)},He={largeHeight:ge.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ge.extend("--ft-button-large-horizontal-padding","",ye.spacing4),largeGap:ge.extend("--ft-button-large-gap","",ye.spacing2),largeBorderRadius:ge.extend("--ft-button-large-border-radius","",ye.borderRadiusS),largeIconSize:ge.extend("--ft-button-large-icon-size","",ye.iconSize3),largeBorderWidth:ge.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:ge.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ge.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:ge.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:ge.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:ge.extend("--ft-button-small-horizontal-padding","",ye.spacing3),smallGap:ge.extend("--ft-button-small-gap","",ye.spacing2),smallBorderRadius:ge.extend("--ft-button-small-border-radius","",ye.borderRadiusS),smallIconSize:ge.extend("--ft-button-small-icon-size","",ye.iconSize2),smallBorderWidth:ge.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:ge.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ge.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:ge.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:ge.extend("--ft-button-primary-background-color","",De.backgroundActionPrimary),primaryColor:ge.extend("--ft-button-primary-color","",De.contentGlobalOnColor),primaryIconColor:ge.extend("--ft-button-primary-icon-color","",De.contentGlobalOnColor),primaryStateLayerColor:ge.extend("--ft-button-primary-state-layer-color","",De.contentGlobalOnColor),primaryHoverStateLayerOpacity:ge.extend("--ft-button-primary-hover-state-layer-opacity","",ye.opacity16),primaryFocusStateLayerOpacity:ge.extend("--ft-button-primary-focus-state-layer-opacity","",ye.opacity16),primaryActiveStateLayerOpacity:ge.extend("--ft-button-primary-active-state-layer-opacity","",ye.opacity24),primaryDisabledComponentOpacity:ge.extend("--ft-button-primary-disabled-component-opacity","",ye.opacity40),focusFocusRingColor:ge.extend("--ft-button-focus-focus-ring-color","",De.borderActionFocusRing),tertiaryBackgroundColor:ge.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ge.extend("--ft-button-tertiary-color","",De.contentActionPrimary),tertiaryIconColor:ge.extend("--ft-button-tertiary-icon-color","",De.contentActionPrimary),tertiaryStateLayerColor:ge.extend("--ft-button-tertiary-state-layer-color","",De.contentActionPrimary),tertiaryHoverStateLayerOpacity:ge.extend("--ft-button-tertiary-hover-state-layer-opacity","",ye.opacity8),tertiaryFocusStateLayerOpacity:ge.extend("--ft-button-tertiary-focus-state-layer-opacity","",ye.opacity8),tertiaryActiveStateLayerOpacity:ge.extend("--ft-button-tertiary-active-state-layer-opacity","",ye.opacity16),tertiaryDisabledComponentOpacity:ge.extend("--ft-button-tertiary-disabled-component-opacity","",ye.opacity40),secondaryBackgroundColor:ge.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ge.extend("--ft-button-secondary-color","",De.contentActionPrimary),secondaryIconColor:ge.extend("--ft-button-secondary-icon-color","",De.contentActionPrimary),secondaryStateLayerColor:ge.extend("--ft-button-secondary-state-layer-color","",De.contentActionPrimary),secondaryHoverStateLayerOpacity:ge.extend("--ft-button-secondary-hover-state-layer-opacity","",ye.opacity8),secondaryFocusStateLayerOpacity:ge.extend("--ft-button-secondary-focus-state-layer-opacity","",ye.opacity8),secondaryActiveStateLayerOpacity:ge.extend("--ft-button-secondary-active-state-layer-opacity","",ye.opacity16),secondaryDisabledComponentOpacity:ge.extend("--ft-button-secondary-disabled-component-opacity","",ye.opacity40),secondaryBorderColor:ge.extend("--ft-button-secondary-border-color","",De.borderActionPrimary),neutralBackgroundColor:ge.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ge.extend("--ft-button-neutral-icon-color","",De.contentGlobalSecondary),neutralColor:ge.extend("--ft-button-neutral-color","",De.contentGlobalSecondary),neutralStateLayerColor:ge.extend("--ft-button-neutral-state-layer-color","",De.contentGlobalSecondary),neutralHoverStateLayerOpacity:ge.extend("--ft-button-neutral-hover-state-layer-opacity","",ye.opacity8),neutralFocusStateLayerOpacity:ge.extend("--ft-button-neutral-focus-state-layer-opacity","",ye.opacity8),neutralActiveStateLayerOpacity:ge.extend("--ft-button-neutral-active-state-layer-opacity","",ye.opacity16),neutralDisabledComponentOpacity:ge.extend("--ft-button-neutral-disabled-component-opacity","",ye.opacity40)},Te={iconSize:ge.extend("--ft-banner-icon-size","",ye.iconSize5),borderWidth:ge.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:ge.extend("--ft-banner-horizontal-padding","",ye.spacing6),verticalPadding:ge.extend("--ft-banner-vertical-padding","",ye.spacing6),horizontalSideGap:ge.extend("--ft-banner-horizontal-side-gap","",ye.spacing6),horizontalMobileGap:ge.extend("--ft-banner-horizontal-mobile-gap","",ye.spacing4),verticalMobileGap:ge.extend("--ft-banner-vertical-mobile-gap","",ye.spacing6),horizontalMiddleGap:ge.extend("--ft-banner-horizontal-middle-gap","",ye.spacing20),infoBackgroundColor:ge.extend("--ft-banner-info-background-color","",De.backgroundInfoSubtle),infoColor:ge.extend("--ft-banner-info-color","",De.contentInfoPrimary),infoIconColor:ge.extend("--ft-banner-info-icon-color","",De.contentInfoIconOnly)},Ge={horizontalGap:ge.extend("--ft-breadcrumb-horizontal-gap","",ye.spacing1),verticalGap:ge.extend("--ft-breadcrumb-vertical-gap","",ye.spacing2),currentElementColor:ge.extend("--ft-breadcrumb-current-element-color","",De.contentGlobalPrimary),iconColor:ge.extend("--ft-breadcrumb-icon-color","",De.contentGlobalSubtle)},Ve={horizontalPadding:ge.extend("--ft-page-header-horizontal-padding","",ye.spacing12),horizontalGap:ge.extend("--ft-page-header-horizontal-gap","",ye.spacing4),verticalGap:ge.extend("--ft-page-header-vertical-gap","",ye.spacing2),classicVerticalPadding:ge.extend("--ft-page-header-classic-vertical-padding","",ye.spacing6),multilineVerticalPadding:ge.extend("--ft-page-header-multiline-vertical-padding","",ye.spacing4),inlineVerticalPadding:ge.extend("--ft-page-header-inline-vertical-padding","",ye.spacing2),backgroundColor:ge.extend("--ft-page-header-background-color","",ye.colorWhite),bottomBorderColor:ge.extend("--ft-page-header-bottom-border-color","",De.borderGlobalSubtle),titleColor:ge.extend("--ft-page-header-title-color","",De.contentGlobalPrimary),subtitleColor:ge.extend("--ft-page-header-subtitle-color","",De.contentGlobalSecondary)},qe={smallContainerWidth:ge.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:ge.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:ge.extend("--ft-modal-overlay-background-color","",ye.colorGray700),overlayOpacity:ge.extend("--ft-modal-overlay-opacity","",ye.opacity40),shadow:ge.extend("--ft-modal-shadow","",ye.shadowElevation03),bodyBackgroundColor:ge.extend("--ft-modal-body-background-color","",ye.colorWhite),bodyColor:ge.extend("--ft-modal-body-color","",De.contentGlobalPrimary),bodyHorizontalPadding:ge.extend("--ft-modal-body-horizontal-padding","",ye.spacing6),bodyVerticalPadding:ge.extend("--ft-modal-body-vertical-padding","",ye.spacing6),bodyVerticalGap:ge.extend("--ft-modal-body-vertical-gap","",ye.spacing6),containerMargin:ge.extend("--ft-modal-container-margin","",ye.spacing3),headerBackgroundColor:ge.extend("--ft-modal-header-background-color","",De.backgroundGlobalOnSurface),headerBorderColor:ge.extend("--ft-modal-header-border-color","",De.borderGlobalSubtle),headerColor:ge.extend("--ft-modal-header-color","",De.contentGlobalPrimary),headerTrailingIconColor:ge.extend("--ft-modal-header-trailing-icon-color","",De.contentGlobalSecondary),headerVerticalPadding:ge.extend("--ft-modal-header-vertical-padding","",ye.spacing1),headerRightPadding:ge.extend("--ft-modal-header-right-padding","",ye.spacing1),headerLeftPadding:ge.extend("--ft-modal-header-left-padding","",ye.spacing6),headerGap:ge.extend("--ft-modal-header-gap","",ye.spacing2),headerBorderBottom:ge.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:ge.extend("--ft-modal-border-radius","",ye.borderRadiusM)},Ye={overlayOpacity:ge.extend("--ft-drawer-overlay-opacity","",ye.opacity40),shadow:ge.extend("--ft-drawer-shadow","",ye.shadowElevation03),bodyColor:ge.extend("--ft-drawer-body-color","",De.contentGlobalPrimary),bodyHorizontalPadding:ge.extend("--ft-drawer-body-horizontal-padding","",ye.spacing6),bodyVerticalPadding:ge.extend("--ft-drawer-body-vertical-padding","",ye.spacing6),bodyGap:ge.extend("--ft-drawer-body-gap","",ye.spacing6),bodyBackgroundColor:ge.extend("--ft-drawer-body-background-color","",ye.colorWhite),headerBackgroundColor:ge.extend("--ft-drawer-header-background-color","",De.backgroundGlobalOnSurface),headerBorderColor:ge.extend("--ft-drawer-header-border-color","",De.borderGlobalSubtle),headerColor:ge.extend("--ft-drawer-header-color","",De.contentGlobalPrimary),headerTrailingIconColor:ge.extend("--ft-drawer-header-trailing-icon-color","",De.contentGlobalSecondary),headerHeight:ge.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:ge.extend("--ft-drawer-header-horizontal-padding","",ye.spacing2),headerBorderWidth:ge.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:ge.extend("--ft-drawer-header-gap","",ye.spacing3),buttonsBarBackgroundColor:ge.extend("--ft-drawer-buttons-bar-background-color","",De.backgroundGlobalOnSurface),buttonsBarBorderColor:ge.extend("--ft-drawer-buttons-bar-border-color","",De.borderGlobalSubtle),buttonsBarColor:ge.extend("--ft-drawer-buttons-bar-color","",De.contentGlobalPrimary),buttonsBarHorizontalPadding:ge.extend("--ft-drawer-buttons-bar-horizontal-padding","",ye.spacing4),buttonsBarVerticalPadding:ge.extend("--ft-drawer-buttons-bar-vertical-padding","",ye.spacing4),buttonsBarGap:ge.extend("--ft-drawer-buttons-bar-gap","",ye.spacing3),buttonsBarBorderWidth:ge.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:ge.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:ge.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:ge.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:ge.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:ge.extend("--ft-drawer-overlay-background-color","",ye.colorGray700)},Je={fieldHorizontalPadding:ge.extend("--ft-text-input-field-horizontal-padding","",ye.spacing4),fieldHorizontalGap:ge.extend("--ft-text-input-field-horizontal-gap","",ye.spacing3),fieldVerticalGap:ge.extend("--ft-text-input-field-vertical-gap","",ye.spacing05),fieldIconSize:ge.extend("--ft-text-input-field-icon-size","",ye.iconSize3),fieldHeight:ge.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:ge.extend("--ft-text-input-helper-horizontal-padding","",ye.spacing4),helperHorizontalGap:ge.extend("--ft-text-input-helper-horizontal-gap","",ye.spacing1),helperIconSize:ge.extend("--ft-text-input-helper-icon-size","",ye.iconSize2),borderRadius:ge.extend("--ft-text-input-border-radius","",ye.borderRadiusM),backgroundColor:ge.extend("--ft-text-input-background-color","",ye.colorWhite),contentValueColor:ge.extend("--ft-text-input-content-value-color","",De.contentGlobalPrimary),trailingIconColor:ge.extend("--ft-text-input-trailing-icon-color","",De.contentGlobalSubtle),labelColor:ge.extend("--ft-text-input-label-color","",De.contentGlobalSubtle),defaultBorderColor:ge.extend("--ft-text-input-default-border-color","",De.borderInputPrimary),defaultHelperTextColor:ge.extend("--ft-text-input-default-helper-text-color","",De.contentGlobalSubtle),defaultBorderWidth:ge.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:ge.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:ge.extend("--ft-text-input-error-border-color","",De.borderErrorPrimary),errorHelperTextColor:ge.extend("--ft-text-input-error-helper-text-color","",De.contentErrorPrimary),errorHelperIconColor:ge.extend("--ft-text-input-error-helper-icon-color","",De.contentErrorIconOnly),warningBorderWidth:ge.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:ge.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-text-input-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineOffset:ge.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ge.extend("--ft-text-input-disabled-component-opacity","",ye.opacity40)},Xe={backgroundColor:ge.extend("--ft-text-area-background-color","",ye.colorWhite),contentValueColor:ge.extend("--ft-text-area-content-value-color","",De.contentGlobalPrimary),labelColor:ge.extend("--ft-text-area-label-color","",De.contentGlobalSubtle),defaultBorderColor:ge.extend("--ft-text-area-default-border-color","",De.borderInputPrimary),defaultHelperTextColor:ge.extend("--ft-text-area-default-helper-text-color","",De.contentGlobalSubtle),defaultBorderWidth:ge.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:ge.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:ge.extend("--ft-text-area-error-border-color","",De.borderErrorPrimary),errorHelperTextColor:ge.extend("--ft-text-area-error-helper-text-color","",De.contentErrorPrimary),errorHelperIconColor:ge.extend("--ft-text-area-error-helper-icon-color","",De.contentErrorIconOnly),focusFocusRingColor:ge.extend("--ft-text-area-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineWidth:ge.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:ge.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ge.extend("--ft-text-area-disabled-component-opacity","",ye.opacity40),fieldHorizontalLeftPadding:ge.extend("--ft-text-area-field-horizontal-left-padding","",ye.spacing4),fieldHorizontalGap:ge.extend("--ft-text-area-field-horizontal-gap","",ye.spacing3),fieldVerticalGap:ge.extend("--ft-text-area-field-vertical-gap","",ye.spacing05),fieldMinHeight:ge.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:ge.extend("--ft-text-area-helper-horizontal-padding","",ye.spacing4),helperHorizontalGap:ge.extend("--ft-text-area-helper-horizontal-gap","",ye.spacing1),helperIconSize:ge.extend("--ft-text-area-helper-icon-size","",ye.iconSize2),borderRadius:ge.extend("--ft-text-area-border-radius","",ye.borderRadiusM)},Qe={height:ge.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:ge.extend("--ft-floating-menu-horizontal-padding","",ye.spacing4),offIconColor:ge.extend("--ft-floating-menu-off-icon-color","",De.contentGlobalPrimary),offColor:ge.extend("--ft-floating-menu-off-color","",De.contentGlobalPrimary),onColor:ge.extend("--ft-floating-menu-on-color","",De.contentActionPrimary),onStateLayerColor:ge.extend("--ft-floating-menu-on-state-layer-color","",De.contentActionPrimary),gap:ge.extend("--ft-floating-menu-gap","",ye.spacing3),focusFocusRingColor:ge.extend("--ft-floating-menu-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineWidth:ge.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:ge.extend("--ft-floating-menu-focus-state-layer-opacity","",ye.opacity8),hoverStateLayerOpacity:ge.extend("--ft-floating-menu-hover-state-layer-opacity","",ye.opacity8),activeStateLayerOpacity:ge.extend("--ft-floating-menu-active-state-layer-opacity","",ye.opacity16),disabledComponentOpacity:ge.extend("--ft-floating-menu-disabled-component-opacity","",ye.opacity40),iconSize:ge.extend("--ft-floating-menu-icon-size","",ye.iconSize3),backgroundColor:ge.extend("--ft-floating-menu-background-color","",De.backgroundGlobalOnSurface)},tr={fieldHorizontalPadding:ge.extend("--ft-combobox-single-select-field-horizontal-padding","",ye.spacing4),fieldHorizontalGap:ge.extend("--ft-combobox-single-select-field-horizontal-gap","",ye.spacing3),fieldVerticalGap:ge.extend("--ft-combobox-single-select-field-vertical-gap","",ye.spacing05),fieldIconSize:ge.extend("--ft-combobox-single-select-field-icon-size","",ye.iconSize3),fieldHeight:ge.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:ge.extend("--ft-combobox-single-select-helper-horizontal-padding","",ye.spacing4),helperHorizontalGap:ge.extend("--ft-combobox-single-select-helper-horizontal-gap","",ye.spacing1),helperVerticalGap:ge.extend("--ft-combobox-single-select-helper-vertical-gap","",ye.spacing1),helperIconSize:ge.extend("--ft-combobox-single-select-helper-icon-size","",ye.iconSize2),menuVerticalGap:ge.extend("--ft-combobox-single-select-menu-vertical-gap","",ye.spacing2),borderRadius:ge.extend("--ft-combobox-single-select-border-radius","",ye.borderRadiusM),backgroundColor:ge.extend("--ft-combobox-single-select-background-color","",ye.colorWhite),labelColor:ge.extend("--ft-combobox-single-select-label-color","",De.contentGlobalSubtle),contentValueColor:ge.extend("--ft-combobox-single-select-content-value-color","",De.contentGlobalPrimary),trailingIconColor:ge.extend("--ft-combobox-single-select-trailing-icon-color","",De.contentGlobalSubtle),defaultBorderColor:ge.extend("--ft-combobox-single-select-default-border-color","",De.borderInputPrimary),defaultHelperTextColor:ge.extend("--ft-combobox-single-select-default-helper-text-color","",De.contentGlobalSubtle),defaultBorderWidth:ge.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:ge.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:ge.extend("--ft-combobox-single-select-error-border-color","",De.borderErrorPrimary),errorHelperTextColor:ge.extend("--ft-combobox-single-select-error-helper-text-color","",De.contentErrorPrimary),warningBorderWidth:ge.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:ge.extend("--ft-combobox-single-select-warning-border-color","",De.borderWarningPrimary),warningHelperTextColor:ge.extend("--ft-combobox-single-select-warning-helper-text-color","",De.contentWarningPrimary),warningHelperIconColor:ge.extend("--ft-combobox-single-select-warning-helper-icon-color","",De.contentWarningIconOnly),focusOutlineWidth:ge.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-combobox-single-select-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineOffset:ge.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ge.extend("--ft-combobox-single-select-disabled-component-opacity","",ye.opacity40)},or={backgroundColor:ge.extend("--ft-combobox-multi-select-background-color","",ye.colorWhite),labelColor:ge.extend("--ft-combobox-multi-select-label-color","",De.contentGlobalSubtle),trailingIconColor:ge.extend("--ft-combobox-multi-select-trailing-icon-color","",De.contentGlobalSubtle),defaultBorderColor:ge.extend("--ft-combobox-multi-select-default-border-color","",De.borderInputPrimary),defaultHelperTextColor:ge.extend("--ft-combobox-multi-select-default-helper-text-color","",De.contentGlobalSubtle),defaultBorderWidth:ge.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:ge.extend("--ft-combobox-multi-select-error-border-color","",De.borderErrorPrimary),errorHelperTextColor:ge.extend("--ft-combobox-multi-select-error-helper-text-color","",De.contentErrorPrimary),errorHelperIcon:ge.extend("--ft-combobox-multi-select-error-helper-icon","",De.contentErrorIconOnly),errorBorderWidth:ge.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:ge.extend("--ft-combobox-multi-select-warning-border-color","",De.borderWarningPrimary),warningHelperTextColor:ge.extend("--ft-combobox-multi-select-warning-helper-text-color","",De.contentWarningPrimary),warningHelperIconColor:ge.extend("--ft-combobox-multi-select-warning-helper-icon-color","",De.contentWarningIconOnly),warningBorderWidth:ge.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-combobox-multi-select-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineWidth:ge.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:ge.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ge.extend("--ft-combobox-multi-select-disabled-component-opacity","",ye.opacity40),helperHorizontalPadding:ge.extend("--ft-combobox-multi-select-helper-horizontal-padding","",ye.spacing4),helperHorizontalGap:ge.extend("--ft-combobox-multi-select-helper-horizontal-gap","",ye.spacing1),helperVerticalGap:ge.extend("--ft-combobox-multi-select-helper-vertical-gap","",ye.spacing1),helperIconSize:ge.extend("--ft-combobox-multi-select-helper-icon-size","",ye.iconSize2),fieldHorizontalPadding:ge.extend("--ft-combobox-multi-select-field-horizontal-padding","",ye.spacing4),fieldHorizontalGap:ge.extend("--ft-combobox-multi-select-field-horizontal-gap","",ye.spacing3),fieldVerticalGap:ge.extend("--ft-combobox-multi-select-field-vertical-gap","",ye.spacing05),fieldIconSize:ge.extend("--ft-combobox-multi-select-field-icon-size","",ye.iconSize3),fieldMaxHeight:ge.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:ge.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",ye.spacing1),contentValuesVerticalGap:ge.extend("--ft-combobox-multi-select-content-values-vertical-gap","",ye.spacing1),borderRadius:ge.extend("--ft-combobox-multi-select-border-radius","",ye.borderRadiusM)},er={backgroundColor:ge.extend("--ft-popover-background-color","",De.backgroundGlobalOnSurface),horizontalPadding:ge.extend("--ft-popover-horizontal-padding","",ye.spacing6),verticalPadding:ge.extend("--ft-popover-vertical-padding","",ye.spacing6),iconColor:ge.extend("--ft-popover-icon-color","",De.contentGlobalSecondary),iconSize:ge.extend("--ft-popover-icon-size","",ye.iconSize2),titleColor:ge.extend("--ft-popover-title-color","",De.contentGlobalPrimary),bodyColor:ge.extend("--ft-popover-body-color","",De.contentGlobalSecondary),linkColor:ge.extend("--ft-popover-link-color","",De.contentActionPrimary),gap:ge.extend("--ft-popover-gap","",ye.spacing3),borderRadius:ge.extend("--ft-popover-border-radius","",ye.borderRadiusM),shadow:ge.extend("--ft-popover-shadow","",ye.shadowElevation02)},rr={topLeftBorderRadius:ge.extend("--ft-tabs-top-left-border-radius","",ye.borderRadiusS),topRightBorderRadius:ge.extend("--ft-tabs-top-right-border-radius","",ye.borderRadiusS),labelHorizontalPadding:ge.extend("--ft-tabs-label-horizontal-padding","",ye.spacing4),labelVerticalPadding:ge.extend("--ft-tabs-label-vertical-padding","",ye.spacing3),labelGap:ge.extend("--ft-tabs-label-gap","",ye.spacing1),offHoverStateLayerOpacity:ge.extend("--ft-tabs-off-hover-state-layer-opacity","",ye.opacity8),offFocusStateLayerOpacity:ge.extend("--ft-tabs-off-focus-state-layer-opacity","",ye.opacity8),offActiveStateLayerOpacity:ge.extend("--ft-tabs-off-active-state-layer-opacity","",ye.opacity16),offDisabledComponentOpacity:ge.extend("--ft-tabs-off-disabled-component-opacity","",ye.opacity40),offColor:ge.extend("--ft-tabs-off-color","",De.contentGlobalSubtle),offStateLayerColor:ge.extend("--ft-tabs-off-state-layer-color","",De.contentGlobalSubtle),onHoverStateLayerOpacity:ge.extend("--ft-tabs-on-hover-state-layer-opacity","",ye.opacity8),onFocusStateLayerOpacity:ge.extend("--ft-tabs-on-focus-state-layer-opacity","",ye.opacity8),onActiveStateLayerOpacity:ge.extend("--ft-tabs-on-active-state-layer-opacity","",ye.opacity16),onDisabledComponentOpacity:ge.extend("--ft-tabs-on-disabled-component-opacity","",ye.opacity40),onColor:ge.extend("--ft-tabs-on-color","",De.contentActionPrimary),onStateLayerColor:ge.extend("--ft-tabs-on-state-layer-color","",De.contentActionPrimary),iconHorizontalPadding:ge.extend("--ft-tabs-icon-horizontal-padding","",ye.spacing1),iconVerticalPadding:ge.extend("--ft-tabs-icon-vertical-padding","",ye.spacing4),focusOutlineWidth:ge.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-tabs-focus-focus-ring-color","",De.borderActionFocusRing)},ir={hoverStateLayerOpacity:ge.extend("--ft-collapsible-hover-state-layer-opacity","",ye.opacity8),focusStateLayerOpacity:ge.extend("--ft-collapsible-focus-state-layer-opacity","",ye.opacity8),focusOutlineWidth:ge.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:ge.extend("--ft-collapsible-focus-focus-ring-color","",De.borderActionFocusRing),activeStateLayerOpacity:ge.extend("--ft-collapsible-active-state-layer-opacity","",ye.opacity16),disabledComponentOpacity:ge.extend("--ft-collapsible-disabled-component-opacity","",ye.opacity40),horizontalPadding:ge.extend("--ft-collapsible-horizontal-padding","",ye.spacing4),verticalPadding:ge.extend("--ft-collapsible-vertical-padding","",ye.spacing3),color:ge.extend("--ft-collapsible-color","",De.contentGlobalPrimary),stateLayerColor:ge.extend("--ft-collapsible-state-layer-color","",De.contentGlobalPrimary),backgroundColor:ge.extend("--ft-collapsible-background-color","",De.backgroundGlobalOnSurface),borderColor:ge.extend("--ft-collapsible-border-color","",De.borderGlobalSubtle),iconSize:ge.extend("--ft-collapsible-icon-size","",ye.iconSize3)},nr={groupHorizontalPadding:ge.extend("--ft-switch-group-horizontal-padding","",ye.spacing1),groupVerticalPadding:ge.extend("--ft-switch-group-vertical-padding","",ye.spacing1),groupGap:ge.extend("--ft-switch-group-gap","",ye.spacing1),groupBackgroundColor:ge.extend("--ft-switch-group-background-color","",De.backgroundGlobalSurface),groupBorderColor:ge.extend("--ft-switch-group-border-color","",De.borderGlobalSubtle),groupBorderRadius:ge.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:ge.extend("--ft-switch-label-horizontal-padding","",ye.spacing2),labelVerticalPadding:ge.extend("--ft-switch-label-vertical-padding","",ye.spacing1),offHoverStateLayerOpacity:ge.extend("--ft-switch-off-hover-state-layer-opacity","",ye.opacity8),offFocusStateLayerOpacity:ge.extend("--ft-switch-off-focus-state-layer-opacity","",ye.opacity8),offActiveStateLayerOpacity:ge.extend("--ft-switch-off-active-state-layer-opacity","",ye.opacity16),offDisabledComponentOpacity:ge.extend("--ft-switch-off-disabled-component-opacity","",ye.opacity40),offColor:ge.extend("--ft-switch-off-color","",De.contentGlobalSubtle),offStateLayerColor:ge.extend("--ft-switch-off-state-layer-color","",De.contentGlobalSubtle),onHoverStateLayerOpacity:ge.extend("--ft-switch-on-hover-state-layer-opacity","",ye.opacity8),onFocusStateLayerOpacity:ge.extend("--ft-switch-on-focus-state-layer-opacity","",ye.opacity8),onActiveStateLayerOpacity:ge.extend("--ft-switch-on-active-state-layer-opacity","",ye.opacity16),onDisabledComponentOpacity:ge.extend("--ft-switch-on-disabled-component-opacity","",ye.opacity40),onColor:ge.extend("--ft-switch-on-color","",De.contentActionPrimary),onStateLayerColor:ge.extend("--ft-switch-on-state-layer-color","",De.contentActionPrimary),iconHorizontalPadding:ge.extend("--ft-switch-icon-horizontal-padding","",ye.spacing1),iconVerticalPadding:ge.extend("--ft-switch-icon-vertical-padding","",ye.spacing1),focusOutlineWidth:ge.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-switch-focus-focus-ring-color","",De.borderActionFocusRing),optionBorderRadius:ge.extend("--ft-switch-option-border-radius","",ye.borderRadiusS)},ar={color1Light:ge.extend("--ft-chart-1-light","for area color charts",ye.colorBrand40),color1Base:ge.extend("--ft-chart-1-base","for line charts",ye.colorBrand0),color2Light:ge.extend("--ft-chart-2-light","for area color charts",ye.colorYellow60),color2Base:ge.extend("--ft-chart-2-base","for line charts",ye.colorYellow100),color3Light:ge.extend("--ft-chart-3-light","",ye.colorUltramarine40),color3Base:ge.extend("--ft-chart-3-base","",ye.colorUltramarine70),color4Light:ge.extend("--ft-chart-4-light","",ye.colorCyan50),color4Base:ge.extend("--ft-chart-4-base","",ye.colorCyan100),color5Light:ge.extend("--ft-chart-5-light","",ye.colorRed40),color5Base:ge.extend("--ft-chart-5-base","",ye.colorRed60),color6Light:ge.extend("--ft-chart-6-light","",ye.colorGreen40),color6Base:ge.extend("--ft-chart-6-base","",ye.colorGreen70),color7Light:ge.extend("--ft-chart-7-light","",ye.colorOrange70),color7Base:ge.extend("--ft-chart-7-base","",ye.colorOrange100),color8Light:ge.extend("--ft-chart-8-light","",ye.colorAvocado70),color8Base:ge.extend("--ft-chart-8-base","",ye.colorAvocado200),color9Light:ge.extend("--ft-chart-9-light","",ye.colorBrown50),color9Base:ge.extend("--ft-chart-9-base","",ye.colorBrown200),color10Light:ge.extend("--ft-chart-10-light","",ye.colorGray50),color10Base:ge.extend("--ft-chart-10-base","",ye.colorGray80),monochrome10:ge.extend("--ft-chart-monochrome-10","",ye.colorBrand10),monochrome20:ge.extend("--ft-chart-monochrome-20","",ye.colorBrand20),monochrome30:ge.extend("--ft-chart-monochrome-30","",ye.colorBrand40),monochrome40:ge.extend("--ft-chart-monochrome-40","",ye.colorBrand60),monochrome50:ge.extend("--ft-chart-monochrome-50","",ye.colorBrand0),monochrome60:ge.extend("--ft-chart-monochrome-60","",ye.colorBrand200)},cr={largeHorizontalPadding:ge.extend("--ft-chip-large-horizontal-padding","",ye.spacing4),largeVerticalPadding:ge.extend("--ft-chip-large-vertical-padding","",ye.spacing2),largeGap:ge.extend("--ft-chip-large-gap","",ye.spacing1),largeFocusOutlineOffset:ge.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ge.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:ge.extend("--ft-chip-large-border-radius","",ye.borderRadiusPill),largeBorderWidth:ge.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:ge.extend("--ft-chip-large-icon-size","",ye.iconSize3),mediumHorizontalPadding:ge.extend("--ft-chip-medium-horizontal-padding","",ye.spacing3),mediumVerticalPadding:ge.extend("--ft-chip-medium-vertical-padding","",ye.spacing1),mediumGap:ge.extend("--ft-chip-medium-gap","",ye.spacing1),mediumFocusOutlineOffset:ge.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:ge.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:ge.extend("--ft-chip-medium-border-radius","",ye.borderRadiusPill),mediumBorderWidth:ge.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:ge.extend("--ft-chip-medium-icon-size","",ye.iconSize2),smallHorizontalPadding:ge.extend("--ft-chip-small-horizontal-padding","",ye.spacing2),smallVerticalPadding:ge.extend("--ft-chip-small-vertical-padding","",ye.spacing05),smallGap:ge.extend("--ft-chip-small-gap","",ye.spacing1),smallFocusOutlineOffset:ge.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ge.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:ge.extend("--ft-chip-small-border-radius","",ye.borderRadiusPill),smallBorderWidth:ge.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:ge.extend("--ft-chip-small-icon-size","",ye.iconSize1),neutralBackgroundColor:ge.extend("--ft-chip-neutral-background-color","",De.backgroundGlobalOnSurface),neutralColor:ge.extend("--ft-chip-neutral-color","",De.contentGlobalPrimary),neutralIconColor:ge.extend("--ft-chip-neutral-icon-color","",De.contentGlobalPrimary),neutralBorderColor:ge.extend("--ft-chip-neutral-border-color","",De.borderGlobalSubtle),infoBackgroundColor:ge.extend("--ft-chip-info-background-color","",De.backgroundInfoSubtle),infoColor:ge.extend("--ft-chip-info-color","",De.contentInfoPrimary),infoIconColor:ge.extend("--ft-chip-info-icon-color","",De.contentInfoIconOnly),infoBorderColor:ge.extend("--ft-chip-info-border-color","",De.borderInfoSubtle),successBackgroundColor:ge.extend("--ft-chip-success-background-color","",De.backgroundSuccessSubtle),successColor:ge.extend("--ft-chip-success-color","",De.contentSuccessPrimary),successIconColor:ge.extend("--ft-chip-success-icon-color","",De.contentSuccessIconOnly),successBorderColor:ge.extend("--ft-chip-success-border-color","",De.borderSuccessSubtle),warningBackgroundColor:ge.extend("--ft-chip-warning-background-color","",De.backgroundWarningSubtle),warningColor:ge.extend("--ft-chip-warning-color","",De.contentWarningPrimary),warningIconColor:ge.extend("--ft-chip-warning-icon-color","",De.contentWarningIconOnly),warningBorderColor:ge.extend("--ft-chip-warning-border-color","",De.borderWarningSubtle),errorBackgroundColor:ge.extend("--ft-chip-error-background-color","",De.backgroundErrorSubtle),errorColor:ge.extend("--ft-chip-error-color","",De.contentErrorPrimary),errorIconColor:ge.extend("--ft-chip-error-icon-color","",De.contentErrorIconOnly),errorBorderColor:ge.extend("--ft-chip-error-border-color","",De.borderErrorSubtle)},lr={infoBorderColor:ge.extend("--ft-border-info-border-color","",De.borderInfoSubtle)},sr={borderWidth:ge.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:ge.extend("--ft-notice-horizontal-padding","",ye.spacing2),verticalPadding:ge.extend("--ft-notice-vertical-padding","",ye.spacing1),borderRadius:ge.extend("--ft-notice-border-radius","",ye.borderRadiusS),gap:ge.extend("--ft-notice-gap","",ye.spacing2),iconSize:ge.extend("--ft-notice-icon-size","",ye.iconSize3),infoBackgroundColor:ge.extend("--ft-notice-info-background-color","",De.backgroundInfoSubtle),infoBorderColor:ge.extend("--ft-notice-info-border-color","",De.borderInfoSubtle),infoColor:ge.extend("--ft-notice-info-color","",De.contentInfoPrimary),infoIconColor:ge.extend("--ft-notice-info-icon-color","",De.contentInfoIconOnly),warningBackgroundColor:ge.extend("--ft-notice-warning-background-color","",De.backgroundWarningSubtle),warningBorderColor:ge.extend("--ft-notice-warning-border-color","",De.borderWarningSubtle),warningColor:ge.extend("--ft-notice-warning-color","",De.contentWarningPrimary),warningIconColor:ge.extend("--ft-notice-warning-icon-color","",De.contentWarningIconOnly),errorBackgroundColor:ge.extend("--ft-notice-error-background-color","",De.backgroundErrorSubtle),errorBorderColor:ge.extend("--ft-notice-error-border-color","",De.borderErrorSubtle),errorColor:ge.extend("--ft-notice-error-color","",De.contentErrorPrimary),errorIconColor:ge.extend("--ft-notice-error-icon-color","",De.contentErrorIconOnly),successBackgroundColor:ge.extend("--ft-notice-success-background-color","",De.backgroundSuccessSubtle),successBorderColor:ge.extend("--ft-notice-success-border-color","",De.borderSuccessSubtle),successColor:ge.extend("--ft-notice-success-color","",De.contentSuccessPrimary),successIconColor:ge.extend("--ft-notice-success-icon-color","",De.contentSuccessIconOnly)},fr={color:ge.extend("--ft-checkbox-color","",De.contentGlobalPrimary),checkedBackgroundColor:ge.extend("--ft-checkbox-checked-background-color","",De.contentActionPrimary),checkedStateLayerColor:ge.extend("--ft-checkbox-checked-state-layer-color","",De.contentActionPrimary),checkedIconColor:ge.extend("--ft-checkbox-checked-icon-color","",De.contentGlobalOnColor),checkedHoverStateLayerOpacity:ge.extend("--ft-checkbox-checked-hover-state-layer-opacity","",ye.opacity16),checkedFocusStateLayerOpacity:ge.extend("--ft-checkbox-checked-focus-state-layer-opacity","",ye.opacity16),checkedActiveStateLayerOpacity:ge.extend("--ft-checkbox-checked-active-state-layer-opacity","",ye.opacity24),checkedDisabledComponentOpacity:ge.extend("--ft-checkbox-checked-disabled-component-opacity","",ye.opacity40),uncheckedBorderColor:ge.extend("--ft-checkbox-unchecked-border-color","",ye.colorGray80),uncheckedStateLayerColor:ge.extend("--ft-checkbox-unchecked-state-layer-color","",ye.colorGray80),uncheckedHoverStateLayerOpacity:ge.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",ye.opacity16),uncheckedFocusStateLayerOpacity:ge.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",ye.opacity16),uncheckedActiveStateLayerOpacity:ge.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",ye.opacity24),uncheckedDisabledComponentOpacity:ge.extend("--ft-checkbox-unchecked-disabled-component-opacity","",ye.opacity40),focusFocusRingColor:ge.extend("--ft-checkbox-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineOffset:ge.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:ge.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:ge.extend("--ft-checkbox-gap","",ye.spacing3)},pr={offHoverStateLayerOpacity:ge.extend("--ft-toggle-off-hover-state-layer-opacity","",ye.opacity16),offFocusStateLayerOpacity:ge.extend("--ft-toggle-off-focus-state-layer-opacity","",ye.opacity16),offActiveStateLayerOpacity:ge.extend("--ft-toggle-off-active-state-layer-opacity","",ye.opacity24),offDisabledComponentOpacity:ge.extend("--ft-toggle-off-disabled-component-opacity","",ye.opacity40),offBackgroundColor:ge.extend("--ft-toggle-off-background-color","",De.contentGlobalSubtle),offIconColor:ge.extend("--ft-toggle-off-icon-color","",De.contentGlobalSubtle),offStateLayerColor:ge.extend("--ft-toggle-off-state-layer-color","",De.contentGlobalSubtle),onHoverStateLayerOpacity:ge.extend("--ft-toggle-on-hover-state-layer-opacity","",ye.opacity16),onFocusStateLayerOpacity:ge.extend("--ft-toggle-on-focus-state-layer-opacity","",ye.opacity16),onActiveStateLayerOpacity:ge.extend("--ft-toggle-on-active-state-layer-opacity","",ye.opacity24),onDisabledComponentOpacity:ge.extend("--ft-toggle-on-disabled-component-opacity","",ye.opacity40),onBackgroundColor:ge.extend("--ft-toggle-on-background-color","",De.contentActionPrimary),onStateLayerColor:ge.extend("--ft-toggle-on-state-layer-color","",De.contentActionPrimary),onIconColor:ge.extend("--ft-toggle-on-icon-color","",De.contentActionPrimary),color:ge.extend("--ft-toggle-color","",De.contentGlobalPrimary),focusFocusRingColor:ge.extend("--ft-toggle-focus-focus-ring-color","",De.borderActionFocusRing),gap:ge.extend("--ft-toggle-gap","",ye.spacing3)},dr={color:ge.extend("--ft-radio-color","",De.contentGlobalPrimary),selectedRadioColor:ge.extend("--ft-radio-selected-radio-color","",De.contentActionPrimary),selectedStateLayerColor:ge.extend("--ft-radio-selected-state-layer-color","",De.contentActionPrimary),selectedHoverStateLayerOpacity:ge.extend("--ft-radio-selected-hover-state-layer-opacity","",ye.opacity16),selectedFocusStateLayerOpacity:ge.extend("--ft-radio-selected-focus-state-layer-opacity","",ye.opacity16),selectedActiveStateLayerOpacity:ge.extend("--ft-radio-selected-active-state-layer-opacity","",ye.opacity24),selectedDisabledComponentOpacity:ge.extend("--ft-radio-selected-disabled-component-opacity","",ye.opacity40),unselectedStateLayerColor:ge.extend("--ft-radio-unselected-state-layer-color","",De.borderInputPrimary),unselectedBorderColor:ge.extend("--ft-radio-unselected-border-color","",De.borderInputPrimary),unselectedHoverStateLayerOpacity:ge.extend("--ft-radio-unselected-hover-state-layer-opacity","",ye.opacity16),unselectedFocusStateLayerOpacity:ge.extend("--ft-radio-unselected-focus-state-layer-opacity","",ye.opacity16),unselectedActiveStateLayerOpacity:ge.extend("--ft-radio-unselected-active-state-layer-opacity","",ye.opacity24),unselectedDisabledComponentOpacity:ge.extend("--ft-radio-unselected-disabled-component-opacity","",ye.opacity40),focusFocusRingColor:ge.extend("--ft-radio-focus-focus-ring-color","",De.borderActionFocusRing),focusOutlineOffset:ge.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:ge.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:ge.extend("--ft-radio-gap","",ye.spacing3)},ur={iconSize:ge.extend("--ft-notification-icon-size","",ye.iconSize4),horizontalPadding:ge.extend("--ft-notification-horizontal-padding","",ye.spacing4),verticalPadding:ge.extend("--ft-notification-vertical-padding","",ye.spacing4),infoBackgroundColor:ge.extend("--ft-notification-info-background-color","",De.backgroundInfoSubtle),infoColor:ge.extend("--ft-notification-info-color","",De.contentInfoPrimary),infoIconColor:ge.extend("--ft-notification-info-icon-color","",De.contentInfoIconOnly),infoBorderColor:ge.extend("--ft-notification-info-border-color","",De.borderInfoSubtle),successBackgroundColor:ge.extend("--ft-notification-success-background-color","",De.backgroundSuccessSubtle),successColor:ge.extend("--ft-notification-success-color","",De.contentSuccessPrimary),successIconColor:ge.extend("--ft-notification-success-icon-color","",De.contentSuccessIconOnly),successBorderColor:ge.extend("--ft-notification-success-border-color","",De.borderSuccessSubtle),warningBackgroundColor:ge.extend("--ft-notification-warning-background-color","",De.backgroundWarningSubtle),warningColor:ge.extend("--ft-notification-warning-color","",De.contentWarningPrimary),warningIconColor:ge.extend("--ft-notification-warning-icon-color","",De.contentWarningIconOnly),warningBorderColor:ge.extend("--ft-notification-warning-border-color","",De.borderWarningSubtle),errorBackgroundColor:ge.extend("--ft-notification-error-background-color","",De.backgroundErrorSubtle),errorColor:ge.extend("--ft-notification-error-color","",De.contentErrorPrimary),errorIconColor:ge.extend("--ft-notification-error-icon-color","",De.contentErrorIconOnly),errorBorderColor:ge.extend("--ft-notification-error-border-color","",De.borderErrorSubtle),borderRadius:ge.extend("--ft-notification-border-radius","",ye.borderRadiusPill),borderWidth:ge.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:ge.extend("--ft-notification-leading-gap","",ye.spacing2),trailingGap:ge.extend("--ft-notification-trailing-gap","",ye.spacing8)},hr={horizontalPadding:ge.extend("--ft-tooltip-horizontal-padding","",ye.spacing2),verticalPadding:ge.extend("--ft-tooltip-vertical-padding","",ye.spacing2),borderRadius:ge.extend("--ft-tooltip-border-radius","",ye.borderRadiusS),color:ge.extend("--ft-tooltip-color","",De.contentGlobalOnColor),backgroundColor:ge.extend("--ft-tooltip-background-color","",De.contentGlobalPrimary),backgroundOpacity:ge.extend("--ft-tooltip-background-opacity","",ye.opacity80),shadow:ge.extend("--ft-tooltip-shadow","",ye.shadowElevation03),maxWidth:ge.create("--ft-tooltip-max-width","","SIZE","256px"),gap:ge.extend("--ft-tooltip-gap","",ye.spacing05)};var gr=Object.freeze({__proto__:null,FtCssVariableFactory:ge,banner:Te,border:lr,breadcrumb:Ge,button:He,chart:ar,checkbox:fr,chip:cr,collapsible:ir,comboboxMultiSelect:or,comboboxSingleSelect:tr,drawer:Ye,floatingMenu:Qe,foundation:ye,modal:qe,notice:sr,notification:ur,pageHeader:Ve,popover:er,radio:dr,semantic:De,setVariable:function(t,o){return he(`${t.name}: ${o}`)},switch_:nr,tabs:rr,textArea:Xe,textInput:Je,toggle:pr,tooltip:hr,typographies:Me,typographyBody1Medium:xe,typographyBody1Regular:Se,typographyBody1Semibold:we,typographyBody2Medium:Ne,typographyBody2MediumUnderline:Ee,typographyBody2Regular:Ce,typographyBody2Semibold:Re,typographyCaption1Bold:Ae,typographyCaption1Medium:Fe,typographyCaption1Semibold:ze,typographyCaption2Bold:Ze,typographyCaption2Medium:_e,typographyCaption2Semibold:Pe,typographyCaption3Bold:$e,typographyCaption3Medium:Ke,typographyCaption3Semibold:je,typographyDisplay:be,typographyLabel1Bold:We,typographyLabel1Medium:Ie,typographyLabel1Semibold:Le,typographyLabel2Bold:Be,typographyLabel2Medium:Ue,typographyLabel2Semibold:ke,typographyTitle1:me,typographyTitle2:ve,typographyTitle3:Oe,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 yr={colorPrimary:ge.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:ge.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:ge.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:ge.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:ge.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:ge.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ge.create("--ft-color-error","","COLOR","#B00020"),colorOutline:ge.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ge.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:ge.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:ge.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:ge.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:ge.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:ge.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ge.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ge.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:ge.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:ge.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ge.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ge.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ge.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ge.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ge.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ge.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:ge.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:ge.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:ge.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:ge.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:ge.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:ge.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ge.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ge.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:ge.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ge.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ge.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ge.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ge.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ge.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ge.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:ge.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ge.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ge.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ge.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ge.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:ge.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:ge.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:ge.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:ge.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ge.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ge.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:ge.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var br=Object.freeze({__proto__:null,designSystemVariables:yr});class mr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class vr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class Or extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var Sr=Object.freeze({__proto__:null,FtNotificationEvent:mr,PostResizeEvent:Or,PreResizeEvent:vr});const xr=["start","end"],wr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+xr[0],o+"-"+xr[1])),[]),Cr=Math.min,Nr=Math.max,Er=Math.round,Rr=t=>({x:t,y:t}),Ir={left:"right",right:"left",bottom:"top",top:"bottom"},Lr={start:"end",end:"start"};function Wr(t,o,e){return Nr(t,Cr(o,e))}function Ur(t,o){return"function"==typeof t?t(o):t}function kr(t){return t.split("-")[0]}function Br(t){return t.split("-")[1]}function Fr(t){return"x"===t?"y":"x"}function zr(t){return"y"===t?"height":"width"}function Ar(t){return["top","bottom"].includes(kr(t))?"y":"x"}function _r(t){return Fr(Ar(t))}function Pr(t){return t.replace(/left|right|bottom|top/g,(t=>Ir[t]))}function Zr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Kr(t,o,e){let{reference:r,floating:i}=t;const n=Ar(o),a=_r(o),c=zr(a),l=kr(o),s="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,d=r[c]/2-i[c]/2;let u;switch(l){case"top":u={x:f,y:r.y-i.height};break;case"bottom":u={x:f,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:p};break;case"left":u={x:r.x-i.width,y:p};break;default:u={x:r.x,y:r.y}}switch(Br(o)){case"start":u[a]-=d*(e&&s?-1:1);break;case"end":u[a]+=d*(e&&s?-1:1)}return u}async function jr(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:c,strategy:l}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:u=0}=Ur(o,t),h=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}}(u),g=c[d?"floating"===p?"reference":"floating":p],y=Zr(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(c.floating)),boundary:s,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(c.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=Zr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(y.top-O.top+h.top)/v.y,bottom:(O.bottom-y.bottom+h.bottom)/v.y,left:(y.left-O.left+h.left)/v.x,right:(O.right-y.right+h.right)/v.x}}function $r(t,o,e){return(t?[...e.filter((o=>Br(o)===t)),...e.filter((o=>Br(o)!==t))]:e.filter((t=>kr(t)===t))).filter((e=>!t||(Br(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Lr[t]))}(e)!==e)))}const Mr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:c,platform:l,elements:s}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:d=wr,autoAlignment:u=!0,...h}=Ur(t,o),g=void 0!==p||d===wr?$r(p||null,u,d):d,y=await jr(o,h),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=Br(t),i=_r(t),n=zr(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Pr(a)),[a,Pr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(s.floating)));if(c!==m)return{reset:{placement:g[0]}};const O=[y[kr(m)],y[v[0]],y[v[1]]],S=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],x=g[b+1];if(x)return{data:{index:b+1,overflows:S},reset:{placement:x}};const w=S.map((t=>{const o=Br(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),C=w.filter((t=>t[2].slice(0,Br(t[0])?2:3).every((t=>t<=0)))),N=(null==(i=C[0])?void 0:i[0])||w[0][0];return N!==c?{data:{index:b+1,overflows:S},reset:{placement:N}}:{}}}};function Dr(t){return Gr(t)?(t.nodeName||"").toLowerCase():"#document"}function Hr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Tr(t){var o;return null==(o=(Gr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Gr(t){return t instanceof Node||t instanceof Hr(t).Node}function Vr(t){return t instanceof Element||t instanceof Hr(t).Element}function qr(t){return t instanceof HTMLElement||t instanceof Hr(t).HTMLElement}function Yr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Hr(t).ShadowRoot)}function Jr(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=ei(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Xr(t){return["table","td","th"].includes(Dr(t))}function Qr(t){const o=ti(),e=ei(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 ti(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function oi(t){return["html","body","#document"].includes(Dr(t))}function ei(t){return Hr(t).getComputedStyle(t)}function ri(t){return Vr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ii(t){if("html"===Dr(t))return t;const o=t.assignedSlot||t.parentNode||Yr(t)&&t.host||Tr(t);return Yr(o)?o.host:o}function ni(t){const o=ii(t);return oi(o)?t.ownerDocument?t.ownerDocument.body:t.body:qr(o)&&Jr(o)?o:ni(o)}function ai(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=ni(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Hr(i);return n?o.concat(a,a.visualViewport||[],Jr(i)?i:[],a.frameElement&&e?ai(a.frameElement):[]):o.concat(i,ai(i,[],e))}function ci(t){const o=ei(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=qr(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,c=Er(e)!==n||Er(r)!==a;return c&&(e=n,r=a),{width:e,height:r,$:c}}function li(t){return Vr(t)?t:t.contextElement}function si(t){const o=li(t);if(!qr(o))return Rr(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=ci(o);let a=(n?Er(e.width):e.width)/r,c=(n?Er(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const fi=Rr(0);function pi(t){const o=Hr(t);return ti()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:fi}function di(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=li(t);let a=Rr(1);o&&(r?Vr(r)&&(a=si(r)):a=si(t));const c=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Hr(t))&&o}(n,e,r)?pi(n):Rr(0);let l=(i.left+c.x)/a.x,s=(i.top+c.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=Hr(n),o=r&&Vr(r)?Hr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=si(e),o=e.getBoundingClientRect(),r=ei(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,s*=t.y,f*=t.x,p*=t.y,l+=i,s+=n,e=Hr(e).frameElement}}return Zr({width:f,height:p,x:l,y:s})}function ui(t){return di(Tr(t)).left+ri(t).scrollLeft}function hi(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Hr(t),r=Tr(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,c=0,l=0;if(i){n=i.width,a=i.height;const t=ti();(!t||t&&"fixed"===o)&&(c=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:c,y:l}}(t,e);else if("document"===o)r=function(t){const o=Tr(t),e=ri(t),r=t.ownerDocument.body,i=Nr(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Nr(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+ui(t);const c=-e.scrollTop;return"rtl"===ei(r).direction&&(a+=Nr(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:c}}(Tr(t));else if(Vr(o))r=function(t,o){const e=di(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=qr(t)?si(t):Rr(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=pi(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Zr(r)}function gi(t,o){const e=ii(t);return!(e===o||!Vr(e)||oi(e))&&("fixed"===ei(e).position||gi(e,o))}function yi(t,o,e){const r=qr(o),i=Tr(o),n="fixed"===e,a=di(t,!0,n,o);let c={scrollLeft:0,scrollTop:0};const l=Rr(0);if(r||!r&&!n)if(("body"!==Dr(o)||Jr(i))&&(c=ri(o)),r){const t=di(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else i&&(l.x=ui(i));return{x:a.left+c.scrollLeft-l.x,y:a.top+c.scrollTop-l.y,width:a.width,height:a.height}}function bi(t,o){return qr(t)&&"fixed"!==ei(t).position?o?o(t):t.offsetParent:null}function mi(t,o){const e=Hr(t);if(!qr(t))return e;let r=bi(t,o);for(;r&&Xr(r)&&"static"===ei(r).position;)r=bi(r,o);return r&&("html"===Dr(r)||"body"===Dr(r)&&"static"===ei(r).position&&!Qr(r))?e:r||function(t){let o=ii(t);for(;qr(o)&&!oi(o);){if(Qr(o))return o;o=ii(o)}return null}(t)||e}const vi={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=qr(e),n=Tr(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},c=Rr(1);const l=Rr(0);if((i||!i&&"fixed"!==r)&&(("body"!==Dr(e)||Jr(n))&&(a=ri(e)),qr(e))){const t=di(e);c=si(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*c.x,height:o.height*c.y,x:o.x*c.x-a.scrollLeft*c.x+l.x,y:o.y*c.y-a.scrollTop*c.y+l.y}},getDocumentElement:Tr,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=ai(t,[],!1).filter((t=>Vr(t)&&"body"!==Dr(t))),i=null;const n="fixed"===ei(t).position;let a=n?ii(t):t;for(;Vr(a)&&!oi(a);){const o=ei(a),e=Qr(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Jr(a)&&!e&&gi(t,a))?r=r.filter((t=>t!==a)):i=o,a=ii(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],c=n.reduce(((t,e)=>{const r=hi(o,e,i);return t.top=Nr(r.top,t.top),t.right=Cr(r.right,t.right),t.bottom=Cr(r.bottom,t.bottom),t.left=Nr(r.left,t.left),t}),hi(o,a,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:mi,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||mi,n=this.getDimensions;return{reference:yi(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 ci(t)},getScale:si,isElement:Vr,isRTL:function(t){return"rtl"===ei(t).direction}},Oi=(t,o,e)=>{const r=new Map,i={platform:vi,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,c=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:f,y:p}=Kr(s,r,l),d=r,u={},h=0;for(let e=0;e<c.length;e++){const{name:n,fn:g}=c[e],{x:y,y:b,data:m,reset:v}=await g({x:f,y:p,initialPlacement:r,placement:d,strategy:i,middlewareData:u,rects:s,platform:a,elements:{reference:t,floating:o}});f=null!=y?y:f,p=null!=b?b:p,u={...u,[n]:{...u[n],...m}},v&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(s=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):v.rects),({x:f,y:p}=Kr(s,d,l))),e=-1)}return{x:f,y:p,placement:d,strategy:i,middlewareData:u}})(t,o,{...i,platform:n})};function Si(t){return function(t){for(let o=t;o;o=xi(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=xi(t);o;o=xi(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 xi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var wi=Object.freeze({__proto__:null,computeOffsetPosition:async function(t,o,e){return Oi(t,o,{platform:{...vi,getOffsetParent:t=>vi.getOffsetParent(t,Si)},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:c={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Ur(r,t),s={x:o,y:e},f=await jr(t,l),p=Ar(kr(i)),d=Fr(p);let u=s[d],h=s[p];if(n){const t="y"===d?"bottom":"right";u=Wr(u+f["y"===d?"top":"left"],u,u-f[t])}if(a){const t="y"===p?"bottom":"right";h=Wr(h+f["y"===p?"top":"left"],h,h-f[t])}const g=c.fn({...t,[d]:u,[p]:h});return{...g,data:{x:g.x-o,y:g.y-e}}}}),Mr({allowedPlacements:[e]})]});var r}});
|
|
136
136
|
/**
|
|
137
137
|
* @license
|
|
138
138
|
* Copyright 2019 Google LLC
|
|
139
139
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
140
|
-
*/const wi=window,Ni=wi.ShadowRoot&&(void 0===wi.ShadyCSS||wi.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ci extends bo{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)=>{Ni?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=wi.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Ei,Ri=Object.freeze({__proto__:null,ScopedRegistryLitElement:Ci}),Ii=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 Li=Symbol("constructorPrototype"),Ui=Symbol("constructorName"),Wi=Symbol("exportpartsDebouncer");class ki extends Ci{constructor(){super(),this[Ei]=new re(5),this[Ui]=this.constructor.name,this[Li]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ui]&&Object.setPrototypeOf(this,this[Li])}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[Wi].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,c=t.filter(l).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const s=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=>s.add(t)))}if(0===s.size)return void this.removeAttribute("exportparts");const f=[...s.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ei=Wi,Ii([xo()],ki.prototype,"exportpartsPrefix",void 0),Ii([pe([])],ki.prototype,"exportpartsPrefixes",void 0),Ii([xo()],ki.prototype,"customStylesheet",void 0);var Fi=Object.freeze({__proto__:null,FtLitElement:ki}),zi=Object.freeze({__proto__:null});class Ai{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=>{Ai.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 Ai(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,c=[],s=[],f=()=>(({prevNode:l,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,l,t,c)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>s.push(t)),r)})),s.push(a);s.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(c,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 Bi=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 Ai(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 Ai.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,c=(e>n.end?n.end:e)-n.start,s=t.value.substr(0,n.start),f=t.value.substr(c+n.start);if(n.node=this.wrapRangeInTextNode(n.node,l,c),t.value=s+f,t.nodes.forEach(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=c),t.nodes[e].end-=c)})),e-=c,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:c}=this.checkWhitespaceRanges(t,n,i.value);c&&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}`),c=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,c)),(t=>{c++,e++,this.opt.each(t)}),(()=>{0===c&&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=Ai.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},_i=ye.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ki=pt`
|
|
140
|
+
*/const Ci=window,Ni=Ci.ShadowRoot&&(void 0===Ci.ShadyCSS||Ci.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ei extends bo{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)=>{Ni?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Ci.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Ri,Ii=Object.freeze({__proto__:null,ScopedRegistryLitElement:Ei}),Li=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,c=t.length-1;c>=0;c--)(i=t[c])&&(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 Wi=Symbol("constructorPrototype"),Ui=Symbol("constructorName"),ki=Symbol("exportpartsDebouncer");class Bi extends Ei{constructor(){super(),this[Ri]=new re(5),this[Ui]=this.constructor.name,this[Wi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ui]&&Object.setPrototypeOf(this,this[Wi])}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[ki].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 c=t=>null!=t&&t.trim().length>0,l=t.filter(c).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const s=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(c).map((t=>t.trim())).forEach((t=>s.add(t)))}if(0===s.size)return void this.removeAttribute("exportparts");const f=[...s.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ri=ki,Li([xo()],Bi.prototype,"exportpartsPrefix",void 0),Li([pe([])],Bi.prototype,"exportpartsPrefixes",void 0),Li([xo()],Bi.prototype,"customStylesheet",void 0);var Fi=Object.freeze({__proto__:null,FtLitElement:Bi}),zi=Object.freeze({__proto__:null});class Ai{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 c=()=>{--n<=0&&r(a)};n||c(),i.forEach((t=>{Ai.matches(t,this.exclude)?c():this.onIframeReady(t,(r=>{o(t)&&(a++,e(r)),c()}),c)}))}createIterator(t,o,e){return document.createNodeIterator(t,o,e,!1)}createInstanceOnIframe(t){return new Ai(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,c,l=[],s=[],f=()=>(({prevNode:c,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,c,t,l)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>s.push(t)),r)})),s.push(a);s.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(l,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 _i=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 Ai(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),c="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==c&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(c)})`,`gm${e}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(c)})`+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,c=parseInt(t.start,10)-a;return c=c>n?n:c,r=c+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),c<0||r-c<0||c>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===e.substring(c,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:c,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 Ai.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 c=t.nodes[a+1];if(void 0===c||c.start>o){if(!r(n.node))return!1;const c=o-n.start,l=(e>n.end?n.end:e)-n.start,s=t.value.substr(0,n.start),f=t.value.substr(l+n.start);if(n.node=this.wrapRangeInTextNode(n.node,c,l),t.value=s+f,t.nodes.forEach(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=l),t.nodes[e].end-=l)})),e-=l,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 c=i+a[n].length;this.wrapRangeInMappedTextNode(o,i,c,(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:c,valid:l}=this.checkWhitespaceRanges(t,n,i.value);l&&this.wrapRangeInMappedTextNode(i,a,c,(e=>o(e,t,i.value.substring(a,c),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",c=t=>{let o=new RegExp(this.createRegExp(t),`gm${a}`),l=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,l)),(t=>{l++,e++,this.opt.each(t)}),(()=>{0===l&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(e):c(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(e):c(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=Ai.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=ge.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Zi=pt`
|
|
141
141
|
.highlight-html-match {
|
|
142
|
-
background: ${
|
|
142
|
+
background: ${Pi};
|
|
143
143
|
}
|
|
144
|
-
`,
|
|
144
|
+
`,Ki={className:"highlight-html-match"};var ji=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 _i(t);if(r.unmark(Ki),o&&o.trim()){r.mark(o.replace(/"[^"]+"/g,""),{...Ki,separateWordSearch:!0});(null!==(e=o.match(/"[^"]+"/g))&&void 0!==e?e:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Ki,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=o?o:"")},highlightHtmlColorCssVariable:Pi,highlightHtmlStyles:Zi});const $i=pt`
|
|
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(o,e)=>{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
|
+
`,Mi=pt`
|
|
154
154
|
.ft-word-wrap {
|
|
155
155
|
white-space: normal;
|
|
156
156
|
word-wrap: break-word;
|
|
@@ -162,7 +162,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
162
162
|
-webkit-hyphens: auto;
|
|
163
163
|
hyphens: auto
|
|
164
164
|
}
|
|
165
|
-
`,
|
|
165
|
+
`,Di=pt`
|
|
166
166
|
.ft-safari-ellipsis-fix {
|
|
167
167
|
margin-right: 0;
|
|
168
168
|
|
|
@@ -173,7 +173,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
173
173
|
display: inline-block;
|
|
174
174
|
width: 0;
|
|
175
175
|
}
|
|
176
|
-
`;var Di=Object.freeze({__proto__:null,noTextSelect:ji,safariEllipsisFix:Mi,wordWrap:$i}),Hi=Object.freeze({__proto__:null});var Ti=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 Gi{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 Vi(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var qi,Yi,Ji;const Xi=Symbol("internalReduxEventsUnsubscribers"),Qi=Symbol("internalStoresUnsubscribers"),tn=Symbol("internalStores");class on extends ki{constructor(){super(...arguments),this[qi]=new Map,this[Yi]=new Map,this[Ji]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[tn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[tn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[tn].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Vi(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[tn].delete(o)}setupStore(t,o){this[tn].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[tn].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[Qi].has(t.store):this[Qi].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Qi].set(t,o.subscribe((()=>this.updateFromStores()))),Vi(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[Xi].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Qi].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Xi].forEach((t=>t())),this[Xi]=[]}unsubscribeFromStore(t){this[Qi].has(t)&&this[Qi].get(t)(),this[Qi].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function en(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 rn(t){return!!t&&!!t[Dn]}function nn(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)===Hn}(t)||Array.isArray(t)||!!t[Mn]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Mn])||pn(t)||un(t))}function an(t,o,e){void 0===e&&(e=!1),0===ln(t)?(e?Object.keys:Tn)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function ln(t){var o=t[Dn];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:pn(t)?2:un(t)?3:0}function cn(t,o){return 2===ln(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function sn(t,o,e){var r=ln(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function fn(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function pn(t){return Pn&&t instanceof Map}function un(t){return Zn&&t instanceof Set}function dn(t){return t.o||t.t}function hn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Gn(t);delete o[Dn];for(var e=Tn(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 yn(t,o){return void 0===o&&(o=!1),bn(t)||rn(t)||!nn(t)||(ln(t)>1&&(t.set=t.add=t.clear=t.delete=gn),Object.freeze(t),o&&an(t,(function(t,o){return yn(o,!0)}),!0)),t}function gn(){en(2)}function bn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function mn(t){var o=Vn[t];return o||en(18,t),o}function vn(){return _n}function On(t,o){o&&(mn("Patches"),t.u=[],t.s=[],t.v=o)}function Sn(t){xn(t),t.p.forEach(Nn),t.p=null}function xn(t){t===_n&&(_n=t.l)}function wn(t){return _n={p:[],l:_n,h:t,m:!0,_:0}}function Nn(t){var o=t[Dn];0===o.i||1===o.i?o.j():o.g=!0}function Cn(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||mn("ES5").S(o,t,r),r?(e[Dn].P&&(Sn(o),en(4)),nn(t)&&(t=En(o,t),o.l||In(o,t)),o.u&&mn("Patches").M(e[Dn].t,t,o.u,o.s)):t=En(o,e,[]),Sn(o),o.u&&o.v(o.u,o.s),t!==$n?t:void 0}function En(t,o,e){if(bn(o))return o;var r=o[Dn];if(!r)return an(o,(function(i,n){return Rn(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return In(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=hn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),an(n,(function(o,n){return Rn(t,r,i,o,n,e,a)})),In(t,i,!1),e&&t.u&&mn("Patches").N(r,e,t.u,t.s)}return r.o}function Rn(t,o,e,r,i,n,a){if(rn(i)){var l=En(t,i,n&&o&&3!==o.i&&!cn(o.R,r)?n.concat(r):void 0);if(sn(e,r,l),!rn(l))return;t.m=!1}else a&&e.add(i);if(nn(i)&&!bn(i)){if(!t.h.D&&t._<1)return;En(t,i),o&&o.A.l||In(t,i)}}function In(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&yn(o,e)}function Ln(t,o){var e=t[Dn];return(e?dn(e):t)[o]}function Un(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 Wn(t){t.P||(t.P=!0,t.l&&Wn(t.l))}function kn(t){t.o||(t.o=hn(t.t))}function Fn(t,o,e){var r=pn(o)?mn("MapSet").F(o,e):un(o)?mn("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:vn(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=qn;e&&(i=[r],n=Yn);var a=Proxy.revocable(i,n),l=a.revoke,c=a.proxy;return r.k=c,r.j=l,c}(o,e):mn("ES5").J(o,e);return(e?e.A:vn()).p.push(r),r}function zn(t){return rn(t)||en(22,t),function t(o){if(!nn(o))return o;var e,r=o[Dn],i=ln(o);if(r){if(!r.P&&(r.i<4||!mn("ES5").K(r)))return r.t;r.I=!0,e=An(o,i),r.I=!1}else e=An(o,i);return an(e,(function(o,i){r&&function(t,o){return 2===ln(t)?t.get(o):t[o]}(r.t,o)===i||sn(e,o,t(i))})),3===i?new Set(e):e}(t)}function An(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return hn(t)}qi=Qi,Yi=tn,Ji=Xi,on.reduxProperties=new Map,on.reduxReactiveProperties=new Set,on.reduxEventListeners=new Map;var Bn,_n,Kn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Pn="undefined"!=typeof Map,Zn="undefined"!=typeof Set,jn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,$n=Kn?Symbol.for("immer-nothing"):((Bn={})["immer-nothing"]=!0,Bn),Mn=Kn?Symbol.for("immer-draftable"):"__$immer_draftable",Dn=Kn?Symbol.for("immer-state"):"__$immer_state",Hn=""+Object.prototype.constructor,Tn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Gn=Object.getOwnPropertyDescriptors||function(t){var o={};return Tn(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Vn={},qn={get:function(t,o){if(o===Dn)return t;var e=dn(t);if(!cn(e,o))return function(t,o,e){var r,i=Un(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||!nn(r)?r:r===Ln(t.t,o)?(kn(t),t.o[o]=Fn(t.A.h,r,t)):r},has:function(t,o){return o in dn(t)},ownKeys:function(t){return Reflect.ownKeys(dn(t))},set:function(t,o,e){var r=Un(dn(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=Ln(dn(t),o),n=null==i?void 0:i[Dn];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(fn(e,i)&&(void 0!==e||cn(t.t,o)))return!0;kn(t),Wn(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!==Ln(t.t,o)||o in t.t?(t.R[o]=!1,kn(t),Wn(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=dn(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(){en(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){en(12)}},Yn={};an(qn,(function(t,o){Yn[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Yn.deleteProperty=function(t,o){return Yn.set.call(this,t,o,void 0)},Yn.set=function(t,o,e){return qn.set.call(this,t[0],o,e,t[0])};var Jn=function(){function t(t){var o=this;this.O=jn,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&&en(6),void 0!==r&&"function"!=typeof r&&en(7),nn(t)){var l=wn(o),c=Fn(o,t,void 0),s=!0;try{a=e(c),s=!1}finally{s?Sn(l):xn(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return On(l,r),Cn(t,l)}),(function(t){throw Sn(l),t})):(On(l,r),Cn(a,l))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===$n&&(a=void 0),o.D&&yn(a,!0),r){var f=[],p=[];mn("Patches").M(t,a,f,p),r(f,p)}return a}en(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){nn(t)||en(8),rn(t)&&(t=zn(t));var o=wn(this),e=Fn(this,t,void 0);return e[Dn].C=!0,xn(o),e},o.finishDraft=function(t,o){var e=(t&&t[Dn]).A;return On(e,o),Cn(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!jn&&en(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=mn("Patches").$;return rn(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),Xn=new Jn,Qn=Xn.produce;function ta(t){return ta="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},ta(t)}function oa(t){var o=function(t,o){if("object"!==ta(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==ta(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===ta(o)?o:String(o)}function ea(t,o,e){return(o=oa(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function ra(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 ia(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?ra(Object(e),!0).forEach((function(o){ea(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ra(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function na(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. "}Xn.produceWithPatches.bind(Xn),Xn.setAutoFreeze.bind(Xn),Xn.setUseProxies.bind(Xn),Xn.applyPatches.bind(Xn),Xn.createDraft.bind(Xn),Xn.finishDraft.bind(Xn);var aa="function"==typeof Symbol&&Symbol.observable||"@@observable",la=function(){return Math.random().toString(36).substring(7).split("").join(".")},ca={INIT:"@@redux/INIT"+la(),REPLACE:"@@redux/REPLACE"+la(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+la()}};function sa(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(na(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(na(1));return e(sa)(t,o)}if("function"!=typeof t)throw new Error(na(2));var i=t,n=o,a=[],l=a,c=!1;function s(){l===a&&(l=a.slice())}function f(){if(c)throw new Error(na(3));return n}function p(t){if("function"!=typeof t)throw new Error(na(4));if(c)throw new Error(na(5));var o=!0;return s(),l.push(t),function(){if(o){if(c)throw new Error(na(6));o=!1,s();var e=l.indexOf(t);l.splice(e,1),a=null}}}function u(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(na(7));if(void 0===t.type)throw new Error(na(8));if(c)throw new Error(na(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var o=a=l,e=0;e<o.length;e++){(0,o[e])()}return t}return u({type:ca.INIT}),(r={dispatch:u,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(na(10));i=t,u({type:ca.REPLACE})}})[aa]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(na(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[aa]=function(){return this},t},r}function fa(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:ca.INIT}))throw new Error(na(12));if(void 0===e(void 0,{type:ca.PROBE_UNKNOWN_ACTION()}))throw new Error(na(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 c=a[l],s=e[c],f=t[c],p=s(f,o);if(void 0===p)throw o&&o.type,new Error(na(14));i[c]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function pa(){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 ua(){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(na(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=pa.apply(void 0,n)(e.dispatch),ia(ia({},e),{},{dispatch:r})}}}function da(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 ha=da();ha.withExtraArgument=da;var ya,ga=ha,ba=(ya=function(t,o){return ya=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])},ya(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}ya(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),ma=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])}}},va=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},Oa=Object.defineProperty,Sa=Object.defineProperties,xa=Object.getOwnPropertyDescriptors,wa=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,Ca=Object.prototype.propertyIsEnumerable,Ea=function(t,o,e){return o in t?Oa(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Ra=function(t,o){for(var e in o||(o={}))Na.call(o,e)&&Ea(t,e,o[e]);if(wa)for(var r=0,i=wa(o);r<i.length;r++){e=i[r];Ca.call(o,e)&&Ea(t,e,o[e])}return t},Ia=function(t,o){return Sa(t,xa(o))},La="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?pa:pa.apply(null,arguments)};var Ua=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 ba(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,va([void 0],t[0].concat(this)))):new(o.bind.apply(o,va([void 0],t.concat(this))))},o}(Array),Wa=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 ba(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,va([void 0],t[0].concat(this)))):new(o.bind.apply(o,va([void 0],t.concat(this))))},o}(Array);function ka(t){return nn(t)?Qn(t,(function(){})):t}function Fa(){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 Ua;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(ga.withExtraArgument(e.extraArgument)):r.push(ga));return r}(t)}}function za(t){var o,e=Fa(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,l=void 0===a?e():a,c=r.devTools,s=void 0===c||c,f=r.preloadedState,p=void 0===f?void 0:f,u=r.enhancers,d=void 0===u?void 0:u;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=fa(n)}var h=l;"function"==typeof h&&(h=h(e));var y=ua.apply(void 0,h),g=pa;s&&(g=La(Ra({trace:!1},"object"==typeof s&&s)));var b=new Wa(y),m=b;return Array.isArray(d)?m=va([y],d):"function"==typeof d&&(m=d(b)),sa(o,p,g.apply(void 0,m))}function Aa(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 Ra(Ra({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 Ba(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 _a(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:ka(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},l={},c={};function s(){var o="function"==typeof t.extraReducers?Ba(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,c=o[2],s=void 0===c?void 0:c,f=Ra(Ra({},i),l);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?Ba(o):[o,e,r],a=n[0],l=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return ka(t())};else{var s=ka(t);i=function(){return s}}function f(t,o){void 0===t&&(t=i());var e=va([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=[c]),e.reduce((function(t,e){if(e){var r;if(rn(t))return void 0===(r=e(t,o))?t:r;if(nn(t))return Qn(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)}s&&t.addDefaultCase(s)}))}return n.forEach((function(t){var e,r,n=i[t],s=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,l[s]=e,c[t]=r?Aa(s,r):Aa(s)})),{name:o,reducer:function(t,o){return e||(e=s()),e(t,o)},actions:c,caseReducers:a,getInitialState:function(){return e||(e=s()),e.getInitialState()}}}var Ka=["name","message","stack","code"],Pa=function(t,o){this.payload=t,this.meta=o},Za=function(t,o){this.payload=t,this.meta=o},ja=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ka;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function $a(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=Aa(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Ia(Ra({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Aa(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Ia(Ra({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Aa(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||ja)(t||"Rejected"),meta:Ia(Ra({},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,c,s){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}(),u=new a;function d(t){f=t,u.abort()}var h=function(){return a=this,h=null,y=function(){var a,h,y,g,b,m;return ma(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:c,extra:s}),null===(O=g)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return u.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),l(i(p,t,null==(h=null==e?void 0:e.getPendingMeta)?void 0:h.call(e,{requestId:p,arg:t},{getState:c,extra:s}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:l,getState:c,extra:s,requestId:p,signal:u.signal,abort:d,rejectWithValue:function(t,o){return new Pa(t,o)},fulfillWithValue:function(t,o){return new Za(t,o)}})).then((function(o){if(o instanceof Pa)throw o;return o instanceof Za?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Pa?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(y)&&y.meta.condition||l(y),[2,y]}var O}))},new Promise((function(t,o){var e=function(t){try{i(y.next(t))}catch(t){o(t)}},r=function(t){try{i(y.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((y=y.apply(a,h)).next())}));var a,h,y}();return Object.assign(h,{abort:d,requestId:p,arg:t,unwrap:function(){return h.then($a)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ma="listenerMiddleware";Aa(Ma+"/add"),Aa(Ma+"/removeAll"),Aa(Ma+"/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[Dn];return qn.get(o,t)},set:function(o){var e=this[Dn];qn.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Dn];if(!i.P)switch(i.i){case 5:r(i)&&Wn(i);break;case 4:e(i)&&Wn(i)}}}function e(t){for(var o=t.t,e=t.k,r=Tn(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Dn){var a=o[n];if(void 0===a&&!cn(o,n))return!0;var l=e[n],c=l&&l[Dn];if(c?c.t!==a:!fn(l,a))return!0}}var s=!!o[Dn];return r.length!==Tn(o).length+(s?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){Vn[t]||(Vn[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=Gn(e);delete n[Dn];for(var a=Tn(n),l=0;l<a.length;l++){var c=a[l];n[c]=t(c,o||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:vn(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Dn,{value:n,writable:!0}),i},S:function(t,e,i){i?rn(e)&&e[Dn].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Dn];if(e){var i=e.t,n=e.k,a=e.R,l=e.i;if(4===l)an(n,(function(o){o!==Dn&&(void 0!==i[o]||cn(i,o)?a[o]||t(n[o]):(a[o]=!0,Wn(e)))})),an(i,(function(t){void 0!==n[t]||cn(n,t)||(a[t]=!1,Wn(e))}));else if(5===l){if(r(e)&&(Wn(e),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var s=i.length;s<n.length;s++)a[s]=!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 Da{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(Vi(i))return i;if(null==r)return;const n=_a({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=za({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?n.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}:n.reducer(t,o)});return window.ftReduxStores[r.name]=new Da(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Gi,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,i=t[r];return i?(...t)=>{const o=i(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Ha=Object.freeze({__proto__:null,FtCommandQueue:Gi,FtLitElementRedux:on,FtReduxStore:Da,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Vi(o)&&o.clear()},isFtReduxStore:Vi,redux:t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!ce(t,o),attribute:!1,...o};xo(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 Ta=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 Ga=Symbol("elementInternals");var Va,qa,Ya,Ja,Xa=Object.freeze({__proto__:null,toFtFormComponent:function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Ga].form}constructor(...t){super(t),this[Ga]=this.attachInternals(),this[Ga].role=o}setFormValue(t){this[Ga].setFormValue(t)}}}});const Qa=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ya=null===(qa=null===(Va=window.safari)||void 0===Va?void 0:Va.pushNotification)||void 0===qa?void 0:qa.toString())&&void 0!==Ya?Ya:""),tl="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(Ja=window.ftGlobals)&&void 0!==Ja?Ja:{lit:vo,litDecorators:Ro,litRepeat:Zo,litClassMap:$o,litStyleMap:To,litUnsafeHTML:qo,wcUtils:{...te,...Qo,...ee,...ie,...de,...gr,...Or,...xi,...hr,...Fi,...zi,...se,...Zi,...Di,...Hi,...Ti,...Ha,...Ri,...Ta,...Xa,isSafari:Qa,isTouchScreen:tl}};const ol=ye.extend("--ft-ripple-color","",yr.colorContent),el={color:ol,backgroundColor:ye.extend("--ft-ripple-background-color","",ol),opacityContentOnSurfacePressed:ye.external(yr.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ye.external(yr.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ye.external(yr.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ye.external(yr.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ye.create("--ft-ripple-border-radius","","SIZE","0px")},rl=ye.extend("--ft-ripple-color","",yr.colorPrimary),il={color:rl,backgroundColor:ye.extend("--ft-ripple-background-color","",rl)},nl=ye.extend("--ft-ripple-color","",yr.colorSecondary),al={color:nl,backgroundColor:ye.extend("--ft-ripple-background-color","",nl)},ll=pt`
|
|
176
|
+
`;var Hi=Object.freeze({__proto__:null,noTextSelect:$i,safariEllipsisFix:Di,wordWrap:Mi}),Ti=Object.freeze({__proto__:null});var Gi=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 Vi{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 Yi,Ji,Xi;const Qi=Symbol("internalReduxEventsUnsubscribers"),tn=Symbol("internalStoresUnsubscribers"),on=Symbol("internalStores");class en extends Bi{constructor(){super(...arguments),this[Yi]=new Map,this[Ji]=new Map,this[Xi]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[on].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[on].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[on].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[on].delete(o)}setupStore(t,o){this[on].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[on].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[tn].has(t.store):this[tn].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[tn].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[Qi].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[tn].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Qi].forEach((t=>t())),this[Qi]=[]}unsubscribeFromStore(t){this[tn].has(t)&&this[tn].get(t)(),this[tn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function rn(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 nn(t){return!!t&&!!t[Hn]}function an(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)===Tn}(t)||Array.isArray(t)||!!t[Dn]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Dn])||dn(t)||un(t))}function cn(t,o,e){void 0===e&&(e=!1),0===ln(t)?(e?Object.keys:Gn)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function ln(t){var o=t[Hn];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:dn(t)?2:un(t)?3:0}function sn(t,o){return 2===ln(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function fn(t,o,e){var r=ln(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function pn(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function dn(t){return Kn&&t instanceof Map}function un(t){return jn&&t instanceof Set}function hn(t){return t.o||t.t}function gn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Vn(t);delete o[Hn];for(var e=Gn(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 yn(t,o){return void 0===o&&(o=!1),mn(t)||nn(t)||!an(t)||(ln(t)>1&&(t.set=t.add=t.clear=t.delete=bn),Object.freeze(t),o&&cn(t,(function(t,o){return yn(o,!0)}),!0)),t}function bn(){rn(2)}function mn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function vn(t){var o=qn[t];return o||rn(18,t),o}function On(){return Pn}function Sn(t,o){o&&(vn("Patches"),t.u=[],t.s=[],t.v=o)}function xn(t){wn(t),t.p.forEach(Nn),t.p=null}function wn(t){t===Pn&&(Pn=t.l)}function Cn(t){return Pn={p:[],l:Pn,h:t,m:!0,_:0}}function Nn(t){var o=t[Hn];0===o.i||1===o.i?o.j():o.g=!0}function En(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||vn("ES5").S(o,t,r),r?(e[Hn].P&&(xn(o),rn(4)),an(t)&&(t=Rn(o,t),o.l||Ln(o,t)),o.u&&vn("Patches").M(e[Hn].t,t,o.u,o.s)):t=Rn(o,e,[]),xn(o),o.u&&o.v(o.u,o.s),t!==Mn?t:void 0}function Rn(t,o,e){if(mn(o))return o;var r=o[Hn];if(!r)return cn(o,(function(i,n){return In(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Ln(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=gn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),cn(n,(function(o,n){return In(t,r,i,o,n,e,a)})),Ln(t,i,!1),e&&t.u&&vn("Patches").N(r,e,t.u,t.s)}return r.o}function In(t,o,e,r,i,n,a){if(nn(i)){var c=Rn(t,i,n&&o&&3!==o.i&&!sn(o.R,r)?n.concat(r):void 0);if(fn(e,r,c),!nn(c))return;t.m=!1}else a&&e.add(i);if(an(i)&&!mn(i)){if(!t.h.D&&t._<1)return;Rn(t,i),o&&o.A.l||Ln(t,i)}}function Ln(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&yn(o,e)}function Wn(t,o){var e=t[Hn];return(e?hn(e):t)[o]}function Un(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 kn(t){t.P||(t.P=!0,t.l&&kn(t.l))}function Bn(t){t.o||(t.o=gn(t.t))}function Fn(t,o,e){var r=dn(o)?vn("MapSet").F(o,e):un(o)?vn("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:On(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=Yn;e&&(i=[r],n=Jn);var a=Proxy.revocable(i,n),c=a.revoke,l=a.proxy;return r.k=l,r.j=c,l}(o,e):vn("ES5").J(o,e);return(e?e.A:On()).p.push(r),r}function zn(t){return nn(t)||rn(22,t),function t(o){if(!an(o))return o;var e,r=o[Hn],i=ln(o);if(r){if(!r.P&&(r.i<4||!vn("ES5").K(r)))return r.t;r.I=!0,e=An(o,i),r.I=!1}else e=An(o,i);return cn(e,(function(o,i){r&&function(t,o){return 2===ln(t)?t.get(o):t[o]}(r.t,o)===i||fn(e,o,t(i))})),3===i?new Set(e):e}(t)}function An(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return gn(t)}Yi=tn,Ji=on,Xi=Qi,en.reduxProperties=new Map,en.reduxReactiveProperties=new Set,en.reduxEventListeners=new Map;var _n,Pn,Zn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Kn="undefined"!=typeof Map,jn="undefined"!=typeof Set,$n="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Mn=Zn?Symbol.for("immer-nothing"):((_n={})["immer-nothing"]=!0,_n),Dn=Zn?Symbol.for("immer-draftable"):"__$immer_draftable",Hn=Zn?Symbol.for("immer-state"):"__$immer_state",Tn=""+Object.prototype.constructor,Gn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Vn=Object.getOwnPropertyDescriptors||function(t){var o={};return Gn(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},qn={},Yn={get:function(t,o){if(o===Hn)return t;var e=hn(t);if(!sn(e,o))return function(t,o,e){var r,i=Un(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||!an(r)?r:r===Wn(t.t,o)?(Bn(t),t.o[o]=Fn(t.A.h,r,t)):r},has:function(t,o){return o in hn(t)},ownKeys:function(t){return Reflect.ownKeys(hn(t))},set:function(t,o,e){var r=Un(hn(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=Wn(hn(t),o),n=null==i?void 0:i[Hn];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(pn(e,i)&&(void 0!==e||sn(t.t,o)))return!0;Bn(t),kn(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!==Wn(t.t,o)||o in t.t?(t.R[o]=!1,Bn(t),kn(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=hn(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(){rn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){rn(12)}},Jn={};cn(Yn,(function(t,o){Jn[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Jn.deleteProperty=function(t,o){return Jn.set.call(this,t,o,void 0)},Jn.set=function(t,o,e){return Yn.set.call(this,t[0],o,e,t[0])};var Xn=function(){function t(t){var o=this;this.O=$n,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),c=1;c<r;c++)a[c-1]=arguments[c];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&rn(6),void 0!==r&&"function"!=typeof r&&rn(7),an(t)){var c=Cn(o),l=Fn(o,t,void 0),s=!0;try{a=e(l),s=!1}finally{s?xn(c):wn(c)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Sn(c,r),En(t,c)}),(function(t){throw xn(c),t})):(Sn(c,r),En(a,c))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Mn&&(a=void 0),o.D&&yn(a,!0),r){var f=[],p=[];vn("Patches").M(t,a,f,p),r(f,p)}return a}rn(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){an(t)||rn(8),nn(t)&&(t=zn(t));var o=Cn(this),e=Fn(this,t,void 0);return e[Hn].C=!0,wn(o),e},o.finishDraft=function(t,o){var e=(t&&t[Hn]).A;return Sn(e,o),En(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!$n&&rn(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=vn("Patches").$;return nn(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),Qn=new Xn,ta=Qn.produce;function oa(t){return oa="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},oa(t)}function ea(t){var o=function(t,o){if("object"!==oa(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==oa(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===oa(o)?o:String(o)}function ra(t,o,e){return(o=ea(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function ia(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 na(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?ia(Object(e),!0).forEach((function(o){ra(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ia(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function aa(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. "}Qn.produceWithPatches.bind(Qn),Qn.setAutoFreeze.bind(Qn),Qn.setUseProxies.bind(Qn),Qn.applyPatches.bind(Qn),Qn.createDraft.bind(Qn),Qn.finishDraft.bind(Qn);var ca="function"==typeof Symbol&&Symbol.observable||"@@observable",la=function(){return Math.random().toString(36).substring(7).split("").join(".")},sa={INIT:"@@redux/INIT"+la(),REPLACE:"@@redux/REPLACE"+la(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+la()}};function fa(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(aa(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(aa(1));return e(fa)(t,o)}if("function"!=typeof t)throw new Error(aa(2));var i=t,n=o,a=[],c=a,l=!1;function s(){c===a&&(c=a.slice())}function f(){if(l)throw new Error(aa(3));return n}function p(t){if("function"!=typeof t)throw new Error(aa(4));if(l)throw new Error(aa(5));var o=!0;return s(),c.push(t),function(){if(o){if(l)throw new Error(aa(6));o=!1,s();var e=c.indexOf(t);c.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(aa(7));if(void 0===t.type)throw new Error(aa(8));if(l)throw new Error(aa(9));try{l=!0,n=i(n,t)}finally{l=!1}for(var o=a=c,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:sa.INIT}),(r={dispatch:d,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(aa(10));i=t,d({type:sa.REPLACE})}})[ca]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(aa(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[ca]=function(){return this},t},r}function pa(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:sa.INIT}))throw new Error(aa(12));if(void 0===e(void 0,{type:sa.PROBE_UNKNOWN_ACTION()}))throw new Error(aa(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},c=0;c<a.length;c++){var l=a[c],s=e[l],f=t[l],p=s(f,o);if(void 0===p)throw o&&o.type,new Error(aa(14));i[l]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function da(){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 ua(){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(aa(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=da.apply(void 0,n)(e.dispatch),na(na({},e),{},{dispatch:r})}}}function ha(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 ga=ha();ga.withExtraArgument=ha;var ya,ba=ga,ma=(ya=function(t,o){return ya=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])},ya(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}ya(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),va=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:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function c(n){return function(c){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,c])}}},Oa=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},Sa=Object.defineProperty,xa=Object.defineProperties,wa=Object.getOwnPropertyDescriptors,Ca=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,Ea=Object.prototype.propertyIsEnumerable,Ra=function(t,o,e){return o in t?Sa(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Ia=function(t,o){for(var e in o||(o={}))Na.call(o,e)&&Ra(t,e,o[e]);if(Ca)for(var r=0,i=Ca(o);r<i.length;r++){e=i[r];Ea.call(o,e)&&Ra(t,e,o[e])}return t},La=function(t,o){return xa(t,wa(o))},Wa="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?da:da.apply(null,arguments)};var Ua=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 ma(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,Oa([void 0],t[0].concat(this)))):new(o.bind.apply(o,Oa([void 0],t.concat(this))))},o}(Array),ka=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 ma(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,Oa([void 0],t[0].concat(this)))):new(o.bind.apply(o,Oa([void 0],t.concat(this))))},o}(Array);function Ba(t){return an(t)?ta(t,(function(){})):t}function Fa(){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 Ua;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(ba.withExtraArgument(e.extraArgument)):r.push(ba));return r}(t)}}function za(t){var o,e=Fa(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,c=void 0===a?e():a,l=r.devTools,s=void 0===l||l,f=r.preloadedState,p=void 0===f?void 0:f,d=r.enhancers,u=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=pa(n)}var h=c;"function"==typeof h&&(h=h(e));var g=ua.apply(void 0,h),y=da;s&&(y=Wa(Ia({trace:!1},"object"==typeof s&&s)));var b=new ka(g),m=b;return Array.isArray(u)?m=Oa([g],u):"function"==typeof u&&(m=u(b)),fa(o,p,y.apply(void 0,m))}function Aa(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 Ia(Ia({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 _a(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:Ba(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},c={},l={};function s(){var o="function"==typeof t.extraReducers?_a(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,l=o[2],s=void 0===l?void 0:l,f=Ia(Ia({},i),c);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?_a(o):[o,e,r],a=n[0],c=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ba(t())};else{var s=Ba(t);i=function(){return s}}function f(t,o){void 0===t&&(t=i());var e=Oa([a[o.type]],c.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[l]),e.reduce((function(t,e){if(e){var r;if(nn(t))return void 0===(r=e(t,o))?t:r;if(an(t))return ta(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)}s&&t.addDefaultCase(s)}))}return n.forEach((function(t){var e,r,n=i[t],s=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,c[s]=e,l[t]=r?Aa(s,r):Aa(s)})),{name:o,reducer:function(t,o){return e||(e=s()),e(t,o)},actions:l,caseReducers:a,getInitialState:function(){return e||(e=s()),e.getInitialState()}}}var Za=["name","message","stack","code"],Ka=function(t,o){this.payload=t,this.meta=o},ja=function(t,o){this.payload=t,this.meta=o},$a=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Za;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function Ma(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=Aa(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:La(Ia({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Aa(t+"/pending",(function(t,o,e){return{payload:void 0,meta:La(Ia({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Aa(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||$a)(t||"Rejected"),meta:La(Ia({},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(c,l,s){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 u(t){f=t,d.abort()}var h=function(){return a=this,h=null,g=function(){var a,h,g,y,b,m;return va(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:l,extra:s}),null===(O=y)||"object"!=typeof O||"function"!=typeof O.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"})}))})),c(i(p,t,null==(h=null==e?void 0:e.getPendingMeta)?void 0:h.call(e,{requestId:p,arg:t},{getState:l,extra:s}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:c,getState:l,extra:s,requestId:p,signal:d.signal,abort:u,rejectWithValue:function(t,o){return new Ka(t,o)},fulfillWithValue:function(t,o){return new ja(t,o)}})).then((function(o){if(o instanceof Ka)throw o;return o instanceof ja?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 Ka?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||c(g),[2,g]}var O}))},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,h)).next())}));var a,h,g}();return Object.assign(h,{abort:u,requestId:p,arg:t,unwrap:function(){return h.then(Ma)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Da="listenerMiddleware";Aa(Da+"/add"),Aa(Da+"/removeAll"),Aa(Da+"/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[Hn];return Yn.get(o,t)},set:function(o){var e=this[Hn];Yn.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Hn];if(!i.P)switch(i.i){case 5:r(i)&&kn(i);break;case 4:e(i)&&kn(i)}}}function e(t){for(var o=t.t,e=t.k,r=Gn(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Hn){var a=o[n];if(void 0===a&&!sn(o,n))return!0;var c=e[n],l=c&&c[Hn];if(l?l.t!==a:!pn(c,a))return!0}}var s=!!o[Hn];return r.length!==Gn(o).length+(s?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=Vn(e);delete n[Hn];for(var a=Gn(n),c=0;c<a.length;c++){var l=a[c];n[l]=t(l,o||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:On(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Hn,{value:n,writable:!0}),i},S:function(t,e,i){i?nn(e)&&e[Hn].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Hn];if(e){var i=e.t,n=e.k,a=e.R,c=e.i;if(4===c)cn(n,(function(o){o!==Hn&&(void 0!==i[o]||sn(i,o)?a[o]||t(n[o]):(a[o]=!0,kn(e)))})),cn(i,(function(t){void 0!==n[t]||sn(n,t)||(a[t]=!1,kn(e))}));else if(5===c){if(r(e)&&(kn(e),a.length=!0),n.length<i.length)for(var l=n.length;l<i.length;l++)a[l]=!1;else for(var s=i.length;s<n.length;s++)a[s]=!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 Ha{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=za({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?n.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}:n.reducer(t,o)});return window.ftReduxStores[r.name]=new Ha(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Vi,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,i=t[r];return i?(...t)=>{const o=i(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Ta=Object.freeze({__proto__:null,FtCommandQueue:Vi,FtLitElementRedux:en,FtReduxStore:Ha,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)=>!le(t,o),attribute:!1,...o};xo(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 Ga=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 Va=Symbol("elementInternals");var qa,Ya,Ja,Xa,Qa=Object.freeze({__proto__:null,toFtFormComponent:function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Va].form}constructor(...t){super(t),this[Va]=this.attachInternals(),this[Va].role=o}setFormValue(t){this[Va].setFormValue(t)}}}});const tc=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ja=null===(Ya=null===(qa=window.safari)||void 0===qa?void 0:qa.pushNotification)||void 0===Ya?void 0:Ya.toString())&&void 0!==Ja?Ja:""),oc="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(Xa=window.ftGlobals)&&void 0!==Xa?Xa:{lit:vo,litDecorators:Ro,litRepeat:Ko,litClassMap:$o,litStyleMap:To,litUnsafeHTML:qo,wcUtils:{...te,...Qo,...ee,...ie,...ue,...br,...Sr,...wi,...gr,...Fi,...zi,...se,...ji,...Hi,...Ti,...Gi,...Ta,...Ii,...Ga,...Qa,isSafari:tc,isTouchScreen:oc}};const ec=ge.extend("--ft-ripple-color","",yr.colorContent),rc={color:ec,backgroundColor:ge.extend("--ft-ripple-background-color","",ec),opacityContentOnSurfacePressed:ge.external(yr.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ge.external(yr.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ge.external(yr.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ge.external(yr.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ge.create("--ft-ripple-border-radius","","SIZE","0px")},ic=ge.extend("--ft-ripple-color","",yr.colorPrimary),nc={color:ic,backgroundColor:ge.extend("--ft-ripple-background-color","",ic)},ac=ge.extend("--ft-ripple-color","",yr.colorSecondary),cc={color:ac,backgroundColor:ge.extend("--ft-ripple-background-color","",ac)},lc=pt`
|
|
177
177
|
:host {
|
|
178
178
|
display: contents;
|
|
179
179
|
}
|
|
@@ -186,7 +186,7 @@ function(t){return(o,e)=>{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: ${rc.borderRadius};
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
.ft-ripple .ft-ripple--background,
|
|
@@ -220,27 +220,27 @@ function(t){return(o,e)=>{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: ${rc.backgroundColor};
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
.ft-ripple .ft-ripple--effect {
|
|
227
|
-
background-color: ${
|
|
227
|
+
background-color: ${rc.color};
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
231
|
-
background-color: ${
|
|
231
|
+
background-color: ${cc.backgroundColor};
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
235
|
-
background-color: ${
|
|
235
|
+
background-color: ${cc.color};
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
239
|
-
background-color: ${
|
|
239
|
+
background-color: ${nc.backgroundColor};
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
243
|
-
background-color: ${
|
|
243
|
+
background-color: ${nc.color};
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
.ft-ripple .ft-ripple--background {
|
|
@@ -270,22 +270,22 @@ function(t){return(o,e)=>{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: ${rc.opacityContentOnSurfaceHover};
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
277
|
-
opacity: ${
|
|
277
|
+
opacity: ${rc.opacityContentOnSurfaceSelected};
|
|
278
278
|
}
|
|
279
279
|
|
|
280
280
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
281
|
-
opacity: ${
|
|
281
|
+
opacity: ${rc.opacityContentOnSurfaceFocused};
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
285
|
-
opacity: ${
|
|
285
|
+
opacity: ${rc.opacityContentOnSurfacePressed};
|
|
286
286
|
transform: translate(-50%, -50%) scale(1);
|
|
287
287
|
}
|
|
288
|
-
`;var
|
|
288
|
+
`;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,c=t.length-1;c>=0;c--)(i=t[c])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fc extends Bi{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 re(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 re(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 Yt`
|
|
289
289
|
<style>
|
|
290
290
|
.ft-ripple .ft-ripple--effect {
|
|
291
291
|
left: ${this.originX}px;
|
|
@@ -296,4 +296,4 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
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 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()}}
|
|
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()}}fc.elementDefinitions={},fc.styles=lc,sc([xo({type:Boolean})],fc.prototype,"primary",void 0),sc([xo({type:Boolean})],fc.prototype,"secondary",void 0),sc([xo({type:Boolean})],fc.prototype,"unbounded",void 0),sc([xo({type:Boolean})],fc.prototype,"activated",void 0),sc([xo({type:Boolean})],fc.prototype,"selected",void 0),sc([xo({type:Boolean})],fc.prototype,"disabled",void 0),sc([wo()],fc.prototype,"hovered",void 0),sc([wo()],fc.prototype,"focused",void 0),sc([wo()],fc.prototype,"pressed",void 0),sc([wo()],fc.prototype,"rippling",void 0),sc([wo()],fc.prototype,"originX",void 0),sc([wo()],fc.prototype,"originY",void 0),sc([No(".ft-ripple")],fc.prototype,"ripple",void 0),sc([No(".ft-ripple--effect")],fc.prototype,"rippleEffect",void 0),fe("ft-ripple")(fc),t.FtRipple=fc,t.FtRippleCssVariables=rc,t.FtRipplePrimaryCssVariables=nc,t.FtRippleSecondaryCssVariables=cc,t.styles=lc}({});
|