@fluid-topics/ft-reader-page-title 1.1.70 → 1.1.71
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-reader-page-title.light.js +110 -101
- package/build/ft-reader-page-title.min.js +274 -214
- package/package.json +5 -5
|
@@ -1,5 +1,169 @@
|
|
|
1
|
-
!function(t){
|
|
2
|
-
|
|
1
|
+
"use strict";(()=>{var Ds=Object.defineProperty;var T=(o,e)=>{for(var t in e)Ds(o,t,{get:e[t],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let o=window.HTMLElement,e=window.customElements.define,t=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(x,b){if(x=x.toLowerCase(),this._getDefinition(x)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${x}" has already been used with this registry`);if(this._definitionsByClass.get(b)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=b.prototype.attributeChangedCallback,A=new Set(b.observedAttributes||[]);m(b,A,S);let L={elementClass:b,connectedCallback:b.prototype.connectedCallback,disconnectedCallback:b.prototype.disconnectedCallback,adoptedCallback:b.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:b.formAssociated,formAssociatedCallback:b.prototype.formAssociatedCallback,formDisabledCallback:b.prototype.formDisabledCallback,formResetCallback:b.prototype.formResetCallback,formStateRestoreCallback:b.prototype.formStateRestoreCallback,observedAttributes:A};this._definitionsByTag.set(x,L),this._definitionsByClass.set(b,L);let H=t.call(n,x);H||(H=u(x),e.call(n,x,H)),this===window.customElements&&(s.set(b,L),L.standInClass=H);let k=this._awaitingUpgrade.get(x);if(k){this._awaitingUpgrade.delete(x);for(let R of k)a.delete(R),y(R,L,!0)}let N=this._whenDefinedPromises.get(x);return N!==void 0&&(N.resolve(b),this._whenDefinedPromises.delete(x)),b}upgrade(){O.push(this),n.upgrade.apply(n,arguments),O.pop()}get(x){return this._definitionsByTag.get(x)?.elementClass}_getDefinition(x){return this._definitionsByTag.get(x)}whenDefined(x){let b=this._getDefinition(x);if(b!==void 0)return Promise.resolve(b.elementClass);let S=this._whenDefinedPromises.get(x);return S===void 0&&(S={},S.promise=new Promise(A=>S.resolve=A),this._whenDefinedPromises.set(x,S)),S.promise}_upgradeWhenDefined(x,b,S){let A=this._awaitingUpgrade.get(b);A||this._awaitingUpgrade.set(b,A=new Set),S?A.add(x):A.delete(x)}};let c;window.HTMLElement=function(){let b=c;if(b)return c=void 0,b;let S=s.get(this.constructor);if(!S)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return b=Reflect.construct(o,[],S.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),i.set(b,S),b},window.HTMLElement.prototype=o.prototype;let d=x=>x===document||x instanceof ShadowRoot,h=x=>{let b=x.getRootNode();if(!d(b)){let S=O[O.length-1];if(S instanceof CustomElementRegistry)return S;b=S.getRootNode(),d(b)||(b=l.get(b)?.getRootNode()||document)}return b.customElements},u=x=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(o,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let A=h(S)||window.customElements,L=A._getDefinition(x);return L?y(S,L):a.set(S,A),S}connectedCallback(){let S=i.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!0)}disconnectedCallback(){let S=i.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let S=i.get(this);S&&S.formAssociated&&S?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let S=i.get(this);S?.formAssociated&&S?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let S=i.get(this);S?.formAssociated&&S?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let S=i.get(this);S?.formAssociated&&S?.formStateRestoreCallback?.apply(this,arguments)}},m=(x,b,S)=>{if(b.size===0||S===void 0)return;let A=x.prototype.setAttribute;A&&(x.prototype.setAttribute=function(k,N){let R=k.toLowerCase();if(b.has(R)){let $=this.getAttribute(R);A.call(this,R,N),S.call(this,R,$,N)}else A.call(this,R,N)});let L=x.prototype.removeAttribute;L&&(x.prototype.removeAttribute=function(k){let N=k.toLowerCase();if(b.has(N)){let R=this.getAttribute(N);L.call(this,N),S.call(this,N,R,null)}else L.call(this,N)});let H=x.prototype.toggleAttribute;H&&(x.prototype.toggleAttribute=function(k,N){let R=k.toLowerCase();if(b.has(R)){let $=this.getAttribute(R);H.call(this,R,N);let D=this.getAttribute(R);S.call(this,R,$,D)}else H.call(this,R,N)})},g=x=>{let b=Object.getPrototypeOf(x);if(b!==window.HTMLElement)return b===o?Object.setPrototypeOf(x,window.HTMLElement):g(b)},y=(x,b,S=!1)=>{Object.setPrototypeOf(x,b.elementClass.prototype),i.set(x,b),c=x;try{new b.elementClass}catch{g(b.elementClass),new b.elementClass}b.attributeChangedCallback&&b.observedAttributes.forEach(A=>{x.hasAttribute(A)&&b.attributeChangedCallback.call(x,A,null,x.getAttribute(A))}),S&&b.connectedCallback&&x.isConnected&&b.connectedCallback.call(x)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(x){let b=v.apply(this,arguments);return x.customElements&&(b.customElements=x.customElements),b};let O=[document],w=(x,b,S=void 0)=>{let A=(S?Object.getPrototypeOf(S):x.prototype)[b];x.prototype[b]=function(){O.push(this);let L=A.apply(S||this,arguments);return L!==void 0&&l.set(L,this),O.pop(),L}};w(ShadowRoot,"createElement",document),w(ShadowRoot,"importNode",document),w(Element,"insertAdjacentHTML");let C=(x,b)=>{let S=Object.getOwnPropertyDescriptor(x.prototype,b);Object.defineProperty(x.prototype,b,{...S,set(A){O.push(this),S.set.call(this,A),O.pop()}})};if(C(Element,"innerHTML"),C(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let x=new WeakMap,b=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...k){let N=b.call(this,...k);return x.set(N,this),N},S.forEach(k=>{let N=window.ElementInternals.prototype,R=N[k];N[k]=function(...$){let D=x.get(this);if(i.get(D).formAssociated===!0)return R?.call(this,...$);throw new DOMException(`Failed to execute ${R} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class A extends Array{constructor(N){super(...N),this._elements=N}get value(){return this._elements.find(N=>N.checked===!0)?.value||""}}class L{constructor(N){let R=new Map;N.forEach(($,D)=>{let eo=$.getAttribute("name"),ui=R.get(eo)||[];this[+D]=$,ui.push($),R.set(eo,ui)}),this.length=N.length,R.forEach(($,D)=>{$&&($.length===1?this[D]=$[0]:this[D]=new A($))})}namedItem(N){return this[N]}}let H=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let k=H.get.call(this,[]),N=[];for(let R of k){let $=i.get(R);(!$||$.formAssociated===!0)&&N.push(R)}return new L(N)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(t,n,i)=>{if(n!==null)try{e.bind(window.customElements)(t,n,i)}catch(a){console.info(t,n,i,a)}}}var ho={};T(ho,{CSSResult:()=>tt,LitElement:()=>de,ReactiveElement:()=>te,_$LE:()=>fc,_$LH:()=>sc,adoptStyles:()=>gr,css:()=>P,defaultConverter:()=>yr,getCompatibleStyle:()=>Lt,html:()=>Ke,isServer:()=>Yf,noChange:()=>ve,notEqual:()=>so,nothing:()=>U,render:()=>uo,supportsAdoptingStyleSheets:()=>$t,svg:()=>ac,unsafeCSS:()=>Fe});var rr=globalThis,nr=rr.ShadowRoot&&(rr.ShadyCSS===void 0||rr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mi=Symbol(),hi=new WeakMap,or=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==mi)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(nr&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=hi.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&hi.set(t,e))}return e}toString(){return this.cssText}},gi=o=>new or(typeof o=="string"?o:o+"",void 0,mi);var to=(o,e)=>{if(nr)o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let n=document.createElement("style"),i=rr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)}},ir=nr?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let t="";for(let n of e.cssRules)t+=n.cssText;return gi(t)})(o):o;var{is:Bs,defineProperty:zs,getOwnPropertyDescriptor:Hs,getOwnPropertyNames:js,getOwnPropertySymbols:Ks,getPrototypeOf:Vs}=Object,ar=globalThis,yi=ar.trustedTypes,Gs=yi?yi.emptyScript:"",Zs=ar.reactiveElementPolyfillSupport,Nt=(o,e)=>o,At={toAttribute(o,e){switch(e){case Boolean:o=o?Gs:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let t=o;switch(e){case Boolean:t=o!==null;break;case Number:t=o===null?null:Number(o);break;case Object:case Array:try{t=JSON.parse(o)}catch{t=null}}return t}},sr=(o,e)=>!Bs(o,e),bi={attribute:!0,type:String,converter:At,reflect:!1,hasChanged:sr};Symbol.metadata??=Symbol("metadata"),ar.litPropertyMetadata??=new WeakMap;var Le=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=bi){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,t);i!==void 0&&zs(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){let{get:i,set:a}=Hs(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??bi}static _$Ei(){if(this.hasOwnProperty(Nt("elementProperties")))return;let e=Vs(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Nt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Nt("properties"))){let t=this.properties,n=[...js(t),...Ks(t)];for(let i of n)this.createProperty(i,t[i])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[n,i]of t)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[t,n]of this.elementProperties){let i=this._$Eu(t,n);i!==void 0&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)t.unshift(ir(i))}else e!==void 0&&t.push(ir(e));return t}static _$Eu(e,t){let n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.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(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return to(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:At).toAttribute(t,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,t){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:At;this._$Em=i,this[i]=s.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??sr)(i?a:this[e],t))return;this.C(e,t,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,n){this._$AL.has(e)||this._$AL.set(e,t),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(t)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};Le.elementStyles=[],Le.shadowRootOptions={mode:"open"},Le[Nt("elementProperties")]=new Map,Le[Nt("finalized")]=new Map,Zs?.({ReactiveElement:Le}),(ar.reactiveElementVersions??=[]).push("2.0.2");var oo=globalThis,cr=oo.trustedTypes,xi=cr?cr.createPolicy("lit-html",{createHTML:o=>o}):void 0,no="$lit$",le=`lit$${(Math.random()+"").slice(9)}$`,io="?"+le,qs=`<${io}>`,Me=document,lr=()=>Me.createComment(""),It=o=>o===null||typeof o!="object"&&typeof o!="function",Ei=Array.isArray,Ni=o=>Ei(o)||typeof o?.[Symbol.iterator]=="function",ro=`[
|
|
2
|
+
\f\r]`,Rt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,vi=/-->/g,Si=/>/g,ke=RegExp(`>|${ro}(?:([^\\s"'>=/]+)(${ro}*=${ro}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Oi=/'/g,wi=/"/g,Ai=/^(?:script|style|textarea|title)$/i,Ri=o=>(e,...t)=>({_$litType$:o,strings:e,values:t}),Ii=Ri(1),Pi=Ri(2),V=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),Ci=new WeakMap,Te=Me.createTreeWalker(Me,129);function _i(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return xi!==void 0?xi.createHTML(e):e}var $i=(o,e)=>{let t=o.length-1,n=[],i,a=e===2?"<svg>":"",s=Rt;for(let l=0;l<t;l++){let c=o[l],d,h,u=-1,m=0;for(;m<c.length&&(s.lastIndex=m,h=s.exec(c),h!==null);)m=s.lastIndex,s===Rt?h[1]==="!--"?s=vi:h[1]!==void 0?s=Si:h[2]!==void 0?(Ai.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=ke):h[3]!==void 0&&(s=ke):s===ke?h[0]===">"?(s=i??Rt,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?ke:h[3]==='"'?wi:Oi):s===wi||s===Oi?s=ke:s===vi||s===Si?s=Rt:(s=ke,i=void 0);let g=s===ke&&o[l+1].startsWith("/>")?" ":"";a+=s===Rt?c+qs:u>=0?(n.push(d),c.slice(0,u)+no+c.slice(u)+le+g):c+le+(u===-2?l:g)}return[_i(o,a+(o[t]||"<?>")+(e===2?"</svg>":"")),n]},Pt=class o{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[d,h]=$i(e,t);if(this.el=o.createElement(d,n),Te.currentNode=this.el.content,t===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=Te.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(no)){let m=h[s++],g=i.getAttribute(u).split(le),y=/([.?@])?(.*)/.exec(m);c.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?dr:y[1]==="?"?pr:y[1]==="@"?ur:We}),i.removeAttribute(u)}else u.startsWith(le)&&(c.push({type:6,index:a}),i.removeAttribute(u));if(Ai.test(i.tagName)){let u=i.textContent.split(le),m=u.length-1;if(m>0){i.textContent=cr?cr.emptyScript:"";for(let g=0;g<m;g++)i.append(u[g],lr()),Te.nextNode(),c.push({type:2,index:++a});i.append(u[m],lr())}}}else if(i.nodeType===8)if(i.data===io)c.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(le,u+1))!==-1;)c.push({type:7,index:a}),u+=le.length-1}a++}}static createElement(e,t){let n=Me.createElement("template");return n.innerHTML=e,n}};function Ue(o,e,t=o,n){if(e===V)return e;let i=n!==void 0?t._$Co?.[n]:t._$Cl,a=It(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(o),i._$AT(o,t,n)),n!==void 0?(t._$Co??=[])[n]=i:t._$Cl=i),i!==void 0&&(e=Ue(o,i._$AS(o,e.values),i,n)),e}var fr=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,i=(e?.creationScope??Me).importNode(t,!0);Te.currentNode=i;let a=Te.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new _t(a,a.nextSibling,this,e):c.type===1?d=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(d=new hr(a,this,e)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=Te.nextNode(),s++)}return Te.currentNode=Me,i}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}},_t=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,i){this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Ue(this,e,t),It(e)?e===W||e==null||e===""?(this._$AH!==W&&this._$AR(),this._$AH=W):e!==this._$AH&&e!==V&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ni(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==W&&It(this._$AH)?this._$AA.nextSibling.data=e:this.$(Me.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Pt.createElement(_i(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(t);else{let a=new fr(i,this),s=a.u(this.options);a.p(t),this.$(s),this._$AH=a}}_$AC(e){let t=Ci.get(e.strings);return t===void 0&&Ci.set(e.strings,t=new Pt(e)),t}T(e){Ei(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,n,i=0;for(let a of e)i===t.length?t.push(n=new o(this.k(lr()),this.k(lr()),this,this.options)):n=t[i],n._$AI(a),i++;i<t.length&&(this._$AR(n&&n._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},We=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,i,a){this.type=1,this._$AH=W,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=W}_$AI(e,t=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Ue(this,e,t,0),s=!It(e)||e!==this._$AH&&e!==V,s&&(this._$AH=e);else{let l=e,c,d;for(e=a[0],c=0;c<a.length-1;c++)d=Ue(this,l[n+c],t,c),d===V&&(d=this._$AH[c]),s||=!It(d)||d!==this._$AH[c],d===W?e=W:e!==W&&(e+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(e)}O(e){e===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},dr=class extends We{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===W?void 0:e}},pr=class extends We{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==W)}},ur=class extends We{constructor(e,t,n,i,a){super(e,t,n,i,a),this.type=5}_$AI(e,t=this){if((e=Ue(this,e,t,0)??W)===V)return;let n=this._$AH,i=e===W&&n!==W||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==W&&(n===W||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},hr=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Ue(this,e)}},Li={j:no,P:le,A:io,C:1,M:$i,L:fr,R:Ni,V:Ue,D:_t,I:We,H:pr,N:ur,U:dr,B:hr},Ys=oo.litHtmlPolyfillSupport;Ys?.(Pt,_t),(oo.litHtmlVersions??=[]).push("3.1.0");var mr=globalThis,$t=mr.ShadowRoot&&(mr.ShadyCSS===void 0||mr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ao=Symbol(),ki=new WeakMap,tt=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==ao)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if($t&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=ki.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&ki.set(t,e))}return e}toString(){return this.cssText}},Fe=o=>new tt(typeof o=="string"?o:o+"",void 0,ao),P=(o,...e)=>{let t=o.length===1?o[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[a+1],o[0]);return new tt(t,o,ao)},gr=(o,e)=>{if($t)o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let n=document.createElement("style"),i=mr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)}},Lt=$t?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let t="";for(let n of e.cssRules)t+=n.cssText;return Fe(t)})(o):o;var{is:Js,defineProperty:Xs,getOwnPropertyDescriptor:Qs,getOwnPropertyNames:ec,getOwnPropertySymbols:tc,getPrototypeOf:rc}=Object,br=globalThis,Ti=br.trustedTypes,oc=Ti?Ti.emptyScript:"",nc=br.reactiveElementPolyfillSupport,kt=(o,e)=>o,yr={toAttribute(o,e){switch(e){case Boolean:o=o?oc:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let t=o;switch(e){case Boolean:t=o!==null;break;case Number:t=o===null?null:Number(o);break;case Object:case Array:try{t=JSON.parse(o)}catch{t=null}}return t}},so=(o,e)=>!Js(o,e),Mi={attribute:!0,type:String,converter:yr,reflect:!1,hasChanged:so};Symbol.metadata??=Symbol("metadata"),br.litPropertyMetadata??=new WeakMap;var te=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=Mi){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,t);i!==void 0&&Xs(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){let{get:i,set:a}=Qs(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Mi}static _$Ei(){if(this.hasOwnProperty(kt("elementProperties")))return;let e=rc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(kt("properties"))){let t=this.properties,n=[...ec(t),...tc(t)];for(let i of n)this.createProperty(i,t[i])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[n,i]of t)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[t,n]of this.elementProperties){let i=this._$Eu(t,n);i!==void 0&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)t.unshift(Lt(i))}else e!==void 0&&t.push(Lt(e));return t}static _$Eu(e,t){let n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.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(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return gr(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:yr).toAttribute(t,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,t){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:yr;this._$Em=i,this[i]=s.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??so)(i?a:this[e],t))return;this.C(e,t,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,n){this._$AL.has(e)||this._$AL.set(e,t),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(t)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};te.elementStyles=[],te.shadowRootOptions={mode:"open"},te[kt("elementProperties")]=new Map,te[kt("finalized")]=new Map,nc?.({ReactiveElement:te}),(br.reactiveElementVersions??=[]).push("2.0.2");var lo=globalThis,xr=lo.trustedTypes,Ui=xr?xr.createPolicy("lit-html",{createHTML:o=>o}):void 0,fo="$lit$",fe=`lit$${(Math.random()+"").slice(9)}$`,po="?"+fe,ic=`<${po}>`,ze=document,Mt=()=>ze.createComment(""),Ut=o=>o===null||typeof o!="object"&&typeof o!="function",Hi=Array.isArray,ji=o=>Hi(o)||typeof o?.[Symbol.iterator]=="function",co=`[
|
|
4
|
+
\f\r]`,Tt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Wi=/-->/g,Fi=/>/g,De=RegExp(`>|${co}(?:([^\\s"'>=/]+)(${co}*=${co}*(?:[^
|
|
5
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Di=/'/g,Bi=/"/g,Ki=/^(?:script|style|textarea|title)$/i,Vi=o=>(e,...t)=>({_$litType$:o,strings:e,values:t}),Ke=Vi(1),ac=Vi(2),ve=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),zi=new WeakMap,Be=ze.createTreeWalker(ze,129);function Gi(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ui!==void 0?Ui.createHTML(e):e}var Zi=(o,e)=>{let t=o.length-1,n=[],i,a=e===2?"<svg>":"",s=Tt;for(let l=0;l<t;l++){let c=o[l],d,h,u=-1,m=0;for(;m<c.length&&(s.lastIndex=m,h=s.exec(c),h!==null);)m=s.lastIndex,s===Tt?h[1]==="!--"?s=Wi:h[1]!==void 0?s=Fi:h[2]!==void 0?(Ki.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=De):h[3]!==void 0&&(s=De):s===De?h[0]===">"?(s=i??Tt,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?De:h[3]==='"'?Bi:Di):s===Bi||s===Di?s=De:s===Wi||s===Fi?s=Tt:(s=De,i=void 0);let g=s===De&&o[l+1].startsWith("/>")?" ":"";a+=s===Tt?c+ic:u>=0?(n.push(d),c.slice(0,u)+fo+c.slice(u)+fe+g):c+fe+(u===-2?l:g)}return[Gi(o,a+(o[t]||"<?>")+(e===2?"</svg>":"")),n]},Wt=class o{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[d,h]=Zi(e,t);if(this.el=o.createElement(d,n),Be.currentNode=this.el.content,t===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=Be.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(fo)){let m=h[s++],g=i.getAttribute(u).split(fe),y=/([.?@])?(.*)/.exec(m);c.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Sr:y[1]==="?"?Or:y[1]==="@"?wr:je}),i.removeAttribute(u)}else u.startsWith(fe)&&(c.push({type:6,index:a}),i.removeAttribute(u));if(Ki.test(i.tagName)){let u=i.textContent.split(fe),m=u.length-1;if(m>0){i.textContent=xr?xr.emptyScript:"";for(let g=0;g<m;g++)i.append(u[g],Mt()),Be.nextNode(),c.push({type:2,index:++a});i.append(u[m],Mt())}}}else if(i.nodeType===8)if(i.data===po)c.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(fe,u+1))!==-1;)c.push({type:7,index:a}),u+=fe.length-1}a++}}static createElement(e,t){let n=ze.createElement("template");return n.innerHTML=e,n}};function He(o,e,t=o,n){if(e===ve)return e;let i=n!==void 0?t._$Co?.[n]:t._$Cl,a=Ut(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(o),i._$AT(o,t,n)),n!==void 0?(t._$Co??=[])[n]=i:t._$Cl=i),i!==void 0&&(e=He(o,i._$AS(o,e.values),i,n)),e}var vr=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,i=(e?.creationScope??ze).importNode(t,!0);Be.currentNode=i;let a=Be.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new rt(a,a.nextSibling,this,e):c.type===1?d=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(d=new Cr(a,this,e)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=Be.nextNode(),s++)}return Be.currentNode=ze,i}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}},rt=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,i){this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=He(this,e,t),Ut(e)?e===U||e==null||e===""?(this._$AH!==U&&this._$AR(),this._$AH=U):e!==this._$AH&&e!==ve&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ji(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==U&&Ut(this._$AH)?this._$AA.nextSibling.data=e:this.$(ze.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Wt.createElement(Gi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(t);else{let a=new vr(i,this),s=a.u(this.options);a.p(t),this.$(s),this._$AH=a}}_$AC(e){let t=zi.get(e.strings);return t===void 0&&zi.set(e.strings,t=new Wt(e)),t}T(e){Hi(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,n,i=0;for(let a of e)i===t.length?t.push(n=new o(this.k(Mt()),this.k(Mt()),this,this.options)):n=t[i],n._$AI(a),i++;i<t.length&&(this._$AR(n&&n._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},je=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,i,a){this.type=1,this._$AH=U,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=U}_$AI(e,t=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=He(this,e,t,0),s=!Ut(e)||e!==this._$AH&&e!==ve,s&&(this._$AH=e);else{let l=e,c,d;for(e=a[0],c=0;c<a.length-1;c++)d=He(this,l[n+c],t,c),d===ve&&(d=this._$AH[c]),s||=!Ut(d)||d!==this._$AH[c],d===U?e=U:e!==U&&(e+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(e)}O(e){e===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Sr=class extends je{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===U?void 0:e}},Or=class extends je{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==U)}},wr=class extends je{constructor(e,t,n,i,a){super(e,t,n,i,a),this.type=5}_$AI(e,t=this){if((e=He(this,e,t,0)??U)===ve)return;let n=this._$AH,i=e===U&&n!==U||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==U&&(n===U||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Cr=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){He(this,e)}},sc={j:fo,P:fe,A:po,C:1,M:Zi,L:vr,R:ji,V:He,D:rt,I:je,H:Or,N:wr,U:Sr,B:Cr},cc=lo.litHtmlPolyfillSupport;cc?.(Wt,rt),(lo.litHtmlVersions??=[]).push("3.1.0");var uo=(o,e,t)=>{let n=t?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=t?.renderBefore??null;n._$litPart$=i=new rt(e.insertBefore(Mt(),a),a,void 0,t??{})}return i._$AI(o),i};var de=class extends te{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=uo(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ve}};de._$litElement$=!0,de.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:de});var lc=globalThis.litElementPolyfillSupport;lc?.({LitElement:de});var fc={_$AK:(o,e,t)=>{o._$AK(e,t)},_$AL:o=>o._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Yf=!1;var mo={};T(mo,{customElement:()=>dc,eventOptions:()=>uc,property:()=>_,query:()=>hc,queryAll:()=>gc,queryAssignedElements:()=>bc,queryAssignedNodes:()=>xc,queryAsync:()=>yc,standardProperty:()=>qi,state:()=>Ft});var dc=o=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(o,e)}):customElements.define(o,e)};var pc={attribute:!0,type:String,converter:At,reflect:!1,hasChanged:sr},qi=(o=pc,e,t)=>{let{kind:n,metadata:i}=t,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(t.name,o),n==="accessor"){let{name:s}=t;return{set(l){let c=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,c,o)},init(l){return l!==void 0&&this.C(s,void 0,o),l}}}if(n==="setter"){let{name:s}=t;return function(l){let c=this[s];e.call(this,l),this.requestUpdate(s,c,o)}}throw Error("Unsupported decorator location: "+n)};function _(o){return(e,t)=>typeof t=="object"?qi(o,e,t):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(o,e,t)}function Ft(o){return _({...o,state:!0,attribute:!1})}function uc(o){return(e,t)=>{let n=typeof e=="function"?e:e[t];Object.assign(n,o)}}var J=(o,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(o,e,t),t);function hc(o,e){return(t,n,i)=>{let a=s=>s.renderRoot?.querySelector(o)??null;if(e){let{get:s,set:l}=typeof n=="object"?t:i??(()=>{let c=Symbol();return{get(){return this[c]},set(d){this[c]=d}}})();return J(t,n,{get(){let c=s.call(this);return c===void 0&&(c=a(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return J(t,n,{get(){return a(this)}})}}var mc;function gc(o){return(e,t)=>J(e,t,{get(){return(this.renderRoot??(mc??=document.createDocumentFragment())).querySelectorAll(o)}})}function yc(o){return(e,t)=>J(e,t,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(o)??null}})}function bc(o){return(e,t)=>{let{slot:n,selector:i}=o??{},a="slot"+(n?`[name=${n}]`:":not([name])");return J(e,t,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(o)??[];return i===void 0?l:l.filter(c=>c.matches(i))}})}}function xc(o){return(e,t)=>{let{slot:n}=o??{},i="slot"+(n?`[name=${n}]`:":not([name])");return J(e,t,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(o)??[]}})}}var go={};T(go,{repeat:()=>Oc});var Se={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Oe=o=>(...e)=>({_$litDirective$:o,values:e}),re=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};var{D:vc}=Li;var Yi=()=>document.createComment(""),ot=(o,e,t)=>{let n=o._$AA.parentNode,i=e===void 0?o._$AB:e._$AA;if(t===void 0){let a=n.insertBefore(Yi(),i),s=n.insertBefore(Yi(),i);t=new vc(a,s,o,o.options)}else{let a=t._$AB.nextSibling,s=t._$AM,l=s!==o;if(l){let c;t._$AQ?.(o),t._$AM=o,t._$AP!==void 0&&(c=o._$AU)!==s._$AU&&t._$AP(c)}if(a!==i||l){let c=t._$AA;for(;c!==a;){let d=c.nextSibling;n.insertBefore(c,i),c=d}}}return t},we=(o,e,t=o)=>(o._$AI(e,t),o),Sc={},Ji=(o,e=Sc)=>o._$AH=e,Xi=o=>o._$AH,Er=o=>{o._$AP?.(!1,!0);let e=o._$AA,t=o._$AB.nextSibling;for(;e!==t;){let n=e.nextSibling;e.remove(),e=n}};var Qi=(o,e,t)=>{let n=new Map;for(let i=e;i<=t;i++)n.set(o[i],i);return n},Oc=Oe(class extends re{constructor(o){if(super(o),o.type!==Se.CHILD)throw Error("repeat() can only be used in text expressions")}ht(o,e,t){let n;t===void 0?t=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let l of o)i[s]=n?n(l,s):s,a[s]=t(l,s),s++;return{values:a,keys:i}}render(o,e,t){return this.ht(o,e,t).values}update(o,[e,t,n]){let i=Xi(o),{values:a,keys:s}=this.ht(e,t,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],c=[],d,h,u=0,m=i.length-1,g=0,y=a.length-1;for(;u<=m&&g<=y;)if(i[u]===null)u++;else if(i[m]===null)m--;else if(l[u]===s[g])c[g]=we(i[u],a[g]),u++,g++;else if(l[m]===s[y])c[y]=we(i[m],a[y]),m--,y--;else if(l[u]===s[y])c[y]=we(i[u],a[y]),ot(o,c[y+1],i[u]),u++,y--;else if(l[m]===s[g])c[g]=we(i[m],a[g]),ot(o,i[u],i[m]),m--,g++;else if(d===void 0&&(d=Qi(s,g,y),h=Qi(l,u,m)),d.has(l[u]))if(d.has(l[m])){let v=h.get(s[g]),O=v!==void 0?i[v]:null;if(O===null){let w=ot(o,i[u]);we(w,a[g]),c[g]=w}else c[g]=we(O,a[g]),ot(o,i[u],O),i[v]=null;g++}else Er(i[m]),m--;else Er(i[u]),u++;for(;g<=y;){let v=ot(o,c[y+1]);we(v,a[g]),c[g++]=v}for(;u<=m;){let v=i[u++];v!==null&&Er(v)}return this.dt=s,Ji(o,c),V}});var yo={};T(yo,{classMap:()=>wc});var wc=Oe(class extends re{constructor(o){if(super(o),o.type!==Se.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(e=>o[e]).join(" ")+" "}update(o,[e]){if(this.it===void 0){this.it=new Set,o.strings!==void 0&&(this.st=new Set(o.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let t=o.element.classList;for(let n of this.it)n in e||(t.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(t.add(n),this.it.add(n)):(t.remove(n),this.it.delete(n)))}return V}});var bo={};T(bo,{styleMap:()=>Ec});var ea="important",Cc=" !"+ea,Ec=Oe(class extends re{constructor(o){if(super(o),o.type!==Se.ATTRIBUTE||o.name!=="style"||o.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(o){return Object.keys(o).reduce((e,t)=>{let n=o[t];return n==null?e:e+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(o,[e]){let{style:t}=o.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?t.removeProperty(n):t[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(Cc);n.includes("-")||a?t.setProperty(n,a?i.slice(0,-11):i,a?ea:""):t[n]=i}}return V}});var xo={};T(xo,{UnsafeHTMLDirective:()=>nt,unsafeHTML:()=>Nc});var nt=class extends re{constructor(e){if(super(e),this.et=W,e.type!==Se.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===W||e==null)return this.vt=void 0,this.et=e;if(e===V)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let t=[e];return t.raw=t,this.vt={_$litType$:this.constructor.resultType,strings:t,values:[]}}};nt.directiveName="unsafeHTML",nt.resultType=1;var Nc=Oe(nt);var Oo={};T(Oo,{CacheRegistry:()=>oe});var So={};T(So,{CancelablePromise:()=>it,CanceledPromiseError:()=>Dt,cancelable:()=>vo});var Dt=class extends Error{constructor(e,t,n){super(e),this.canceledPromiseResult=t,this.canceledPromiseError=n}},it=class extends Promise{constructor(e){super((t,n)=>e(i=>{this.isCanceled?n(new Dt("Promise has been canceled",i)):t(i)},i=>{this.isCanceled?n(new Dt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},vo=o=>new it((e,t)=>o.then(e).catch(t));var oe=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,t){this.loaders[e]=t,this.finalContent.delete(e)}registerFinal(e,t){this.loaders[e]=t,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof it&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,t){this.forceClear(e),this.register(e,async()=>t),this.content[e]=t}setFinal(e,t){this.forceClear(e),this.registerFinal(e,async()=>t),this.content[e]=t}async get(e,t,n){if(this.content[e]===void 0){if(t=t??this.loaders[e],t==null)throw new Error("Unknown cache key "+e);let i=vo(t());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Co={};T(Co,{ClusteringHelper:()=>wo});var wo=class o{constructor(e,t,n,i){this.allResults=e,this.selectedResult=t,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,t){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata.map(s=>o.flattenMetadata(s));return t==null?a:a.find(s=>s.key===t)}static flattenMetadata(e){if(e.hierarchicalValues){let t=[],n=[];return e.hierarchicalValues.forEach(i=>{t.push(i.join(" > ")),i.length>2?n.push(`... > ${i[i.length-1]}`):n.push(i.join(" > "))}),{key:e.key,label:e.label,value:t.join(", "),displayValue:n.join(", ")}}else{let t=e.values.join(", ");return{key:e.key,label:e.label,value:t,displayValue:t}}}computeClustersItemsForMetadata(e,t,n="No value"){var i,a;let s=o.extractResultMetadata(this.selectedResult,e),l=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(d=>o.extractResultMetadata(d,e)).map(d=>d??{key:e,label:l,value:void 0,displayValue:n}).filter(d=>d.value!=s?.value).filter((d,h,u)=>u.findIndex(m=>m.value===d.value)===h).map(d=>({result:this.findBestResultForMetadataValue(e,d.value),metadata:d})).sort((d,h)=>this.compareMetadata(d.metadata.value,h.metadata.value,e,t))}compareMetadata(e,t,n,i){if(e==null)return-1;if(t==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=e.localeCompare(t,i,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(t=>e==t.key)}findBestResultForMetadataValue(e,t){let n=this.allResults.filter(c=>{var d;return((d=o.extractResultMetadata(c,e))===null||d===void 0?void 0:d.value)==t}),a=[...o.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==e)],s,l=-1;for(let c of n){let d=this.countMatchingMetadata(c,a);if(d>l&&(l=d,s=c,d===a.length))break}return s}countMatchingMetadata(e,t){return o.extractResultMetadata(e).filter(n=>t.some(i=>i.key===n.key&&i.value===n.value)).length}};var Eo={};T(Eo,{Debouncer:()=>Ve});var Ve=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,t){return this.callbacks=[e],this.debounce(t)}queue(e,t){return this.callbacks.push(e),this.debounce(t)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((t,n)=>{this.resolvePromise=t,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,t;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(t=this.resolvePromise)!==null&&t!==void 0?t:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Ao={};T(Ao,{customElement:()=>pe,isNumber:()=>na,jsonProperty:()=>ne,optionalNumberProperty:()=>Lc});var No={};T(No,{dateReviver:()=>Rc,deepEqual:()=>q,delay:()=>Nr,eventPathContainsMatchingElement:()=>Pc,flatDeep:()=>ra,last:()=>$c,minmax:()=>_c,parseDate:()=>oa,waitFor:()=>ta,waitUntil:()=>Ac});var Nr=o=>new Promise(e=>setTimeout(e,o));async function Ac(o,e=10,t=2e4){await ta(async()=>await o()||void 0,e,t)}async function ta(o,e=10,t=2e4){let n=await o(),i,a;for(i=a=performance.now();n==null&&(!t||a-i<t);)await Nr(e),n=await o(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function ra(o,e){return o.flatMap(t=>[t,...ra(e(t),e)])}function Rc(...o){return function(e,t){return o.includes(e)?oa(t):t}}function oa(o){return o.match(/^\d{4}-\d{2}-\d{2}$/)&&(o=o.replace(/-/g,"/")),o=o.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,t,n,i)=>t+n+":"+i),new Date(o)}function Ic(o,e){if(o===e)return!0;if(o&&e&&typeof o=="object"&&typeof e=="object"){if(o.constructor!==e.constructor)return!1;var t,n,i;if(Array.isArray(o)){if(t=o.length,t!=e.length)return!1;for(n=t;n--!==0;)if(!q(o[n],e[n]))return!1;return!0}if(o instanceof Map&&e instanceof Map){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;for(n of o.entries())if(!q(n[1],e.get(n[0])))return!1;return!0}if(o instanceof Set&&e instanceof Set){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;return!0}if(o.constructor===RegExp)return o.source===e.source&&o.flags===e.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===e.valueOf();if(i=Object.keys(o),t=i.length,t!==Object.keys(e).length)return!1;for(n=t;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=t;n--!==0;){var a=i[n];if(!q(o[a],e[a]))return!1}return!0}return o!==o&&e!==e}function q(o,e){try{return Ic(o,e)}catch{return!1}}function Pc(o,e,t=window.document.body){if(e.length>0){let n=o.composedPath();for(let i of n){if(i===t)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function _c(o,e,t){return Math.min(Math.max(o,e),t)}function $c(o){return o[o.length-1]}var pe=o=>e=>{window.customElements.get(o)||window.customElements.define(o,e)};function ne(o,e){let t=()=>JSON.parse(JSON.stringify(o));return _({type:Object,converter:{fromAttribute:n=>{if(n==null)return t();try{return JSON.parse(n)}catch{return t()}},toAttribute:n=>JSON.stringify(n)},hasChanged:(n,i)=>!q(n,i),...e??{}})}function Lc(o){return _({type:Object,converter:{fromAttribute:e=>{if(e!=null)return na(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...o??{}})}function na(o){return!isNaN(parseFloat(o))}var en={};T(en,{designSystemVariables:()=>Ar});var Qo={};T(Qo,{FtCssVariableFactory:()=>r,banner:()=>Uc,border:()=>Qc,breadcrumb:()=>Wc,button:()=>Mc,chart:()=>Jc,checkbox:()=>tl,chip:()=>Xc,collapsible:()=>qc,comboboxMultiSelect:()=>Vc,comboboxSingleSelect:()=>Kc,drawer:()=>Bc,floatingMenu:()=>jc,foundation:()=>f,modal:()=>Dc,notice:()=>el,notification:()=>nl,pageHeader:()=>Fc,popover:()=>Gc,radio:()=>ol,semantic:()=>p,setVariable:()=>kc,switch_:()=>Yc,tabs:()=>Zc,textArea:()=>Hc,textInput:()=>zc,toggle:()=>rl,tooltip:()=>il,typographies:()=>Bt,typographyBody1Medium:()=>Lo,typographyBody1Regular:()=>$o,typographyBody1Semibold:()=>ko,typographyBody2Medium:()=>Mo,typographyBody2MediumUnderline:()=>ia,typographyBody2Regular:()=>To,typographyBody2Semibold:()=>Uo,typographyCaption1Bold:()=>Vo,typographyCaption1Medium:()=>jo,typographyCaption1Semibold:()=>Ko,typographyCaption2Bold:()=>qo,typographyCaption2Medium:()=>Go,typographyCaption2Semibold:()=>Zo,typographyCaption3Bold:()=>Xo,typographyCaption3Medium:()=>Yo,typographyCaption3Semibold:()=>Jo,typographyDisplay:()=>Ro,typographyLabel1Bold:()=>Do,typographyLabel1Medium:()=>Wo,typographyLabel1Semibold:()=>Fo,typographyLabel2Bold:()=>Ho,typographyLabel2Medium:()=>Bo,typographyLabel2Semibold:()=>zo,typographyTitle1:()=>Io,typographyTitle2:()=>Po,typographyTitle3:()=>_o,typographyVariants:()=>Tc});var ue=o=>typeof o=="string"?Fe(o):o,r=class{static create(e,t,n,i){let a=l=>ue(l??i),s=P`var(${ue(e)}, ${a(i)})`;return s.name=e,s.description=t,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>P`var(${ue(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,t,n,i){let a=l=>n.get(l??i),s=P`var(${ue(e)}, ${a(i)})`;return s.name=e,s.description=t,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>P`var(${ue(e)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,t){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):ue(a??e.lastResortDefaultValue()),i=P`var(${ue(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=t,i.defaultCssValue=n,i.get=a=>P`var(${ue(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function kc(o,e){return ue(`${o.name}: ${e}`)}var f={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:r.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:r.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:r.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:r.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:r.create("--ft-icon-size-6","","SIZE","48px"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Ro={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},Io={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Po={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},_o={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},$o={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Lo={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ko={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},To={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Mo={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},ia={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Uo={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Wo={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Fo={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Do={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Bo={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},zo={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ho={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},jo={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ko={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Vo={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Go={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Zo={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},qo={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Yo={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Jo={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Xo={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Bt={display:Ro,"title-1":Io,"title-2":Po,"title-3":_o,"body-1-regular":$o,"body-1-medium":Lo,"body-1-semibold":ko,"body-2-regular":To,"body-2-medium":Mo,"body-2-medium-underline":ia,"body-2-semibold":Uo,"label-1-medium":Wo,"label-1-semibold":Fo,"label-1-bold":Do,"label-2-medium":Bo,"label-2-semibold":zo,"label-2-bold":Ho,"caption-1-medium":jo,"caption-1-semibold":Ko,"caption-1-bold":Vo,"caption-2-medium":Go,"caption-2-semibold":Zo,"caption-2-bold":qo,"caption-3-medium":Yo,"caption-3-semibold":Jo,"caption-3-bold":Xo},Tc=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var p={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",f.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",f.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",f.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",f.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",f.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",f.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",f.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",f.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",f.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",f.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",f.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",f.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",f.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",f.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",f.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",f.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",f.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",f.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
+
Also for action icons.`,f.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",f.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",f.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",f.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",f.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",f.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",f.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",f.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",f.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",f.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",f.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",f.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",f.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",f.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",f.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",f.colorGray80)};var Mc={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",f.spacing4),largeGap:r.extend("--ft-button-large-gap","",f.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",f.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",f.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:r.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",f.spacing3),smallGap:r.extend("--ft-button-small-gap","",f.spacing2),smallBorderRadius:r.extend("--ft-button-small-border-radius","",f.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",f.iconSize2),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",f.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",f.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",f.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",f.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",f.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",f.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",f.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",f.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",f.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",f.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",f.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",f.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",f.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",f.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",f.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",f.opacity40)};var Uc={iconSize:r.extend("--ft-banner-icon-size","",f.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-banner-horizontal-padding","",f.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",f.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",f.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",f.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",f.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",f.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly)};var Wc={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",f.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",f.spacing2),currentElementColor:r.extend("--ft-breadcrumb-current-element-color","",p.contentGlobalPrimary),iconColor:r.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var Fc={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",f.spacing12),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",f.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",f.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",f.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",f.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",f.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",f.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var Dc={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",f.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",f.opacity40),shadow:r.extend("--ft-modal-shadow","",f.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",f.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",f.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",f.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",f.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",f.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",f.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",f.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",f.spacing6),headerGap:r.extend("--ft-modal-header-gap","",f.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",f.borderRadiusM)};var Bc={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",f.opacity40),shadow:r.extend("--ft-drawer-shadow","",f.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",f.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",f.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",f.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",f.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",f.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",f.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",f.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",f.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",f.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",f.colorGray700)};var zc={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",f.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",f.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",f.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",f.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",f.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",f.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",f.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",f.opacity40)};var Hc={backgroundColor:r.extend("--ft-text-area-background-color","",f.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",f.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",f.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",f.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",f.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",f.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",f.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",f.borderRadiusM)};var jc={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",f.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",f.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",f.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",f.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",f.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",f.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",f.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface)};var Kc={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",f.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",f.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",f.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",f.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",f.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",f.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",f.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",f.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",f.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",f.opacity40)};var Vc={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",f.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",f.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",f.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",f.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",f.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",f.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",f.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",f.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",f.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",f.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",f.borderRadiusM)};var Gc={backgroundColor:r.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",f.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",f.spacing6),iconColor:r.extend("--ft-popover-icon-color","",p.contentGlobalSecondary),iconSize:r.extend("--ft-popover-icon-size","",f.iconSize2),titleColor:r.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:r.extend("--ft-popover-gap","",f.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",f.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",f.shadowElevation02)};var Zc={topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",f.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",f.borderRadiusS),labelHorizontalPadding:r.extend("--ft-tabs-label-horizontal-padding","",f.spacing4),labelVerticalPadding:r.extend("--ft-tabs-label-vertical-padding","",f.spacing3),labelGap:r.extend("--ft-tabs-label-gap","",f.spacing1),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",f.opacity8),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",f.opacity8),offActiveStateLayerOpacity:r.extend("--ft-tabs-off-active-state-layer-opacity","",f.opacity16),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",f.opacity40),offColor:r.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",f.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",f.opacity8),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",f.opacity16),onDisabledComponentOpacity:r.extend("--ft-tabs-on-disabled-component-opacity","",f.opacity40),onColor:r.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-tabs-icon-horizontal-padding","",f.spacing1),iconVerticalPadding:r.extend("--ft-tabs-icon-vertical-padding","",f.spacing4),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var qc={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",f.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",f.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",f.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",f.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",f.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",f.spacing3),color:r.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",f.iconSize3)};var Yc={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",f.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",f.spacing1),groupGap:r.extend("--ft-switch-group-gap","",f.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",f.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",f.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",f.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",f.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",f.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",f.opacity40),offColor:r.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",f.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",f.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",f.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",f.opacity40),onColor:r.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",f.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",f.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",f.borderRadiusS)};var Jc={color1Light:r.extend("--ft-chart-1-light","for area color charts",f.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",f.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",f.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",f.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",f.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",f.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",f.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",f.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",f.colorRed40),color5Base:r.extend("--ft-chart-5-base","",f.colorRed60),color6Light:r.extend("--ft-chart-6-light","",f.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",f.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",f.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",f.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",f.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",f.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",f.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",f.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",f.colorGray50),color10Base:r.extend("--ft-chart-10-base","",f.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",f.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",f.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",f.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",f.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",f.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",f.colorBrand200)};var Xc={largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",f.spacing4),largeVerticalPadding:r.extend("--ft-chip-large-vertical-padding","",f.spacing2),largeGap:r.extend("--ft-chip-large-gap","",f.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.extend("--ft-chip-large-border-radius","",f.borderRadiusPill),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",f.iconSize3),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",f.spacing3),mediumVerticalPadding:r.extend("--ft-chip-medium-vertical-padding","",f.spacing1),mediumGap:r.extend("--ft-chip-medium-gap","",f.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.extend("--ft-chip-medium-border-radius","",f.borderRadiusPill),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",f.iconSize2),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",f.spacing2),smallVerticalPadding:r.extend("--ft-chip-small-vertical-padding","",f.spacing05),smallGap:r.extend("--ft-chip-small-gap","",f.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.extend("--ft-chip-small-border-radius","",f.borderRadiusPill),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",f.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",p.contentGlobalPrimary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",p.contentGlobalPrimary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var Qc={infoBorderColor:r.extend("--ft-border-info-border-color","",p.borderInfoSubtle)};var el={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",f.spacing2),verticalPadding:r.extend("--ft-notice-vertical-padding","",f.spacing1),borderRadius:r.extend("--ft-notice-border-radius","",f.borderRadiusS),gap:r.extend("--ft-notice-gap","",f.spacing2),iconSize:r.extend("--ft-notice-icon-size","",f.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var tl={color:r.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",f.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",f.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",f.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",f.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",f.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",f.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",f.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",f.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",f.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",f.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",f.spacing3)};var rl={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",f.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",f.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",f.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",f.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",f.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",f.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",f.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",f.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:r.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",f.spacing3)};var ol={color:r.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",f.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",f.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",f.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",f.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",f.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",f.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",f.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",f.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",f.spacing3)};var nl={iconSize:r.extend("--ft-notification-icon-size","",f.iconSize4),horizontalPadding:r.extend("--ft-notification-horizontal-padding","",f.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",f.spacing4),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",f.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",f.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",f.spacing8)};var il={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",f.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",f.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",f.borderRadiusS),color:r.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",f.opacity80),shadow:r.extend("--ft-tooltip-shadow","",f.shadowElevation03),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",f.spacing05)};var Ar={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:r.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:r.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:r.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:r.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:r.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:r.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:r.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:r.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:r.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var nn={};T(nn,{FtNotificationEvent:()=>tn,PostResizeEvent:()=>on,PreResizeEvent:()=>rn});var tn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},rn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},on=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var gn={};T(gn,{computeOffsetPosition:()=>Cl});var sa=["top","right","bottom","left"],aa=["start","end"],sn=sa.reduce((o,e)=>o.concat(e,e+"-"+aa[0],e+"-"+aa[1]),[]),zt=Math.min,Ce=Math.max,Ht=Math.round;var he=o=>({x:o,y:o}),al={left:"right",right:"left",bottom:"top",top:"bottom"},sl={start:"end",end:"start"};function cn(o,e,t){return Ce(o,zt(e,t))}function Rr(o,e){return typeof o=="function"?o(e):o}function at(o){return o.split("-")[0]}function Ee(o){return o.split("-")[1]}function ln(o){return o==="x"?"y":"x"}function fn(o){return o==="y"?"height":"width"}function Ir(o){return["top","bottom"].includes(at(o))?"y":"x"}function dn(o){return ln(Ir(o))}function ca(o,e,t){t===void 0&&(t=!1);let n=Ee(o),i=dn(o),a=fn(i),s=i==="x"?n===(t?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=an(s)),[s,an(s)]}function la(o){return o.replace(/start|end/g,e=>sl[e])}function an(o){return o.replace(/left|right|bottom|top/g,e=>al[e])}function cl(o){return{top:0,right:0,bottom:0,left:0,...o}}function fa(o){return typeof o!="number"?cl(o):{top:o,right:o,bottom:o,left:o}}function Ge(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function da(o,e,t){let{reference:n,floating:i}=o,a=Ir(e),s=dn(e),l=fn(s),c=at(e),d=a==="y",h=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,g;switch(c){case"top":g={x:h,y:n.y-i.height};break;case"bottom":g={x:h,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:u};break;case"left":g={x:n.x-i.width,y:u};break;default:g={x:n.x,y:n.y}}switch(Ee(e)){case"start":g[s]-=m*(t&&d?-1:1);break;case"end":g[s]+=m*(t&&d?-1:1);break}return g}var pa=async(o,e,t)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=t,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),d=await s.getElementRects({reference:o,floating:e,strategy:i}),{x:h,y:u}=da(d,n,c),m=n,g={},y=0;for(let v=0;v<l.length;v++){let{name:O,fn:w}=l[v],{x:C,y:x,data:b,reset:S}=await w({x:h,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:d,platform:s,elements:{reference:o,floating:e}});if(h=C??h,u=x??u,g={...g,[O]:{...g[O],...b}},S&&y<=50){y++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(d=S.rects===!0?await s.getElementRects({reference:o,floating:e,strategy:i}):S.rects),{x:h,y:u}=da(d,m,c)),v=-1;continue}}return{x:h,y:u,placement:m,strategy:i,middlewareData:g}};async function pn(o,e){var t;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:c}=o,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:m=!1,padding:g=0}=Rr(e,o),y=fa(g),O=l[m?u==="floating"?"reference":"floating":u],w=Ge(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(O)))==null||t?O:O.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:d,rootBoundary:h,strategy:c})),C=u==="floating"?{...s.floating,x:n,y:i}:s.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),b=await(a.isElement==null?void 0:a.isElement(x))?await(a.getScale==null?void 0:a.getScale(x))||{x:1,y:1}:{x:1,y:1},S=Ge(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:x,strategy:c}):C);return{top:(w.top-S.top+y.top)/b.y,bottom:(S.bottom-w.bottom+y.bottom)/b.y,left:(w.left-S.left+y.left)/b.x,right:(S.right-w.right+y.right)/b.x}}function ll(o,e,t){return(o?[...t.filter(i=>Ee(i)===o),...t.filter(i=>Ee(i)!==o)]:t.filter(i=>at(i)===i)).filter(i=>o?Ee(i)===o||(e?la(i)!==i:!1):!0)}var un=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(e){var t,n,i;let{rects:a,middlewareData:s,placement:l,platform:c,elements:d}=e,{crossAxis:h=!1,alignment:u,allowedPlacements:m=sn,autoAlignment:g=!0,...y}=Rr(o,e),v=u!==void 0||m===sn?ll(u||null,g,m):m,O=await pn(e,y),w=((t=s.autoPlacement)==null?void 0:t.index)||0,C=v[w];if(C==null)return{};let x=ca(C,a,await(c.isRTL==null?void 0:c.isRTL(d.floating)));if(l!==C)return{reset:{placement:v[0]}};let b=[O[at(C)],O[x[0]],O[x[1]]],S=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:b}],A=v[w+1];if(A)return{data:{index:w+1,overflows:S},reset:{placement:A}};let L=S.map(N=>{let R=Ee(N.placement);return[N.placement,R&&h?N.overflows.slice(0,2).reduce(($,D)=>$+D,0):N.overflows[0],N.overflows]}).sort((N,R)=>N[1]-R[1]),k=((i=L.filter(N=>N[2].slice(0,Ee(N[0])?2:3).every(R=>R<=0))[0])==null?void 0:i[0])||L[0][0];return k!==l?{data:{index:w+1,overflows:S},reset:{placement:k}}:{}}}};var hn=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(e){let{x:t,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:O=>{let{x:w,y:C}=O;return{x:w,y:C}}},...c}=Rr(o,e),d={x:t,y:n},h=await pn(e,c),u=Ir(at(i)),m=ln(u),g=d[m],y=d[u];if(a){let O=m==="y"?"top":"left",w=m==="y"?"bottom":"right",C=g+h[O],x=g-h[w];g=cn(C,g,x)}if(s){let O=u==="y"?"top":"left",w=u==="y"?"bottom":"right",C=y+h[O],x=y-h[w];y=cn(C,y,x)}let v=l.fn({...e,[m]:g,[u]:y});return{...v,data:{x:v.x-t,y:v.y-n}}}}};function me(o){return ha(o)?(o.nodeName||"").toLowerCase():"#document"}function j(o){var e;return(o==null||(e=o.ownerDocument)==null?void 0:e.defaultView)||window}function ge(o){var e;return(e=(ha(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function ha(o){return o instanceof Node||o instanceof j(o).Node}function ie(o){return o instanceof Element||o instanceof j(o).Element}function X(o){return o instanceof HTMLElement||o instanceof j(o).HTMLElement}function ua(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof j(o).ShadowRoot}function st(o){let{overflow:e,overflowX:t,overflowY:n,display:i}=G(o);return/auto|scroll|overlay|hidden|clip/.test(e+n+t)&&!["inline","contents"].includes(i)}function ma(o){return["table","td","th"].includes(me(o))}function _r(o){let e=$r(),t=G(o);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(t.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(t.contain||"").includes(n))}function ga(o){let e=Ze(o);for(;X(e)&&!jt(e);){if(_r(e))return e;e=Ze(e)}return null}function $r(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function jt(o){return["html","body","#document"].includes(me(o))}function G(o){return j(o).getComputedStyle(o)}function Kt(o){return ie(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Ze(o){if(me(o)==="html")return o;let e=o.assignedSlot||o.parentNode||ua(o)&&o.host||ge(o);return ua(e)?e.host:e}function ya(o){let e=Ze(o);return jt(e)?o.ownerDocument?o.ownerDocument.body:o.body:X(e)&&st(e)?e:ya(e)}function Pr(o,e,t){var n;e===void 0&&(e=[]),t===void 0&&(t=!0);let i=ya(o),a=i===((n=o.ownerDocument)==null?void 0:n.body),s=j(i);return a?e.concat(s,s.visualViewport||[],st(i)?i:[],s.frameElement&&t?Pr(s.frameElement):[]):e.concat(i,Pr(i,[],t))}function va(o){let e=G(o),t=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=X(o),a=i?o.offsetWidth:t,s=i?o.offsetHeight:n,l=Ht(t)!==a||Ht(n)!==s;return l&&(t=a,n=s),{width:t,height:n,$:l}}function Sa(o){return ie(o)?o:o.contextElement}function ct(o){let e=Sa(o);if(!X(e))return he(1);let t=e.getBoundingClientRect(),{width:n,height:i,$:a}=va(e),s=(a?Ht(t.width):t.width)/n,l=(a?Ht(t.height):t.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var fl=he(0);function Oa(o){let e=j(o);return!$r()||!e.visualViewport?fl:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function dl(o,e,t){return e===void 0&&(e=!1),!t||e&&t!==j(o)?!1:e}function Vt(o,e,t,n){e===void 0&&(e=!1),t===void 0&&(t=!1);let i=o.getBoundingClientRect(),a=Sa(o),s=he(1);e&&(n?ie(n)&&(s=ct(n)):s=ct(o));let l=dl(a,t,n)?Oa(a):he(0),c=(i.left+l.x)/s.x,d=(i.top+l.y)/s.y,h=i.width/s.x,u=i.height/s.y;if(a){let m=j(a),g=n&&ie(n)?j(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let v=ct(y),O=y.getBoundingClientRect(),w=G(y),C=O.left+(y.clientLeft+parseFloat(w.paddingLeft))*v.x,x=O.top+(y.clientTop+parseFloat(w.paddingTop))*v.y;c*=v.x,d*=v.y,h*=v.x,u*=v.y,c+=C,d+=x,y=j(y).frameElement}}return Ge({width:h,height:u,x:c,y:d})}function pl(o){let{rect:e,offsetParent:t,strategy:n}=o,i=X(t),a=ge(t);if(t===a)return e;let s={scrollLeft:0,scrollTop:0},l=he(1),c=he(0);if((i||!i&&n!=="fixed")&&((me(t)!=="body"||st(a))&&(s=Kt(t)),X(t))){let d=Vt(t);l=ct(t),c.x=d.x+t.clientLeft,c.y=d.y+t.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+c.x,y:e.y*l.y-s.scrollTop*l.y+c.y}}function ul(o){return Array.from(o.getClientRects())}function wa(o){return Vt(ge(o)).left+Kt(o).scrollLeft}function hl(o){let e=ge(o),t=Kt(o),n=o.ownerDocument.body,i=Ce(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Ce(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-t.scrollLeft+wa(o),l=-t.scrollTop;return G(n).direction==="rtl"&&(s+=Ce(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function ml(o,e){let t=j(o),n=ge(o),i=t.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;let d=$r();(!d||d&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}function gl(o,e){let t=Vt(o,!0,e==="fixed"),n=t.top+o.clientTop,i=t.left+o.clientLeft,a=X(o)?ct(o):he(1),s=o.clientWidth*a.x,l=o.clientHeight*a.y,c=i*a.x,d=n*a.y;return{width:s,height:l,x:c,y:d}}function ba(o,e,t){let n;if(e==="viewport")n=ml(o,t);else if(e==="document")n=hl(ge(o));else if(ie(e))n=gl(e,t);else{let i=Oa(o);n={...e,x:e.x-i.x,y:e.y-i.y}}return Ge(n)}function Ca(o,e){let t=Ze(o);return t===e||!ie(t)||jt(t)?!1:G(t).position==="fixed"||Ca(t,e)}function yl(o,e){let t=e.get(o);if(t)return t;let n=Pr(o,[],!1).filter(l=>ie(l)&&me(l)!=="body"),i=null,a=G(o).position==="fixed",s=a?Ze(o):o;for(;ie(s)&&!jt(s);){let l=G(s),c=_r(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||st(s)&&!c&&Ca(o,s))?n=n.filter(h=>h!==s):i=l,s=Ze(s)}return e.set(o,n),n}function bl(o){let{element:e,boundary:t,rootBoundary:n,strategy:i}=o,s=[...t==="clippingAncestors"?yl(e,this._c):[].concat(t),n],l=s[0],c=s.reduce((d,h)=>{let u=ba(e,h,i);return d.top=Ce(u.top,d.top),d.right=zt(u.right,d.right),d.bottom=zt(u.bottom,d.bottom),d.left=Ce(u.left,d.left),d},ba(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function xl(o){return va(o)}function vl(o,e,t){let n=X(e),i=ge(e),a=t==="fixed",s=Vt(o,!0,a,e),l={scrollLeft:0,scrollTop:0},c=he(0);if(n||!n&&!a)if((me(e)!=="body"||st(i))&&(l=Kt(e)),n){let d=Vt(e,!0,a,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}else i&&(c.x=wa(i));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function xa(o,e){return!X(o)||G(o).position==="fixed"?null:e?e(o):o.offsetParent}function Ea(o,e){let t=j(o);if(!X(o))return t;let n=xa(o,e);for(;n&&ma(n)&&G(n).position==="static";)n=xa(n,e);return n&&(me(n)==="html"||me(n)==="body"&&G(n).position==="static"&&!_r(n))?t:n||ga(o)||t}var Sl=async function(o){let{reference:e,floating:t,strategy:n}=o,i=this.getOffsetParent||Ea,a=this.getDimensions;return{reference:vl(e,await i(t),n),floating:{x:0,y:0,...await a(t)}}};function Ol(o){return G(o).direction==="rtl"}var Lr={convertOffsetParentRelativeRectToViewportRelativeRect:pl,getDocumentElement:ge,getClippingRect:bl,getOffsetParent:Ea,getElementRects:Sl,getClientRects:ul,getDimensions:xl,getScale:ct,isElement:ie,isRTL:Ol};var Na=(o,e,t)=>{let n=new Map,i={platform:Lr,...t},a={...i.platform,_c:n};return pa(o,e,{...i,platform:a})};function Aa(o){return wl(o)}function mn(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function wl(o){for(let e=o;e;e=mn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=mn(o);e;e=mn(e)){if(!(e instanceof Element))continue;let t=getComputedStyle(e);if(t.display!=="contents"&&(t.position!=="static"||t.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Cl(o,e,t){return Na(o,e,{platform:{...Lr,getOffsetParent:n=>Lr.getOffsetParent(n,Aa)},middleware:[hn({crossAxis:!0}),un({allowedPlacements:[t]})]})}var xn={};T(xn,{FtLitElement:()=>K});var yn={};T(yn,{ScopedRegistryLitElement:()=>Gt});var kr=window,El=kr.ShadowRoot&&(kr.ShadyCSS===void 0||kr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Zh=Symbol();var Ra=(o,e)=>{El?o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{let n=document.createElement("style"),i=kr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)})};var Gt=class extends de{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let t={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(t);return Ra(n,e.elementStyles),n}};var bn=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(s=o[l])&&(a=(i<3?s(a):i>3?s(e,t,a):s(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},_a,Ia=Symbol("constructorPrototype"),Pa=Symbol("constructorName"),$a=Symbol("exportpartsDebouncer"),K=class extends Gt{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[_a]=new Ve(5),this[Pa]=this.constructor.name,this[Ia]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Pa]&&Object.setPrototypeOf(this,this[Ia])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var t,n,i;if(this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((t=this.customStylesheet)!==null&&t!==void 0?t:"")}catch(a){console.error(a,this.customStylesheet)}}else if(((i=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,t,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(t=this.exportpartsPrefixes)===null||t===void 0?void 0:t.length)!==null&&n!==void 0&&n)&&this[$a].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var t,n,i,a,s,l;let c=m=>m!=null&&m.trim().length>0,d=e.filter(c).map(m=>m.trim());if(d.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],y=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...g,...y).filter(c).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(m=>d.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};_a=$a;bn([_()],K.prototype,"exportpartsPrefix",void 0);bn([ne([])],K.prototype,"exportpartsPrefixes",void 0);bn([_()],K.prototype,"customStylesheet",void 0);var La={};var wn={};T(wn,{highlightHtml:()=>On,highlightHtmlColorCssVariable:()=>ka,highlightHtmlStyles:()=>Al});var qe=class o{constructor(e,t=!0,n=[],i=5e3){this.ctx=e,this.iframes=t,this.exclude=n,this.iframesTimeout=i}static matches(e,t){let n=typeof t=="string"?[t]:t,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=t.filter(a=>a.contains(n)).length>0;t.indexOf(n)===-1&&!i&&t.push(n)}),t}getIframeContents(e,t,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&t(i)}isIframeBlank(e){let t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}observeIframeLoad(e,t,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,t,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,t,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch{n()}}waitForIframes(e,t){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||t()})},i=>{i||t()})}forEachIframe(e,t,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&i(l)};s||c(),a.forEach(d=>{o.matches(d,this.exclude)?c():this.onIframeReady(d,h=>{t(d)&&(l++,n(h)),c()},c)})}createIterator(e,t,n){return document.createNodeIterator(e,t,n,!1)}createInstanceOnIframe(e){return new o(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(t!==null){let s=t.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let t=e.previousNode(),n;return t===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}checkIframeFilter(e,t,n,i){let a=!1,s=!1;return i.forEach((l,c)=>{l.val===n&&(a=c,s=l.handled)}),this.compareNodeIframe(e,t,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,t,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(t,n,i)})})}iterateThroughNodes(e,t,n,i,a){let s=this.createIterator(t,e,i),l=[],c=[],d,h,u=()=>({prevNode:h,node:d}=this.getIteratorNode(s),d);for(;u();)this.iframes&&this.forEachIframe(t,m=>this.checkIframeFilter(d,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(e,g=>c.push(g),i)}),c.push(d);c.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,e,n,i),a()}forEachNode(e,t,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let c=()=>{this.iterateThroughNodes(e,l,t,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,c):c()})}};var Zt=class{constructor(e){this.ctx=e,this.ie=!1;let t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){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},e)}get opt(){return this._opt}get iterator(){return new qe(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[t]=="function"&&n[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){let s=t[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){let t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${t}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(t)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let t=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&t.indexOf(i)===-1&&t.push(i)}):n.trim()&&t.indexOf(n)===-1&&t.push(n)}),{keywords:t.sort((n,i)=>i.length-n.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let t=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,t.push(i),n=s)}),t}callNoMatchOnInvalidRanges(e,t){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-t>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,t,n){let i,a=!0,s=n.length,l=t-s,c=parseInt(e.start,10)-l;return c=c>s?s:c,i=c+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||i-c<0||c>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(c,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:i,valid:a}}getTextNodes(e){let t="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:t.length,end:(t+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:n})})}matchesExclude(e){return qe.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(t),s=a.splitText(n-t),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,t,n,i,a){e.nodes.every((s,l)=>{let c=e.nodes[l+1];if(typeof c>"u"||c.start>t){if(!i(s.node))return!1;let d=t-s.start,h=(n>s.end?s.end:n)-s.start,u=e.value.substr(0,s.start),m=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,h),e.value=u+m,e.nodes.forEach((g,y)=>{y>=l&&(e.nodes[y].start>0&&y!==l&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)t=s.end;else return!1}return!0})}wrapMatches(e,t,n,i,a){let s=t===0?0:t+1;this.getTextNodes(l=>{l.nodes.forEach(c=>{c=c.node;let d;for(;(d=e.exec(c.textContent))!==null&&d[s]!=="";){if(!n(d[s],c))continue;let h=d.index;if(s!==0)for(let u=1;u<s;u++)h+=d[u].length;c=this.wrapRangeInTextNode(c,h,h+d[s].length),i(c.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,t,n,i,a){let s=t===0?0:t+1;this.getTextNodes(l=>{let c;for(;(c=e.exec(l.value))!==null&&c[s]!=="";){let d=c.index;if(s!==0)for(let u=1;u<s;u++)d+=c[u].length;let h=d+c[s].length;this.wrapRangeInMappedTextNode(l,d,h,u=>n(c[s],u),(u,m)=>{e.lastIndex=m,i(u)})}a()})}wrapRangeFromIndex(e,t,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,c)=>{let{start:d,end:h,valid:u}=this.checkWhitespaceRanges(l,s,a.value);u&&this.wrapRangeInMappedTextNode(a,d,h,m=>t(m,l,a.value.substring(d,h),c),m=>{n(m,l)})}),i()})}unwrapMatches(e){let t=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,t){this.opt=t;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",c=d=>{let h=new RegExp(this.createRegExp(d),`gm${l}`),u=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,g)=>this.opt.filter(g,d,n,u),m=>{u++,n++,this.opt.each(m)},()=>{u===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):c(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):c(a[0])}markRanges(e,t){this.opt=t;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,c)=>this.opt.filter(a,s,l,c),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=qe.matches(n,t),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function vn(o){let e=new Zt(o);return this.mark=(t,n)=>(e.mark(t,n),this),this.markRegExp=(t,n)=>(e.markRegExp(t,n),this),this.markRanges=(t,n)=>(e.markRanges(t,n),this),this.unmark=t=>(e.unmark(t),this),this}var Nl=vn,ka=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Al=P`
|
|
7
|
+
.highlight-html-match {
|
|
8
|
+
background: ${ka};
|
|
9
|
+
}
|
|
10
|
+
`,Sn={className:"highlight-html-match"};function On(o,e){var t;let n=o.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let i=new Nl(o);i.unmark(Sn),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{...Sn,separateWordSearch:!0}),((t=e.match(/"[^"]+"/g))!==null&&t!==void 0?t:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...Sn,separateWordSearch:!1})))}o.setAttribute("data-highlight-html-query",e??"")}var Cn={};T(Cn,{noTextSelect:()=>Rl,safariEllipsisFix:()=>Pl,wordWrap:()=>Il});var Rl=P`
|
|
11
|
+
.ft-no-text-select {
|
|
12
|
+
-webkit-touch-callout: none;
|
|
13
|
+
-webkit-user-select: none;
|
|
14
|
+
-khtml-user-select: none;
|
|
15
|
+
-moz-user-select: none;
|
|
16
|
+
-ms-user-select: none;
|
|
17
|
+
user-select: none;
|
|
18
|
+
}
|
|
19
|
+
`,Il=P`
|
|
20
|
+
.ft-word-wrap {
|
|
21
|
+
white-space: normal;
|
|
22
|
+
word-wrap: break-word;
|
|
23
|
+
-ms-word-break: break-all;
|
|
24
|
+
word-break: break-all;
|
|
25
|
+
word-break: break-word;
|
|
26
|
+
-ms-hyphens: auto;
|
|
27
|
+
-moz-hyphens: auto;
|
|
28
|
+
-webkit-hyphens: auto;
|
|
29
|
+
hyphens: auto
|
|
30
|
+
}
|
|
31
|
+
`,Pl=P`
|
|
32
|
+
.ft-safari-ellipsis-fix {
|
|
33
|
+
margin-right: 0;
|
|
34
|
+
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ft-safari-ellipsis-fix:after {
|
|
38
|
+
content: "\\0000a0";
|
|
39
|
+
display: inline-block;
|
|
40
|
+
width: 0;
|
|
41
|
+
}
|
|
42
|
+
`;var Ta={};var En={};T(En,{ParametrizedLabelResolver:()=>qt});var qt=class{constructor(e,t){this.defaultLabels=e,this.labels=t}resolve(e,...t){var n,i;e=this.resolvePluralKey(e,t);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.forEach((s,l)=>a=a.replace(new RegExp(`\\{${l}([^}]*)\\}`,"g"),(c,d)=>this.formatValue(s,d))),a}resolvePluralKey(e,t){for(let n of t)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}formatValue(e,t){return e instanceof Date?this.formatDate(e,t):e??""}formatDate(e,t){let n=i=>t?.includes("date")?e.toLocaleDateString(i):t?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Jn={};T(Jn,{FtCommandQueue:()=>Yt,FtLitElementRedux:()=>ae,FtReduxStore:()=>Qe,clearAllStores:()=>gf,isFtReduxStore:()=>Ye,redux:()=>lt,reduxEventListener:()=>$l,reduxReactive:()=>_l});var _l=()=>(o,e)=>{var t;let n=o.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(t=n.reduxReactiveProperties)===null||t===void 0||t.add(e)},lt=o=>{let e=o??{};return(t,n)=>{var i;let a={hasChanged:(l,c)=>!q(l,c),attribute:!1,...e};_(a)(t,n);let s=t.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:l=>l[n],store:e.store})}},$l=o=>(e,t)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(t,o)};var Yt=class{constructor(){this.queue=[]}add(e,t=!1){t&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let t=this.queue.find(n=>n.type===e);return t&&(this.queue=this.queue.filter(n=>n!==t)),t}};function Ye(o){var e;return(e=o?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Ma,Ua,Wa,Tr=Symbol("internalReduxEventsUnsubscribers"),Ne=Symbol("internalStoresUnsubscribers"),Je=Symbol("internalStores"),ae=class extends K{constructor(){super(...arguments),this[Ma]=new Map,this[Ua]=new Map,this[Wa]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(t=>e.has(t))&&this.updateFromStores()}getUnnamedStore(){if(this[Je].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Je].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Je].get(e)}addStore(e,t){var n;t=(n=t??(Ye(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(t),this.setupStore(t,e)}removeStore(e){let t=typeof e=="string"?e:e.name;this.unsubscribeFromStore(t),this[Je].delete(t)}setupStore(e,t){this[Je].set(e,t),this.subscribeToStore(e,t),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Je].forEach((e,t)=>this.subscribeToStore(t,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,t)=>{let n=this.constructor.getPropertyOptions(t);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:t)){let i=this.getStore(e.store);i&&(e.store?this[Ne].has(e.store):this[Ne].size>0)&&(this[t]=e.selector(i.getState(),this))}})}subscribeToStore(e,t){var n;this[Ne].set(e,t.subscribe(()=>this.updateFromStores())),Ye(t)&&t.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||t.name===i.store)){let s=l=>this[a](l);t.eventBus.addEventListener(i.eventName,s),this[Tr].push(()=>t.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Ne].forEach((e,t)=>this.unsubscribeFromStore(t)),this[Tr].forEach(e=>e()),this[Tr]=[]}unsubscribeFromStore(e){this[Ne].has(e)&&this[Ne].get(e)(),this[Ne].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ma=Ne,Ua=Je,Wa=Tr;ae.reduxProperties=new Map;ae.reduxReactiveProperties=new Set;ae.reduxEventListeners=new Map;function Y(o){for(var e=arguments.length,t=Array(e>1?e-1:0),n=1;n<e;n++)t[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+o+(t.length?" "+t.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ye(o){return!!o&&!!o[M]}function Q(o){var e;return!!o&&(function(t){if(!t||typeof t!="object")return!1;var n=Object.getPrototypeOf(t);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Dl}(o)||Array.isArray(o)||!!o[Ka]||!!(!((e=o.constructor)===null||e===void 0)&&e[Ka])||kn(o)||Tn(o))}function Xe(o,e,t){t===void 0&&(t=!1),pt(o)===0?(t?Object.keys:dt)(o).forEach(function(n){t&&typeof n=="symbol"||e(n,o[n],o)}):o.forEach(function(n,i){return e(i,n,o)})}function pt(o){var e=o[M];return e?e.i>3?e.i-4:e.i:Array.isArray(o)?1:kn(o)?2:Tn(o)?3:0}function ft(o,e){return pt(o)===2?o.has(e):Object.prototype.hasOwnProperty.call(o,e)}function Ll(o,e){return pt(o)===2?o.get(e):o[e]}function Va(o,e,t){var n=pt(o);n===2?o.set(e,t):n===3?o.add(t):o[e]=t}function Ga(o,e){return o===e?o!==0||1/o==1/e:o!=o&&e!=e}function kn(o){return Wl&&o instanceof Map}function Tn(o){return Fl&&o instanceof Set}function Ae(o){return o.o||o.t}function Mn(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var e=Ya(o);delete e[M];for(var t=dt(e),n=0;n<t.length;n++){var i=t[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:o[i]})}return Object.create(Object.getPrototypeOf(o),e)}function Un(o,e){return e===void 0&&(e=!1),Wn(o)||ye(o)||!Q(o)||(pt(o)>1&&(o.set=o.add=o.clear=o.delete=kl),Object.freeze(o),e&&Xe(o,function(t,n){return Un(n,!0)},!0)),o}function kl(){Y(2)}function Wn(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function se(o){var e=Ln[o];return e||Y(18,o),e}function Tl(o,e){Ln[o]||(Ln[o]=e)}function Pn(){return Xt}function Nn(o,e){e&&(se("Patches"),o.u=[],o.s=[],o.v=e)}function Mr(o){_n(o),o.p.forEach(Ml),o.p=null}function _n(o){o===Xt&&(Xt=o.l)}function Fa(o){return Xt={p:[],l:Xt,h:o,m:!0,_:0}}function Ml(o){var e=o[M];e.i===0||e.i===1?e.j():e.g=!0}function An(o,e){e._=e.p.length;var t=e.p[0],n=o!==void 0&&o!==t;return e.h.O||se("ES5").S(e,o,n),n?(t[M].P&&(Mr(e),Y(4)),Q(o)&&(o=Ur(e,o),e.l||Wr(e,o)),e.u&&se("Patches").M(t[M].t,o,e.u,e.s)):o=Ur(e,t,[]),Mr(e),e.u&&e.v(e.u,e.s),o!==qa?o:void 0}function Ur(o,e,t){if(Wn(e))return e;var n=e[M];if(!n)return Xe(e,function(l,c){return Da(o,n,e,l,c,t)},!0),e;if(n.A!==o)return e;if(!n.P)return Wr(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Mn(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Xe(a,function(l,c){return Da(o,n,i,l,c,t,s)}),Wr(o,i,!1),t&&o.u&&se("Patches").N(n,t,o.u,o.s)}return n.o}function Da(o,e,t,n,i,a,s){if(ye(i)){var l=Ur(o,i,a&&e&&e.i!==3&&!ft(e.R,n)?a.concat(n):void 0);if(Va(t,n,l),!ye(l))return;o.m=!1}else s&&t.add(i);if(Q(i)&&!Wn(i)){if(!o.h.D&&o._<1)return;Ur(o,i),e&&e.A.l||Wr(o,i)}}function Wr(o,e,t){t===void 0&&(t=!1),!o.l&&o.h.D&&o.m&&Un(e,t)}function Rn(o,e){var t=o[M];return(t?Ae(t):o)[e]}function Ba(o,e){if(e in o)for(var t=Object.getPrototypeOf(o);t;){var n=Object.getOwnPropertyDescriptor(t,e);if(n)return n;t=Object.getPrototypeOf(t)}}function Re(o){o.P||(o.P=!0,o.l&&Re(o.l))}function In(o){o.o||(o.o=Mn(o.t))}function $n(o,e,t){var n=kn(e)?se("MapSet").F(e,t):Tn(e)?se("MapSet").T(e,t):o.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:Pn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},c=l,d=Qt;s&&(c=[l],d=Jt);var h=Proxy.revocable(c,d),u=h.revoke,m=h.proxy;return l.k=m,l.j=u,m}(e,t):se("ES5").J(e,t);return(t?t.A:Pn()).p.push(n),n}function Ul(o){return ye(o)||Y(22,o),function e(t){if(!Q(t))return t;var n,i=t[M],a=pt(t);if(i){if(!i.P&&(i.i<4||!se("ES5").K(i)))return i.t;i.I=!0,n=za(t,a),i.I=!1}else n=za(t,a);return Xe(n,function(s,l){i&&Ll(i.t,s)===l||Va(n,s,e(l))}),a===3?new Set(n):n}(o)}function za(o,e){switch(e){case 2:return new Map(o);case 3:return Array.from(o)}return Mn(o)}function Za(){function o(s,l){var c=a[s];return c?c.enumerable=l:a[s]=c={configurable:!0,enumerable:l,get:function(){var d=this[M];return Qt.get(d,s)},set:function(d){var h=this[M];Qt.set(h,s,d)}},c}function e(s){for(var l=s.length-1;l>=0;l--){var c=s[l][M];if(!c.P)switch(c.i){case 5:n(c)&&Re(c);break;case 4:t(c)&&Re(c)}}}function t(s){for(var l=s.t,c=s.k,d=dt(c),h=d.length-1;h>=0;h--){var u=d[h];if(u!==M){var m=l[u];if(m===void 0&&!ft(l,u))return!0;var g=c[u],y=g&&g[M];if(y?y.t!==m:!Ga(g,m))return!0}}var v=!!l[M];return d.length!==dt(l).length+(v?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var c=Object.getOwnPropertyDescriptor(l,l.length-1);if(c&&!c.get)return!0;for(var d=0;d<l.length;d++)if(!l.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&Y(3,JSON.stringify(Ae(s)))}var a={};Tl("ES5",{J:function(s,l){var c=Array.isArray(s),d=function(u,m){if(u){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,o(y,!0));return g}var v=Ya(m);delete v[M];for(var O=dt(v),w=0;w<O.length;w++){var C=O[w];v[C]=o(C,u||!!v[C].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(c,s),h={i:c?5:4,A:l?l.A:Pn(),P:!1,I:!1,R:{},l,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,M,{value:h,writable:!0}),d},S:function(s,l,c){c?ye(l)&&l[M].A===s&&e(s.p):(s.u&&function d(h){if(h&&typeof h=="object"){var u=h[M];if(u){var m=u.t,g=u.k,y=u.R,v=u.i;if(v===4)Xe(g,function(b){b!==M&&(m[b]!==void 0||ft(m,b)?y[b]||d(g[b]):(y[b]=!0,Re(u)))}),Xe(m,function(b){g[b]!==void 0||ft(g,b)||(y[b]=!1,Re(u))});else if(v===5){if(n(u)&&(Re(u),y.length=!0),g.length<m.length)for(var O=g.length;O<m.length;O++)y[O]=!1;else for(var w=m.length;w<g.length;w++)y[w]=!0;for(var C=Math.min(g.length,m.length),x=0;x<C;x++)g.hasOwnProperty(x)||(y[x]=!0),y[x]===void 0&&d(g[x])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?t(s):n(s)}})}var Ha,Xt,Fn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Wl=typeof Map<"u",Fl=typeof Set<"u",ja=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",qa=Fn?Symbol.for("immer-nothing"):((Ha={})["immer-nothing"]=!0,Ha),Ka=Fn?Symbol.for("immer-draftable"):"__$immer_draftable",M=Fn?Symbol.for("immer-state"):"__$immer_state";var Dl=""+Object.prototype.constructor,dt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:Object.getOwnPropertyNames,Ya=Object.getOwnPropertyDescriptors||function(o){var e={};return dt(o).forEach(function(t){e[t]=Object.getOwnPropertyDescriptor(o,t)}),e},Ln={},Qt={get:function(o,e){if(e===M)return o;var t=Ae(o);if(!ft(t,e))return function(i,a,s){var l,c=Ba(a,s);return c?"value"in c?c.value:(l=c.get)===null||l===void 0?void 0:l.call(i.k):void 0}(o,t,e);var n=t[e];return o.I||!Q(n)?n:n===Rn(o.t,e)?(In(o),o.o[e]=$n(o.A.h,n,o)):n},has:function(o,e){return e in Ae(o)},ownKeys:function(o){return Reflect.ownKeys(Ae(o))},set:function(o,e,t){var n=Ba(Ae(o),e);if(n?.set)return n.set.call(o.k,t),!0;if(!o.P){var i=Rn(Ae(o),e),a=i?.[M];if(a&&a.t===t)return o.o[e]=t,o.R[e]=!1,!0;if(Ga(t,i)&&(t!==void 0||ft(o.t,e)))return!0;In(o),Re(o)}return o.o[e]===t&&(t!==void 0||e in o.o)||Number.isNaN(t)&&Number.isNaN(o.o[e])||(o.o[e]=t,o.R[e]=!0),!0},deleteProperty:function(o,e){return Rn(o.t,e)!==void 0||e in o.t?(o.R[e]=!1,In(o),Re(o)):delete o.R[e],o.o&&delete o.o[e],!0},getOwnPropertyDescriptor:function(o,e){var t=Ae(o),n=Reflect.getOwnPropertyDescriptor(t,e);return n&&{writable:!0,configurable:o.i!==1||e!=="length",enumerable:n.enumerable,value:t[e]}},defineProperty:function(){Y(11)},getPrototypeOf:function(o){return Object.getPrototypeOf(o.t)},setPrototypeOf:function(){Y(12)}},Jt={};Xe(Qt,function(o,e){Jt[o]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Jt.deleteProperty=function(o,e){return Jt.set.call(this,o,e,void 0)},Jt.set=function(o,e,t){return Qt.set.call(this,o[0],e,t,o[0])};var Bl=function(){function o(t){var n=this;this.O=ja,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var c=n;return function(v){var O=this;v===void 0&&(v=l);for(var w=arguments.length,C=Array(w>1?w-1:0),x=1;x<w;x++)C[x-1]=arguments[x];return c.produce(v,function(b){var S;return(S=a).call.apply(S,[O,b].concat(C))})}}var d;if(typeof a!="function"&&Y(6),s!==void 0&&typeof s!="function"&&Y(7),Q(i)){var h=Fa(n),u=$n(n,i,void 0),m=!0;try{d=a(u),m=!1}finally{m?Mr(h):_n(h)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(v){return Nn(h,s),An(v,h)},function(v){throw Mr(h),v}):(Nn(h,s),An(d,h))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===qa&&(d=void 0),n.D&&Un(d,!0),s){var g=[],y=[];se("Patches").M(i,d,g,y),s(g,y)}return d}Y(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){for(var h=arguments.length,u=Array(h>1?h-1:0),m=1;m<h;m++)u[m-1]=arguments[m];return n.produceWithPatches(d,function(g){return i.apply(void 0,[g].concat(u))})};var s,l,c=n.produce(i,a,function(d,h){s=d,l=h});return typeof Promise<"u"&&c instanceof Promise?c.then(function(d){return[d,s,l]}):[c,s,l]},typeof t?.useProxies=="boolean"&&this.setUseProxies(t.useProxies),typeof t?.autoFreeze=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var e=o.prototype;return e.createDraft=function(t){Q(t)||Y(8),ye(t)&&(t=Ul(t));var n=Fa(this),i=$n(this,t,void 0);return i[M].C=!0,_n(n),i},e.finishDraft=function(t,n){var i=t&&t[M],a=i.A;return Nn(a,n),An(void 0,a)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!ja&&Y(20),this.O=t},e.applyPatches=function(t,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){t=a.value;break}}i>-1&&(n=n.slice(i+1));var s=se("Patches").$;return ye(t)?s(t,n):this.produce(t,function(l){return s(l,n)})},o}(),Z=new Bl,zl=Z.produce,xm=Z.produceWithPatches.bind(Z),vm=Z.setAutoFreeze.bind(Z),Sm=Z.setUseProxies.bind(Z),Om=Z.applyPatches.bind(Z),wm=Z.createDraft.bind(Z),Cm=Z.finishDraft.bind(Z),Fr=zl;function Ie(o){"@babel/helpers - typeof";return Ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ie(o)}function Dn(o,e){if(Ie(o)!=="object"||o===null)return o;var t=o[Symbol.toPrimitive];if(t!==void 0){var n=t.call(o,e||"default");if(Ie(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(o)}function Bn(o){var e=Dn(o,"string");return Ie(e)==="symbol"?e:String(e)}function zn(o,e,t){return e=Bn(e),e in o?Object.defineProperty(o,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):o[e]=t,o}function Ja(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(o,i).enumerable})),t.push.apply(t,n)}return t}function Dr(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ja(Object(t),!0).forEach(function(n){zn(o,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):Ja(Object(t)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(t,n))})}return o}function B(o){return"Minified Redux error #"+o+"; visit https://redux.js.org/Errors?code="+o+" for the full message or use the non-minified dev environment for full errors. "}var Xa=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Hn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Br={INIT:"@@redux/INIT"+Hn(),REPLACE:"@@redux/REPLACE"+Hn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Hn()}};function Hl(o){if(typeof o!="object"||o===null)return!1;for(var e=o;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(o)===e}function jn(o,e,t){var n;if(typeof e=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(B(0));if(typeof e=="function"&&typeof t>"u"&&(t=e,e=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(B(1));return t(jn)(o,e)}if(typeof o!="function")throw new Error(B(2));var i=o,a=e,s=[],l=s,c=!1;function d(){l===s&&(l=s.slice())}function h(){if(c)throw new Error(B(3));return a}function u(v){if(typeof v!="function")throw new Error(B(4));if(c)throw new Error(B(5));var O=!0;return d(),l.push(v),function(){if(O){if(c)throw new Error(B(6));O=!1,d();var C=l.indexOf(v);l.splice(C,1),s=null}}}function m(v){if(!Hl(v))throw new Error(B(7));if(typeof v.type>"u")throw new Error(B(8));if(c)throw new Error(B(9));try{c=!0,a=i(a,v)}finally{c=!1}for(var O=s=l,w=0;w<O.length;w++){var C=O[w];C()}return v}function g(v){if(typeof v!="function")throw new Error(B(10));i=v,m({type:Br.REPLACE})}function y(){var v,O=u;return v={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(B(11));function x(){C.next&&C.next(h())}x();var b=O(x);return{unsubscribe:b}}},v[Xa]=function(){return this},v}return m({type:Br.INIT}),n={dispatch:m,subscribe:u,getState:h,replaceReducer:g},n[Xa]=y,n}function jl(o){Object.keys(o).forEach(function(e){var t=o[e],n=t(void 0,{type:Br.INIT});if(typeof n>"u")throw new Error(B(12));if(typeof t(void 0,{type:Br.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(B(13))})}function Qa(o){for(var e=Object.keys(o),t={},n=0;n<e.length;n++){var i=e[n];typeof o[i]=="function"&&(t[i]=o[i])}var a=Object.keys(t),s,l;try{jl(t)}catch(c){l=c}return function(d,h){if(d===void 0&&(d={}),l)throw l;if(0)var u;for(var m=!1,g={},y=0;y<a.length;y++){var v=a[y],O=t[v],w=d[v],C=O(w,h);if(typeof C>"u"){var x=h&&h.type;throw new Error(B(14))}g[v]=C,m=m||C!==w}return m=m||a.length!==Object.keys(d).length,m?g:d}}function ut(){for(var o=arguments.length,e=new Array(o),t=0;t<o;t++)e[t]=arguments[t];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function es(){for(var o=arguments.length,e=new Array(o),t=0;t<o;t++)e[t]=arguments[t];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(B(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(c){return c(s)});return a=ut.apply(void 0,l)(i.dispatch),Dr(Dr({},i),{},{dispatch:a})}}}function ts(o){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,o):s(l)}}};return e}var rs=ts();rs.withExtraArgument=ts;var Kn=rs;var ss=function(){var o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},o(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");o(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Kl=function(o,e){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(d){return function(h){return c([d,h])}}function c(d){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(a=d[0]&2?i.return:d[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,d[1])).done)return a;switch(i=0,a&&(d=[d[0]&2,a.value]),d[0]){case 0:case 1:a=d;break;case 4:return t.label++,{value:d[1],done:!1};case 5:t.label++,i=d[1],d=[0];continue;case 7:d=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){t=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){t.label=d[1];break}if(d[0]===6&&t.label<a[1]){t.label=a[1],a=d;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(d);break}a[2]&&t.ops.pop(),t.trys.pop();continue}d=e.call(o,t)}catch(h){d=[6,h],i=0}finally{n=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},ht=function(o,e){for(var t=0,n=e.length,i=o.length;t<n;t++,i++)o[i]=e[t];return o},Vl=Object.defineProperty,Gl=Object.defineProperties,Zl=Object.getOwnPropertyDescriptors,os=Object.getOwnPropertySymbols,ql=Object.prototype.hasOwnProperty,Yl=Object.prototype.propertyIsEnumerable,ns=function(o,e,t){return e in o?Vl(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t},Pe=function(o,e){for(var t in e||(e={}))ql.call(e,t)&&ns(o,t,e[t]);if(os)for(var n=0,i=os(e);n<i.length;n++){var t=i[n];Yl.call(e,t)&&ns(o,t,e[t])}return o},Vn=function(o,e){return Gl(o,Zl(e))},Jl=function(o,e,t){return new Promise(function(n,i){var a=function(c){try{l(t.next(c))}catch(d){i(d)}},s=function(c){try{l(t.throw(c))}catch(d){i(d)}},l=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(a,s)};l((t=t.apply(o,e)).next())})};var Xl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ut:ut.apply(null,arguments)},zm=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function Ql(o){if(typeof o!="object"||o===null)return!1;var e=Object.getPrototypeOf(o);if(e===null)return!0;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return e===t}var ef=function(o){ss(e,o);function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=o.apply(this,t)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return o.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,ht([void 0],t[0].concat(this)))):new(e.bind.apply(e,ht([void 0],t.concat(this))))},e}(Array),tf=function(o){ss(e,o);function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=o.apply(this,t)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return o.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,ht([void 0],t[0].concat(this)))):new(e.bind.apply(e,ht([void 0],t.concat(this))))},e}(Array);function qn(o){return Q(o)?Fr(o,function(){}):o}function rf(o){return typeof o=="boolean"}function of(){return function(e){return nf(e)}}function nf(o){o===void 0&&(o={});var e=o.thunk,t=e===void 0?!0:e,n=o.immutableCheck,i=n===void 0?!0:n,a=o.serializableCheck,s=a===void 0?!0:a,l=new ef;if(t&&(rf(t)?l.push(Kn):l.push(Kn.withExtraArgument(t.extraArgument))),0){if(i)var c;if(s)var d}return l}var Gn=!0;function cs(o){var e=of(),t=o||{},n=t.reducer,i=n===void 0?void 0:n,a=t.middleware,s=a===void 0?e():a,l=t.devTools,c=l===void 0?!0:l,d=t.preloadedState,h=d===void 0?void 0:d,u=t.enhancers,m=u===void 0?void 0:u,g;if(typeof i=="function")g=i;else if(Ql(i))g=Qa(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var y=s;if(typeof y=="function"&&(y=y(e),!Gn&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Gn&&y.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=es.apply(void 0,y),O=ut;c&&(O=Xl(Pe({trace:!Gn},typeof c=="object"&&c)));var w=new tf(v),C=w;Array.isArray(m)?C=ht([v],m):typeof m=="function"&&(C=m(w));var x=O.apply(void 0,C);return jn(g,h,x)}function _e(o,e){function t(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Pe(Pe({type:o,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:o,payload:n[0]}}return t.toString=function(){return""+o},t.type=o,t.match=function(n){return n.type===o},t}function ls(o){var e={},t=[],n,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,i},addMatcher:function(a,s){return t.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return o(i),[e,t,n]}function af(o){return typeof o=="function"}function sf(o,e,t,n){t===void 0&&(t=[]);var i=typeof e=="function"?ls(e):[e,t,n],a=i[0],s=i[1],l=i[2],c;if(af(o))c=function(){return qn(o())};else{var d=qn(o);c=function(){return d}}function h(u,m){u===void 0&&(u=c());var g=ht([a[m.type]],s.filter(function(y){var v=y.matcher;return v(m)}).map(function(y){var v=y.reducer;return v}));return g.filter(function(y){return!!y}).length===0&&(g=[l]),g.reduce(function(y,v){if(v)if(ye(y)){var O=y,w=v(O,m);return w===void 0?y:w}else{if(Q(y))return Fr(y,function(C){return v(C,m)});var w=v(y,m);if(w===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return y},u)}return h.getInitialState=c,h}function cf(o,e){return o+"/"+e}function fs(o){var e=o.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var t=typeof o.initialState=="function"?o.initialState:qn(o.initialState),n=o.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var u=n[h],m=cf(e,h),g,y;"reducer"in u?(g=u.reducer,y=u.prepare):g=u,a[h]=g,s[m]=g,l[h]=y?_e(m,y):_e(m)});function c(){var h=typeof o.extraReducers=="function"?ls(o.extraReducers):[o.extraReducers],u=h[0],m=u===void 0?{}:u,g=h[1],y=g===void 0?[]:g,v=h[2],O=v===void 0?void 0:v,w=Pe(Pe({},m),s);return sf(t,function(C){for(var x in w)C.addCase(x,w[x]);for(var b=0,S=y;b<S.length;b++){var A=S[b];C.addMatcher(A.matcher,A.reducer)}O&&C.addDefaultCase(O)})}var d;return{name:e,reducer:function(h,u){return d||(d=c()),d(h,u)},actions:l,caseReducers:a,getInitialState:function(){return d||(d=c()),d.getInitialState()}}}var lf="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ff=function(o){o===void 0&&(o=21);for(var e="",t=o;t--;)e+=lf[Math.random()*64|0];return e},df=["name","message","stack","code"],Zn=function(){function o(e,t){this.payload=e,this.meta=t}return o}(),is=function(){function o(e,t){this.payload=e,this.meta=t}return o}(),pf=function(o){if(typeof o=="object"&&o!==null){for(var e={},t=0,n=df;t<n.length;t++){var i=n[t];typeof o[i]=="string"&&(e[i]=o[i])}return e}return{message:String(o)}},Vm=function(){function o(e,t,n){var i=_e(e+"/fulfilled",function(h,u,m,g){return{payload:h,meta:Vn(Pe({},g||{}),{arg:m,requestId:u,requestStatus:"fulfilled"})}}),a=_e(e+"/pending",function(h,u,m){return{payload:void 0,meta:Vn(Pe({},m||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=_e(e+"/rejected",function(h,u,m,g,y){return{payload:g,error:(n&&n.serializeError||pf)(h||"Rejected"),meta:Vn(Pe({},y||{}),{arg:m,requestId:u,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function d(h){return function(u,m,g){var y=n?.idGenerator?n.idGenerator(h):ff(),v=new c,O,w=!1;function C(b){O=b,v.abort()}var x=function(){return Jl(this,null,function(){var b,S,A,L,H,k,N;return Kl(this,function(R){switch(R.label){case 0:return R.trys.push([0,4,,5]),L=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:g}),hf(L)?[4,L]:[3,2];case 1:L=R.sent(),R.label=2;case 2:if(L===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,H=new Promise(function($,D){return v.signal.addEventListener("abort",function(){return D({name:"AbortError",message:O||"Aborted"})})}),u(a(y,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:y,arg:h},{getState:m,extra:g}))),[4,Promise.race([H,Promise.resolve(t(h,{dispatch:u,getState:m,extra:g,requestId:y,signal:v.signal,abort:C,rejectWithValue:function($,D){return new Zn($,D)},fulfillWithValue:function($,D){return new is($,D)}})).then(function($){if($ instanceof Zn)throw $;return $ instanceof is?i($.payload,y,h,$.meta):i($,y,h)})])];case 3:return A=R.sent(),[3,5];case 4:return k=R.sent(),A=k instanceof Zn?s(null,y,h,k.payload,k.meta):s(k,y,h),[3,5];case 5:return N=n&&!n.dispatchConditionRejection&&s.match(A)&&A.meta.condition,N||u(A),[2,A]}})})}();return Object.assign(x,{abort:C,requestId:y,arg:h,unwrap:function(){return x.then(uf)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return o.withTypes=function(){return o},o}();function uf(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function hf(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var ds="listener",ps="completed",us="cancelled",Gm="task-"+us,Zm="task-"+ps,qm=ds+"-"+us,Ym=ds+"-"+ps;var Yn="listenerMiddleware";var Jm=_e(Yn+"/add"),Xm=_e(Yn+"/removeAll"),Qm=_e(Yn+"/remove");var as,eg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return(as||(as=Promise.resolve())).then(o).catch(function(e){return setTimeout(function(){throw e},0)})},mf=function(o){return function(e){setTimeout(e,o)}},tg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:mf(10);Za();window.ftReduxStores||(window.ftReduxStores={});var Qe=class o{static get(e){var t;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Ye(a))return a;if(i==null)return;let s=fs({...i,reducers:(t=i.reducers)!==null&&t!==void 0?t:{}}),l=cs({reducer:(c,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...c,...d.overwrites}:s.reducer(c,d)});return window.ftReduxStores[i.name]=new o(s,l)}constructor(e,t){this.reduxSlice=e,this.reduxStore=t,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Yt,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,l=n[s];return l?(...c)=>{let d=l(...c);return this.reduxStore.dispatch(d),d}:c=>{this.setState({[s]:c})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function gf(){var o;for(let e of Object.values((o=window.ftReduxStores)!==null&&o!==void 0?o:{}))Ye(e)&&e.clear()}var Xn={};T(Xn,{serializeRequest:()=>bf});function yf(o){return`"${o}"`}function bf(o,e){var t,n,i,a;let s=new URLSearchParams({"content-lang":(t=e.contentLocale)!==null&&t!==void 0?t:"all"});if(((n=e.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&s.append("scope",e.scope.toLowerCase()),e.virtualField&&s.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let c=e.periodFilter.period,d=c?`_${c.from}_${c.to}`:"";s.append("period",e.periodFilter.periodType.toLowerCase()+d)}if(((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=e.filters)===null||a===void 0?void 0:a.length)>0){let c=e.filters.map(d=>{let h=d.values.map(u=>u.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(u=>encodeURIComponent(yf(u))).join("_");return`${d.key}~${h}`}).join("*");s.append("filters",c)}return new URL(`${o.replace(/\/+$/,"")}/search?${s.toString()}`).href}var Qn={};T(Qn,{toFtFormComponent:()=>xf});var zr=Symbol("elementInternals");function xf(o,e){class t extends o{static get formAssociated(){return!0}get form(){return this[zr].form}constructor(...i){super(i),this[zr]=this.attachInternals(),this[zr].role=e}setFormValue(i){this[zr].setFormValue(i)}}return t}var ei,ti,ri,oi,vf=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ri=(ti=(ei=window.safari)===null||ei===void 0?void 0:ei.pushNotification)===null||ti===void 0?void 0:ti.toString())!==null&&ri!==void 0?ri:"")==="[object SafariRemoteNotification]",Sf="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(oi=window.ftGlobals)!==null&&oi!==void 0?oi:{lit:ho,litDecorators:mo,litRepeat:go,litClassMap:yo,litStyleMap:bo,litUnsafeHTML:xo,wcUtils:{...Oo,...So,...Co,...Eo,...Ao,...en,...nn,...gn,...Qo,...xn,...La,...No,...wn,...Cn,...Ta,...En,...Jn,...yn,...Xn,...Qn,isSafari:vf,isTouchScreen:Sf}};var Mg={},hs=P``;var ms;(function(o){o.FEEDBACK="FEEDBACK",o.RATING="RATING",o.PRINT="PRINT",o.BOOKMARK="BOOKMARK",o.COLLECTIONS="COLLECTIONS",o.PERSONAL_BOOKS="PERSONAL_BOOKS"})(ms||(ms={}));var Of=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(s=o[l])&&(a=(i<3?s(a):i>3?s(e,t,a):s(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},ii=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},ni=Symbol("registerInterval");function wf(o){var e;class t extends o{constructor(){super(...arguments),this[e]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[ni]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[ni]):this.dispatchEvent(new ii)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ni,Of([Ft()],t.prototype,"stateManager",void 0),t}var Hr=class extends wf(ae){};var ys=Symbol.for(""),Cf=o=>{if(o?.r===ys)return o?._$litStatic$},ai=o=>({_$litStatic$:o,r:ys});var gs=new Map,bs=o=>(e,...t)=>{let n=t.length,i,a,s=[],l=[],c,d=0,h=!1;for(;d<n;){for(c=e[d];d<n&&(a=t[d],(i=Cf(a))!==void 0);)c+=i+e[++d],h=!0;d!==n&&l.push(a),s.push(c),d++}if(d===n&&s.push(e[n]),h){let u=s.join("$$lit$$");(e=gs.get(u))===void 0&&(s.raw=s,gs.set(u,e=s)),t=l}return o(e,...t)},si=bs(Ii),jg=bs(Pi);var jr;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(jr||(jr={}));function xs(o){let e=Bt[o];return P`
|
|
43
|
+
.ft-typography--${Fe(o)} {
|
|
44
|
+
font-family: ${e.fontFamily};
|
|
45
|
+
font-size: ${e.fontSize};
|
|
46
|
+
font-weight: ${e.fontWeight};
|
|
47
|
+
letter-spacing: ${e.letterSpacing};
|
|
48
|
+
line-height: ${e.lineHeight};
|
|
49
|
+
text-transform: ${e.textCase};
|
|
50
|
+
}
|
|
51
|
+
`}var vs=r.extend("--ft-typography-font-family","",Ar.titleFont),be=r.extend("--ft-typography-font-family","",Ar.contentFont),E={fontFamily:be,fontSize:r.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.create("--ft-typography-text-transform","","UNKNOWN","inherit")},mt={fontFamily:r.extend("--ft-typography-title-font-family","",vs),fontSize:r.extend("--ft-typography-title-font-size","",E.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",E.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",E.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",E.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",E.textTransform,"inherit")},gt={fontFamily:r.extend("--ft-typography-title-dense-font-family","",vs),fontSize:r.extend("--ft-typography-title-dense-font-size","",E.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",E.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",E.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",E.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",E.textTransform,"inherit")},yt={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",be),fontSize:r.extend("--ft-typography-subtitle1-font-size","",E.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",E.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",E.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",E.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",E.textTransform,"inherit")},bt={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",be),fontSize:r.extend("--ft-typography-subtitle2-font-size","",E.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",E.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",E.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",E.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",E.textTransform,"inherit")},xt={fontFamily:r.extend("--ft-typography-body1-font-family","",be),fontSize:r.extend("--ft-typography-body1-font-size","",E.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",E.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",E.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",E.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",E.textTransform,"inherit")},vt={fontFamily:r.extend("--ft-typography-body2-font-family","",be),fontSize:r.extend("--ft-typography-body2-font-size","",E.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",E.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",E.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",E.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",E.textTransform,"inherit")},St={fontFamily:r.extend("--ft-typography-caption-font-family","",be),fontSize:r.extend("--ft-typography-caption-font-size","",E.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",E.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",E.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",E.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",E.textTransform,"inherit")},Ot={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",be),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",E.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",E.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",E.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",E.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",E.textTransform,"inherit")},wt={fontFamily:r.extend("--ft-typography-overline-font-family","",be),fontSize:r.extend("--ft-typography-overline-font-size","",E.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",E.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",E.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",E.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",E.textTransform,"uppercase")},Ct={fontFamily:r.extend("--ft-typography-button-font-family","",be),fontSize:r.extend("--ft-typography-button-font-size","",E.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",E.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",E.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",E.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",E.textTransform,"uppercase")},Ss=P`
|
|
52
|
+
.ft-typography--title {
|
|
53
|
+
font-family: ${mt.fontFamily};
|
|
54
|
+
font-size: ${mt.fontSize};
|
|
55
|
+
font-weight: ${mt.fontWeight};
|
|
56
|
+
letter-spacing: ${mt.letterSpacing};
|
|
57
|
+
line-height: ${mt.lineHeight};
|
|
58
|
+
text-transform: ${mt.textTransform};
|
|
59
|
+
}
|
|
60
|
+
`,Os=P`
|
|
61
|
+
.ft-typography--title-dense {
|
|
62
|
+
font-family: ${gt.fontFamily};
|
|
63
|
+
font-size: ${gt.fontSize};
|
|
64
|
+
font-weight: ${gt.fontWeight};
|
|
65
|
+
letter-spacing: ${gt.letterSpacing};
|
|
66
|
+
line-height: ${gt.lineHeight};
|
|
67
|
+
text-transform: ${gt.textTransform};
|
|
68
|
+
}
|
|
69
|
+
`,ws=P`
|
|
70
|
+
.ft-typography--subtitle1 {
|
|
71
|
+
font-family: ${yt.fontFamily};
|
|
72
|
+
font-size: ${yt.fontSize};
|
|
73
|
+
font-weight: ${yt.fontWeight};
|
|
74
|
+
letter-spacing: ${yt.letterSpacing};
|
|
75
|
+
line-height: ${yt.lineHeight};
|
|
76
|
+
text-transform: ${yt.textTransform};
|
|
77
|
+
}
|
|
78
|
+
`,Cs=P`
|
|
79
|
+
.ft-typography--subtitle2 {
|
|
80
|
+
font-family: ${bt.fontFamily};
|
|
81
|
+
font-size: ${bt.fontSize};
|
|
82
|
+
font-weight: ${bt.fontWeight};
|
|
83
|
+
letter-spacing: ${bt.letterSpacing};
|
|
84
|
+
line-height: ${bt.lineHeight};
|
|
85
|
+
text-transform: ${bt.textTransform};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
`,Es=P`
|
|
89
|
+
.ft-typography--body1 {
|
|
90
|
+
font-family: ${xt.fontFamily};
|
|
91
|
+
font-size: ${xt.fontSize};
|
|
92
|
+
font-weight: ${xt.fontWeight};
|
|
93
|
+
letter-spacing: ${xt.letterSpacing};
|
|
94
|
+
line-height: ${xt.lineHeight};
|
|
95
|
+
text-transform: ${xt.textTransform};
|
|
96
|
+
}
|
|
97
|
+
`,Ns=P`
|
|
98
|
+
.ft-typography--body2 {
|
|
99
|
+
font-family: ${vt.fontFamily};
|
|
100
|
+
font-size: ${vt.fontSize};
|
|
101
|
+
font-weight: ${vt.fontWeight};
|
|
102
|
+
letter-spacing: ${vt.letterSpacing};
|
|
103
|
+
line-height: ${vt.lineHeight};
|
|
104
|
+
text-transform: ${vt.textTransform};
|
|
105
|
+
}
|
|
106
|
+
`,As=P`
|
|
107
|
+
.ft-typography--caption {
|
|
108
|
+
font-family: ${St.fontFamily};
|
|
109
|
+
font-size: ${St.fontSize};
|
|
110
|
+
font-weight: ${St.fontWeight};
|
|
111
|
+
letter-spacing: ${St.letterSpacing};
|
|
112
|
+
line-height: ${St.lineHeight};
|
|
113
|
+
text-transform: ${St.textTransform};
|
|
114
|
+
}
|
|
115
|
+
`,Rs=P`
|
|
116
|
+
.ft-typography--breadcrumb {
|
|
117
|
+
font-family: ${Ot.fontFamily};
|
|
118
|
+
font-size: ${Ot.fontSize};
|
|
119
|
+
font-weight: ${Ot.fontWeight};
|
|
120
|
+
letter-spacing: ${Ot.letterSpacing};
|
|
121
|
+
line-height: ${Ot.lineHeight};
|
|
122
|
+
text-transform: ${Ot.textTransform};
|
|
123
|
+
}
|
|
124
|
+
`,Is=P`
|
|
125
|
+
.ft-typography--overline {
|
|
126
|
+
font-family: ${wt.fontFamily};
|
|
127
|
+
font-size: ${wt.fontSize};
|
|
128
|
+
font-weight: ${wt.fontWeight};
|
|
129
|
+
letter-spacing: ${wt.letterSpacing};
|
|
130
|
+
line-height: ${wt.lineHeight};
|
|
131
|
+
text-transform: ${wt.textTransform};
|
|
132
|
+
}
|
|
133
|
+
`,Ps=P`
|
|
134
|
+
.ft-typography--button {
|
|
135
|
+
font-family: ${Ct.fontFamily};
|
|
136
|
+
font-size: ${Ct.fontSize};
|
|
137
|
+
font-weight: ${Ct.fontWeight};
|
|
138
|
+
letter-spacing: ${Ct.letterSpacing};
|
|
139
|
+
line-height: ${Ct.lineHeight};
|
|
140
|
+
text-transform: ${Ct.textTransform};
|
|
141
|
+
}
|
|
142
|
+
`,_s=P`
|
|
143
|
+
.ft-typography {
|
|
144
|
+
vertical-align: inherit;
|
|
145
|
+
}
|
|
146
|
+
`,$s=[Object.keys(Bt).map(o=>xs(o))];var Ls=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(s=o[l])&&(a=(i<3?s(a):i>3?s(e,t,a):s(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},xe=class extends K{constructor(){super(...arguments),this.variant=jr.body1}render(){return this.element?si`
|
|
147
|
+
<${ai(this.element)}
|
|
148
|
+
part="text"
|
|
149
|
+
class="ft-typography ft-typography--${this.variant}">
|
|
150
|
+
<slot></slot>
|
|
151
|
+
</${ai(this.element)}>
|
|
152
|
+
`:si`
|
|
153
|
+
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
154
|
+
`}};xe.styles=[Ss,Os,ws,Cs,Es,Ns,As,Rs,Is,Ps,_s,...$s];Ls([_()],xe.prototype,"element",void 0);Ls([_()],xe.prototype,"variant",void 0);pe("ft-typography")(xe);var ks=P`
|
|
155
|
+
`;var Ef="ft-app-info",Nf={},I=Qe.get({name:Ef,reducers:Nf,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var et=class o{static get(e){let{baseUrl:t,apiIntegrationIdentifier:n}=I.getState(),i=e??n;if(t&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(t,i,!0)}static await(e){return new Promise(t=>{let n=o.get(e);if(n)t(n);else{let i=I.subscribe(()=>{n=o.get(e),n&&(i(),t(n))})}})}};var $e=class{constructor(e=!0,t){var n;this.overrideApi=t;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new oe,this.cache=e?i.commonCache:new oe}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:et.get()}get awaitApi(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:et.await()}clearCache(){this.cache.clearAll()}};var Ts,Af=Symbol("clearAfterUnitTest"),Kr=class extends $e{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ts]=()=>{this.defaultMessages={},this.cache=new oe,this.listeners={}},this.currentUiLocale=I.getState().uiLocale,I.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=I.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let t=e.name.toLowerCase();this.cache.setFinal(t,e),this.notify(t)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,t){var n;if(e=e.toLowerCase(),Object.keys(t).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...t};q(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveMessage(e,t,...n){var i,a,s;e=e.toLowerCase(),this.fetchContext(e);let l=(a=(i=this.cache.getNow(e))===null||i===void 0?void 0:i.messages)!==null&&a!==void 0?a:{};return new qt((s=this.defaultMessages[e])!==null&&s!==void 0?s:{},l).resolve(t,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(t){console.error(t)}}subscribe(e,t){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(t),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(t)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(t=>Nr(0).then(()=>t()).catch(()=>null)))}};Ts=Af;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Kr{constructor(){super(async(o,e)=>(await this.awaitApi).getFluidTopicsMessageContext(o,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Kr{constructor(){super(async(o,e)=>(await this.awaitApi).getCustomMessageContext(o,e))}});var Et=window.FluidTopicsI18nService,Ms=window.FluidTopicsCustomI18nService;var z=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(s=o[l])&&(a=(i<3?s(a):i>3?s(e,t,a):s(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},F=class extends K{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>et.get(),this.messageContexts=[],this.cache=new oe,this.cleanSessionDebouncer=new Ve}render(){return Ke`
|
|
156
|
+
<slot></slot>
|
|
157
|
+
`}update(e){super.update(e),e.has("baseUrl")&&(I.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&I.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&I.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&I.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&I.actions.noCustom(this.noCustom),e.has("editorMode")&&I.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&I.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&I.actions.session(this.session),e.has("availableUiLocales")&&I.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(t=>Et.addContext(t)),e.has("openExternalDocumentInNewTab")&&I.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&I.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&I.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};F.elementDefinitions={};F.styles=ks;z([_()],F.prototype,"baseUrl",void 0);z([_()],F.prototype,"apiIntegrationIdentifier",void 0);z([_()],F.prototype,"uiLocale",void 0);z([ne(null)],F.prototype,"availableUiLocales",void 0);z([ne(null)],F.prototype,"metadataConfiguration",void 0);z([_({type:Boolean})],F.prototype,"editorMode",void 0);z([_({type:Boolean})],F.prototype,"noCustom",void 0);z([_({type:Boolean})],F.prototype,"openExternalDocumentInNewTab",void 0);z([_({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],F.prototype,"noCustomComponent",void 0);z([_({type:Boolean})],F.prototype,"withManualResources",void 0);z([_({type:Boolean})],F.prototype,"navigatorOnline",void 0);z([_({type:Boolean})],F.prototype,"forcedOffline",void 0);z([_({type:Object})],F.prototype,"apiProvider",void 0);z([ne([])],F.prototype,"messageContexts",void 0);z([ne(void 0)],F.prototype,"session",void 0);var Vr=class extends $e{async listMySearches(){let e=I.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Gr=class extends $e{async listMyBookmarks(){let e=I.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Rf="ft-user-assets",Zr=Qe.get({name:Rf,initialState:{savedSearches:void 0,bookmarks:void 0}}),ci=class{constructor(){this.currentSession=I.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Gr,this.savedSearchesService=new Vr,I.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:t}=I.getState();q((e=this.currentSession)===null||e===void 0?void 0:e.profile,t?.profile)||(this.currentSession=t,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Zr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Zr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Zr.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let t=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Zr.actions.bookmarks(t)}}},xb=new ci;var li=class{addCommand(e,t=!1){I.commands.add(e,t)}consumeCommand(e){return I.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new li;var fi=class{highlightHtml(e,t){On(e,t)}};window.FluidTopicsHighlightHtmlService=new fi;pe("ft-app-context")(F);var Us=P`
|
|
158
|
+
`;var If=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(s=o[l])&&(a=(i<3?s(a):i>3?s(e,t,a):s(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},di=Symbol("i18nAttributes"),qr=Symbol("i18nProperties"),er=Symbol("i18nUnsubs");function Jr(o){var e;class t extends o{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Ms:Et}i18n(i,a,...s){var l;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let c=(l=i.args)!==null&&l!==void 0?l:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...c)}onI18nUpdate(i){var a,s;(a=this[di])===null||a===void 0||a.forEach((l,c)=>{var d;let h=this.getI18nAttributeValue(c);((d=h?.context)===null||d===void 0?void 0:d.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(c,h,l)}),(s=this[qr])===null||s===void 0||s.forEach((l,c)=>{l.context.toLowerCase()===i.toLowerCase()&&(this[c]=this.i18n(l))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,a,s){this[i]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(i){var a,s;super.update(i),(a=this[di])===null||a===void 0||a.forEach((l,c)=>{let d=this.getI18nAttributeValue(c);d?.context&&d.key&&(i.has(c)||l.argsProvider!=null)&&(i.has(c)&&this.addI18nContext(d.context),this.updateI18nAttributeMessage(c,d,l))}),(s=this[qr])===null||s===void 0||s.forEach((l,c)=>{l.argsProvider!=null&&(this[c]=this.i18n(l))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,s,l;super.connectedCallback(),new Set([...(a=(i=this[qr])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(l=(s=this[di])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(c=>this.getI18nAttributeValue(c))].map(c=>c?.context)).forEach(c=>c&&this.addI18nMessages(c))}addI18nMessages(i,a){i=i.toLowerCase(),this[er].has(i)||this[er].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{})}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[er].forEach(i=>i()),this[er].clear()}}return e=er,If([_({type:Boolean})],t.prototype,"useCustomMessageContexts",void 0),t}var Ws=class extends Jr(K){},Yr=class extends Jr(ae){};var tr=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(s=o[l])&&(a=(i<3?s(a):i>3?s(e,t,a):s(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},ee=class extends Yr{constructor(){super(),this.editorMode=!1,this.addStore(I)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":U:Ke`
|
|
159
|
+
<span class="ft-i18n">
|
|
160
|
+
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
161
|
+
</span>
|
|
162
|
+
`}update(e){var t;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(t=this.defaultMessage)!==null&&t!==void 0?t:""})}};ee.elementDefinitions={};ee.styles=Us;tr([lt()],ee.prototype,"editorMode",void 0);tr([_()],ee.prototype,"context",void 0);tr([_()],ee.prototype,"key",void 0);tr([ne([])],ee.prototype,"args",void 0);tr([_()],ee.prototype,"defaultMessage",void 0);var Xr=class o{static build(e){return new o(e)}static fromGwt(e){return new o(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(t,n)=>{let i=n;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(t,n)=>(...i)=>Et.resolveMessage(this.name,n,...i)})}};pe("ft-i18n")(ee);var pi=Xr.build("readerPageTitle"),Fs={pageTitle:"Page title"};var Qr=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(s=o[l])&&(a=(i<3?s(a):i>3?s(e,t,a):s(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},ce=class extends Jr(Hr){constructor(){super(),this.target="current",this.editorMode=!1,this.addStore(I),this.addI18nContext(pi,Fs)}render(){var e,t;let n=(t=(e=this.targetPage)===null||e===void 0?void 0:e.title)!==null&&t!==void 0?t:this.editorMode?pi.messages.pageTitle():void 0;return n?Ke`<ft-typography variant="title" part="text">${n}</ft-typography>`:U}update(e){var t;if(super.update(e),e.has("currentPage")||e.has("target")){let n=this.computeOffset(this.target);if(this.currentPage&&n!=0){let i=this.currentPage.number+n;(t=this.service)===null||t===void 0||t.getPage(i).then(a=>{a.number==i?this.targetPage=a:this.targetPage=void 0})}else this.targetPage=this.currentPage}}computeOffset(e){switch(e){case"next":return 1;case"previous":return-1;default:return 0}}};ce.styles=hs;ce.elementDefinitions={"ft-typography":xe};Qr([_()],ce.prototype,"target",void 0);Qr([lt({store:"reader"})],ce.prototype,"currentPage",void 0);Qr([Ft()],ce.prototype,"targetPage",void 0);Qr([lt({store:I.name})],ce.prototype,"editorMode",void 0);pe("ft-reader-page-title")(ce);})();
|
|
163
|
+
/*! Bundled license information:
|
|
164
|
+
|
|
165
|
+
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|
|
166
|
+
(**
|
|
3
167
|
* @license
|
|
4
168
|
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
|
|
5
169
|
* This code may only be used under the BSD style license found at
|
|
@@ -11,291 +175,187 @@
|
|
|
11
175
|
* Code distributed by Google as part of the polymer project is also
|
|
12
176
|
* subject to an additional IP rights grant found at
|
|
13
177
|
* http://polymer.github.io/PATENTS.txt
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
178
|
+
*)
|
|
179
|
+
|
|
180
|
+
@lit/reactive-element/css-tag.js:
|
|
181
|
+
(**
|
|
17
182
|
* @license
|
|
18
183
|
* Copyright 2019 Google LLC
|
|
19
184
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
-
|
|
21
|
-
|
|
185
|
+
*)
|
|
186
|
+
|
|
187
|
+
@lit/reactive-element/reactive-element.js:
|
|
188
|
+
(**
|
|
22
189
|
* @license
|
|
23
190
|
* Copyright 2017 Google LLC
|
|
24
191
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
|
|
26
|
-
|
|
192
|
+
*)
|
|
193
|
+
|
|
194
|
+
lit-html/lit-html.js:
|
|
195
|
+
(**
|
|
27
196
|
* @license
|
|
28
197
|
* Copyright 2017 Google LLC
|
|
29
198
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
199
|
+
*)
|
|
200
|
+
|
|
201
|
+
@lit/reactive-element/css-tag.js:
|
|
202
|
+
(**
|
|
33
203
|
* @license
|
|
34
204
|
* Copyright 2019 Google LLC
|
|
35
205
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
206
|
+
*)
|
|
207
|
+
|
|
208
|
+
@lit/reactive-element/reactive-element.js:
|
|
209
|
+
(**
|
|
39
210
|
* @license
|
|
40
211
|
* Copyright 2017 Google LLC
|
|
41
212
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
|
-
|
|
43
|
-
|
|
213
|
+
*)
|
|
214
|
+
|
|
215
|
+
lit-html/lit-html.js:
|
|
216
|
+
(**
|
|
44
217
|
* @license
|
|
45
218
|
* Copyright 2017 Google LLC
|
|
46
219
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
220
|
+
*)
|
|
221
|
+
|
|
222
|
+
lit-element/lit-element.js:
|
|
223
|
+
(**
|
|
50
224
|
* @license
|
|
51
225
|
* Copyright 2017 Google LLC
|
|
52
226
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
53
|
-
|
|
54
|
-
|
|
227
|
+
*)
|
|
228
|
+
|
|
229
|
+
lit-html/is-server.js:
|
|
230
|
+
(**
|
|
231
|
+
* @license
|
|
232
|
+
* Copyright 2022 Google LLC
|
|
233
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
234
|
+
*)
|
|
235
|
+
|
|
236
|
+
@lit/reactive-element/decorators/custom-element.js:
|
|
237
|
+
(**
|
|
55
238
|
* @license
|
|
56
239
|
* Copyright 2017 Google LLC
|
|
57
240
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
58
|
-
|
|
59
|
-
|
|
241
|
+
*)
|
|
242
|
+
|
|
243
|
+
@lit/reactive-element/decorators/property.js:
|
|
244
|
+
(**
|
|
60
245
|
* @license
|
|
61
246
|
* Copyright 2017 Google LLC
|
|
62
247
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
63
|
-
|
|
64
|
-
|
|
248
|
+
*)
|
|
249
|
+
|
|
250
|
+
@lit/reactive-element/decorators/state.js:
|
|
251
|
+
(**
|
|
65
252
|
* @license
|
|
66
253
|
* Copyright 2017 Google LLC
|
|
67
254
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
|
-
|
|
69
|
-
|
|
255
|
+
*)
|
|
256
|
+
|
|
257
|
+
@lit/reactive-element/decorators/event-options.js:
|
|
258
|
+
(**
|
|
70
259
|
* @license
|
|
71
260
|
* Copyright 2017 Google LLC
|
|
72
261
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
|
-
|
|
74
|
-
|
|
262
|
+
*)
|
|
263
|
+
|
|
264
|
+
@lit/reactive-element/decorators/base.js:
|
|
265
|
+
(**
|
|
75
266
|
* @license
|
|
76
267
|
* Copyright 2017 Google LLC
|
|
77
268
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
269
|
+
*)
|
|
270
|
+
|
|
271
|
+
@lit/reactive-element/decorators/query.js:
|
|
272
|
+
(**
|
|
81
273
|
* @license
|
|
82
274
|
* Copyright 2017 Google LLC
|
|
83
275
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
|
-
|
|
85
|
-
|
|
276
|
+
*)
|
|
277
|
+
|
|
278
|
+
@lit/reactive-element/decorators/query-all.js:
|
|
279
|
+
(**
|
|
86
280
|
* @license
|
|
87
281
|
* Copyright 2017 Google LLC
|
|
88
282
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
283
|
+
*)
|
|
284
|
+
|
|
285
|
+
@lit/reactive-element/decorators/query-async.js:
|
|
286
|
+
(**
|
|
92
287
|
* @license
|
|
93
288
|
* Copyright 2017 Google LLC
|
|
94
289
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
95
|
-
|
|
96
|
-
|
|
290
|
+
*)
|
|
291
|
+
|
|
292
|
+
@lit/reactive-element/decorators/query-assigned-elements.js:
|
|
293
|
+
(**
|
|
97
294
|
* @license
|
|
98
295
|
* Copyright 2021 Google LLC
|
|
99
296
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
297
|
+
*)
|
|
298
|
+
|
|
299
|
+
@lit/reactive-element/decorators/query-assigned-nodes.js:
|
|
300
|
+
(**
|
|
103
301
|
* @license
|
|
104
302
|
* Copyright 2017 Google LLC
|
|
105
303
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
106
|
-
|
|
107
|
-
|
|
304
|
+
*)
|
|
305
|
+
|
|
306
|
+
lit-html/directive.js:
|
|
307
|
+
(**
|
|
108
308
|
* @license
|
|
109
309
|
* Copyright 2017 Google LLC
|
|
110
310
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
111
|
-
|
|
112
|
-
|
|
311
|
+
*)
|
|
312
|
+
|
|
313
|
+
lit-html/directive-helpers.js:
|
|
314
|
+
(**
|
|
113
315
|
* @license
|
|
114
316
|
* Copyright 2020 Google LLC
|
|
115
317
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
116
|
-
|
|
117
|
-
|
|
318
|
+
*)
|
|
319
|
+
|
|
320
|
+
lit-html/directives/repeat.js:
|
|
321
|
+
(**
|
|
118
322
|
* @license
|
|
119
323
|
* Copyright 2017 Google LLC
|
|
120
324
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
121
|
-
|
|
122
|
-
|
|
325
|
+
*)
|
|
326
|
+
|
|
327
|
+
lit-html/directives/class-map.js:
|
|
328
|
+
(**
|
|
123
329
|
* @license
|
|
124
330
|
* Copyright 2018 Google LLC
|
|
125
331
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
126
|
-
|
|
127
|
-
|
|
332
|
+
*)
|
|
333
|
+
|
|
334
|
+
lit-html/directives/style-map.js:
|
|
335
|
+
(**
|
|
128
336
|
* @license
|
|
129
337
|
* Copyright 2018 Google LLC
|
|
130
338
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
131
|
-
|
|
132
|
-
|
|
339
|
+
*)
|
|
340
|
+
|
|
341
|
+
lit-html/directives/unsafe-html.js:
|
|
342
|
+
(**
|
|
133
343
|
* @license
|
|
134
344
|
* Copyright 2017 Google LLC
|
|
135
345
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
136
|
-
*/let Go=class extends Wo{constructor(t){if(super(t),this.et=D,t.type!==Lo)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===D||null==t)return this.vt=void 0,this.et=t;if(t===Z)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});class te{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)}}var oe=Object.freeze({__proto__:null,CacheRegistry:te});class ee{constructor(t,o,e,r){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=r}static extractResultMetadata(t,o){var e,r;let n=(null!==(r=null!==(e=null==t?void 0:t.map)&&void 0!==e?e:null==t?void 0:t.document)&&void 0!==r?r:null==t?void 0:t.topic).metadata.map((t=>ee.flattenMetadata(t)));return null==o?n:n.find((t=>t.key===o))}static flattenMetadata(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" > ")),t.length>2?e.push(`... > ${t[t.length-1]}`):e.push(t.join(" > "))})),{key:t.key,label:t.label,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,label:t.label,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o,e="No value"){var r,n;let i=ee.extractResultMetadata(this.selectedResult,t),a=null!==(r=null==i?void 0:i.label)&&void 0!==r?r:null===(n=this.getMetadataDescriptor(t))||void 0===n?void 0:n.label;const l=this.allResults.map((o=>ee.extractResultMetadata(o,t))).map((o=>null!=o?o:{key:t,label:a,value:void 0,displayValue:e})).filter((t=>t.value!=(null==i?void 0:i.value))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return l.map((o=>({result:this.findBestResultForMetadataValue(t,o.value),metadata:o}))).sort(((e,r)=>this.compareMetadata(e.metadata.value,r.metadata.value,t,o)))}compareMetadata(t,o,e,r){if(null==t)return-1;if(null==o)return 1;let n=this.getMetadataDescriptor(e),i=(null==n?void 0:n.sortRule)||"NONE",a=(null==n?void 0:n.reverseSort)||!1;if("ALPHABET"==i||"VERSION"==i){let e=t.localeCompare(o,r,{numeric:!0});return a?-1*e:e}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find((o=>t==o.key))}findBestResultForMetadataValue(t,o){const e=this.allResults.filter((e=>{var r;return(null===(r=ee.extractResultMetadata(e,t))||void 0===r?void 0:r.value)==o}));let r,n=ee.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),i=[...n.filter((o=>o.key!==t))],a=-1;for(let t of e){let o=this.countMatchingMetadata(t,i);if(o>a&&(a=o,r=t,o===i.length))break}return r}countMatchingMetadata(t,o){return ee.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var re=Object.freeze({__proto__:null,ClusteringHelper:ee});class ne{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,n=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)}n(!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:ne});const ae=t=>new Promise((o=>setTimeout(o,t)));async function le(t,o=10,e=2e4){let r,n,i=await t();for(r=n=performance.now();null==i&&(!e||n-r<e);)await ae(o),i=await t(),n=performance.now();if(null==i)throw new Error("Timeout exceeded");return i}function se(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,n;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=(n=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,n[r]))return!1;for(r=e;0!=r--;){var i=n[r];if(!ce(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}var fe=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?se(e):e}},deepEqual:ce,delay:ae,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:se,waitFor:le,waitUntil:async function(t,o=10,e=2e4){await le((async()=>await t()||void 0),o,e)}});const de=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function pe(t,o){const e=()=>JSON.parse(JSON.stringify(t));return So({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!ce(t,o),...null!=o?o:{}})}function he(t){return!isNaN(parseFloat(t))}var ue=Object.freeze({__proto__:null,customElement:de,isNumber:he,jsonProperty:pe,optionalNumberProperty:function(t){return So({type:Object,converter:{fromAttribute:t=>{if(null!=t)return he(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const ye=t=>"string"==typeof t?dt(t):t;class ge{static create(t,o,e,r){const n=t=>ye(null!=t?t:r),i=pt`var(${ye(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>pt`var(${ye(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>r,i}static extend(t,o,e,r){const n=t=>e.get(null!=t?t:r),i=pt`var(${ye(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e.category,i.fallbackVariable=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>pt`var(${ye(t)}, ${n(o)})`,i.breadcrumb=()=>[e.name,...e.breadcrumb()],i.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),i}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):ye(null!=o?o:t.lastResortDefaultValue()),r=pt`var(${ye(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(${ye(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const be={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)")},me={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")},ve={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")},Oe={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")},xe={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")},we={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")},Se={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")},Ce={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")},Ne={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")},Ee={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")},Re={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")},Ie={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")},Le={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")},Ue={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")},ke={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")},$e={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")},ze={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")},Be={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")},Ae={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")},Fe={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")},Pe={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")},_e={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")},Me={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")},je={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")},Ke={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")},Ze={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")},De={display:me,"title-1":ve,"title-2":Oe,"title-3":xe,"body-1-regular":we,"body-1-medium":Se,"body-1-semibold":Ce,"body-2-regular":Ne,"body-2-medium":Ee,"body-2-medium-underline":Re,"body-2-semibold":Ie,"label-1-medium":Le,"label-1-semibold":Ue,"label-1-bold":We,"label-2-medium":ke,"label-2-semibold":$e,"label-2-bold":ze,"caption-1-medium":Be,"caption-1-semibold":Ae,"caption-1-bold":Fe,"caption-2-medium":Pe,"caption-2-semibold":_e,"caption-2-bold":Me,"caption-3-medium":je,"caption-3-semibold":Ke,"caption-3-bold":Ze},He={backgroundActionPrimary:ge.extend("--ft-background-action-primary","Used as backgorund of primary action components.",be.colorBrand0),backgroundErrorSubtle:ge.extend("--ft-background-error-subtle","Used as background of subtle error components.",be.colorRed10),backgroundInfoSubtle:ge.extend("--ft-background-info-subtle","Used as background of subtle information components.",be.colorCyan10),backgroundWarningSubtle:ge.extend("--ft-background-warning-subtle","Used as background of subtle information components.",be.colorOrange10),backgroundSuccessSubtle:ge.extend("--ft-background-success-subtle","Used as background of subtle success components.",be.colorGreen10),backgroundGlobalSurface:ge.extend("--ft-background-global-surface","Used as app background.",be.colorWhite),backgroundGlobalOnSurface:ge.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",be.colorGray10),backgroundGlobalOnSurfaceDark:ge.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",be.colorGray30),contentActionPrimary:ge.extend("--ft-content-action-primary","Used on label of primary action on light surface.",be.colorBrand0),contentWarningPrimary:ge.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",be.colorOrange200),contentWarningIconOnly:ge.extend("--ft-content-warning-icon-only","Used on warning status icons alone",be.colorOrange0),contentErrorPrimary:ge.extend("--ft-content-error-primary","Used on label of error messages on light surface.",be.colorRed0),contentErrorIconOnly:ge.extend("--ft-content-error-icon-only","Used on error status icons alone",be.colorRed70),contentInfoPrimary:ge.extend("--ft-content-info-primary","Used on label of information messages on light surface.",be.colorCyan200),contentInfoIconOnly:ge.extend("--ft-content-info-icon-only","Used on info status icons alone",be.colorCyan0),contentSuccessPrimary:ge.extend("--ft-content-success-primary","Used on label of success messages on light surface.",be.colorGreen200),contentSuccessIconOnly:ge.extend("--ft-content-success-icon-only","Used on success status icons alone",be.colorGreen0),contentGlobalPrimary:ge.extend("--ft-content-global-primary","Used for main content on the page.",be.colorGray500),contentGlobalSecondary:ge.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",be.colorGray200),contentGlobalSubtle:ge.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",be.colorGray0),contentGlobalOnColor:ge.extend("--ft-content-global-on-color","Used for content on a dominant color.",be.colorWhite),borderActionPrimary:ge.extend("--ft-border-action-primary","Used as border for primary action components.",be.colorBrand0),borderActionFocusRing:ge.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",be.colorCyan0),borderWarningPrimary:ge.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",be.colorOrange200),borderWarningSubtle:ge.extend("--ft-border-warning-subtle","Used as border for warning components.",be.colorOrange30),borderSuccessPrimary:ge.extend("--ft-border-success-primary","Used as border for success buttons.",be.colorGreen200),borderSuccessSubtle:ge.extend("--ft-border-success-subtle","Used as border for success components.",be.colorGreen30),borderErrorPrimary:ge.extend("--ft-border-error-primary","Used as border for text fields in error states.",be.colorRed0),borderErrorSubtle:ge.extend("--ft-border-error-subtle","Used as border for error components.",be.colorRed30),borderInfoPrimary:ge.extend("--ft-border-info-primary","Used as border for buttons in info color.",be.colorCyan200),borderInfoSubtle:ge.extend("--ft-border-info-subtle","Used as border for information components.",be.colorCyan30),borderGlobalPrimary:ge.extend("--ft-border-global-primary","Used as border for element like input.",be.colorGray50),borderGlobalSubtle:ge.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",be.colorGray30),borderInputPrimary:ge.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",be.colorGray80)},Te={largeHeight:ge.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ge.extend("--ft-button-large-horizontal-padding","",be.spacing4),largeGap:ge.extend("--ft-button-large-gap","",be.spacing2),largeBorderRadius:ge.extend("--ft-button-large-border-radius","",be.borderRadiusS),largeIconSize:ge.extend("--ft-button-large-icon-size","",be.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","",be.spacing3),smallGap:ge.extend("--ft-button-small-gap","",be.spacing2),smallBorderRadius:ge.extend("--ft-button-small-border-radius","",be.borderRadiusS),smallIconSize:ge.extend("--ft-button-small-icon-size","",be.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","",He.backgroundActionPrimary),primaryColor:ge.extend("--ft-button-primary-color","",He.contentGlobalOnColor),primaryIconColor:ge.extend("--ft-button-primary-icon-color","",He.contentGlobalOnColor),primaryStateLayerColor:ge.extend("--ft-button-primary-state-layer-color","",He.contentGlobalOnColor),primaryHoverStateLayerOpacity:ge.extend("--ft-button-primary-hover-state-layer-opacity","",be.opacity16),primaryFocusStateLayerOpacity:ge.extend("--ft-button-primary-focus-state-layer-opacity","",be.opacity16),primaryActiveStateLayerOpacity:ge.extend("--ft-button-primary-active-state-layer-opacity","",be.opacity24),primaryDisabledComponentOpacity:ge.extend("--ft-button-primary-disabled-component-opacity","",be.opacity40),focusFocusRingColor:ge.extend("--ft-button-focus-focus-ring-color","",He.borderActionFocusRing),tertiaryBackgroundColor:ge.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ge.extend("--ft-button-tertiary-color","",He.contentActionPrimary),tertiaryIconColor:ge.extend("--ft-button-tertiary-icon-color","",He.contentActionPrimary),tertiaryStateLayerColor:ge.extend("--ft-button-tertiary-state-layer-color","",He.contentActionPrimary),tertiaryHoverStateLayerOpacity:ge.extend("--ft-button-tertiary-hover-state-layer-opacity","",be.opacity8),tertiaryFocusStateLayerOpacity:ge.extend("--ft-button-tertiary-focus-state-layer-opacity","",be.opacity8),tertiaryActiveStateLayerOpacity:ge.extend("--ft-button-tertiary-active-state-layer-opacity","",be.opacity16),tertiaryDisabledComponentOpacity:ge.extend("--ft-button-tertiary-disabled-component-opacity","",be.opacity40),secondaryBackgroundColor:ge.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ge.extend("--ft-button-secondary-color","",He.contentActionPrimary),secondaryIconColor:ge.extend("--ft-button-secondary-icon-color","",He.contentActionPrimary),secondaryStateLayerColor:ge.extend("--ft-button-secondary-state-layer-color","",He.contentActionPrimary),secondaryHoverStateLayerOpacity:ge.extend("--ft-button-secondary-hover-state-layer-opacity","",be.opacity8),secondaryFocusStateLayerOpacity:ge.extend("--ft-button-secondary-focus-state-layer-opacity","",be.opacity8),secondaryActiveStateLayerOpacity:ge.extend("--ft-button-secondary-active-state-layer-opacity","",be.opacity16),secondaryDisabledComponentOpacity:ge.extend("--ft-button-secondary-disabled-component-opacity","",be.opacity40),secondaryBorderColor:ge.extend("--ft-button-secondary-border-color","",He.borderActionPrimary),neutralBackgroundColor:ge.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ge.extend("--ft-button-neutral-icon-color","",He.contentGlobalSecondary),neutralColor:ge.extend("--ft-button-neutral-color","",He.contentGlobalSecondary),neutralStateLayerColor:ge.extend("--ft-button-neutral-state-layer-color","",He.contentGlobalSecondary),neutralHoverStateLayerOpacity:ge.extend("--ft-button-neutral-hover-state-layer-opacity","",be.opacity8),neutralFocusStateLayerOpacity:ge.extend("--ft-button-neutral-focus-state-layer-opacity","",be.opacity8),neutralActiveStateLayerOpacity:ge.extend("--ft-button-neutral-active-state-layer-opacity","",be.opacity16),neutralDisabledComponentOpacity:ge.extend("--ft-button-neutral-disabled-component-opacity","",be.opacity40)},Ge={iconSize:ge.extend("--ft-banner-icon-size","",be.iconSize5),borderWidth:ge.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:ge.extend("--ft-banner-horizontal-padding","",be.spacing6),verticalPadding:ge.extend("--ft-banner-vertical-padding","",be.spacing6),horizontalSideGap:ge.extend("--ft-banner-horizontal-side-gap","",be.spacing6),horizontalMobileGap:ge.extend("--ft-banner-horizontal-mobile-gap","",be.spacing4),verticalMobileGap:ge.extend("--ft-banner-vertical-mobile-gap","",be.spacing6),horizontalMiddleGap:ge.extend("--ft-banner-horizontal-middle-gap","",be.spacing20),infoBackgroundColor:ge.extend("--ft-banner-info-background-color","",He.backgroundInfoSubtle),infoColor:ge.extend("--ft-banner-info-color","",He.contentInfoPrimary),infoIconColor:ge.extend("--ft-banner-info-icon-color","",He.contentInfoIconOnly)},Ve={horizontalGap:ge.extend("--ft-breadcrumb-horizontal-gap","",be.spacing1),verticalGap:ge.extend("--ft-breadcrumb-vertical-gap","",be.spacing2),currentElementColor:ge.extend("--ft-breadcrumb-current-element-color","",He.contentGlobalPrimary),iconColor:ge.extend("--ft-breadcrumb-icon-color","",He.contentGlobalSubtle)},qe={horizontalPadding:ge.extend("--ft-page-header-horizontal-padding","",be.spacing12),horizontalGap:ge.extend("--ft-page-header-horizontal-gap","",be.spacing4),verticalGap:ge.extend("--ft-page-header-vertical-gap","",be.spacing2),classicVerticalPadding:ge.extend("--ft-page-header-classic-vertical-padding","",be.spacing6),multilineVerticalPadding:ge.extend("--ft-page-header-multiline-vertical-padding","",be.spacing4),inlineVerticalPadding:ge.extend("--ft-page-header-inline-vertical-padding","",be.spacing2),backgroundColor:ge.extend("--ft-page-header-background-color","",be.colorWhite),bottomBorderColor:ge.extend("--ft-page-header-bottom-border-color","",He.borderGlobalSubtle),titleColor:ge.extend("--ft-page-header-title-color","",He.contentGlobalPrimary),subtitleColor:ge.extend("--ft-page-header-subtitle-color","",He.contentGlobalSecondary)},Ye={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","",be.colorGray700),overlayOpacity:ge.extend("--ft-modal-overlay-opacity","",be.opacity40),shadow:ge.extend("--ft-modal-shadow","",be.shadowElevation03),bodyBackgroundColor:ge.extend("--ft-modal-body-background-color","",be.colorWhite),bodyColor:ge.extend("--ft-modal-body-color","",He.contentGlobalPrimary),bodyHorizontalPadding:ge.extend("--ft-modal-body-horizontal-padding","",be.spacing6),bodyVerticalPadding:ge.extend("--ft-modal-body-vertical-padding","",be.spacing6),bodyVerticalGap:ge.extend("--ft-modal-body-vertical-gap","",be.spacing6),containerMargin:ge.extend("--ft-modal-container-margin","",be.spacing3),headerBackgroundColor:ge.extend("--ft-modal-header-background-color","",He.backgroundGlobalOnSurface),headerBorderColor:ge.extend("--ft-modal-header-border-color","",He.borderGlobalSubtle),headerColor:ge.extend("--ft-modal-header-color","",He.contentGlobalPrimary),headerTrailingIconColor:ge.extend("--ft-modal-header-trailing-icon-color","",He.contentGlobalSecondary),headerVerticalPadding:ge.extend("--ft-modal-header-vertical-padding","",be.spacing1),headerRightPadding:ge.extend("--ft-modal-header-right-padding","",be.spacing1),headerLeftPadding:ge.extend("--ft-modal-header-left-padding","",be.spacing6),headerGap:ge.extend("--ft-modal-header-gap","",be.spacing2),headerBorderBottom:ge.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:ge.extend("--ft-modal-border-radius","",be.borderRadiusM)},Je={overlayOpacity:ge.extend("--ft-drawer-overlay-opacity","",be.opacity40),shadow:ge.extend("--ft-drawer-shadow","",be.shadowElevation03),bodyColor:ge.extend("--ft-drawer-body-color","",He.contentGlobalPrimary),bodyHorizontalPadding:ge.extend("--ft-drawer-body-horizontal-padding","",be.spacing6),bodyVerticalPadding:ge.extend("--ft-drawer-body-vertical-padding","",be.spacing6),bodyGap:ge.extend("--ft-drawer-body-gap","",be.spacing6),bodyBackgroundColor:ge.extend("--ft-drawer-body-background-color","",be.colorWhite),headerBackgroundColor:ge.extend("--ft-drawer-header-background-color","",He.backgroundGlobalOnSurface),headerBorderColor:ge.extend("--ft-drawer-header-border-color","",He.borderGlobalSubtle),headerColor:ge.extend("--ft-drawer-header-color","",He.contentGlobalPrimary),headerTrailingIconColor:ge.extend("--ft-drawer-header-trailing-icon-color","",He.contentGlobalSecondary),headerHeight:ge.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:ge.extend("--ft-drawer-header-horizontal-padding","",be.spacing2),headerBorderWidth:ge.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:ge.extend("--ft-drawer-header-gap","",be.spacing3),buttonsBarBackgroundColor:ge.extend("--ft-drawer-buttons-bar-background-color","",He.backgroundGlobalOnSurface),buttonsBarBorderColor:ge.extend("--ft-drawer-buttons-bar-border-color","",He.borderGlobalSubtle),buttonsBarColor:ge.extend("--ft-drawer-buttons-bar-color","",He.contentGlobalPrimary),buttonsBarHorizontalPadding:ge.extend("--ft-drawer-buttons-bar-horizontal-padding","",be.spacing4),buttonsBarVerticalPadding:ge.extend("--ft-drawer-buttons-bar-vertical-padding","",be.spacing4),buttonsBarGap:ge.extend("--ft-drawer-buttons-bar-gap","",be.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","",be.colorGray700)},Xe={fieldHorizontalPadding:ge.extend("--ft-text-input-field-horizontal-padding","",be.spacing4),fieldHorizontalGap:ge.extend("--ft-text-input-field-horizontal-gap","",be.spacing3),fieldVerticalGap:ge.extend("--ft-text-input-field-vertical-gap","",be.spacing05),fieldIconSize:ge.extend("--ft-text-input-field-icon-size","",be.iconSize3),fieldHeight:ge.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:ge.extend("--ft-text-input-helper-horizontal-padding","",be.spacing4),helperHorizontalGap:ge.extend("--ft-text-input-helper-horizontal-gap","",be.spacing1),helperIconSize:ge.extend("--ft-text-input-helper-icon-size","",be.iconSize2),borderRadius:ge.extend("--ft-text-input-border-radius","",be.borderRadiusM),backgroundColor:ge.extend("--ft-text-input-background-color","",be.colorWhite),contentValueColor:ge.extend("--ft-text-input-content-value-color","",He.contentGlobalPrimary),trailingIconColor:ge.extend("--ft-text-input-trailing-icon-color","",He.contentGlobalSubtle),labelColor:ge.extend("--ft-text-input-label-color","",He.contentGlobalSubtle),defaultBorderColor:ge.extend("--ft-text-input-default-border-color","",He.borderInputPrimary),defaultHelperTextColor:ge.extend("--ft-text-input-default-helper-text-color","",He.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","",He.borderErrorPrimary),errorHelperTextColor:ge.extend("--ft-text-input-error-helper-text-color","",He.contentErrorPrimary),errorHelperIconColor:ge.extend("--ft-text-input-error-helper-icon-color","",He.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","",He.borderActionFocusRing),focusOutlineOffset:ge.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ge.extend("--ft-text-input-disabled-component-opacity","",be.opacity40)},Qe={backgroundColor:ge.extend("--ft-text-area-background-color","",be.colorWhite),contentValueColor:ge.extend("--ft-text-area-content-value-color","",He.contentGlobalPrimary),labelColor:ge.extend("--ft-text-area-label-color","",He.contentGlobalSubtle),defaultBorderColor:ge.extend("--ft-text-area-default-border-color","",He.borderInputPrimary),defaultHelperTextColor:ge.extend("--ft-text-area-default-helper-text-color","",He.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","",He.borderErrorPrimary),errorHelperTextColor:ge.extend("--ft-text-area-error-helper-text-color","",He.contentErrorPrimary),errorHelperIconColor:ge.extend("--ft-text-area-error-helper-icon-color","",He.contentErrorIconOnly),focusFocusRingColor:ge.extend("--ft-text-area-focus-focus-ring-color","",He.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","",be.opacity40),fieldHorizontalLeftPadding:ge.extend("--ft-text-area-field-horizontal-left-padding","",be.spacing4),fieldHorizontalGap:ge.extend("--ft-text-area-field-horizontal-gap","",be.spacing3),fieldVerticalGap:ge.extend("--ft-text-area-field-vertical-gap","",be.spacing05),fieldMinHeight:ge.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:ge.extend("--ft-text-area-helper-horizontal-padding","",be.spacing4),helperHorizontalGap:ge.extend("--ft-text-area-helper-horizontal-gap","",be.spacing1),helperIconSize:ge.extend("--ft-text-area-helper-icon-size","",be.iconSize2),borderRadius:ge.extend("--ft-text-area-border-radius","",be.borderRadiusM)},tr={height:ge.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:ge.extend("--ft-floating-menu-horizontal-padding","",be.spacing4),offIconColor:ge.extend("--ft-floating-menu-off-icon-color","",He.contentGlobalPrimary),offColor:ge.extend("--ft-floating-menu-off-color","",He.contentGlobalPrimary),onColor:ge.extend("--ft-floating-menu-on-color","",He.contentActionPrimary),onStateLayerColor:ge.extend("--ft-floating-menu-on-state-layer-color","",He.contentActionPrimary),gap:ge.extend("--ft-floating-menu-gap","",be.spacing3),focusFocusRingColor:ge.extend("--ft-floating-menu-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineWidth:ge.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:ge.extend("--ft-floating-menu-focus-state-layer-opacity","",be.opacity8),hoverStateLayerOpacity:ge.extend("--ft-floating-menu-hover-state-layer-opacity","",be.opacity8),activeStateLayerOpacity:ge.extend("--ft-floating-menu-active-state-layer-opacity","",be.opacity16),disabledComponentOpacity:ge.extend("--ft-floating-menu-disabled-component-opacity","",be.opacity40),iconSize:ge.extend("--ft-floating-menu-icon-size","",be.iconSize3),backgroundColor:ge.extend("--ft-floating-menu-background-color","",He.backgroundGlobalOnSurface)},or={fieldHorizontalPadding:ge.extend("--ft-combobox-single-select-field-horizontal-padding","",be.spacing4),fieldHorizontalGap:ge.extend("--ft-combobox-single-select-field-horizontal-gap","",be.spacing3),fieldVerticalGap:ge.extend("--ft-combobox-single-select-field-vertical-gap","",be.spacing05),fieldIconSize:ge.extend("--ft-combobox-single-select-field-icon-size","",be.iconSize3),fieldHeight:ge.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:ge.extend("--ft-combobox-single-select-helper-horizontal-padding","",be.spacing4),helperHorizontalGap:ge.extend("--ft-combobox-single-select-helper-horizontal-gap","",be.spacing1),helperVerticalGap:ge.extend("--ft-combobox-single-select-helper-vertical-gap","",be.spacing1),helperIconSize:ge.extend("--ft-combobox-single-select-helper-icon-size","",be.iconSize2),menuVerticalGap:ge.extend("--ft-combobox-single-select-menu-vertical-gap","",be.spacing2),borderRadius:ge.extend("--ft-combobox-single-select-border-radius","",be.borderRadiusM),backgroundColor:ge.extend("--ft-combobox-single-select-background-color","",be.colorWhite),labelColor:ge.extend("--ft-combobox-single-select-label-color","",He.contentGlobalSubtle),contentValueColor:ge.extend("--ft-combobox-single-select-content-value-color","",He.contentGlobalPrimary),trailingIconColor:ge.extend("--ft-combobox-single-select-trailing-icon-color","",He.contentGlobalSubtle),defaultBorderColor:ge.extend("--ft-combobox-single-select-default-border-color","",He.borderInputPrimary),defaultHelperTextColor:ge.extend("--ft-combobox-single-select-default-helper-text-color","",He.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","",He.borderErrorPrimary),errorHelperTextColor:ge.extend("--ft-combobox-single-select-error-helper-text-color","",He.contentErrorPrimary),warningBorderWidth:ge.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:ge.extend("--ft-combobox-single-select-warning-border-color","",He.borderWarningPrimary),warningHelperTextColor:ge.extend("--ft-combobox-single-select-warning-helper-text-color","",He.contentWarningPrimary),warningHelperIconColor:ge.extend("--ft-combobox-single-select-warning-helper-icon-color","",He.contentWarningIconOnly),focusOutlineWidth:ge.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-combobox-single-select-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineOffset:ge.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ge.extend("--ft-combobox-single-select-disabled-component-opacity","",be.opacity40)},er={backgroundColor:ge.extend("--ft-combobox-multi-select-background-color","",be.colorWhite),labelColor:ge.extend("--ft-combobox-multi-select-label-color","",He.contentGlobalSubtle),trailingIconColor:ge.extend("--ft-combobox-multi-select-trailing-icon-color","",He.contentGlobalSubtle),defaultBorderColor:ge.extend("--ft-combobox-multi-select-default-border-color","",He.borderInputPrimary),defaultHelperTextColor:ge.extend("--ft-combobox-multi-select-default-helper-text-color","",He.contentGlobalSubtle),defaultBorderWidth:ge.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:ge.extend("--ft-combobox-multi-select-error-border-color","",He.borderErrorPrimary),errorHelperTextColor:ge.extend("--ft-combobox-multi-select-error-helper-text-color","",He.contentErrorPrimary),errorHelperIcon:ge.extend("--ft-combobox-multi-select-error-helper-icon","",He.contentErrorIconOnly),errorBorderWidth:ge.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:ge.extend("--ft-combobox-multi-select-warning-border-color","",He.borderWarningPrimary),warningHelperTextColor:ge.extend("--ft-combobox-multi-select-warning-helper-text-color","",He.contentWarningPrimary),warningHelperIconColor:ge.extend("--ft-combobox-multi-select-warning-helper-icon-color","",He.contentWarningIconOnly),warningBorderWidth:ge.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-combobox-multi-select-focus-focus-ring-color","",He.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","",be.opacity40),helperHorizontalPadding:ge.extend("--ft-combobox-multi-select-helper-horizontal-padding","",be.spacing4),helperHorizontalGap:ge.extend("--ft-combobox-multi-select-helper-horizontal-gap","",be.spacing1),helperVerticalGap:ge.extend("--ft-combobox-multi-select-helper-vertical-gap","",be.spacing1),helperIconSize:ge.extend("--ft-combobox-multi-select-helper-icon-size","",be.iconSize2),fieldHorizontalPadding:ge.extend("--ft-combobox-multi-select-field-horizontal-padding","",be.spacing4),fieldHorizontalGap:ge.extend("--ft-combobox-multi-select-field-horizontal-gap","",be.spacing3),fieldVerticalGap:ge.extend("--ft-combobox-multi-select-field-vertical-gap","",be.spacing05),fieldIconSize:ge.extend("--ft-combobox-multi-select-field-icon-size","",be.iconSize3),fieldMaxHeight:ge.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:ge.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",be.spacing1),contentValuesVerticalGap:ge.extend("--ft-combobox-multi-select-content-values-vertical-gap","",be.spacing1),borderRadius:ge.extend("--ft-combobox-multi-select-border-radius","",be.borderRadiusM)},rr={backgroundColor:ge.extend("--ft-popover-background-color","",He.backgroundGlobalOnSurface),horizontalPadding:ge.extend("--ft-popover-horizontal-padding","",be.spacing6),verticalPadding:ge.extend("--ft-popover-vertical-padding","",be.spacing6),iconColor:ge.extend("--ft-popover-icon-color","",He.contentGlobalSecondary),iconSize:ge.extend("--ft-popover-icon-size","",be.iconSize2),titleColor:ge.extend("--ft-popover-title-color","",He.contentGlobalPrimary),bodyColor:ge.extend("--ft-popover-body-color","",He.contentGlobalSecondary),linkColor:ge.extend("--ft-popover-link-color","",He.contentActionPrimary),gap:ge.extend("--ft-popover-gap","",be.spacing3),borderRadius:ge.extend("--ft-popover-border-radius","",be.borderRadiusM),shadow:ge.extend("--ft-popover-shadow","",be.shadowElevation02)},nr={topLeftBorderRadius:ge.extend("--ft-tabs-top-left-border-radius","",be.borderRadiusS),topRightBorderRadius:ge.extend("--ft-tabs-top-right-border-radius","",be.borderRadiusS),labelHorizontalPadding:ge.extend("--ft-tabs-label-horizontal-padding","",be.spacing4),labelVerticalPadding:ge.extend("--ft-tabs-label-vertical-padding","",be.spacing3),labelGap:ge.extend("--ft-tabs-label-gap","",be.spacing1),offHoverStateLayerOpacity:ge.extend("--ft-tabs-off-hover-state-layer-opacity","",be.opacity8),offFocusStateLayerOpacity:ge.extend("--ft-tabs-off-focus-state-layer-opacity","",be.opacity8),offActiveStateLayerOpacity:ge.extend("--ft-tabs-off-active-state-layer-opacity","",be.opacity16),offDisabledComponentOpacity:ge.extend("--ft-tabs-off-disabled-component-opacity","",be.opacity40),offColor:ge.extend("--ft-tabs-off-color","",He.contentGlobalSubtle),offStateLayerColor:ge.extend("--ft-tabs-off-state-layer-color","",He.contentGlobalSubtle),onHoverStateLayerOpacity:ge.extend("--ft-tabs-on-hover-state-layer-opacity","",be.opacity8),onFocusStateLayerOpacity:ge.extend("--ft-tabs-on-focus-state-layer-opacity","",be.opacity8),onActiveStateLayerOpacity:ge.extend("--ft-tabs-on-active-state-layer-opacity","",be.opacity16),onDisabledComponentOpacity:ge.extend("--ft-tabs-on-disabled-component-opacity","",be.opacity40),onColor:ge.extend("--ft-tabs-on-color","",He.contentActionPrimary),onStateLayerColor:ge.extend("--ft-tabs-on-state-layer-color","",He.contentActionPrimary),iconHorizontalPadding:ge.extend("--ft-tabs-icon-horizontal-padding","",be.spacing1),iconVerticalPadding:ge.extend("--ft-tabs-icon-vertical-padding","",be.spacing4),focusOutlineWidth:ge.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-tabs-focus-focus-ring-color","",He.borderActionFocusRing)},ir={hoverStateLayerOpacity:ge.extend("--ft-collapsible-hover-state-layer-opacity","",be.opacity8),focusStateLayerOpacity:ge.extend("--ft-collapsible-focus-state-layer-opacity","",be.opacity8),focusOutlineWidth:ge.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:ge.extend("--ft-collapsible-focus-focus-ring-color","",He.borderActionFocusRing),activeStateLayerOpacity:ge.extend("--ft-collapsible-active-state-layer-opacity","",be.opacity16),disabledComponentOpacity:ge.extend("--ft-collapsible-disabled-component-opacity","",be.opacity40),horizontalPadding:ge.extend("--ft-collapsible-horizontal-padding","",be.spacing4),verticalPadding:ge.extend("--ft-collapsible-vertical-padding","",be.spacing3),color:ge.extend("--ft-collapsible-color","",He.contentGlobalPrimary),stateLayerColor:ge.extend("--ft-collapsible-state-layer-color","",He.contentGlobalPrimary),backgroundColor:ge.extend("--ft-collapsible-background-color","",He.backgroundGlobalOnSurface),borderColor:ge.extend("--ft-collapsible-border-color","",He.borderGlobalSubtle),iconSize:ge.extend("--ft-collapsible-icon-size","",be.iconSize3)},ar={groupHorizontalPadding:ge.extend("--ft-switch-group-horizontal-padding","",be.spacing1),groupVerticalPadding:ge.extend("--ft-switch-group-vertical-padding","",be.spacing1),groupGap:ge.extend("--ft-switch-group-gap","",be.spacing1),groupBackgroundColor:ge.extend("--ft-switch-group-background-color","",He.backgroundGlobalSurface),groupBorderColor:ge.extend("--ft-switch-group-border-color","",He.borderGlobalSubtle),groupBorderRadius:ge.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:ge.extend("--ft-switch-label-horizontal-padding","",be.spacing2),labelVerticalPadding:ge.extend("--ft-switch-label-vertical-padding","",be.spacing1),offHoverStateLayerOpacity:ge.extend("--ft-switch-off-hover-state-layer-opacity","",be.opacity8),offFocusStateLayerOpacity:ge.extend("--ft-switch-off-focus-state-layer-opacity","",be.opacity8),offActiveStateLayerOpacity:ge.extend("--ft-switch-off-active-state-layer-opacity","",be.opacity16),offDisabledComponentOpacity:ge.extend("--ft-switch-off-disabled-component-opacity","",be.opacity40),offColor:ge.extend("--ft-switch-off-color","",He.contentGlobalSubtle),offStateLayerColor:ge.extend("--ft-switch-off-state-layer-color","",He.contentGlobalSubtle),onHoverStateLayerOpacity:ge.extend("--ft-switch-on-hover-state-layer-opacity","",be.opacity8),onFocusStateLayerOpacity:ge.extend("--ft-switch-on-focus-state-layer-opacity","",be.opacity8),onActiveStateLayerOpacity:ge.extend("--ft-switch-on-active-state-layer-opacity","",be.opacity16),onDisabledComponentOpacity:ge.extend("--ft-switch-on-disabled-component-opacity","",be.opacity40),onColor:ge.extend("--ft-switch-on-color","",He.contentActionPrimary),onStateLayerColor:ge.extend("--ft-switch-on-state-layer-color","",He.contentActionPrimary),iconHorizontalPadding:ge.extend("--ft-switch-icon-horizontal-padding","",be.spacing1),iconVerticalPadding:ge.extend("--ft-switch-icon-vertical-padding","",be.spacing1),focusOutlineWidth:ge.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-switch-focus-focus-ring-color","",He.borderActionFocusRing),optionBorderRadius:ge.extend("--ft-switch-option-border-radius","",be.borderRadiusS)},lr={color1Light:ge.extend("--ft-chart-1-light","for area color charts",be.colorBrand40),color1Base:ge.extend("--ft-chart-1-base","for line charts",be.colorBrand0),color2Light:ge.extend("--ft-chart-2-light","for area color charts",be.colorYellow60),color2Base:ge.extend("--ft-chart-2-base","for line charts",be.colorYellow100),color3Light:ge.extend("--ft-chart-3-light","",be.colorUltramarine40),color3Base:ge.extend("--ft-chart-3-base","",be.colorUltramarine70),color4Light:ge.extend("--ft-chart-4-light","",be.colorCyan50),color4Base:ge.extend("--ft-chart-4-base","",be.colorCyan100),color5Light:ge.extend("--ft-chart-5-light","",be.colorRed40),color5Base:ge.extend("--ft-chart-5-base","",be.colorRed60),color6Light:ge.extend("--ft-chart-6-light","",be.colorGreen40),color6Base:ge.extend("--ft-chart-6-base","",be.colorGreen70),color7Light:ge.extend("--ft-chart-7-light","",be.colorOrange70),color7Base:ge.extend("--ft-chart-7-base","",be.colorOrange100),color8Light:ge.extend("--ft-chart-8-light","",be.colorAvocado70),color8Base:ge.extend("--ft-chart-8-base","",be.colorAvocado200),color9Light:ge.extend("--ft-chart-9-light","",be.colorBrown50),color9Base:ge.extend("--ft-chart-9-base","",be.colorBrown200),color10Light:ge.extend("--ft-chart-10-light","",be.colorGray50),color10Base:ge.extend("--ft-chart-10-base","",be.colorGray80),monochrome10:ge.extend("--ft-chart-monochrome-10","",be.colorBrand10),monochrome20:ge.extend("--ft-chart-monochrome-20","",be.colorBrand20),monochrome30:ge.extend("--ft-chart-monochrome-30","",be.colorBrand40),monochrome40:ge.extend("--ft-chart-monochrome-40","",be.colorBrand60),monochrome50:ge.extend("--ft-chart-monochrome-50","",be.colorBrand0),monochrome60:ge.extend("--ft-chart-monochrome-60","",be.colorBrand200)},sr={largeHorizontalPadding:ge.extend("--ft-chip-large-horizontal-padding","",be.spacing4),largeVerticalPadding:ge.extend("--ft-chip-large-vertical-padding","",be.spacing2),largeGap:ge.extend("--ft-chip-large-gap","",be.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","",be.borderRadiusPill),largeBorderWidth:ge.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:ge.extend("--ft-chip-large-icon-size","",be.iconSize3),mediumHorizontalPadding:ge.extend("--ft-chip-medium-horizontal-padding","",be.spacing3),mediumVerticalPadding:ge.extend("--ft-chip-medium-vertical-padding","",be.spacing1),mediumGap:ge.extend("--ft-chip-medium-gap","",be.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","",be.borderRadiusPill),mediumBorderWidth:ge.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:ge.extend("--ft-chip-medium-icon-size","",be.iconSize2),smallHorizontalPadding:ge.extend("--ft-chip-small-horizontal-padding","",be.spacing2),smallVerticalPadding:ge.extend("--ft-chip-small-vertical-padding","",be.spacing05),smallGap:ge.extend("--ft-chip-small-gap","",be.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","",be.borderRadiusPill),smallBorderWidth:ge.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:ge.extend("--ft-chip-small-icon-size","",be.iconSize1),neutralBackgroundColor:ge.extend("--ft-chip-neutral-background-color","",He.backgroundGlobalOnSurface),neutralColor:ge.extend("--ft-chip-neutral-color","",He.contentGlobalPrimary),neutralIconColor:ge.extend("--ft-chip-neutral-icon-color","",He.contentGlobalPrimary),neutralBorderColor:ge.extend("--ft-chip-neutral-border-color","",He.borderGlobalSubtle),infoBackgroundColor:ge.extend("--ft-chip-info-background-color","",He.backgroundInfoSubtle),infoColor:ge.extend("--ft-chip-info-color","",He.contentInfoPrimary),infoIconColor:ge.extend("--ft-chip-info-icon-color","",He.contentInfoIconOnly),infoBorderColor:ge.extend("--ft-chip-info-border-color","",He.borderInfoSubtle),successBackgroundColor:ge.extend("--ft-chip-success-background-color","",He.backgroundSuccessSubtle),successColor:ge.extend("--ft-chip-success-color","",He.contentSuccessPrimary),successIconColor:ge.extend("--ft-chip-success-icon-color","",He.contentSuccessIconOnly),successBorderColor:ge.extend("--ft-chip-success-border-color","",He.borderSuccessSubtle),warningBackgroundColor:ge.extend("--ft-chip-warning-background-color","",He.backgroundWarningSubtle),warningColor:ge.extend("--ft-chip-warning-color","",He.contentWarningPrimary),warningIconColor:ge.extend("--ft-chip-warning-icon-color","",He.contentWarningIconOnly),warningBorderColor:ge.extend("--ft-chip-warning-border-color","",He.borderWarningSubtle),errorBackgroundColor:ge.extend("--ft-chip-error-background-color","",He.backgroundErrorSubtle),errorColor:ge.extend("--ft-chip-error-color","",He.contentErrorPrimary),errorIconColor:ge.extend("--ft-chip-error-icon-color","",He.contentErrorIconOnly),errorBorderColor:ge.extend("--ft-chip-error-border-color","",He.borderErrorSubtle)},cr={infoBorderColor:ge.extend("--ft-border-info-border-color","",He.borderInfoSubtle)},fr={borderWidth:ge.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:ge.extend("--ft-notice-horizontal-padding","",be.spacing2),verticalPadding:ge.extend("--ft-notice-vertical-padding","",be.spacing1),borderRadius:ge.extend("--ft-notice-border-radius","",be.borderRadiusS),gap:ge.extend("--ft-notice-gap","",be.spacing2),iconSize:ge.extend("--ft-notice-icon-size","",be.iconSize3),infoBackgroundColor:ge.extend("--ft-notice-info-background-color","",He.backgroundInfoSubtle),infoBorderColor:ge.extend("--ft-notice-info-border-color","",He.borderInfoSubtle),infoColor:ge.extend("--ft-notice-info-color","",He.contentInfoPrimary),infoIconColor:ge.extend("--ft-notice-info-icon-color","",He.contentInfoIconOnly),warningBackgroundColor:ge.extend("--ft-notice-warning-background-color","",He.backgroundWarningSubtle),warningBorderColor:ge.extend("--ft-notice-warning-border-color","",He.borderWarningSubtle),warningColor:ge.extend("--ft-notice-warning-color","",He.contentWarningPrimary),warningIconColor:ge.extend("--ft-notice-warning-icon-color","",He.contentWarningIconOnly),errorBackgroundColor:ge.extend("--ft-notice-error-background-color","",He.backgroundErrorSubtle),errorBorderColor:ge.extend("--ft-notice-error-border-color","",He.borderErrorSubtle),errorColor:ge.extend("--ft-notice-error-color","",He.contentErrorPrimary),errorIconColor:ge.extend("--ft-notice-error-icon-color","",He.contentErrorIconOnly),successBackgroundColor:ge.extend("--ft-notice-success-background-color","",He.backgroundSuccessSubtle),successBorderColor:ge.extend("--ft-notice-success-border-color","",He.borderSuccessSubtle),successColor:ge.extend("--ft-notice-success-color","",He.contentSuccessPrimary),successIconColor:ge.extend("--ft-notice-success-icon-color","",He.contentSuccessIconOnly)},dr={color:ge.extend("--ft-checkbox-color","",He.contentGlobalPrimary),checkedBackgroundColor:ge.extend("--ft-checkbox-checked-background-color","",He.contentActionPrimary),checkedStateLayerColor:ge.extend("--ft-checkbox-checked-state-layer-color","",He.contentActionPrimary),checkedIconColor:ge.extend("--ft-checkbox-checked-icon-color","",He.contentGlobalOnColor),checkedHoverStateLayerOpacity:ge.extend("--ft-checkbox-checked-hover-state-layer-opacity","",be.opacity16),checkedFocusStateLayerOpacity:ge.extend("--ft-checkbox-checked-focus-state-layer-opacity","",be.opacity16),checkedActiveStateLayerOpacity:ge.extend("--ft-checkbox-checked-active-state-layer-opacity","",be.opacity24),checkedDisabledComponentOpacity:ge.extend("--ft-checkbox-checked-disabled-component-opacity","",be.opacity40),uncheckedBorderColor:ge.extend("--ft-checkbox-unchecked-border-color","",be.colorGray80),uncheckedStateLayerColor:ge.extend("--ft-checkbox-unchecked-state-layer-color","",be.colorGray80),uncheckedHoverStateLayerOpacity:ge.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",be.opacity16),uncheckedFocusStateLayerOpacity:ge.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",be.opacity16),uncheckedActiveStateLayerOpacity:ge.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",be.opacity24),uncheckedDisabledComponentOpacity:ge.extend("--ft-checkbox-unchecked-disabled-component-opacity","",be.opacity40),focusFocusRingColor:ge.extend("--ft-checkbox-focus-focus-ring-color","",He.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","",be.spacing3)},pr={offHoverStateLayerOpacity:ge.extend("--ft-toggle-off-hover-state-layer-opacity","",be.opacity16),offFocusStateLayerOpacity:ge.extend("--ft-toggle-off-focus-state-layer-opacity","",be.opacity16),offActiveStateLayerOpacity:ge.extend("--ft-toggle-off-active-state-layer-opacity","",be.opacity24),offDisabledComponentOpacity:ge.extend("--ft-toggle-off-disabled-component-opacity","",be.opacity40),offBackgroundColor:ge.extend("--ft-toggle-off-background-color","",He.contentGlobalSubtle),offIconColor:ge.extend("--ft-toggle-off-icon-color","",He.contentGlobalSubtle),offStateLayerColor:ge.extend("--ft-toggle-off-state-layer-color","",He.contentGlobalSubtle),onHoverStateLayerOpacity:ge.extend("--ft-toggle-on-hover-state-layer-opacity","",be.opacity16),onFocusStateLayerOpacity:ge.extend("--ft-toggle-on-focus-state-layer-opacity","",be.opacity16),onActiveStateLayerOpacity:ge.extend("--ft-toggle-on-active-state-layer-opacity","",be.opacity24),onDisabledComponentOpacity:ge.extend("--ft-toggle-on-disabled-component-opacity","",be.opacity40),onBackgroundColor:ge.extend("--ft-toggle-on-background-color","",He.contentActionPrimary),onStateLayerColor:ge.extend("--ft-toggle-on-state-layer-color","",He.contentActionPrimary),onIconColor:ge.extend("--ft-toggle-on-icon-color","",He.contentActionPrimary),color:ge.extend("--ft-toggle-color","",He.contentGlobalPrimary),focusFocusRingColor:ge.extend("--ft-toggle-focus-focus-ring-color","",He.borderActionFocusRing),gap:ge.extend("--ft-toggle-gap","",be.spacing3)},hr={color:ge.extend("--ft-radio-color","",He.contentGlobalPrimary),selectedRadioColor:ge.extend("--ft-radio-selected-radio-color","",He.contentActionPrimary),selectedStateLayerColor:ge.extend("--ft-radio-selected-state-layer-color","",He.contentActionPrimary),selectedHoverStateLayerOpacity:ge.extend("--ft-radio-selected-hover-state-layer-opacity","",be.opacity16),selectedFocusStateLayerOpacity:ge.extend("--ft-radio-selected-focus-state-layer-opacity","",be.opacity16),selectedActiveStateLayerOpacity:ge.extend("--ft-radio-selected-active-state-layer-opacity","",be.opacity24),selectedDisabledComponentOpacity:ge.extend("--ft-radio-selected-disabled-component-opacity","",be.opacity40),unselectedStateLayerColor:ge.extend("--ft-radio-unselected-state-layer-color","",He.borderInputPrimary),unselectedBorderColor:ge.extend("--ft-radio-unselected-border-color","",He.borderInputPrimary),unselectedHoverStateLayerOpacity:ge.extend("--ft-radio-unselected-hover-state-layer-opacity","",be.opacity16),unselectedFocusStateLayerOpacity:ge.extend("--ft-radio-unselected-focus-state-layer-opacity","",be.opacity16),unselectedActiveStateLayerOpacity:ge.extend("--ft-radio-unselected-active-state-layer-opacity","",be.opacity24),unselectedDisabledComponentOpacity:ge.extend("--ft-radio-unselected-disabled-component-opacity","",be.opacity40),focusFocusRingColor:ge.extend("--ft-radio-focus-focus-ring-color","",He.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","",be.spacing3)},ur={iconSize:ge.extend("--ft-notification-icon-size","",be.iconSize4),horizontalPadding:ge.extend("--ft-notification-horizontal-padding","",be.spacing4),verticalPadding:ge.extend("--ft-notification-vertical-padding","",be.spacing4),infoBackgroundColor:ge.extend("--ft-notification-info-background-color","",He.backgroundInfoSubtle),infoColor:ge.extend("--ft-notification-info-color","",He.contentInfoPrimary),infoIconColor:ge.extend("--ft-notification-info-icon-color","",He.contentInfoIconOnly),infoBorderColor:ge.extend("--ft-notification-info-border-color","",He.borderInfoSubtle),successBackgroundColor:ge.extend("--ft-notification-success-background-color","",He.backgroundSuccessSubtle),successColor:ge.extend("--ft-notification-success-color","",He.contentSuccessPrimary),successIconColor:ge.extend("--ft-notification-success-icon-color","",He.contentSuccessIconOnly),successBorderColor:ge.extend("--ft-notification-success-border-color","",He.borderSuccessSubtle),warningBackgroundColor:ge.extend("--ft-notification-warning-background-color","",He.backgroundWarningSubtle),warningColor:ge.extend("--ft-notification-warning-color","",He.contentWarningPrimary),warningIconColor:ge.extend("--ft-notification-warning-icon-color","",He.contentWarningIconOnly),warningBorderColor:ge.extend("--ft-notification-warning-border-color","",He.borderWarningSubtle),errorBackgroundColor:ge.extend("--ft-notification-error-background-color","",He.backgroundErrorSubtle),errorColor:ge.extend("--ft-notification-error-color","",He.contentErrorPrimary),errorIconColor:ge.extend("--ft-notification-error-icon-color","",He.contentErrorIconOnly),errorBorderColor:ge.extend("--ft-notification-error-border-color","",He.borderErrorSubtle),borderRadius:ge.extend("--ft-notification-border-radius","",be.borderRadiusPill),borderWidth:ge.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:ge.extend("--ft-notification-leading-gap","",be.spacing2),trailingGap:ge.extend("--ft-notification-trailing-gap","",be.spacing8)},yr={horizontalPadding:ge.extend("--ft-tooltip-horizontal-padding","",be.spacing2),verticalPadding:ge.extend("--ft-tooltip-vertical-padding","",be.spacing2),borderRadius:ge.extend("--ft-tooltip-border-radius","",be.borderRadiusS),color:ge.extend("--ft-tooltip-color","",He.contentGlobalOnColor),backgroundColor:ge.extend("--ft-tooltip-background-color","",He.contentGlobalPrimary),backgroundOpacity:ge.extend("--ft-tooltip-background-opacity","",be.opacity80),shadow:ge.extend("--ft-tooltip-shadow","",be.shadowElevation03),maxWidth:ge.create("--ft-tooltip-max-width","","SIZE","256px"),gap:ge.extend("--ft-tooltip-gap","",be.spacing05)};var gr=Object.freeze({__proto__:null,FtCssVariableFactory:ge,banner:Ge,border:cr,breadcrumb:Ve,button:Te,chart:lr,checkbox:dr,chip:sr,collapsible:ir,comboboxMultiSelect:er,comboboxSingleSelect:or,drawer:Je,floatingMenu:tr,foundation:be,modal:Ye,notice:fr,notification:ur,pageHeader:qe,popover:rr,radio:hr,semantic:He,setVariable:function(t,o){return ye(`${t.name}: ${o}`)},switch_:ar,tabs:nr,textArea:Qe,textInput:Xe,toggle:pr,tooltip:yr,typographies:De,typographyBody1Medium:Se,typographyBody1Regular:we,typographyBody1Semibold:Ce,typographyBody2Medium:Ee,typographyBody2MediumUnderline:Re,typographyBody2Regular:Ne,typographyBody2Semibold:Ie,typographyCaption1Bold:Fe,typographyCaption1Medium:Be,typographyCaption1Semibold:Ae,typographyCaption2Bold:Me,typographyCaption2Medium:Pe,typographyCaption2Semibold:_e,typographyCaption3Bold:Ze,typographyCaption3Medium:je,typographyCaption3Semibold:Ke,typographyDisplay:me,typographyLabel1Bold:We,typographyLabel1Medium:Le,typographyLabel1Semibold:Ue,typographyLabel2Bold:ze,typographyLabel2Medium:ke,typographyLabel2Semibold:$e,typographyTitle1:ve,typographyTitle2:Oe,typographyTitle3:xe,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 br={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 mr=Object.freeze({__proto__:null,designSystemVariables:br});class vr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class Or extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class xr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var wr=Object.freeze({__proto__:null,FtNotificationEvent:vr,PostResizeEvent:xr,PreResizeEvent:Or});const Sr=["start","end"],Cr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Sr[0],o+"-"+Sr[1])),[]),Nr=Math.min,Er=Math.max,Rr=Math.round,Ir=t=>({x:t,y:t}),Lr={left:"right",right:"left",bottom:"top",top:"bottom"},Ur={start:"end",end:"start"};function Wr(t,o,e){return Er(t,Nr(o,e))}function kr(t,o){return"function"==typeof t?t(o):t}function $r(t){return t.split("-")[0]}function zr(t){return t.split("-")[1]}function Br(t){return"x"===t?"y":"x"}function Ar(t){return"y"===t?"height":"width"}function Fr(t){return["top","bottom"].includes($r(t))?"y":"x"}function Pr(t){return Br(Fr(t))}function _r(t){return t.replace(/left|right|bottom|top/g,(t=>Lr[t]))}function Mr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function jr(t,o,e){let{reference:r,floating:n}=t;const i=Fr(o),a=Pr(o),l=Ar(a),s=$r(o),c="y"===i,f=r.x+r.width/2-n.width/2,d=r.y+r.height/2-n.height/2,p=r[l]/2-n[l]/2;let h;switch(s){case"top":h={x:f,y:r.y-n.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-n.width,y:d};break;default:h={x:r.x,y:r.y}}switch(zr(o)){case"start":h[a]-=p*(e&&c?-1:1);break;case"end":h[a]+=p*(e&&c?-1:1)}return h}async function Kr(t,o){var e;void 0===o&&(o={});const{x:r,y:n,platform:i,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=kr(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=l[p?"floating"===d?"reference":"floating":d],g=Mr(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(y)))||e?y:y.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===d?{...a.floating,x:r,y:n}:a.reference,m=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),v=await(null==i.isElement?void 0:i.isElement(m))&&await(null==i.getScale?void 0:i.getScale(m))||{x:1,y:1},O=Mr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(g.top-O.top+u.top)/v.y,bottom:(O.bottom-g.bottom+u.bottom)/v.y,left:(g.left-O.left+u.left)/v.x,right:(O.right-g.right+u.right)/v.x}}function Zr(t,o,e){return(t?[...e.filter((o=>zr(o)===t)),...e.filter((o=>zr(o)!==t))]:e.filter((t=>$r(t)===t))).filter((e=>!t||(zr(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ur[t]))}(e)!==e)))}const Dr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,n;const{rects:i,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:f=!1,alignment:d,allowedPlacements:p=Cr,autoAlignment:h=!0,...u}=kr(t,o),y=void 0!==d||p===Cr?Zr(d||null,h,p):p,g=await Kr(o,u),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=zr(t),n=Pr(t),i=Ar(n);let a="x"===n?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[i]>o.floating[i]&&(a=_r(a)),[a,_r(a)]}(m,i,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:y[0]}};const O=[g[$r(m)],g[v[0]],g[v[1]]],x=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],w=y[b+1];if(w)return{data:{index:b+1,overflows:x},reset:{placement:w}};const S=x.map((t=>{const o=zr(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),C=S.filter((t=>t[2].slice(0,zr(t[0])?2:3).every((t=>t<=0)))),N=(null==(n=C[0])?void 0:n[0])||S[0][0];return N!==l?{data:{index:b+1,overflows:x},reset:{placement:N}}:{}}}};function Hr(t){return Vr(t)?(t.nodeName||"").toLowerCase():"#document"}function Tr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Gr(t){var o;return null==(o=(Vr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Vr(t){return t instanceof Node||t instanceof Tr(t).Node}function qr(t){return t instanceof Element||t instanceof Tr(t).Element}function Yr(t){return t instanceof HTMLElement||t instanceof Tr(t).HTMLElement}function Jr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Tr(t).ShadowRoot)}function Xr(t){const{overflow:o,overflowX:e,overflowY:r,display:n}=rn(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(n)}function Qr(t){return["table","td","th"].includes(Hr(t))}function tn(t){const o=on(),e=rn(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 on(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function en(t){return["html","body","#document"].includes(Hr(t))}function rn(t){return Tr(t).getComputedStyle(t)}function nn(t){return qr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function an(t){if("html"===Hr(t))return t;const o=t.assignedSlot||t.parentNode||Jr(t)&&t.host||Gr(t);return Jr(o)?o.host:o}function ln(t){const o=an(t);return en(o)?t.ownerDocument?t.ownerDocument.body:t.body:Yr(o)&&Xr(o)?o:ln(o)}function sn(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const n=ln(t),i=n===(null==(r=t.ownerDocument)?void 0:r.body),a=Tr(n);return i?o.concat(a,a.visualViewport||[],Xr(n)?n:[],a.frameElement&&e?sn(a.frameElement):[]):o.concat(n,sn(n,[],e))}function cn(t){const o=rn(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const n=Yr(t),i=n?t.offsetWidth:e,a=n?t.offsetHeight:r,l=Rr(e)!==i||Rr(r)!==a;return l&&(e=i,r=a),{width:e,height:r,$:l}}function fn(t){return qr(t)?t:t.contextElement}function dn(t){const o=fn(t);if(!Yr(o))return Ir(1);const e=o.getBoundingClientRect(),{width:r,height:n,$:i}=cn(o);let a=(i?Rr(e.width):e.width)/r,l=(i?Rr(e.height):e.height)/n;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const pn=Ir(0);function hn(t){const o=Tr(t);return on()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:pn}function un(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const n=t.getBoundingClientRect(),i=fn(t);let a=Ir(1);o&&(r?qr(r)&&(a=dn(r)):a=dn(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Tr(t))&&o}(i,e,r)?hn(i):Ir(0);let s=(n.left+l.x)/a.x,c=(n.top+l.y)/a.y,f=n.width/a.x,d=n.height/a.y;if(i){const t=Tr(i),o=r&&qr(r)?Tr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=dn(e),o=e.getBoundingClientRect(),r=rn(e),n=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,i=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,d*=t.y,s+=n,c+=i,e=Tr(e).frameElement}}return Mr({width:f,height:d,x:s,y:c})}function yn(t){return un(Gr(t)).left+nn(t).scrollLeft}function gn(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Tr(t),r=Gr(t),n=e.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(n){i=n.width,a=n.height;const t=on();(!t||t&&"fixed"===o)&&(l=n.offsetLeft,s=n.offsetTop)}return{width:i,height:a,x:l,y:s}}(t,e);else if("document"===o)r=function(t){const o=Gr(t),e=nn(t),r=t.ownerDocument.body,n=Er(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),i=Er(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+yn(t);const l=-e.scrollTop;return"rtl"===rn(r).direction&&(a+=Er(o.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:l}}(Gr(t));else if(qr(o))r=function(t,o){const e=un(t,!0,"fixed"===o),r=e.top+t.clientTop,n=e.left+t.clientLeft,i=Yr(t)?dn(t):Ir(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:n*i.x,y:r*i.y}}(o,e);else{const e=hn(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Mr(r)}function bn(t,o){const e=an(t);return!(e===o||!qr(e)||en(e))&&("fixed"===rn(e).position||bn(e,o))}function mn(t,o,e){const r=Yr(o),n=Gr(o),i="fixed"===e,a=un(t,!0,i,o);let l={scrollLeft:0,scrollTop:0};const s=Ir(0);if(r||!r&&!i)if(("body"!==Hr(o)||Xr(n))&&(l=nn(o)),r){const t=un(o,!0,i,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else n&&(s.x=yn(n));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function vn(t,o){return Yr(t)&&"fixed"!==rn(t).position?o?o(t):t.offsetParent:null}function On(t,o){const e=Tr(t);if(!Yr(t))return e;let r=vn(t,o);for(;r&&Qr(r)&&"static"===rn(r).position;)r=vn(r,o);return r&&("html"===Hr(r)||"body"===Hr(r)&&"static"===rn(r).position&&!tn(r))?e:r||function(t){let o=an(t);for(;Yr(o)&&!en(o);){if(tn(o))return o;o=an(o)}return null}(t)||e}const xn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const n=Yr(e),i=Gr(e);if(e===i)return o;let a={scrollLeft:0,scrollTop:0},l=Ir(1);const s=Ir(0);if((n||!n&&"fixed"!==r)&&(("body"!==Hr(e)||Xr(i))&&(a=nn(e)),Yr(e))){const t=un(e);l=dn(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:Gr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:n}=t;const i=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=sn(t,[],!1).filter((t=>qr(t)&&"body"!==Hr(t))),n=null;const i="fixed"===rn(t).position;let a=i?an(t):t;for(;qr(a)&&!en(a);){const o=rn(a),e=tn(a);e||"fixed"!==o.position||(n=null),(i?!e&&!n:!e&&"static"===o.position&&n&&["absolute","fixed"].includes(n.position)||Xr(a)&&!e&&bn(t,a))?r=r.filter((t=>t!==a)):n=o,a=an(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=i[0],l=i.reduce(((t,e)=>{const r=gn(o,e,n);return t.top=Er(r.top,t.top),t.right=Nr(r.right,t.right),t.bottom=Nr(r.bottom,t.bottom),t.left=Er(r.left,t.left),t}),gn(o,a,n));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:On,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const n=this.getOffsetParent||On,i=this.getDimensions;return{reference:mn(o,await n(e),r),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return cn(t)},getScale:dn,isElement:qr,isRTL:function(t){return"rtl"===rn(t).direction}},wn=(t,o,e)=>{const r=new Map,n={platform:xn,...e},i={...n.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:n="absolute",middleware:i=[],platform:a}=e,l=i.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:n}),{x:f,y:d}=jr(c,r,s),p=r,h={},u=0;for(let e=0;e<l.length;e++){const{name:i,fn:y}=l[e],{x:g,y:b,data:m,reset:v}=await y({x:f,y:d,initialPlacement:r,placement:p,strategy:n,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,d=null!=b?b:d,h={...h,[i]:{...h[i],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(p=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:n}):v.rects),({x:f,y:d}=jr(c,p,s))),e=-1)}return{x:f,y:d,placement:p,strategy:n,middlewareData:h}})(t,o,{...n,platform:i})};function Sn(t){return function(t){for(let o=t;o;o=Cn(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Cn(t);o;o=Cn(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 Cn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Nn=Object.freeze({__proto__:null,computeOffsetPosition:async function(t,o,e){return wn(t,o,{platform:{...xn,getOffsetParent:t=>xn.getOffsetParent(t,Sn)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:n}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=kr(r,t),c={x:o,y:e},f=await Kr(t,s),d=Fr($r(n)),p=Br(d);let h=c[p],u=c[d];if(i){const t="y"===p?"bottom":"right";h=Wr(h+f["y"===p?"top":"left"],h,h-f[t])}if(a){const t="y"===d?"bottom":"right";u=Wr(u+f["y"===d?"top":"left"],u,u-f[t])}const y=l.fn({...t,[p]:h,[d]:u});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Dr({allowedPlacements:[e]})]});var r}});
|
|
137
|
-
|
|
346
|
+
*)
|
|
347
|
+
|
|
348
|
+
@lit/reactive-element/css-tag.js:
|
|
349
|
+
(**
|
|
138
350
|
* @license
|
|
139
351
|
* Copyright 2019 Google LLC
|
|
140
352
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
141
|
-
*/const En=window,Rn=En.ShadowRoot&&(void 0===En.ShadyCSS||En.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class In extends mo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Rn?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=En.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Ln,Un=Object.freeze({__proto__:null,ScopedRegistryLitElement:In}),Wn=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};const kn=Symbol("constructorPrototype"),$n=Symbol("constructorName"),zn=Symbol("exportpartsDebouncer");class Bn extends In{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[Ln]=new ne(5),this[$n]=this.constructor.name,this[kn]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[$n]&&Object.setPrototypeOf(this,this[kn])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,e,r;if(this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync(null!==(o=this.customStylesheet)&&void 0!==o?o:"")}catch(t){console.error(t,this.customStylesheet)}}else if((null!==(r=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==r?r:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[zn].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,n,i,a;const l=t=>null!=t&&t.trim().length>0,s=t.filter(l).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(n=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==n?n:[],e=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ln=zn,Wn([So()],Bn.prototype,"exportpartsPrefix",void 0),Wn([pe([])],Bn.prototype,"exportpartsPrefixes",void 0),Wn([So()],Bn.prototype,"customStylesheet",void 0);var An=Object.freeze({__proto__:null,FtLitElement:Bn}),Fn=Object.freeze({__proto__:null});class Pn{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,n=null;const i=()=>{if(!r){r=!0,clearTimeout(n);try{this.isIframeBlank(t)||(t.removeEventListener("load",i),this.getIframeContents(t,o,e))}catch(t){e()}}};t.addEventListener("load",i),n=setTimeout(i,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 n=t.querySelectorAll("iframe"),i=n.length,a=0;n=Array.prototype.slice.call(n);const l=()=>{--i<=0&&r(a)};i||l(),n.forEach((t=>{Pn.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 Pn(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 n=!1,i=!1;return r.forEach(((t,o)=>{t.val===e&&(n=o,i=t.handled)})),this.compareNodeIframe(t,o,e)?(!1!==n||i?!1===n||i||(r[n].handled=!0):r.push({val:e,handled:!0}),!0):(!1===n&&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,n){const i=this.createIterator(o,t,r);let a,l,s=[],c=[],f=()=>(({prevNode:l,node:a}=this.getIteratorNode(i)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,l,t,s)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>c.push(t)),r)})),c.push(a);c.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(s,t,e,r),n()}forEachNode(t,o,e,r=(()=>{})){const n=this.getContexts();let i=n.length;i||r(),n.forEach((n=>{const a=()=>{this.iterateThroughNodes(t,n,o,e,(()=>{--i<=0&&r()}))};this.iframes?this.waitForIframes(n,a):a()}))}}const _n=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 Pn(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 n in o)if(o.hasOwnProperty(n)){const i=o[n],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i);""!==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((n=>{e.every((e=>{if(-1!==e.indexOf(n)){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,n="";switch(r.forEach((t=>{n+=`|${this.escapeStr(t)}`})),e){case"partially":default:return`()(${t})`;case"complementary":return n="\\s"+(n||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${n}]*${t}[^${n}]*)`;case"exactly":return`(^|\\s${n})(${t})(?=$|\\s${n})`}}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:n,valid:i}=this.callNoMatchOnInvalidRanges(t,e);i&&(t.start=r,t.length=n-r,o.push(t),e=n)})),o}callNoMatchOnInvalidRanges(t,o){let e,r,n=!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?n=!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:n}}checkWhitespaceRanges(t,o,e){let r,n=!0,i=e.length,a=o-i,l=parseInt(t.start,10)-a;return l=l>i?i:l,r=l+parseInt(t.length,10),r>i&&(r=i,this.log(`End range automatically set to the max value of ${i}`)),l<0||r-l<0||l>i||r>i?(n=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===e.substring(l,r).replace(/\s+/g,"")&&(n=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:l,end:r,valid:n}}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 Pn.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,e){const r=this.opt.element?this.opt.element:"mark",n=t.splitText(o),i=n.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=n.textContent,n.parentNode.replaceChild(a,n),i}wrapRangeInMappedTextNode(t,o,e,r,n){t.nodes.every(((i,a)=>{const l=t.nodes[a+1];if(void 0===l||l.start>o){if(!r(i.node))return!1;const l=o-i.start,s=(e>i.end?i.end:e)-i.start,c=t.value.substr(0,i.start),f=t.value.substr(s+i.start);if(i.node=this.wrapRangeInTextNode(i.node,l,s),t.value=c+f,t.nodes.forEach(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=s),t.nodes[e].end-=s)})),e-=s,n(i.node.previousSibling,i.start),!(e>i.end))return!1;o=i.end}return!0}))}wrapMatches(t,o,e,r,n){const i=0===o?0:o+1;this.getTextNodes((o=>{o.nodes.forEach((o=>{let n;for(o=o.node;null!==(n=t.exec(o.textContent))&&""!==n[i];){if(!e(n[i],o))continue;let a=n.index;if(0!==i)for(let t=1;t<i;t++)a+=n[t].length;o=this.wrapRangeInTextNode(o,a,a+n[i].length),r(o.previousSibling),t.lastIndex=0}})),n()}))}wrapMatchesAcrossElements(t,o,e,r,n){const i=0===o?0:o+1;this.getTextNodes((o=>{let a;for(;null!==(a=t.exec(o.value))&&""!==a[i];){let n=a.index;if(0!==i)for(let t=1;t<i;t++)n+=a[t].length;const l=n+a[i].length;this.wrapRangeInMappedTextNode(o,n,l,(t=>e(a[i],t)),((o,e)=>{t.lastIndex=e,r(o)}))}n()}))}wrapRangeFromIndex(t,o,e,r){this.getTextNodes((n=>{const i=n.value.length;t.forEach(((t,r)=>{let{start:a,end:l,valid:s}=this.checkWhitespaceRanges(t,i,n.value);s&&this.wrapRangeInMappedTextNode(n,a,l,(e=>o(e,t,n.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:n,length:i}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",l=t=>{let o=new RegExp(this.createRegExp(t),`gm${a}`),s=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,s)),(t=>{s++,e++,this.opt.each(t)}),(()=>{0===s&&this.opt.noMatch(t),n[i-1]===t?this.opt.done(e):l(n[n.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===i?this.opt.done(e):l(n[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=Pn.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},Mn=ge.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),jn=pt`
|
|
142
|
-
.highlight-html-match {
|
|
143
|
-
background: ${Mn};
|
|
144
|
-
}
|
|
145
|
-
`,Kn={className:"highlight-html-match"};function Zn(t,o){var e;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=o?o:"")){const r=new _n(t);if(r.unmark(Kn),o&&o.trim()){r.mark(o.replace(/"[^"]+"/g,""),{...Kn,separateWordSearch:!0});(null!==(e=o.match(/"[^"]+"/g))&&void 0!==e?e:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Kn,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=o?o:"")}var Dn=Object.freeze({__proto__:null,highlightHtml:Zn,highlightHtmlColorCssVariable:Mn,highlightHtmlStyles:jn});const Hn=pt`
|
|
146
|
-
.ft-no-text-select {
|
|
147
|
-
-webkit-touch-callout: none;
|
|
148
|
-
-webkit-user-select: none;
|
|
149
|
-
-khtml-user-select: none;
|
|
150
|
-
-moz-user-select: none;
|
|
151
|
-
-ms-user-select: none;
|
|
152
|
-
user-select: none;
|
|
153
|
-
}
|
|
154
|
-
`,Tn=pt`
|
|
155
|
-
.ft-word-wrap {
|
|
156
|
-
white-space: normal;
|
|
157
|
-
word-wrap: break-word;
|
|
158
|
-
-ms-word-break: break-all;
|
|
159
|
-
word-break: break-all;
|
|
160
|
-
word-break: break-word;
|
|
161
|
-
-ms-hyphens: auto;
|
|
162
|
-
-moz-hyphens: auto;
|
|
163
|
-
-webkit-hyphens: auto;
|
|
164
|
-
hyphens: auto
|
|
165
|
-
}
|
|
166
|
-
`,Gn=pt`
|
|
167
|
-
.ft-safari-ellipsis-fix {
|
|
168
|
-
margin-right: 0;
|
|
353
|
+
*)
|
|
169
354
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
.ft-safari-ellipsis-fix:after {
|
|
173
|
-
content: "\\0000a0";
|
|
174
|
-
display: inline-block;
|
|
175
|
-
width: 0;
|
|
176
|
-
}
|
|
177
|
-
`;var Vn=Object.freeze({__proto__:null,noTextSelect:Hn,safariEllipsisFix:Gn,wordWrap:Tn}),qn=Object.freeze({__proto__:null});class Yn{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let n=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>n=n.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),n}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()}}}var Jn=Object.freeze({__proto__:null,ParametrizedLabelResolver:Yn});const Xn=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!ce(t,o),attribute:!1,...o};So(n)(t,e);const i=t.constructor;i.reduxProperties=new Map(i.reduxProperties),i.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}};class Qn{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 ti(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var oi,ei,ri;const ni=Symbol("internalReduxEventsUnsubscribers"),ii=Symbol("internalStoresUnsubscribers"),ai=Symbol("internalStores");class li extends Bn{constructor(){super(...arguments),this[oi]=new Map,this[ei]=new Map,this[ri]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[ai].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ai].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[ai].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:ti(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[ai].delete(o)}setupStore(t,o){this[ai].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ai].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[ii].has(t.store):this[ii].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[ii].set(t,o.subscribe((()=>this.updateFromStores()))),ti(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[ni].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ii].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[ni].forEach((t=>t())),this[ni]=[]}unsubscribeFromStore(t){this[ii].has(t)&&this[ii].get(t)(),this[ii].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function si(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 ci(t){return!!t&&!!t[qi]}function fi(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)===Yi}(t)||Array.isArray(t)||!!t[Vi]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Vi])||gi(t)||bi(t))}function di(t,o,e){void 0===e&&(e=!1),0===pi(t)?(e?Object.keys:Ji)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function pi(t){var o=t[qi];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:gi(t)?2:bi(t)?3:0}function hi(t,o){return 2===pi(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function ui(t,o,e){var r=pi(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function yi(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function gi(t){return Di&&t instanceof Map}function bi(t){return Hi&&t instanceof Set}function mi(t){return t.o||t.t}function vi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Xi(t);delete o[qi];for(var e=Ji(o),r=0;r<e.length;r++){var n=e[r],i=o[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),o)}function Oi(t,o){return void 0===o&&(o=!1),wi(t)||ci(t)||!fi(t)||(pi(t)>1&&(t.set=t.add=t.clear=t.delete=xi),Object.freeze(t),o&&di(t,(function(t,o){return Oi(o,!0)}),!0)),t}function xi(){si(2)}function wi(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Si(t){var o=Qi[t];return o||si(18,t),o}function Ci(){return Ki}function Ni(t,o){o&&(Si("Patches"),t.u=[],t.s=[],t.v=o)}function Ei(t){Ri(t),t.p.forEach(Li),t.p=null}function Ri(t){t===Ki&&(Ki=t.l)}function Ii(t){return Ki={p:[],l:Ki,h:t,m:!0,_:0}}function Li(t){var o=t[qi];0===o.i||1===o.i?o.j():o.g=!0}function Ui(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||Si("ES5").S(o,t,r),r?(e[qi].P&&(Ei(o),si(4)),fi(t)&&(t=Wi(o,t),o.l||$i(o,t)),o.u&&Si("Patches").M(e[qi].t,t,o.u,o.s)):t=Wi(o,e,[]),Ei(o),o.u&&o.v(o.u,o.s),t!==Gi?t:void 0}function Wi(t,o,e){if(wi(o))return o;var r=o[qi];if(!r)return di(o,(function(n,i){return ki(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return $i(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=vi(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),di(i,(function(o,i){return ki(t,r,n,o,i,e,a)})),$i(t,n,!1),e&&t.u&&Si("Patches").N(r,e,t.u,t.s)}return r.o}function ki(t,o,e,r,n,i,a){if(ci(n)){var l=Wi(t,n,i&&o&&3!==o.i&&!hi(o.R,r)?i.concat(r):void 0);if(ui(e,r,l),!ci(l))return;t.m=!1}else a&&e.add(n);if(fi(n)&&!wi(n)){if(!t.h.D&&t._<1)return;Wi(t,n),o&&o.A.l||$i(t,n)}}function $i(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&Oi(o,e)}function zi(t,o){var e=t[qi];return(e?mi(e):t)[o]}function Bi(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 Ai(t){t.P||(t.P=!0,t.l&&Ai(t.l))}function Fi(t){t.o||(t.o=vi(t.t))}function Pi(t,o,e){var r=gi(o)?Si("MapSet").F(o,e):bi(o)?Si("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:Ci(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=ta;e&&(n=[r],i=oa);var a=Proxy.revocable(n,i),l=a.revoke,s=a.proxy;return r.k=s,r.j=l,s}(o,e):Si("ES5").J(o,e);return(e?e.A:Ci()).p.push(r),r}function _i(t){return ci(t)||si(22,t),function t(o){if(!fi(o))return o;var e,r=o[qi],n=pi(o);if(r){if(!r.P&&(r.i<4||!Si("ES5").K(r)))return r.t;r.I=!0,e=Mi(o,n),r.I=!1}else e=Mi(o,n);return di(e,(function(o,n){r&&function(t,o){return 2===pi(t)?t.get(o):t[o]}(r.t,o)===n||ui(e,o,t(n))})),3===n?new Set(e):e}(t)}function Mi(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return vi(t)}oi=ii,ei=ai,ri=ni,li.reduxProperties=new Map,li.reduxReactiveProperties=new Set,li.reduxEventListeners=new Map;var ji,Ki,Zi="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Di="undefined"!=typeof Map,Hi="undefined"!=typeof Set,Ti="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Gi=Zi?Symbol.for("immer-nothing"):((ji={})["immer-nothing"]=!0,ji),Vi=Zi?Symbol.for("immer-draftable"):"__$immer_draftable",qi=Zi?Symbol.for("immer-state"):"__$immer_state",Yi=""+Object.prototype.constructor,Ji="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Xi=Object.getOwnPropertyDescriptors||function(t){var o={};return Ji(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Qi={},ta={get:function(t,o){if(o===qi)return t;var e=mi(t);if(!hi(e,o))return function(t,o,e){var r,n=Bi(o,e);return n?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!fi(r)?r:r===zi(t.t,o)?(Fi(t),t.o[o]=Pi(t.A.h,r,t)):r},has:function(t,o){return o in mi(t)},ownKeys:function(t){return Reflect.ownKeys(mi(t))},set:function(t,o,e){var r=Bi(mi(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=zi(mi(t),o),i=null==n?void 0:n[qi];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(yi(e,n)&&(void 0!==e||hi(t.t,o)))return!0;Fi(t),Ai(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!==zi(t.t,o)||o in t.t?(t.R[o]=!1,Fi(t),Ai(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=mi(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(){si(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){si(12)}},oa={};di(ta,(function(t,o){oa[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),oa.deleteProperty=function(t,o){return oa.set.call(this,t,o,void 0)},oa.set=function(t,o,e){return ta.set.call(this,t[0],o,e,t[0])};var ea=function(){function t(t){var o=this;this.O=Ti,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var n=e;e=t;var i=o;return function(t){var o=this;void 0===t&&(t=n);for(var r=arguments.length,a=Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];return i.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&si(6),void 0!==r&&"function"!=typeof r&&si(7),fi(t)){var l=Ii(o),s=Pi(o,t,void 0),c=!0;try{a=e(s),c=!1}finally{c?Ei(l):Ri(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Ni(l,r),Ui(t,l)}),(function(t){throw Ei(l),t})):(Ni(l,r),Ui(a,l))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Gi&&(a=void 0),o.D&&Oi(a,!0),r){var f=[],d=[];Si("Patches").M(t,a,f,d),r(f,d)}return a}si(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(n))}))};var r,n,i=o.produce(t,e,(function(t,o){r=t,n=o}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,r,n]})):[i,r,n]},"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){fi(t)||si(8),ci(t)&&(t=_i(t));var o=Ii(this),e=Pi(this,t,void 0);return e[qi].C=!0,Ri(o),e},o.finishDraft=function(t,o){var e=(t&&t[qi]).A;return Ni(e,o),Ui(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Ti&&si(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 n=Si("Patches").$;return ci(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),ra=new ea,na=ra.produce;function ia(t){return ia="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},ia(t)}function aa(t){var o=function(t,o){if("object"!==ia(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==ia(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===ia(o)?o:String(o)}function la(t,o,e){return(o=aa(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function sa(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function ca(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?sa(Object(e),!0).forEach((function(o){la(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):sa(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function fa(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}ra.produceWithPatches.bind(ra),ra.setAutoFreeze.bind(ra),ra.setUseProxies.bind(ra),ra.applyPatches.bind(ra),ra.createDraft.bind(ra),ra.finishDraft.bind(ra);var da="function"==typeof Symbol&&Symbol.observable||"@@observable",pa=function(){return Math.random().toString(36).substring(7).split("").join(".")},ha={INIT:"@@redux/INIT"+pa(),REPLACE:"@@redux/REPLACE"+pa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+pa()}};function ua(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(fa(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(fa(1));return e(ua)(t,o)}if("function"!=typeof t)throw new Error(fa(2));var n=t,i=o,a=[],l=a,s=!1;function c(){l===a&&(l=a.slice())}function f(){if(s)throw new Error(fa(3));return i}function d(t){if("function"!=typeof t)throw new Error(fa(4));if(s)throw new Error(fa(5));var o=!0;return c(),l.push(t),function(){if(o){if(s)throw new Error(fa(6));o=!1,c();var e=l.indexOf(t);l.splice(e,1),a=null}}}function p(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(fa(7));if(void 0===t.type)throw new Error(fa(8));if(s)throw new Error(fa(9));try{s=!0,i=n(i,t)}finally{s=!1}for(var o=a=l,e=0;e<o.length;e++){(0,o[e])()}return t}return p({type:ha.INIT}),(r={dispatch:p,subscribe:d,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(fa(10));n=t,p({type:ha.REPLACE})}})[da]=function(){var t,o=d;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(fa(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[da]=function(){return this},t},r}function ya(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var n=o[r];"function"==typeof t[n]&&(e[n]=t[n])}var i,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:ha.INIT}))throw new Error(fa(12));if(void 0===e(void 0,{type:ha.PROBE_UNKNOWN_ACTION()}))throw new Error(fa(13))}))}(e)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},l=0;l<a.length;l++){var s=a[l],c=e[s],f=t[s],d=c(f,o);if(void 0===d)throw o&&o.type,new Error(fa(14));n[s]=d,r=r||d!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function ga(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function ba(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(fa(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=ga.apply(void 0,i)(e.dispatch),ca(ca({},e),{},{dispatch:r})}}}function ma(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(n){return"function"==typeof n?n(e,r,t):o(n)}}}}var va=ma();va.withExtraArgument=ma;var Oa,xa=va,wa=(Oa=function(t,o){return Oa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},Oa(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}Oa(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),Sa=function(t,o){var e,r,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(n=2&i[0]?r.return:i[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=o.call(t,a)}catch(t){i=[6,t],r=0}finally{e=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},Ca=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},Na=Object.defineProperty,Ea=Object.defineProperties,Ra=Object.getOwnPropertyDescriptors,Ia=Object.getOwnPropertySymbols,La=Object.prototype.hasOwnProperty,Ua=Object.prototype.propertyIsEnumerable,Wa=function(t,o,e){return o in t?Na(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},ka=function(t,o){for(var e in o||(o={}))La.call(o,e)&&Wa(t,e,o[e]);if(Ia)for(var r=0,n=Ia(o);r<n.length;r++){e=n[r];Ua.call(o,e)&&Wa(t,e,o[e])}return t},$a=function(t,o){return Ea(t,Ra(o))},za="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ga:ga.apply(null,arguments)};var Ba=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return wa(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,Ca([void 0],t[0].concat(this)))):new(o.bind.apply(o,Ca([void 0],t.concat(this))))},o}(Array),Aa=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return wa(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,Ca([void 0],t[0].concat(this)))):new(o.bind.apply(o,Ca([void 0],t.concat(this))))},o}(Array);function Fa(t){return fi(t)?na(t,(function(){})):t}function Pa(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new Ba;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(xa.withExtraArgument(e.extraArgument)):r.push(xa));return r}(t)}}function _a(t){var o,e=Pa(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,l=void 0===a?e():a,s=r.devTools,c=void 0===s||s,f=r.preloadedState,d=void 0===f?void 0:f,p=r.enhancers,h=void 0===p?void 0:p;if("function"==typeof i)o=i;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}(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=ya(i)}var u=l;"function"==typeof u&&(u=u(e));var y=ba.apply(void 0,u),g=ga;c&&(g=za(ka({trace:!1},"object"==typeof c&&c)));var b=new Aa(y),m=b;return Array.isArray(h)?m=Ca([y],h):"function"==typeof h&&(m=h(b)),ua(o,d,g.apply(void 0,m))}function Ma(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var n=o.apply(void 0,e);if(!n)throw new Error("prepareAction did not return an object");return ka(ka({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.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 ja(t){var o,e={},r=[],n={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,n},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),n},addDefaultCase:function(t){return o=t,n}};return t(n),[e,r,o]}function Ka(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:Fa(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},l={},s={};function c(){var o="function"==typeof t.extraReducers?ja(t.extraReducers):[t.extraReducers],e=o[0],n=void 0===e?{}:e,i=o[1],a=void 0===i?[]:i,s=o[2],c=void 0===s?void 0:s,f=ka(ka({},n),l);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?ja(o):[o,e,r],a=i[0],l=i[1],s=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Fa(t())};else{var c=Fa(t);n=function(){return c}}function f(t,o){void 0===t&&(t=n());var e=Ca([a[o.type]],l.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[s]),e.reduce((function(t,e){if(e){var r;if(ci(t))return void 0===(r=e(t,o))?t:r;if(fi(t))return na(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=n,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 n=r[e];t.addMatcher(n.matcher,n.reducer)}c&&t.addDefaultCase(c)}))}return i.forEach((function(t){var e,r,i=n[t],c=o+"/"+t;"reducer"in i?(e=i.reducer,r=i.prepare):e=i,a[t]=e,l[c]=e,s[t]=r?Ma(c,r):Ma(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:s,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var Za=["name","message","stack","code"],Da=function(t,o){this.payload=t,this.meta=o},Ha=function(t,o){this.payload=t,this.meta=o},Ta=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Za;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Ga(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=Ma(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:$a(ka({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=Ma(t+"/pending",(function(t,o,e){return{payload:void 0,meta:$a(ka({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=Ma(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||Ta)(t||"Rejected"),meta:$a(ka({},i||{}),{arg:r,requestId:o,rejectedWithValue:!!n,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(l,s,c){var f,d=(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}(),p=new a;function h(t){f=t,p.abort()}var u=function(){return a=this,u=null,y=function(){var a,u,y,g,b,m;return Sa(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:s,extra:c}),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||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return p.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),l(n(d,t,null==(u=null==e?void 0:e.getPendingMeta)?void 0:u.call(e,{requestId:d,arg:t},{getState:s,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:l,getState:s,extra:c,requestId:d,signal:p.signal,abort:h,rejectWithValue:function(t,o){return new Da(t,o)},fulfillWithValue:function(t,o){return new Ha(t,o)}})).then((function(o){if(o instanceof Da)throw o;return o instanceof Ha?r(o.payload,d,t,o.meta):r(o,d,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Da?i(null,d,t,m.payload,m.meta):i(m,d,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&i.match(y)&&y.meta.condition||l(y),[2,y]}var O}))},new Promise((function(t,o){var e=function(t){try{n(y.next(t))}catch(t){o(t)}},r=function(t){try{n(y.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};n((y=y.apply(a,u)).next())}));var a,u,y}();return Object.assign(u,{abort:h,requestId:d,arg:t,unwrap:function(){return u.then(Ga)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Va="listenerMiddleware";Ma(Va+"/add"),Ma(Va+"/removeAll"),Ma(Va+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=n[t];return e?e.enumerable=o:n[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[qi];return ta.get(o,t)},set:function(o){var e=this[qi];ta.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][qi];if(!n.P)switch(n.i){case 5:r(n)&&Ai(n);break;case 4:e(n)&&Ai(n)}}}function e(t){for(var o=t.t,e=t.k,r=Ji(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==qi){var a=o[i];if(void 0===a&&!hi(o,i))return!0;var l=e[i],s=l&&l[qi];if(s?s.t!==a:!yi(l,a))return!0}}var c=!!o[qi];return r.length!==Ji(o).length+(c?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var n={};!function(t,o){Qi[t]||(Qi[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),n=function(o,e){if(o){for(var r=Array(e.length),n=0;n<e.length;n++)Object.defineProperty(r,""+n,t(n,!0));return r}var i=Xi(e);delete i[qi];for(var a=Ji(i),l=0;l<a.length;l++){var s=a[l];i[s]=t(s,o||!!i[s].enumerable)}return Object.create(Object.getPrototypeOf(e),i)}(r,o),i={i:r?5:4,A:e?e.A:Ci(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,qi,{value:i,writable:!0}),n},S:function(t,e,n){n?ci(e)&&e[qi].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[qi];if(e){var n=e.t,i=e.k,a=e.R,l=e.i;if(4===l)di(i,(function(o){o!==qi&&(void 0!==n[o]||hi(n,o)?a[o]||t(i[o]):(a[o]=!0,Ai(e)))})),di(n,(function(t){void 0!==i[t]||hi(i,t)||(a[t]=!1,Ai(e))}));else if(5===l){if(r(e)&&(Ai(e),a.length=!0),i.length<n.length)for(var s=i.length;s<n.length;s++)a[s]=!1;else for(var c=n.length;c<i.length;c++)a[c]=!0;for(var f=Math.min(i.length,n.length),d=0;d<f;d++)i.hasOwnProperty(d)||(a[d]=!0),void 0===a[d]&&t(i[d])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class qa{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,n=window.ftReduxStores[e];if(ti(n))return n;if(null==r)return;const i=Ka({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=_a({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?i.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}:i.reducer(t,o)});return window.ftReduxStores[r.name]=new qa(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Qn,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,n=t[r];return n?(...t)=>{const o=n(...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 Ya=Object.freeze({__proto__:null,FtCommandQueue:Qn,FtLitElementRedux:li,FtReduxStore:qa,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))ti(o)&&o.clear()},isFtReduxStore:ti,redux:Xn,reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var Ja=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e,r,n,i;const a=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all"});if((null===(r=o.query)||void 0===r?void 0:r.length)>0&&a.append("query",o.query),o.scope&&"DEFAULT"!==o.scope&&a.append("scope",o.scope.toLowerCase()),o.virtualField&&a.append("virtual-field",o.virtualField.toLowerCase()),o.periodFilter){let t=o.periodFilter.period;const e=t?`_${t.from}_${t.to}`:"";a.append("period",o.periodFilter.periodType.toLowerCase()+e)}if((null===(n=o.sort)||void 0===n?void 0:n.length)>0&&"ft:lastEdition"===o.sort[0].key&&a.append("sort","last_update"),(null===(i=o.filters)||void 0===i?void 0:i.length)>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.toString()}`).href}});const Xa=Symbol("elementInternals");var Qa,tl,ol,el,rl=Object.freeze({__proto__:null,toFtFormComponent:function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Xa].form}constructor(...t){super(t),this[Xa]=this.attachInternals(),this[Xa].role=o}setFormValue(t){this[Xa].setFormValue(t)}}}});const nl=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ol=null===(tl=null===(Qa=window.safari)||void 0===Qa?void 0:Qa.pushNotification)||void 0===tl?void 0:tl.toString())&&void 0!==ol?ol:""),il="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(el=window.ftGlobals)&&void 0!==el?el:{lit:Oo,litDecorators:Ro,litRepeat:Mo,litClassMap:Ko,litStyleMap:To,litUnsafeHTML:qo,wcUtils:{...oe,...Qo,...re,...ie,...ue,...mr,...wr,...Nn,...gr,...An,...Fn,...fe,...Dn,...Vn,...qn,...Jn,...Ya,...Un,...Ja,...rl,isSafari:nl,isTouchScreen:il}};const al=pt``;var ll;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(ll||(ll={}));var sl=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class cl extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const fl=Symbol("registerInterval");class dl extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[fl]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[fl]):this.dispatchEvent(new cl)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=fl,sl([Co()],e.prototype,"stateManager",void 0),e}(li)){}
|
|
178
|
-
/**
|
|
355
|
+
lit-html/static.js:
|
|
356
|
+
(**
|
|
179
357
|
* @license
|
|
180
358
|
* Copyright 2020 Google LLC
|
|
181
359
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
font-family: ${xl};
|
|
185
|
-
font-size: ${wl};
|
|
186
|
-
font-weight: ${Sl};
|
|
187
|
-
letter-spacing: ${Cl};
|
|
188
|
-
line-height: ${Nl};
|
|
189
|
-
text-transform: ${El};
|
|
190
|
-
}
|
|
191
|
-
`,Is=pt`
|
|
192
|
-
.ft-typography--title-dense {
|
|
193
|
-
font-family: ${Rl};
|
|
194
|
-
font-size: ${Il};
|
|
195
|
-
font-weight: ${Ll};
|
|
196
|
-
letter-spacing: ${Ul};
|
|
197
|
-
line-height: ${Wl};
|
|
198
|
-
text-transform: ${kl};
|
|
199
|
-
}
|
|
200
|
-
`,Ls=pt`
|
|
201
|
-
.ft-typography--subtitle1 {
|
|
202
|
-
font-family: ${$l};
|
|
203
|
-
font-size: ${zl};
|
|
204
|
-
font-weight: ${Bl};
|
|
205
|
-
letter-spacing: ${Al};
|
|
206
|
-
line-height: ${Fl};
|
|
207
|
-
text-transform: ${Pl};
|
|
208
|
-
}
|
|
209
|
-
`,Us=pt`
|
|
210
|
-
.ft-typography--subtitle2 {
|
|
211
|
-
font-family: ${_l};
|
|
212
|
-
font-size: ${Ml};
|
|
213
|
-
font-weight: ${jl};
|
|
214
|
-
letter-spacing: ${Kl};
|
|
215
|
-
line-height: ${Zl};
|
|
216
|
-
text-transform: ${Dl};
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
`,Ws=pt`
|
|
220
|
-
.ft-typography--body1 {
|
|
221
|
-
font-family: ${Hl};
|
|
222
|
-
font-size: ${Tl};
|
|
223
|
-
font-weight: ${Gl};
|
|
224
|
-
letter-spacing: ${Vl};
|
|
225
|
-
line-height: ${ql};
|
|
226
|
-
text-transform: ${Yl};
|
|
227
|
-
}
|
|
228
|
-
`,ks=pt`
|
|
229
|
-
.ft-typography--body2 {
|
|
230
|
-
font-family: ${Jl};
|
|
231
|
-
font-size: ${Xl};
|
|
232
|
-
font-weight: ${Ql};
|
|
233
|
-
letter-spacing: ${ts};
|
|
234
|
-
line-height: ${os};
|
|
235
|
-
text-transform: ${es};
|
|
236
|
-
}
|
|
237
|
-
`,$s=pt`
|
|
238
|
-
.ft-typography--caption {
|
|
239
|
-
font-family: ${rs};
|
|
240
|
-
font-size: ${ns};
|
|
241
|
-
font-weight: ${is};
|
|
242
|
-
letter-spacing: ${as};
|
|
243
|
-
line-height: ${ls};
|
|
244
|
-
text-transform: ${ss};
|
|
245
|
-
}
|
|
246
|
-
`,zs=pt`
|
|
247
|
-
.ft-typography--breadcrumb {
|
|
248
|
-
font-family: ${cs};
|
|
249
|
-
font-size: ${fs};
|
|
250
|
-
font-weight: ${ds};
|
|
251
|
-
letter-spacing: ${ps};
|
|
252
|
-
line-height: ${hs};
|
|
253
|
-
text-transform: ${us};
|
|
254
|
-
}
|
|
255
|
-
`,Bs=pt`
|
|
256
|
-
.ft-typography--overline {
|
|
257
|
-
font-family: ${ys};
|
|
258
|
-
font-size: ${gs};
|
|
259
|
-
font-weight: ${bs};
|
|
260
|
-
letter-spacing: ${ms};
|
|
261
|
-
line-height: ${vs};
|
|
262
|
-
text-transform: ${Os};
|
|
263
|
-
}
|
|
264
|
-
`,As=pt`
|
|
265
|
-
.ft-typography--button {
|
|
266
|
-
font-family: ${xs};
|
|
267
|
-
font-size: ${ws};
|
|
268
|
-
font-weight: ${Ss};
|
|
269
|
-
letter-spacing: ${Cs};
|
|
270
|
-
line-height: ${Ns};
|
|
271
|
-
text-transform: ${Es};
|
|
272
|
-
}
|
|
273
|
-
`,Fs=pt`
|
|
274
|
-
.ft-typography {
|
|
275
|
-
vertical-align: inherit;
|
|
276
|
-
}
|
|
277
|
-
`,Ps=[Object.keys(De).map((t=>function(t){const o=De[t];return pt`
|
|
278
|
-
.ft-typography--${dt(t)} {
|
|
279
|
-
font-family: ${o.fontFamily};
|
|
280
|
-
font-size: ${o.fontSize};
|
|
281
|
-
font-weight: ${o.fontWeight};
|
|
282
|
-
letter-spacing: ${o.letterSpacing};
|
|
283
|
-
line-height: ${o.lineHeight};
|
|
284
|
-
text-transform: ${o.textCase};
|
|
285
|
-
}
|
|
286
|
-
`}(t)))];var _s=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class Ms extends Bn{constructor(){super(...arguments),this.variant=bl.body1}render(){return this.element?gl`
|
|
287
|
-
<${ul(this.element)}
|
|
288
|
-
class="ft-typography ft-typography--${this.variant}">
|
|
289
|
-
<slot></slot>
|
|
290
|
-
</${ul(this.element)}>
|
|
291
|
-
`:gl`
|
|
292
|
-
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
293
|
-
`}}Ms.styles=[Rs,Is,Ls,Us,Ws,ks,$s,zs,Bs,As,Fs,...Ps],_s([So()],Ms.prototype,"element",void 0),_s([So()],Ms.prototype,"variant",void 0),de("ft-typography")(Ms);const js=pt`
|
|
294
|
-
`,Ks=qa.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});class Zs{static get(t){const{baseUrl:o,apiIntegrationIdentifier:e}=Ks.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static await(t){return new Promise((o=>{let e=Zs.get(t);if(e)o(e);else{const r=Ks.subscribe((()=>{e=Zs.get(t),e&&(r(),o(e))}))}}))}}class Ds{constructor(t=!0,o){var e;this.overrideApi=o;let r=this.constructor;r.commonCache=null!==(e=r.commonCache)&&void 0!==e?e:new te,this.cache=t?r.commonCache:new te}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Zs.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Zs.await()}clearCache(){this.cache.clearAll()}}var Hs;const Ts=Symbol("clearAfterUnitTest");class Gs extends Ds{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Hs]=()=>{this.defaultMessages={},this.cache=new te,this.listeners={}},this.currentUiLocale=Ks.getState().uiLocale,Ks.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Ks.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var e;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(e=this.defaultMessages[t])&&void 0!==e?e:{},...o};ce(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...e){var r,n,i;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new Yn(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},a).resolve(o,...e)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>ae(0).then((()=>t())).catch((()=>null)))))}}Hs=Ts,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Gs{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Gs{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const Vs=window.FluidTopicsI18nService,qs=window.FluidTopicsCustomI18nService;var Ys=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class Js extends Bn{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Zs.get(),this.messageContexts=[],this.cache=new te,this.cleanSessionDebouncer=new ne}render(){return Jt`
|
|
295
|
-
<slot></slot>
|
|
296
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(Ks.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Ks.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Ks.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Ks.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Ks.actions.noCustom(this.noCustom),t.has("editorMode")&&Ks.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Ks.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Ks.actions.session(this.session),t.has("availableUiLocales")&&Ks.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Vs.addContext(t))),t.has("openExternalDocumentInNewTab")&&Ks.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&Ks.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&Ks.actions.forcedOffline(this.forcedOffline),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Js.elementDefinitions={},Js.styles=js,Ys([So()],Js.prototype,"baseUrl",void 0),Ys([So()],Js.prototype,"apiIntegrationIdentifier",void 0),Ys([So()],Js.prototype,"uiLocale",void 0),Ys([pe(null)],Js.prototype,"availableUiLocales",void 0),Ys([pe(null)],Js.prototype,"metadataConfiguration",void 0),Ys([So({type:Boolean})],Js.prototype,"editorMode",void 0),Ys([So({type:Boolean})],Js.prototype,"noCustom",void 0),Ys([So({type:Boolean})],Js.prototype,"openExternalDocumentInNewTab",void 0),Ys([So({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Js.prototype,"noCustomComponent",void 0),Ys([So({type:Boolean})],Js.prototype,"withManualResources",void 0),Ys([So({type:Boolean})],Js.prototype,"navigatorOnline",void 0),Ys([So({type:Boolean})],Js.prototype,"forcedOffline",void 0),Ys([So({type:Object})],Js.prototype,"apiProvider",void 0),Ys([pe([])],Js.prototype,"messageContexts",void 0),Ys([pe(void 0)],Js.prototype,"session",void 0);class Xs extends Ds{async listMySearches(){let t=Ks.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Qs extends Ds{async listMyBookmarks(){let t=Ks.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const tc=qa.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Ks.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Qs,this.savedSearchesService=new Xs,Ks.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=Ks.getState();ce(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),tc.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),tc.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();tc.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;tc.actions.bookmarks(o)}}};window.FluidTopicsAppInfoStoreService=new class{addCommand(t,o=!1){Ks.commands.add(t,o)}consumeCommand(t){return Ks.commands.consume(t)}};window.FluidTopicsHighlightHtmlService=new class{highlightHtml(t,o){Zn(t,o)}},de("ft-app-context")(Js);const oc=pt`
|
|
297
|
-
`;var ec=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};const rc=Symbol("i18nAttributes"),nc=Symbol("i18nProperties"),ic=Symbol("i18nUnsubs");function ac(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?qs:Vs}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const n=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...n)}onI18nUpdate(t){var o,e;null===(o=this[rc])||void 0===o||o.forEach(((o,e)=>{var r;const n=this.getI18nAttributeValue(e);(null===(r=null==n?void 0:n.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,n,o)})),null===(e=this[nc])||void 0===e||e.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,o,e){this[t]={...o,message:this.i18n({context:o.context,key:o.key,...e})}}update(t){var o,e;super.update(t),null===(o=this[rc])||void 0===o||o.forEach(((o,e)=>{const r=this.getI18nAttributeValue(e);(null==r?void 0:r.context)&&r.key&&(t.has(e)||null!=o.argsProvider)&&(t.has(e)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(e,r,o))})),null===(e=this[nc])||void 0===e||e.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,o,e,r;super.connectedCallback(),new Set([...null!==(o=null===(t=this[nc])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(r=null===(e=this[rc])||void 0===e?void 0:e.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[ic].has(t)||this[ic].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages("string"==typeof t?t:t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[ic].forEach((t=>t())),this[ic].clear()}}return o=ic,ec([So({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class lc extends(ac(Bn)){}class sc extends(ac(li)){}var cc=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class fc extends sc{constructor(){super(),this.editorMode=!1,this.addStore(Ks)}render(){return this.key&&this.context?Jt`
|
|
298
|
-
<span class="ft-i18n">
|
|
299
|
-
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
300
|
-
</span>
|
|
301
|
-
`:this.editorMode?"Select a context and a label key.":to}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}fc.elementDefinitions={},fc.styles=oc,cc([Xn()],fc.prototype,"editorMode",void 0),cc([So()],fc.prototype,"context",void 0),cc([So()],fc.prototype,"key",void 0),cc([pe([])],fc.prototype,"args",void 0),cc([So()],fc.prototype,"defaultMessage",void 0);class dc{static build(t){return new dc(t)}static fromGwt(t){return new dc(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>Vs.resolveMessage(this.name,o,...t)})}}de("ft-i18n")(fc);const pc=dc.build("readerPageTitle"),hc={pageTitle:"Page title"};var uc=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class yc extends(ac(dl)){constructor(){super(),this.target="current",this.editorMode=!1,this.addStore(Ks),this.addI18nContext(pc,hc)}render(){var t,o;const e=null!==(o=null===(t=this.targetPage)||void 0===t?void 0:t.title)&&void 0!==o?o:this.editorMode?pc.messages.pageTitle():void 0;return e?Jt`<ft-typography variant="title" part="text">${e}</ft-typography>`:to}update(t){var o;if(super.update(t),t.has("currentPage")||t.has("target")){const t=this.computeOffset(this.target);if(this.currentPage&&0!=t){const e=this.currentPage.number+t;null===(o=this.service)||void 0===o||o.getPage(e).then((t=>{t.number==e?this.targetPage=t:this.targetPage=void 0}))}else this.targetPage=this.currentPage}}computeOffset(t){switch(t){case"next":return 1;case"previous":return-1;default:return 0}}}yc.styles=al,yc.elementDefinitions={"ft-typography":Ms},uc([So()],yc.prototype,"target",void 0),uc([Xn({store:"reader"})],yc.prototype,"currentPage",void 0),uc([Co()],yc.prototype,"targetPage",void 0),uc([Xn({store:Ks.name})],yc.prototype,"editorMode",void 0),de("ft-reader-page-title")(yc),t.FtReaderPageTitle=yc,t.FtReaderPageTitleCssVariables={},t.styles=al}({});
|
|
360
|
+
*)
|
|
361
|
+
*/
|