@fluid-topics/ft-reader-search-in-document 1.1.121 → 1.2.1
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-search-in-document.light.js +115 -115
- package/build/ft-reader-search-in-document.min.js +132 -132
- package/package.json +14 -14
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";(()=>{var gy=Object.create;var Bi=Object.defineProperty;var by=Object.getOwnPropertyDescriptor;var xy=Object.getOwnPropertyNames;var vy=Object.getPrototypeOf,Sy=Object.prototype.hasOwnProperty;var y=(t,e)=>()=>(t&&(e=t(t=0)),e);var Oy=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Z=(t,e)=>{for(var r in e)Bi(t,r,{get:e[r],enumerable:!0})},Cy=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of xy(e))!Sy.call(t,i)&&i!==r&&Bi(t,i,{get:()=>e[i],enumerable:!(n=by(e,i))||n.enumerable});return t};var Ey=(t,e,r)=>(r=t!=null?gy(vy(t)):{},Cy(e||!t||!t.__esModule?Bi(r,"default",{value:t,enumerable:!0}):r,t));var Kl=y(()=>{if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(C,E){if(C=C.toLowerCase(),this._getDefinition(C)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${C}" has already been used with this registry`);if(this._definitionsByClass.get(E)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let R=E.prototype.attributeChangedCallback,U=new Set(E.observedAttributes||[]);g(E,U,R);let q={elementClass:E,connectedCallback:E.prototype.connectedCallback,disconnectedCallback:E.prototype.disconnectedCallback,adoptedCallback:E.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:E.formAssociated,formAssociatedCallback:E.prototype.formAssociatedCallback,formDisabledCallback:E.prototype.formDisabledCallback,formResetCallback:E.prototype.formResetCallback,formStateRestoreCallback:E.prototype.formStateRestoreCallback,observedAttributes:U};this._definitionsByTag.set(C,q),this._definitionsByClass.set(E,q);let X=r.call(n,C);X||(X=h(C),e.call(n,C,X)),this===window.customElements&&(s.set(E,q),q.standInClass=X);let Q=this._awaitingUpgrade.get(C);if(Q){this._awaitingUpgrade.delete(C);for(let m of Q)a.delete(m),v(m,q,!0)}let D=this._whenDefinedPromises.get(C);return D!==void 0&&(D.resolve(E),this._whenDefinedPromises.delete(C)),E}upgrade(){L.push(this),n.upgrade.apply(n,arguments),L.pop()}get(C){return this._definitionsByTag.get(C)?.elementClass}_getDefinition(C){return this._definitionsByTag.get(C)}whenDefined(C){let E=this._getDefinition(C);if(E!==void 0)return Promise.resolve(E.elementClass);let R=this._whenDefinedPromises.get(C);return R===void 0&&(R={},R.promise=new Promise(U=>R.resolve=U),this._whenDefinedPromises.set(C,R)),R.promise}_upgradeWhenDefined(C,E,R){let U=this._awaitingUpgrade.get(E);U||this._awaitingUpgrade.set(E,U=new Set),R?U.add(C):U.delete(C)}};let d;window.HTMLElement=function(){let E=d;if(E)return d=void 0,E;let R=s.get(this.constructor);if(!R)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return E=Reflect.construct(t,[],R.standInClass),Object.setPrototypeOf(E,this.constructor.prototype),i.set(E,R),E},window.HTMLElement.prototype=t.prototype;let u=C=>C===document||C instanceof ShadowRoot,f=C=>{let E=C.getRootNode();if(!u(E)){let R=L[L.length-1];if(R instanceof CustomElementRegistry)return R;E=R.getRootNode(),u(E)||(E=c.get(E)?.getRootNode()||document)}return E.customElements},h=C=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let U=f(R)||window.customElements,q=U._getDefinition(C);return q?v(R,q):a.set(R,U),R}connectedCallback(){let R=i.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,C,!0)}disconnectedCallback(){let R=i.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,C,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=i.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=i.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=i.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=i.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},g=(C,E,R)=>{if(E.size===0||R===void 0)return;let U=C.prototype.setAttribute;U&&(C.prototype.setAttribute=function(Q,D){let m=Q.toLowerCase();if(E.has(m)){let S=this.getAttribute(m);U.call(this,m,D),R.call(this,m,S,D)}else U.call(this,m,D)});let q=C.prototype.removeAttribute;q&&(C.prototype.removeAttribute=function(Q){let D=Q.toLowerCase();if(E.has(D)){let m=this.getAttribute(D);q.call(this,D),R.call(this,D,m,null)}else q.call(this,D)});let X=C.prototype.toggleAttribute;X&&(C.prototype.toggleAttribute=function(Q,D){let m=Q.toLowerCase();if(E.has(m)){let S=this.getAttribute(m);X.call(this,m,D);let M=this.getAttribute(m);R.call(this,m,S,M)}else X.call(this,m,D)})},x=C=>{let E=Object.getPrototypeOf(C);if(E!==window.HTMLElement)return E===t?Object.setPrototypeOf(C,window.HTMLElement):x(E)},v=(C,E,R=!1)=>{Object.setPrototypeOf(C,E.elementClass.prototype),i.set(C,E),d=C;try{new E.elementClass}catch{x(E.elementClass),new E.elementClass}E.attributeChangedCallback&&E.observedAttributes.forEach(U=>{C.hasAttribute(U)&&E.attributeChangedCallback.call(C,U,null,C.getAttribute(U))}),R&&E.connectedCallback&&C.isConnected&&E.connectedCallback.call(C)},A=Element.prototype.attachShadow;Element.prototype.attachShadow=function(C){let E=A.apply(this,arguments);return C.customElements&&(E.customElements=C.customElements),E};let L=[document],N=(C,E,R=void 0)=>{let U=(R?Object.getPrototypeOf(R):C.prototype)[E];C.prototype[E]=function(){L.push(this);let q=U.apply(R||this,arguments);return q!==void 0&&c.set(q,this),L.pop(),q}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let T=(C,E)=>{let R=Object.getOwnPropertyDescriptor(C.prototype,E);Object.defineProperty(C.prototype,E,{...R,set(U){L.push(this),R.set.call(this,U),L.pop()}})};if(T(Element,"innerHTML"),T(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let C=new WeakMap,E=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...Q){let D=E.call(this,...Q);return C.set(D,this),D},R.forEach(Q=>{let D=window.ElementInternals.prototype,m=D[Q];D[Q]=function(...S){let M=C.get(this);if(i.get(M).formAssociated===!0)return m?.call(this,...S);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class U extends Array{constructor(D){super(...D),this._elements=D}get value(){return this._elements.find(D=>D.checked===!0)?.value||""}}class q{constructor(D){let m=new Map;D.forEach((S,M)=>{let K=S.getAttribute("name"),Y=m.get(K)||[];this[+M]=S,Y.push(S),m.set(K,Y)}),this.length=D.length,m.forEach((S,M)=>{S&&(S.length===1?this[M]=S[0]:this[M]=new U(S))})}namedItem(D){return this[D]}}let X=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let Q=X.get.call(this,[]),D=[];for(let m of Q){let S=i.get(m);(!S||S.formAssociated===!0)&&D.push(m)}return new q(D)}})}}});var Gl=y(()=>{"use strict";Kl();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}});var tn,on,ql,Zl,rn,Yl,Ui,nn,Fi=y(()=>{tn=globalThis,on=tn.ShadowRoot&&(tn.ShadyCSS===void 0||tn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ql=Symbol(),Zl=new WeakMap,rn=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==ql)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(on&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Zl.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Zl.set(r,e))}return e}toString(){return this.cssText}},Yl=t=>new rn(typeof t=="string"?t:t+"",void 0,ql),Ui=(t,e)=>{if(on)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=tn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},nn=on?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Yl(r)})(t):t});var wy,Ay,Ry,Ny,_y,Py,an,Xl,Ty,Ly,lo,uo,sn,Ql,Yt,Wi=y(()=>{Fi();Fi();({is:wy,defineProperty:Ay,getOwnPropertyDescriptor:Ry,getOwnPropertyNames:Ny,getOwnPropertySymbols:_y,getPrototypeOf:Py}=Object),an=globalThis,Xl=an.trustedTypes,Ty=Xl?Xl.emptyScript:"",Ly=an.reactiveElementPolyfillSupport,lo=(t,e)=>t,uo={toAttribute(t,e){switch(e){case Boolean:t=t?Ty:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},sn=(t,e)=>!wy(t,e),Ql={attribute:!0,type:String,converter:uo,reflect:!1,hasChanged:sn};Symbol.metadata??=Symbol("metadata"),an.litPropertyMetadata??=new WeakMap;Yt=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,r=Ql){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Ay(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Ry(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ql}static _$Ei(){if(this.hasOwnProperty(lo("elementProperties")))return;let e=Py(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(lo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(lo("properties"))){let r=this.properties,n=[...Ny(r),..._y(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(nn(i))}else e!==void 0&&r.push(nn(e));return r}static _$Eu(e,r){let n=r.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,r=this.constructor.elementProperties;for(let n of r.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 Ui(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,r,n){this._$AK(e,n)}_$EO(e,r){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:uo).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){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:uo;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??sn)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}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,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.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(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Yt.elementStyles=[],Yt.shadowRootOptions={mode:"open"},Yt[lo("elementProperties")]=new Map,Yt[lo("finalized")]=new Map,Ly?.({ReactiveElement:Yt}),(an.reactiveElementVersions??=[]).push("2.0.2")});function ud(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Jl!==void 0?Jl.createHTML(e):e}function er(t,e,r=t,n){if(e===De)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=fo(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=er(t,i._$AS(t,e.values),i,n)),e}var zi,cn,Jl,ji,pt,Vi,Iy,Jt,ln,fo,id,ad,Hi,po,ed,td,Xt,rd,od,sd,cd,ld,dd,De,ue,nd,Qt,pd,ho,dn,yo,tr,un,pn,fn,hn,fd,$y,ft=y(()=>{zi=globalThis,cn=zi.trustedTypes,Jl=cn?cn.createPolicy("lit-html",{createHTML:t=>t}):void 0,ji="$lit$",pt=`lit$${(Math.random()+"").slice(9)}$`,Vi="?"+pt,Iy=`<${Vi}>`,Jt=document,ln=()=>Jt.createComment(""),fo=t=>t===null||typeof t!="object"&&typeof t!="function",id=Array.isArray,ad=t=>id(t)||typeof t?.[Symbol.iterator]=="function",Hi=`[
|
|
2
|
-
\f\r]`,po=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ed=/-->/g,td=/>/g,
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),rd=/'/g,od=/"/g,sd=/^(?:script|style|textarea|title)$/i,cd=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),ld=cd(1),dd=cd(2),De=Symbol.for("lit-noChange"),ue=Symbol.for("lit-nothing"),nd=new WeakMap,Qt=Jt.createTreeWalker(Jt,129);pd=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=po;for(let c=0;c<r;c++){let d=t[c],u,f,h=-1,g=0;for(;g<d.length&&(s.lastIndex=g,f=s.exec(d),f!==null);)g=s.lastIndex,s===po?f[1]==="!--"?s=ed:f[1]!==void 0?s=td:f[2]!==void 0?(sd.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=Xt):f[3]!==void 0&&(s=Xt):s===Xt?f[0]===">"?(s=i??po,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,u=f[1],s=f[3]===void 0?Xt:f[3]==='"'?od:rd):s===od||s===rd?s=Xt:s===ed||s===td?s=po:(s=Xt,i=void 0);let x=s===Xt&&t[c+1].startsWith("/>")?" ":"";a+=s===po?d+Iy:h>=0?(n.push(u),d.slice(0,h)+ji+d.slice(h)+pt+x):d+pt+(h===-2?c:x)}return[ud(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},ho=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,d=this.parts,[u,f]=pd(e,r);if(this.el=t.createElement(u,n),Qt.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Qt.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(ji)){let g=f[s++],x=i.getAttribute(h).split(pt),v=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:v[2],strings:x,ctor:v[1]==="."?un:v[1]==="?"?pn:v[1]==="@"?fn:tr}),i.removeAttribute(h)}else h.startsWith(pt)&&(d.push({type:6,index:a}),i.removeAttribute(h));if(sd.test(i.tagName)){let h=i.textContent.split(pt),g=h.length-1;if(g>0){i.textContent=cn?cn.emptyScript:"";for(let x=0;x<g;x++)i.append(h[x],ln()),Qt.nextNode(),d.push({type:2,index:++a});i.append(h[g],ln())}}}else if(i.nodeType===8)if(i.data===Vi)d.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(pt,h+1))!==-1;)d.push({type:7,index:a}),h+=pt.length-1}a++}}static createElement(e,r){let n=Jt.createElement("template");return n.innerHTML=e,n}};dn=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??Jt).importNode(r,!0);Qt.currentNode=i;let a=Qt.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new yo(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new hn(a,this,e)),this._$AV.push(u),d=n[++c]}s!==d?.index&&(a=Qt.nextNode(),s++)}return Qt.currentNode=Jt,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},yo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=ue,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=er(this,e,r),fo(e)?e===ue||e==null||e===""?(this._$AH!==ue&&this._$AR(),this._$AH=ue):e!==this._$AH&&e!==De&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ad(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!==ue&&fo(this._$AH)?this._$AA.nextSibling.data=e:this.$(Jt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=ho.createElement(ud(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new dn(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=nd.get(e.strings);return r===void 0&&nd.set(e.strings,r=new ho(e)),r}T(e){id(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(ln()),this.k(ln()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},tr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=ue,this._$AN=void 0,this.element=e,this.name=r,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=ue}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=er(this,e,r,0),s=!fo(e)||e!==this._$AH&&e!==De,s&&(this._$AH=e);else{let c=e,d,u;for(e=a[0],d=0;d<a.length-1;d++)u=er(this,c[n+d],r,d),u===De&&(u=this._$AH[d]),s||=!fo(u)||u!==this._$AH[d],u===ue?e=ue:e!==ue&&(e+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!i&&this.O(e)}O(e){e===ue?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},un=class extends tr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===ue?void 0:e}},pn=class extends tr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==ue)}},fn=class extends tr{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=er(this,e,r,0)??ue)===De)return;let n=this._$AH,i=e===ue&&n!==ue||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==ue&&(n===ue||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)}},hn=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){er(this,e)}},fd={j:ji,P:pt,A:Vi,C:1,M:pd,L:dn,R:ad,V:er,D:yo,I:tr,H:pn,N:fn,U:un,B:hn},$y=zi.litHtmlPolyfillSupport;$y?.(ho,yo),(zi.litHtmlVersions??=[]).push("3.1.0")});var yn,mo,Ki,hd,Cr,rr,I,mn,go,Gi=y(()=>{yn=globalThis,mo=yn.ShadowRoot&&(yn.ShadyCSS===void 0||yn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ki=Symbol(),hd=new WeakMap,Cr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Ki)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(mo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=hd.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&hd.set(r,e))}return e}toString(){return this.cssText}},rr=t=>new Cr(typeof t=="string"?t:t+"",void 0,Ki),I=(t,...e)=>{let r=t.length===1?t[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)+t[a+1],t[0]);return new Cr(r,t,Ki)},mn=(t,e)=>{if(mo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=yn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},go=mo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return rr(r)})(t):t});var ky,My,Dy,By,Uy,Fy,bn,yd,Wy,Hy,bo,gn,Zi,md,et,qi=y(()=>{Gi();Gi();({is:ky,defineProperty:My,getOwnPropertyDescriptor:Dy,getOwnPropertyNames:By,getOwnPropertySymbols:Uy,getPrototypeOf:Fy}=Object),bn=globalThis,yd=bn.trustedTypes,Wy=yd?yd.emptyScript:"",Hy=bn.reactiveElementPolyfillSupport,bo=(t,e)=>t,gn={toAttribute(t,e){switch(e){case Boolean:t=t?Wy:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Zi=(t,e)=>!ky(t,e),md={attribute:!0,type:String,converter:gn,reflect:!1,hasChanged:Zi};Symbol.metadata??=Symbol("metadata"),bn.litPropertyMetadata??=new WeakMap;et=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,r=md){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&My(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Dy(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??md}static _$Ei(){if(this.hasOwnProperty(bo("elementProperties")))return;let e=Fy(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(bo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(bo("properties"))){let r=this.properties,n=[...By(r),...Uy(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(go(i))}else e!==void 0&&r.push(go(e));return r}static _$Eu(e,r){let n=r.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,r=this.constructor.elementProperties;for(let n of r.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 mn(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,r,n){this._$AK(e,n)}_$EO(e,r){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:gn).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){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:gn;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Zi)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}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,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.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(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};et.elementStyles=[],et.shadowRootOptions={mode:"open"},et[bo("elementProperties")]=new Map,et[bo("finalized")]=new Map,Hy?.({ReactiveElement:et}),(bn.reactiveElementVersions??=[]).push("2.0.2")});function Rd(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return gd!==void 0?gd.createHTML(e):e}function ar(t,e,r=t,n){if(e===_t)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=So(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=ar(t,i._$AS(t,e.values),i,n)),e}var Xi,xn,gd,Qi,ht,Ji,zy,ir,vo,So,Cd,Ed,Yi,xo,bd,xd,or,vd,Sd,wd,Ad,B,jy,_t,j,Od,nr,Nd,Oo,vn,Er,sr,Sn,On,Cn,En,Vy,Ky,ea,ta=y(()=>{Xi=globalThis,xn=Xi.trustedTypes,gd=xn?xn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Qi="$lit$",ht=`lit$${(Math.random()+"").slice(9)}$`,Ji="?"+ht,zy=`<${Ji}>`,ir=document,vo=()=>ir.createComment(""),So=t=>t===null||typeof t!="object"&&typeof t!="function",Cd=Array.isArray,Ed=t=>Cd(t)||typeof t?.[Symbol.iterator]=="function",Yi=`[
|
|
1
|
+
"use strict";(()=>{var xy=Object.create;var Bi=Object.defineProperty;var vy=Object.getOwnPropertyDescriptor;var Sy=Object.getOwnPropertyNames;var Oy=Object.getPrototypeOf,Cy=Object.prototype.hasOwnProperty;var y=(t,e)=>()=>(t&&(e=t(t=0)),e);var Ey=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Z=(t,e)=>{for(var r in e)Bi(t,r,{get:e[r],enumerable:!0})},wy=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Sy(e))!Cy.call(t,i)&&i!==r&&Bi(t,i,{get:()=>e[i],enumerable:!(n=vy(e,i))||n.enumerable});return t};var Ay=(t,e,r)=>(r=t!=null?xy(Oy(t)):{},wy(e||!t||!t.__esModule?Bi(r,"default",{value:t,enumerable:!0}):r,t));var Gl=y(()=>{if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(C,E){if(C=C.toLowerCase(),this._getDefinition(C)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${C}" has already been used with this registry`);if(this._definitionsByClass.get(E)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let R=E.prototype.attributeChangedCallback,U=new Set(E.observedAttributes||[]);g(E,U,R);let q={elementClass:E,connectedCallback:E.prototype.connectedCallback,disconnectedCallback:E.prototype.disconnectedCallback,adoptedCallback:E.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:E.formAssociated,formAssociatedCallback:E.prototype.formAssociatedCallback,formDisabledCallback:E.prototype.formDisabledCallback,formResetCallback:E.prototype.formResetCallback,formStateRestoreCallback:E.prototype.formStateRestoreCallback,observedAttributes:U};this._definitionsByTag.set(C,q),this._definitionsByClass.set(E,q);let X=r.call(n,C);X||(X=h(C),e.call(n,C,X)),this===window.customElements&&(s.set(E,q),q.standInClass=X);let ee=this._awaitingUpgrade.get(C);if(ee){this._awaitingUpgrade.delete(C);for(let m of ee)a.delete(m),v(m,q,!0)}let D=this._whenDefinedPromises.get(C);return D!==void 0&&(D.resolve(E),this._whenDefinedPromises.delete(C)),E}upgrade(){I.push(this),n.upgrade.apply(n,arguments),I.pop()}get(C){return this._definitionsByTag.get(C)?.elementClass}_getDefinition(C){return this._definitionsByTag.get(C)}whenDefined(C){let E=this._getDefinition(C);if(E!==void 0)return Promise.resolve(E.elementClass);let R=this._whenDefinedPromises.get(C);return R===void 0&&(R={},R.promise=new Promise(U=>R.resolve=U),this._whenDefinedPromises.set(C,R)),R.promise}_upgradeWhenDefined(C,E,R){let U=this._awaitingUpgrade.get(E);U||this._awaitingUpgrade.set(E,U=new Set),R?U.add(C):U.delete(C)}};let d;window.HTMLElement=function(){let E=d;if(E)return d=void 0,E;let R=s.get(this.constructor);if(!R)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return E=Reflect.construct(t,[],R.standInClass),Object.setPrototypeOf(E,this.constructor.prototype),i.set(E,R),E},window.HTMLElement.prototype=t.prototype;let u=C=>C===document||C instanceof ShadowRoot,f=C=>{let E=C.getRootNode();if(!u(E)){let R=I[I.length-1];if(R instanceof CustomElementRegistry)return R;E=R.getRootNode(),u(E)||(E=c.get(E)?.getRootNode()||document)}return E.customElements},h=C=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let U=f(R)||window.customElements,q=U._getDefinition(C);return q?v(R,q):a.set(R,U),R}connectedCallback(){let R=i.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,C,!0)}disconnectedCallback(){let R=i.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,C,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=i.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=i.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=i.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=i.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},g=(C,E,R)=>{if(E.size===0||R===void 0)return;let U=C.prototype.setAttribute;U&&(C.prototype.setAttribute=function(ee,D){let m=ee.toLowerCase();if(E.has(m)){let S=this.getAttribute(m);U.call(this,m,D),R.call(this,m,S,D)}else U.call(this,m,D)});let q=C.prototype.removeAttribute;q&&(C.prototype.removeAttribute=function(ee){let D=ee.toLowerCase();if(E.has(D)){let m=this.getAttribute(D);q.call(this,D),R.call(this,D,m,null)}else q.call(this,D)});let X=C.prototype.toggleAttribute;X&&(C.prototype.toggleAttribute=function(ee,D){let m=ee.toLowerCase();if(E.has(m)){let S=this.getAttribute(m);X.call(this,m,D);let M=this.getAttribute(m);R.call(this,m,S,M)}else X.call(this,m,D)})},x=C=>{let E=Object.getPrototypeOf(C);if(E!==window.HTMLElement)return E===t?Object.setPrototypeOf(C,window.HTMLElement):x(E)},v=(C,E,R=!1)=>{Object.setPrototypeOf(C,E.elementClass.prototype),i.set(C,E),d=C;try{new E.elementClass}catch{x(E.elementClass),new E.elementClass}E.attributeChangedCallback&&E.observedAttributes.forEach(U=>{C.hasAttribute(U)&&E.attributeChangedCallback.call(C,U,null,C.getAttribute(U))}),R&&E.connectedCallback&&C.isConnected&&E.connectedCallback.call(C)},A=Element.prototype.attachShadow;Element.prototype.attachShadow=function(C){let E=A.apply(this,arguments);return C.customElements&&(E.customElements=C.customElements),E};let I=[document],N=(C,E,R=void 0)=>{let U=(R?Object.getPrototypeOf(R):C.prototype)[E];C.prototype[E]=function(){I.push(this);let q=U.apply(R||this,arguments);return q!==void 0&&c.set(q,this),I.pop(),q}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let T=(C,E)=>{let R=Object.getOwnPropertyDescriptor(C.prototype,E);Object.defineProperty(C.prototype,E,{...R,set(U){I.push(this),R.set.call(this,U),I.pop()}})};if(T(Element,"innerHTML"),T(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let C=new WeakMap,E=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...ee){let D=E.call(this,...ee);return C.set(D,this),D},R.forEach(ee=>{let D=window.ElementInternals.prototype,m=D[ee];D[ee]=function(...S){let M=C.get(this);if(i.get(M).formAssociated===!0)return m?.call(this,...S);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class U extends Array{constructor(D){super(...D),this._elements=D}get value(){return this._elements.find(D=>D.checked===!0)?.value||""}}class q{constructor(D){let m=new Map;D.forEach((S,M)=>{let G=S.getAttribute("name"),Y=m.get(G)||[];this[+M]=S,Y.push(S),m.set(G,Y)}),this.length=D.length,m.forEach((S,M)=>{S&&(S.length===1?this[M]=S[0]:this[M]=new U(S))})}namedItem(D){return this[D]}}let X=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let ee=X.get.call(this,[]),D=[];for(let m of ee){let S=i.get(m);(!S||S.formAssociated===!0)&&D.push(m)}return new q(D)}})}}});var Kl=y(()=>{"use strict";Gl();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}});var tn,on,ql,Zl,rn,Yl,Ui,nn,Fi=y(()=>{tn=globalThis,on=tn.ShadowRoot&&(tn.ShadyCSS===void 0||tn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ql=Symbol(),Zl=new WeakMap,rn=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==ql)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(on&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Zl.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Zl.set(r,e))}return e}toString(){return this.cssText}},Yl=t=>new rn(typeof t=="string"?t:t+"",void 0,ql),Ui=(t,e)=>{if(on)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=tn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},nn=on?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Yl(r)})(t):t});var Ry,Ny,_y,Py,Ty,Iy,an,Ql,Ly,$y,lo,uo,sn,Xl,Yt,Wi=y(()=>{Fi();Fi();({is:Ry,defineProperty:Ny,getOwnPropertyDescriptor:_y,getOwnPropertyNames:Py,getOwnPropertySymbols:Ty,getPrototypeOf:Iy}=Object),an=globalThis,Ql=an.trustedTypes,Ly=Ql?Ql.emptyScript:"",$y=an.reactiveElementPolyfillSupport,lo=(t,e)=>t,uo={toAttribute(t,e){switch(e){case Boolean:t=t?Ly:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},sn=(t,e)=>!Ry(t,e),Xl={attribute:!0,type:String,converter:uo,reflect:!1,hasChanged:sn};Symbol.metadata??=Symbol("metadata"),an.litPropertyMetadata??=new WeakMap;Yt=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,r=Xl){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Ny(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=_y(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Xl}static _$Ei(){if(this.hasOwnProperty(lo("elementProperties")))return;let e=Iy(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(lo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(lo("properties"))){let r=this.properties,n=[...Py(r),...Ty(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(nn(i))}else e!==void 0&&r.push(nn(e));return r}static _$Eu(e,r){let n=r.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,r=this.constructor.elementProperties;for(let n of r.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 Ui(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,r,n){this._$AK(e,n)}_$EO(e,r){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:uo).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){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:uo;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??sn)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}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,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.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(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Yt.elementStyles=[],Yt.shadowRootOptions={mode:"open"},Yt[lo("elementProperties")]=new Map,Yt[lo("finalized")]=new Map,$y?.({ReactiveElement:Yt}),(an.reactiveElementVersions??=[]).push("2.0.2")});function ud(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Jl!==void 0?Jl.createHTML(e):e}function er(t,e,r=t,n){if(e===De)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=fo(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=er(t,i._$AS(t,e.values),i,n)),e}var zi,cn,Jl,ji,pt,Vi,ky,Jt,ln,fo,id,ad,Hi,po,ed,td,Qt,rd,od,sd,cd,ld,dd,De,ue,nd,Xt,pd,ho,dn,yo,tr,un,pn,fn,hn,fd,My,ft=y(()=>{zi=globalThis,cn=zi.trustedTypes,Jl=cn?cn.createPolicy("lit-html",{createHTML:t=>t}):void 0,ji="$lit$",pt=`lit$${(Math.random()+"").slice(9)}$`,Vi="?"+pt,ky=`<${Vi}>`,Jt=document,ln=()=>Jt.createComment(""),fo=t=>t===null||typeof t!="object"&&typeof t!="function",id=Array.isArray,ad=t=>id(t)||typeof t?.[Symbol.iterator]=="function",Hi=`[
|
|
2
|
+
\f\r]`,po=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ed=/-->/g,td=/>/g,Qt=RegExp(`>|${Hi}(?:([^\\s"'>=/]+)(${Hi}*=${Hi}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),rd=/'/g,od=/"/g,sd=/^(?:script|style|textarea|title)$/i,cd=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),ld=cd(1),dd=cd(2),De=Symbol.for("lit-noChange"),ue=Symbol.for("lit-nothing"),nd=new WeakMap,Xt=Jt.createTreeWalker(Jt,129);pd=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=po;for(let c=0;c<r;c++){let d=t[c],u,f,h=-1,g=0;for(;g<d.length&&(s.lastIndex=g,f=s.exec(d),f!==null);)g=s.lastIndex,s===po?f[1]==="!--"?s=ed:f[1]!==void 0?s=td:f[2]!==void 0?(sd.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=Qt):f[3]!==void 0&&(s=Qt):s===Qt?f[0]===">"?(s=i??po,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,u=f[1],s=f[3]===void 0?Qt:f[3]==='"'?od:rd):s===od||s===rd?s=Qt:s===ed||s===td?s=po:(s=Qt,i=void 0);let x=s===Qt&&t[c+1].startsWith("/>")?" ":"";a+=s===po?d+ky:h>=0?(n.push(u),d.slice(0,h)+ji+d.slice(h)+pt+x):d+pt+(h===-2?c:x)}return[ud(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},ho=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,d=this.parts,[u,f]=pd(e,r);if(this.el=t.createElement(u,n),Xt.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Xt.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(ji)){let g=f[s++],x=i.getAttribute(h).split(pt),v=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:v[2],strings:x,ctor:v[1]==="."?un:v[1]==="?"?pn:v[1]==="@"?fn:tr}),i.removeAttribute(h)}else h.startsWith(pt)&&(d.push({type:6,index:a}),i.removeAttribute(h));if(sd.test(i.tagName)){let h=i.textContent.split(pt),g=h.length-1;if(g>0){i.textContent=cn?cn.emptyScript:"";for(let x=0;x<g;x++)i.append(h[x],ln()),Xt.nextNode(),d.push({type:2,index:++a});i.append(h[g],ln())}}}else if(i.nodeType===8)if(i.data===Vi)d.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(pt,h+1))!==-1;)d.push({type:7,index:a}),h+=pt.length-1}a++}}static createElement(e,r){let n=Jt.createElement("template");return n.innerHTML=e,n}};dn=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??Jt).importNode(r,!0);Xt.currentNode=i;let a=Xt.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new yo(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new hn(a,this,e)),this._$AV.push(u),d=n[++c]}s!==d?.index&&(a=Xt.nextNode(),s++)}return Xt.currentNode=Jt,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},yo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=ue,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=er(this,e,r),fo(e)?e===ue||e==null||e===""?(this._$AH!==ue&&this._$AR(),this._$AH=ue):e!==this._$AH&&e!==De&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ad(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!==ue&&fo(this._$AH)?this._$AA.nextSibling.data=e:this.$(Jt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=ho.createElement(ud(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new dn(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=nd.get(e.strings);return r===void 0&&nd.set(e.strings,r=new ho(e)),r}T(e){id(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(ln()),this.k(ln()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},tr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=ue,this._$AN=void 0,this.element=e,this.name=r,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=ue}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=er(this,e,r,0),s=!fo(e)||e!==this._$AH&&e!==De,s&&(this._$AH=e);else{let c=e,d,u;for(e=a[0],d=0;d<a.length-1;d++)u=er(this,c[n+d],r,d),u===De&&(u=this._$AH[d]),s||=!fo(u)||u!==this._$AH[d],u===ue?e=ue:e!==ue&&(e+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!i&&this.O(e)}O(e){e===ue?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},un=class extends tr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===ue?void 0:e}},pn=class extends tr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==ue)}},fn=class extends tr{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=er(this,e,r,0)??ue)===De)return;let n=this._$AH,i=e===ue&&n!==ue||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==ue&&(n===ue||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)}},hn=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){er(this,e)}},fd={j:ji,P:pt,A:Vi,C:1,M:pd,L:dn,R:ad,V:er,D:yo,I:tr,H:pn,N:fn,U:un,B:hn},My=zi.litHtmlPolyfillSupport;My?.(ho,yo),(zi.litHtmlVersions??=[]).push("3.1.0")});var yn,mo,Gi,hd,Cr,rr,L,mn,go,Ki=y(()=>{yn=globalThis,mo=yn.ShadowRoot&&(yn.ShadyCSS===void 0||yn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Gi=Symbol(),hd=new WeakMap,Cr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Gi)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(mo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=hd.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&hd.set(r,e))}return e}toString(){return this.cssText}},rr=t=>new Cr(typeof t=="string"?t:t+"",void 0,Gi),L=(t,...e)=>{let r=t.length===1?t[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)+t[a+1],t[0]);return new Cr(r,t,Gi)},mn=(t,e)=>{if(mo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=yn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},go=mo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return rr(r)})(t):t});var Dy,By,Uy,Fy,Wy,Hy,bn,yd,zy,jy,bo,gn,Zi,md,et,qi=y(()=>{Ki();Ki();({is:Dy,defineProperty:By,getOwnPropertyDescriptor:Uy,getOwnPropertyNames:Fy,getOwnPropertySymbols:Wy,getPrototypeOf:Hy}=Object),bn=globalThis,yd=bn.trustedTypes,zy=yd?yd.emptyScript:"",jy=bn.reactiveElementPolyfillSupport,bo=(t,e)=>t,gn={toAttribute(t,e){switch(e){case Boolean:t=t?zy:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Zi=(t,e)=>!Dy(t,e),md={attribute:!0,type:String,converter:gn,reflect:!1,hasChanged:Zi};Symbol.metadata??=Symbol("metadata"),bn.litPropertyMetadata??=new WeakMap;et=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,r=md){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&By(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Uy(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??md}static _$Ei(){if(this.hasOwnProperty(bo("elementProperties")))return;let e=Hy(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(bo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(bo("properties"))){let r=this.properties,n=[...Fy(r),...Wy(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(go(i))}else e!==void 0&&r.push(go(e));return r}static _$Eu(e,r){let n=r.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,r=this.constructor.elementProperties;for(let n of r.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 mn(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,r,n){this._$AK(e,n)}_$EO(e,r){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:gn).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){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:gn;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Zi)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}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,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.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(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};et.elementStyles=[],et.shadowRootOptions={mode:"open"},et[bo("elementProperties")]=new Map,et[bo("finalized")]=new Map,jy?.({ReactiveElement:et}),(bn.reactiveElementVersions??=[]).push("2.0.2")});function Rd(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return gd!==void 0?gd.createHTML(e):e}function ar(t,e,r=t,n){if(e===_t)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=So(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=ar(t,i._$AS(t,e.values),i,n)),e}var Qi,xn,gd,Xi,ht,Ji,Vy,ir,vo,So,Cd,Ed,Yi,xo,bd,xd,or,vd,Sd,wd,Ad,B,Gy,_t,j,Od,nr,Nd,Oo,vn,Er,sr,Sn,On,Cn,En,Ky,Zy,ea,ta=y(()=>{Qi=globalThis,xn=Qi.trustedTypes,gd=xn?xn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Xi="$lit$",ht=`lit$${(Math.random()+"").slice(9)}$`,Ji="?"+ht,Vy=`<${Ji}>`,ir=document,vo=()=>ir.createComment(""),So=t=>t===null||typeof t!="object"&&typeof t!="function",Cd=Array.isArray,Ed=t=>Cd(t)||typeof t?.[Symbol.iterator]=="function",Yi=`[
|
|
4
4
|
\f\r]`,xo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,bd=/-->/g,xd=/>/g,or=RegExp(`>|${Yi}(?:([^\\s"'>=/]+)(${Yi}*=${Yi}*(?:[^
|
|
5
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),vd=/'/g,Sd=/"/g,wd=/^(?:script|style|textarea|title)$/i,Ad=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),B=Ad(1),jy=Ad(2),_t=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),Od=new WeakMap,nr=ir.createTreeWalker(ir,129);Nd=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=xo;for(let c=0;c<r;c++){let d=t[c],u,f,h=-1,g=0;for(;g<d.length&&(s.lastIndex=g,f=s.exec(d),f!==null);)g=s.lastIndex,s===xo?f[1]==="!--"?s=bd:f[1]!==void 0?s=xd:f[2]!==void 0?(wd.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=or):f[3]!==void 0&&(s=or):s===or?f[0]===">"?(s=i??xo,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,u=f[1],s=f[3]===void 0?or:f[3]==='"'?Sd:vd):s===Sd||s===vd?s=or:s===bd||s===xd?s=xo:(s=or,i=void 0);let x=s===or&&t[c+1].startsWith("/>")?" ":"";a+=s===xo?d+zy:h>=0?(n.push(u),d.slice(0,h)+Qi+d.slice(h)+ht+x):d+ht+(h===-2?c:x)}return[Rd(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},Oo=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,d=this.parts,[u,f]=Nd(e,r);if(this.el=t.createElement(u,n),nr.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=nr.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(Qi)){let g=f[s++],x=i.getAttribute(h).split(ht),v=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:v[2],strings:x,ctor:v[1]==="."?Sn:v[1]==="?"?On:v[1]==="@"?Cn:sr}),i.removeAttribute(h)}else h.startsWith(ht)&&(d.push({type:6,index:a}),i.removeAttribute(h));if(wd.test(i.tagName)){let h=i.textContent.split(ht),g=h.length-1;if(g>0){i.textContent=xn?xn.emptyScript:"";for(let x=0;x<g;x++)i.append(h[x],vo()),nr.nextNode(),d.push({type:2,index:++a});i.append(h[g],vo())}}}else if(i.nodeType===8)if(i.data===Ji)d.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(ht,h+1))!==-1;)d.push({type:7,index:a}),h+=ht.length-1}a++}}static createElement(e,r){let n=ir.createElement("template");return n.innerHTML=e,n}};vn=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??ir).importNode(r,!0);nr.currentNode=i;let a=nr.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new Er(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new En(a,this,e)),this._$AV.push(u),d=n[++c]}s!==d?.index&&(a=nr.nextNode(),s++)}return nr.currentNode=ir,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Er=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=ar(this,e,r),So(e)?e===j||e==null||e===""?(this._$AH!==j&&this._$AR(),this._$AH=j):e!==this._$AH&&e!==_t&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ed(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!==j&&So(this._$AH)?this._$AA.nextSibling.data=e:this.$(ir.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Oo.createElement(Rd(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new vn(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Od.get(e.strings);return r===void 0&&Od.set(e.strings,r=new Oo(e)),r}T(e){Cd(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(vo()),this.k(vo()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},sr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=j,this._$AN=void 0,this.element=e,this.name=r,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=j}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=ar(this,e,r,0),s=!So(e)||e!==this._$AH&&e!==_t,s&&(this._$AH=e);else{let c=e,d,u;for(e=a[0],d=0;d<a.length-1;d++)u=ar(this,c[n+d],r,d),u===_t&&(u=this._$AH[d]),s||=!So(u)||u!==this._$AH[d],u===j?e=j:e!==j&&(e+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!i&&this.O(e)}O(e){e===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Sn=class extends sr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===j?void 0:e}},On=class extends sr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==j)}},Cn=class extends sr{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=ar(this,e,r,0)??j)===_t)return;let n=this._$AH,i=e===j&&n!==j||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==j&&(n===j||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)}},En=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){ar(this,e)}},Vy={j:Qi,P:ht,A:Ji,C:1,M:Nd,L:vn,R:Ed,V:ar,D:Er,I:sr,H:On,N:Cn,U:Sn,B:En},Ky=Xi.litHtmlPolyfillSupport;Ky?.(Oo,Er),(Xi.litHtmlVersions??=[]).push("3.1.0");ea=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new Er(e.insertBefore(vo(),a),a,void 0,r??{})}return i._$AI(t),i}});var yt,Gy,Zy,_d=y(()=>{qi();qi();ta();ta();yt=class extends et{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 r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=ea(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return _t}};yt._$litElement$=!0,yt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:yt});Gy=globalThis.litElementPolyfillSupport;Gy?.({LitElement:yt});Zy={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2")});var Ub,Pd=y(()=>{Ub=!1});var ra={};Z(ra,{CSSResult:()=>Cr,LitElement:()=>yt,ReactiveElement:()=>et,_$LE:()=>Zy,_$LH:()=>Vy,adoptStyles:()=>mn,css:()=>I,defaultConverter:()=>gn,getCompatibleStyle:()=>go,html:()=>B,isServer:()=>Ub,noChange:()=>_t,notEqual:()=>Zi,nothing:()=>j,render:()=>ea,supportsAdoptingStyleSheets:()=>mo,svg:()=>jy,unsafeCSS:()=>rr});var W=y(()=>{Wi();ft();_d();Pd()});var oa,Td=y(()=>{oa=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)}});function w(t){return(e,r)=>typeof r=="object"?Ld(t,e,r):((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})(t,e,r)}var qy,Ld,na=y(()=>{Wi();qy={attribute:!0,type:String,converter:uo,reflect:!1,hasChanged:sn},Ld=(t=qy,e,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,d,t)},init(c){return c!==void 0&&this.C(s,void 0,t),c}}}if(n==="setter"){let{name:s}=r;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)}});function pe(t){return w({...t,state:!0,attribute:!1})}var Id=y(()=>{na();});function wr(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var $d=y(()=>{});var Ge,Ar=y(()=>{Ge=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function xe(t,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return Ge(r,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return Ge(r,n,{get(){return a(this)}})}}var kd=y(()=>{Ar();});function Xy(t){return(e,r)=>Ge(e,r,{get(){return(this.renderRoot??(Yy??=document.createDocumentFragment())).querySelectorAll(t)}})}var Yy,Md=y(()=>{Ar();});function Qy(t){return(e,r)=>Ge(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var Dd=y(()=>{Ar();});function Jy(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ge(e,r,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(t)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}var Bd=y(()=>{Ar();});function ia(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ge(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Ud=y(()=>{Ar();});var aa={};Z(aa,{customElement:()=>oa,eventOptions:()=>wr,property:()=>w,query:()=>xe,queryAll:()=>Xy,queryAssignedElements:()=>Jy,queryAssignedNodes:()=>ia,queryAsync:()=>Qy,standardProperty:()=>Ld,state:()=>pe});var oe=y(()=>{Td();na();Id();$d();kd();Md();Dd();Bd();Ud()});var Pt,Tt,tt,Co=y(()=>{Pt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Tt=t=>(...e)=>({_$litDirective$:t,values:e}),tt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}});var em,Fd,Rr,Lt,tm,Wd,Hd,wn,zd=y(()=>{ft();({D:em}=fd),Fd=()=>document.createComment(""),Rr=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(Fd(),i),s=n.insertBefore(Fd(),i);r=new em(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,c=s!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(a!==i||c){let d=r._$AA;for(;d!==a;){let u=d.nextSibling;n.insertBefore(d,i),d=u}}}return r},Lt=(t,e,r=t)=>(t._$AI(e,r),t),tm={},Wd=(t,e=tm)=>t._$AH=e,Hd=t=>t._$AH,wn=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}}});var jd,Eo,Vd=y(()=>{ft();Co();zd();jd=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},Eo=Tt(class extends tt{constructor(t){if(super(t),t.type!==Pt.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let c of t)i[s]=n?n(c,s):s,a[s]=r(c,s),s++;return{values:a,keys:i}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let i=Hd(t),{values:a,keys:s}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],d=[],u,f,h=0,g=i.length-1,x=0,v=a.length-1;for(;h<=g&&x<=v;)if(i[h]===null)h++;else if(i[g]===null)g--;else if(c[h]===s[x])d[x]=Lt(i[h],a[x]),h++,x++;else if(c[g]===s[v])d[v]=Lt(i[g],a[v]),g--,v--;else if(c[h]===s[v])d[v]=Lt(i[h],a[v]),Rr(t,d[v+1],i[h]),h++,v--;else if(c[g]===s[x])d[x]=Lt(i[g],a[x]),Rr(t,i[h],i[g]),g--,x++;else if(u===void 0&&(u=jd(s,x,v),f=jd(c,h,g)),u.has(c[h]))if(u.has(c[g])){let A=f.get(s[x]),L=A!==void 0?i[A]:null;if(L===null){let N=Rr(t,i[h]);Lt(N,a[x]),d[x]=N}else d[x]=Lt(L,a[x]),Rr(t,i[h],L),i[A]=null;x++}else wn(i[g]),g--;else wn(i[h]),h++;for(;x<=v;){let A=Rr(t,d[v+1]);Lt(A,a[x]),d[x++]=A}for(;h<=g;){let A=i[h++];A!==null&&wn(A)}return this.dt=s,Wd(t,d),De}})});var sa={};Z(sa,{repeat:()=>Eo});var An=y(()=>{Vd()});var mt,Kd=y(()=>{ft();Co();mt=Tt(class extends tt{constructor(t){if(super(t),t.type!==Pt.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.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 r=t.element.classList;for(let n of this.it)n in e||(r.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?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return De}})});var ca={};Z(ca,{classMap:()=>mt});var Nr=y(()=>{Kd()});var Gd,rm,om,Zd=y(()=>{ft();Co();Gd="important",rm=" !"+Gd,om=Tt(class extends tt{constructor(t){if(super(t),t.type!==Pt.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.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("-")?r.removeProperty(n):r[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(rm);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?Gd:""):r[n]=i}}return De}})});var la={};Z(la,{styleMap:()=>om});var qd=y(()=>{Zd()});var _r,cr,Yd=y(()=>{ft();Co();_r=class extends tt{constructor(e){if(super(e),this.et=ue,e.type!==Pt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===ue||e==null)return this.vt=void 0,this.et=e;if(e===De)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 r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};_r.directiveName="unsafeHTML",_r.resultType=1;cr=Tt(_r)});var da={};Z(da,{UnsafeHTMLDirective:()=>_r,unsafeHTML:()=>cr});var wo=y(()=>{Yd()});var ua={};Z(ua,{CancelablePromise:()=>Pr,CanceledPromiseError:()=>It,cancelable:()=>Tr});var It,Pr,Tr,Rn=y(()=>{"use strict";It=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Pr=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new It("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new It("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Tr=t=>new Pr((e,r)=>t.then(e).catch(r))});var pa={};Z(pa,{CacheRegistry:()=>rt});var rt,fa=y(()=>{"use strict";Rn();rt=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,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 Pr&&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,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let i=Tr(r());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 ya={};Z(ya,{ClusteringHelper:()=>ha});var ha,ma=y(()=>{"use strict";ha=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,r){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return r==null?t.flattenMetadata(a):t.flattenMetadata(a.find(s=>s.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>t.flattenMetadata(n)).filter(n=>n!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let n=[],i=[];return e.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,r,n="No value"){var i,a;let s=t.extractResultMetadata(this.selectedResult,e),c=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(u=>t.extractResultMetadata(u,e)).map(u=>u??{key:e,label:c,value:void 0,displayValue:n}).filter(u=>u.value!=s?.value).filter((u,f,h)=>h.findIndex(g=>g.value===u.value)===f).map(u=>({result:this.findBestResultForMetadataValue(e,u.value),metadata:u})).sort((u,f)=>this.compareMetadata(u.metadata.value,f.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var u;return((u=t.extractResultMetadata(d,e))===null||u===void 0?void 0:u.value)==r}),a=[...t.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,c=-1;for(let d of n){let u=this.countMatchingMetadata(d,a);if(u>c&&(c=u,s=d,u===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}}});var ga={};Z(ga,{Debouncer:()=>Oe});var Oe,Nn=y(()=>{"use strict";Oe=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var xa={};Z(xa,{dateReviver:()=>im,deepEqual:()=>Ze,delay:()=>_n,eventPathContainsMatchingElement:()=>sm,flatDeep:()=>Qd,hasChanged:()=>Ao,last:()=>cm,minmax:()=>ba,parseDate:()=>Jd,unslotText:()=>Pn,waitFor:()=>Xd,waitUntil:()=>nm});async function nm(t,e=10,r=2e4){await Xd(async()=>await t()||void 0,e,r)}async function Xd(t,e=10,r=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await _n(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Qd(t,e){return t.flatMap(r=>[r,...Qd(e(r),e)])}function im(...t){return function(e,r){return t.includes(e)?Jd(r):r}}function Jd(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,i)=>r+n+":"+i),new Date(t)}function am(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Ze(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Ze(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!Ze(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Ze(t,e){try{return am(t,e)}catch{return!1}}function Ao(t,e){return!Ze(t,e)}function sm(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function ba(t,e,r){return Math.min(Math.max(t,e),r)}function cm(t){return t[t.length-1]}function Pn(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Pn(e)).join(""):t?.textContent||""}var _n,Lr=y(()=>{"use strict";_n=t=>new Promise(e=>setTimeout(e,t))});var va={};Z(va,{customElement:()=>V,isNumber:()=>eu,jsonProperty:()=>we,optionalNumberProperty:()=>lm});function we(t,e){let r=()=>JSON.parse(JSON.stringify(t));return w({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Ao,...e??{}})}function lm(t){return w({type:Object,converter:{fromAttribute:e=>{if(e!=null)return eu(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function eu(t){return!isNaN(parseFloat(t))}var V,Tn=y(()=>{"use strict";oe();Lr();V=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});function O(t,e){return gt(`${t.name}: ${e}`)}var gt,o,J=y(()=>{W();gt=t=>typeof t=="string"?rr(t):t,o=class{static create(e,r,n,i){let a=c=>gt(c??i),s=I`var(${gt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>I`var(${gt(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=c=>n.get(c??i),s=I`var(${gt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>I`var(${gt(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):gt(a??e.lastResortDefaultValue()),i=I`var(${gt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>I`var(${gt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}}});var l,Sa,Oa,Ca,Ea,wa,Aa,Ra,Na,_a,tu,Pa,Ta,La,Ia,$a,ka,Ma,Da,Ba,Ua,Fa,Wa,Ha,za,ja,Va,Ro,dm,te=y(()=>{J();l={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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)")},Sa={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Oa={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ca={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ea={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},wa={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Aa={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ra={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Na={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},_a={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},tu={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Pa={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ta={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},La={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Ia={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},$a={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},ka={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ma={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Da={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ba={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ua={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Fa={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Wa={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ha={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},za={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ja={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Va={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ro={display:Sa,"title-1":Oa,"title-2":Ca,"title-3":Ea,"body-1-regular":wa,"body-1-medium":Aa,"body-1-semibold":Ra,"body-2-regular":Na,"body-2-medium":_a,"body-2-medium-underline":tu,"body-2-semibold":Pa,"label-1-medium":Ta,"label-1-semibold":La,"label-1-bold":Ia,"label-2-medium":$a,"label-2-semibold":ka,"label-2-bold":Ma,"caption-1-medium":Da,"caption-1-semibold":Ba,"caption-1-bold":Ua,"caption-2-medium":Fa,"caption-2-semibold":Wa,"caption-2-bold":Ha,"caption-3-medium":za,"caption-3-semibold":ja,"caption-3-bold":Va},dm=["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,ie=y(()=>{J();te();p={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
-
Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)}});var b,ru=y(()=>{J();te();ie();b={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",p.contentErrorPrimary)}});var um,ou=y(()=>{J();te();ie();um={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)}});var pm,nu=y(()=>{J();te();ie();pm={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)}});var fm,iu=y(()=>{J();te();ie();fm={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",l.colorBrand100)}});var hm,au=y(()=>{J();te();ie();hm={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)}});var ym,su=y(()=>{J();te();ie();ym={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",p.contentActionPrimary)}});var mm,cu=y(()=>{J();te();ie();mm={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)}});var gm,lu=y(()=>{J();te();ie();gm={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",l.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)}});var bm,du=y(()=>{J();te();ie();bm={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)}});var xm,uu=y(()=>{J();te();ie();xm={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",l.colorGray700)}});var vm,pu=y(()=>{J();te();ie();vm={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)}});var Sm,fu=y(()=>{J();te();ie();Sm={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)}});var Om,hu=y(()=>{J();te();ie();Om={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusM)}});var Cm,yu=y(()=>{J();te();ie();Cm={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",l.shadowElevation02)}});var Em,mu=y(()=>{J();te();ie();Em={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)}});var wm,gu=y(()=>{J();te();ie();wm={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)}});var Am,bu=y(()=>{J();te();ie();Am={backgroundColor:o.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:o.extend("--ft-popover-gap","",l.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")}});var Rm,xu=y(()=>{J();te();ie();Rm={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)}});var Nm,vu=y(()=>{J();te();ie();Nm={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)}});var _m,Su=y(()=>{J();te();_m={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200)}});var Pm,Ou=y(()=>{J();te();Pm={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)}});var Tm,Cu=y(()=>{J();te();ie();Tm={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)}});var Lm,Eu=y(()=>{J();te();ie();Lm={color:o.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",l.spacing3)}});var Im,wu=y(()=>{J();te();ie();Im={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:o.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)}});var $m,Au=y(()=>{J();te();ie();$m={color:o.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",l.spacing3)}});var km,Ru=y(()=>{J();te();ie();km={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)}});var Mm,Nu=y(()=>{J();te();ie();Mm={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)}});var _u=y(()=>{te();ie();ru();ou();nu();iu();au();su();cu();lu();du();uu();pu();fu();hu();yu();mu();gu();bu();xu();vu();Su();Ou();Cu();Eu();wu();Au();Ru();Nu()});function Ka(t){return`ftds--family-${t}`}function Ga(t){return`ftds--size-${t}`}var lr,bt,Pu=y(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(lr||(lr={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(bt||(bt={}))});var G=y(()=>{J();_u();Pu()});var Za={};Z(Za,{DesignSystemFamily:()=>lr,DesignSystemSize:()=>bt,FtCssVariableFactory:()=>o,badge:()=>ym,banner:()=>hm,breadcrumb:()=>mm,button:()=>b,chart:()=>_m,checkbox:()=>Lm,chip:()=>pm,chipChoice:()=>um,collapsible:()=>Rm,comboboxMultiSelect:()=>wm,comboboxSingleSelect:()=>Em,drawer:()=>xm,floatingMenu:()=>Cm,foundation:()=>l,link:()=>fm,modal:()=>bm,notice:()=>Tm,notification:()=>km,pageDesigner:()=>Pm,pageHeader:()=>gm,popover:()=>Am,radio:()=>$m,resolveFamilyClass:()=>Ka,resolveSizeClass:()=>Ga,semantic:()=>p,setVariable:()=>O,switch_:()=>Nm,tabs:()=>vm,textArea:()=>Om,textInput:()=>Sm,toggle:()=>Im,tooltip:()=>Mm,typographies:()=>Ro,typographyBody1Medium:()=>Aa,typographyBody1Regular:()=>wa,typographyBody1Semibold:()=>Ra,typographyBody2Medium:()=>_a,typographyBody2MediumUnderline:()=>tu,typographyBody2Regular:()=>Na,typographyBody2Semibold:()=>Pa,typographyCaption1Bold:()=>Ua,typographyCaption1Medium:()=>Da,typographyCaption1Semibold:()=>Ba,typographyCaption2Bold:()=>Ha,typographyCaption2Medium:()=>Fa,typographyCaption2Semibold:()=>Wa,typographyCaption3Bold:()=>Va,typographyCaption3Medium:()=>za,typographyCaption3Semibold:()=>ja,typographyDisplay:()=>Sa,typographyLabel1Bold:()=>Ia,typographyLabel1Medium:()=>Ta,typographyLabel1Semibold:()=>La,typographyLabel2Bold:()=>Ma,typographyLabel2Medium:()=>$a,typographyLabel2Semibold:()=>ka,typographyTitle1:()=>Oa,typographyTitle2:()=>Ca,typographyTitle3:()=>Ea,typographyVariants:()=>dm});var Ln=y(()=>{"use strict";G()});var qa={};Z(qa,{designSystemVariables:()=>$});var $,Ya=y(()=>{"use strict";Ln();$={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")}});var es={};Z(es,{FtNotificationEvent:()=>Xa,PostResizeEvent:()=>Ja,PreResizeEvent:()=>Qa});var Xa,Qa,Ja,ts=y(()=>{"use strict";Xa=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Qa=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Ja=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}});function os(t,e,r){return $t(t,Po(e,r))}function Ir(t,e){return typeof t=="function"?t(e):t}function ot(t){return t.split("-")[0]}function nt(t){return t.split("-")[1]}function ns(t){return t==="x"?"y":"x"}function is(t){return t==="y"?"height":"width"}function Lo(t){return["top","bottom"].includes(ot(t))?"y":"x"}function as(t){return ns(Lo(t))}function ss(t,e,r){r===void 0&&(r=!1);let n=nt(t),i=as(t),a=is(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=_o(s)),[s,_o(s)]}function Iu(t){let e=_o(t);return[No(t),e,No(e)]}function No(t){return t.replace(/start|end/g,e=>Bm[e])}function Um(t,e,r){let n=["left","right"],i=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return r?e?i:n:e?n:i;case"left":case"right":return e?a:s;default:return[]}}function $u(t,e,r,n){let i=nt(t),a=Um(ot(t),r==="start",n);return i&&(a=a.map(s=>s+"-"+i),e&&(a=a.concat(a.map(No)))),a}function _o(t){return t.replace(/left|right|bottom|top/g,e=>Dm[e])}function Fm(t){return{top:0,right:0,bottom:0,left:0,...t}}function ku(t){return typeof t!="number"?Fm(t):{top:t,right:t,bottom:t,left:t}}function dr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var Lu,Tu,rs,Po,$t,To,xt,Dm,Bm,In=y(()=>{Lu=["top","right","bottom","left"],Tu=["start","end"],rs=Lu.reduce((t,e)=>t.concat(e,e+"-"+Tu[0],e+"-"+Tu[1]),[]),Po=Math.min,$t=Math.max,To=Math.round,xt=t=>({x:t,y:t}),Dm={left:"right",right:"left",bottom:"top",top:"bottom"},Bm={start:"end",end:"start"}});function Mu(t,e,r){let{reference:n,floating:i}=t,a=Lo(e),s=as(e),c=is(s),d=ot(e),u=a==="y",f=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,g=n[c]/2-i[c]/2,x;switch(d){case"top":x={x:f,y:n.y-i.height};break;case"bottom":x={x:f,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:h};break;case"left":x={x:n.x-i.width,y:h};break;default:x={x:n.x,y:n.y}}switch(nt(e)){case"start":x[s]-=g*(r&&u?-1:1);break;case"end":x[s]+=g*(r&&u?-1:1);break}return x}async function $n(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:g=!1,padding:x=0}=Ir(e,t),v=ku(x),L=c[g?h==="floating"?"reference":"floating":h],N=dr(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(L)))==null||r?L:L.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:u,rootBoundary:f,strategy:d})),T=h==="floating"?{...s.floating,x:n,y:i}:s.reference,C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),E=await(a.isElement==null?void 0:a.isElement(C))?await(a.getScale==null?void 0:a.getScale(C))||{x:1,y:1}:{x:1,y:1},R=dr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:T,offsetParent:C,strategy:d}):T);return{top:(N.top-R.top+v.top)/E.y,bottom:(R.bottom-N.bottom+v.bottom)/E.y,left:(N.left-R.left+v.left)/E.x,right:(R.right-N.right+v.right)/E.x}}function Wm(t,e,r){return(t?[...r.filter(i=>nt(i)===t),...r.filter(i=>nt(i)!==t)]:r.filter(i=>ot(i)===i)).filter(i=>t?nt(i)===t||(e?No(i)!==i:!1):!0)}async function Hm(t,e){let{placement:r,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=ot(r),c=nt(r),d=Lo(r)==="y",u=["left","top"].includes(s)?-1:1,f=a&&d?-1:1,h=Ir(e,t),{mainAxis:g,crossAxis:x,alignmentAxis:v}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return c&&typeof v=="number"&&(x=c==="end"?v*-1:v),d?{x:x*f,y:g*u}:{x:g*u,y:x*f}}var Du,cs,ls,ds,us,ps=y(()=>{In();In();Du=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:h}=Mu(u,n,d),g=n,x={},v=0;for(let A=0;A<c.length;A++){let{name:L,fn:N}=c[A],{x:T,y:C,data:E,reset:R}=await N({x:f,y:h,initialPlacement:n,placement:g,strategy:i,middlewareData:x,rects:u,platform:s,elements:{reference:t,floating:e}});if(f=T??f,h=C??h,x={...x,[L]:{...x[L],...E}},R&&v<=50){v++,typeof R=="object"&&(R.placement&&(g=R.placement),R.rects&&(u=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):R.rects),{x:f,y:h}=Mu(u,g,d)),A=-1;continue}}return{x:f,y:h,placement:g,strategy:i,middlewareData:x}};cs=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:c,platform:d,elements:u}=e,{crossAxis:f=!1,alignment:h,allowedPlacements:g=rs,autoAlignment:x=!0,...v}=Ir(t,e),A=h!==void 0||g===rs?Wm(h||null,x,g):g,L=await $n(e,v),N=((r=s.autoPlacement)==null?void 0:r.index)||0,T=A[N];if(T==null)return{};let C=ss(T,a,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(c!==T)return{reset:{placement:A[0]}};let E=[L[ot(T)],L[C[0]],L[C[1]]],R=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:T,overflows:E}],U=A[N+1];if(U)return{data:{index:N+1,overflows:R},reset:{placement:U}};let q=R.map(D=>{let m=nt(D.placement);return[D.placement,m&&f?D.overflows.slice(0,2).reduce((S,M)=>S+M,0):D.overflows[0],D.overflows]}).sort((D,m)=>D[1]-m[1]),Q=((i=q.filter(D=>D[2].slice(0,nt(D[0])?2:3).every(m=>m<=0))[0])==null?void 0:i[0])||q[0][0];return Q!==c?{data:{index:N+1,overflows:R},reset:{placement:Q}}:{}}}},ls=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;let{placement:i,middlewareData:a,rects:s,initialPlacement:c,platform:d,elements:u}=e,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:g,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:A=!0,...L}=Ir(t,e);if((r=a.arrow)!=null&&r.alignmentOffset)return{};let N=ot(i),T=ot(c)===c,C=await(d.isRTL==null?void 0:d.isRTL(u.floating)),E=g||(T||!A?[_o(c)]:Iu(c));!g&&v!=="none"&&E.push(...$u(c,A,v,C));let R=[c,...E],U=await $n(e,L),q=[],X=((n=a.flip)==null?void 0:n.overflows)||[];if(f&&q.push(U[N]),h){let S=ss(i,s,C);q.push(U[S[0]],U[S[1]])}if(X=[...X,{placement:i,overflows:q}],!q.every(S=>S<=0)){var Q,D;let S=(((Q=a.flip)==null?void 0:Q.index)||0)+1,M=R[S];if(M)return{data:{index:S,overflows:X},reset:{placement:M}};let K=(D=X.filter(Y=>Y.overflows[0]<=0).sort((Y,z)=>Y.overflows[1]-z.overflows[1])[0])==null?void 0:D.placement;if(!K)switch(x){case"bestFit":{var m;let Y=(m=X.map(z=>[z.placement,z.overflows.filter(Je=>Je>0).reduce((Je,co)=>Je+co,0)]).sort((z,Je)=>z[1]-Je[1])[0])==null?void 0:m[0];Y&&(K=Y);break}case"initialPlacement":K=c;break}if(i!==K)return{reset:{placement:K}}}return{}}}};ds=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:i,y:a,placement:s,middlewareData:c}=e,d=await Hm(e,t);return s===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},us=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:L=>{let{x:N,y:T}=L;return{x:N,y:T}}},...d}=Ir(t,e),u={x:r,y:n},f=await $n(e,d),h=Lo(ot(i)),g=ns(h),x=u[g],v=u[h];if(a){let L=g==="y"?"top":"left",N=g==="y"?"bottom":"right",T=x+f[L],C=x-f[N];x=os(T,x,C)}if(s){let L=h==="y"?"top":"left",N=h==="y"?"bottom":"right",T=v+f[L],C=v-f[N];v=os(T,v,C)}let A=c.fn({...e,[g]:x,[h]:v});return{...A,data:{x:A.x-r,y:A.y-n}}}}}});function vt(t){return Uu(t)?(t.nodeName||"").toLowerCase():"#document"}function _e(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function St(t){var e;return(e=(Uu(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Uu(t){return t instanceof Node||t instanceof _e(t).Node}function it(t){return t instanceof Element||t instanceof _e(t).Element}function qe(t){return t instanceof HTMLElement||t instanceof _e(t).HTMLElement}function Bu(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _e(t).ShadowRoot}function $r(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=Be(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function Fu(t){return["table","td","th"].includes(vt(t))}function Mn(t){let e=Dn(),r=Be(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Wu(t){let e=ur(t);for(;qe(e)&&!Io(e);){if(Mn(e))return e;e=ur(e)}return null}function Dn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Io(t){return["html","body","#document"].includes(vt(t))}function Be(t){return _e(t).getComputedStyle(t)}function $o(t){return it(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ur(t){if(vt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Bu(t)&&t.host||St(t);return Bu(e)?e.host:e}function Hu(t){let e=ur(t);return Io(e)?t.ownerDocument?t.ownerDocument.body:t.body:qe(e)&&$r(e)?e:Hu(e)}function kn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Hu(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=_e(i);return a?e.concat(s,s.visualViewport||[],$r(i)?i:[],s.frameElement&&r?kn(s.frameElement):[]):e.concat(i,kn(i,[],r))}var zu=y(()=>{});function Ku(t){let e=Be(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=qe(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,c=To(r)!==a||To(n)!==s;return c&&(r=a,n=s),{width:r,height:n,$:c}}function Gu(t){return it(t)?t:t.contextElement}function kr(t){let e=Gu(t);if(!qe(e))return xt(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=Ku(e),s=(a?To(r.width):r.width)/n,c=(a?To(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}function Zu(t){let e=_e(t);return!Dn()||!e.visualViewport?zm:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function jm(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==_e(t)?!1:e}function ko(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=Gu(t),s=xt(1);e&&(n?it(n)&&(s=kr(n)):s=kr(t));let c=jm(a,r,n)?Zu(a):xt(0),d=(i.left+c.x)/s.x,u=(i.top+c.y)/s.y,f=i.width/s.x,h=i.height/s.y;if(a){let g=_e(a),x=n&&it(n)?_e(n):n,v=g.frameElement;for(;v&&n&&x!==g;){let A=kr(v),L=v.getBoundingClientRect(),N=Be(v),T=L.left+(v.clientLeft+parseFloat(N.paddingLeft))*A.x,C=L.top+(v.clientTop+parseFloat(N.paddingTop))*A.y;d*=A.x,u*=A.y,f*=A.x,h*=A.y,d+=T,u+=C,v=_e(v).frameElement}}return dr({width:f,height:h,x:d,y:u})}function Vm(t){let{rect:e,offsetParent:r,strategy:n}=t,i=qe(r),a=St(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},c=xt(1),d=xt(0);if((i||!i&&n!=="fixed")&&((vt(r)!=="body"||$r(a))&&(s=$o(r)),qe(r))){let u=ko(r);c=kr(r),d.x=u.x+r.clientLeft,d.y=u.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+d.x,y:e.y*c.y-s.scrollTop*c.y+d.y}}function Km(t){return Array.from(t.getClientRects())}function qu(t){return ko(St(t)).left+$o(t).scrollLeft}function Gm(t){let e=St(t),r=$o(t),n=t.ownerDocument.body,i=$t(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=$t(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+qu(t),c=-r.scrollTop;return Be(n).direction==="rtl"&&(s+=$t(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function Zm(t,e){let r=_e(t),n=St(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,d=0;if(i){a=i.width,s=i.height;let u=Dn();(!u||u&&e==="fixed")&&(c=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:c,y:d}}function qm(t,e){let r=ko(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=qe(t)?kr(t):xt(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,d=i*a.x,u=n*a.y;return{width:s,height:c,x:d,y:u}}function ju(t,e,r){let n;if(e==="viewport")n=Zm(t,r);else if(e==="document")n=Gm(St(t));else if(it(e))n=qm(e,r);else{let i=Zu(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return dr(n)}function Yu(t,e){let r=ur(t);return r===e||!it(r)||Io(r)?!1:Be(r).position==="fixed"||Yu(r,e)}function Ym(t,e){let r=e.get(t);if(r)return r;let n=kn(t,[],!1).filter(c=>it(c)&&vt(c)!=="body"),i=null,a=Be(t).position==="fixed",s=a?ur(t):t;for(;it(s)&&!Io(s);){let c=Be(s),d=Mn(s);!d&&c.position==="fixed"&&(i=null),(a?!d&&!i:!d&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||$r(s)&&!d&&Yu(t,s))?n=n.filter(f=>f!==s):i=c,s=ur(s)}return e.set(t,n),n}function Xm(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?Ym(e,this._c):[].concat(r),n],c=s[0],d=s.reduce((u,f)=>{let h=ju(e,f,i);return u.top=$t(h.top,u.top),u.right=Po(h.right,u.right),u.bottom=Po(h.bottom,u.bottom),u.left=$t(h.left,u.left),u},ju(e,c,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Qm(t){return Ku(t)}function Jm(t,e,r){let n=qe(e),i=St(e),a=r==="fixed",s=ko(t,!0,a,e),c={scrollLeft:0,scrollTop:0},d=xt(0);if(n||!n&&!a)if((vt(e)!=="body"||$r(i))&&(c=$o(e)),n){let u=ko(e,!0,a,e);d.x=u.x+e.clientLeft,d.y=u.y+e.clientTop}else i&&(d.x=qu(i));return{x:s.left+c.scrollLeft-d.x,y:s.top+c.scrollTop-d.y,width:s.width,height:s.height}}function Vu(t,e){return!qe(t)||Be(t).position==="fixed"?null:e?e(t):t.offsetParent}function Xu(t,e){let r=_e(t);if(!qe(t))return r;let n=Vu(t,e);for(;n&&Fu(n)&&Be(n).position==="static";)n=Vu(n,e);return n&&(vt(n)==="html"||vt(n)==="body"&&Be(n).position==="static"&&!Mn(n))?r:n||Wu(t)||r}function tg(t){return Be(t).direction==="rtl"}var zm,eg,Mr,fs,Qu=y(()=>{ps();ps();In();zu();zm=xt(0);eg=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||Xu,a=this.getDimensions;return{reference:Jm(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};Mr={convertOffsetParentRelativeRectToViewportRelativeRect:Vm,getDocumentElement:St,getClippingRect:Xm,getOffsetParent:Xu,getElementRects:eg,getClientRects:Km,getDimensions:Qm,getScale:kr,isElement:it,isRTL:tg},fs=(t,e,r)=>{let n=new Map,i={platform:Mr,...r},a={...i.platform,_c:n};return Du(t,e,{...i,platform:a})}});function ys(t){return rg(t)}function hs(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function rg(t){for(let e=t;e;e=hs(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=hs(t);e;e=hs(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}var Ju=y(()=>{});var gs={};Z(gs,{computeFlipOffsetPosition:()=>og,computeOffsetPosition:()=>ms});async function ms(t,e,r){return fs(t,e,{platform:{...Mr,getOffsetParent:n=>Mr.getOffsetParent(n,ys)},middleware:[us({crossAxis:!0}),cs({allowedPlacements:[r]})]})}async function og(t,e,r,n,i){return fs(t,e,{placement:r,strategy:i,platform:{...Mr,getOffsetParent:a=>Mr.getOffsetParent(a,ys)},middleware:[ds(4),ls({fallbackPlacements:n})]})}var Bn=y(()=>{"use strict";Qu();Ju()});var Un,ng,YS,ep,tp=y(()=>{Un=window,ng=Un.ShadowRoot&&(Un.ShadyCSS===void 0||Un.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,YS=Symbol(),ep=(t,e)=>{ng?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=Un.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})}});var bs={};Z(bs,{ScopedRegistryLitElement:()=>Mo});var Mo,Fn=y(()=>{"use strict";W();tp();Mo=class extends yt{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 r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return ep(n,e.elementStyles),n}}});var xs={};Z(xs,{FtLitElement:()=>ee});var Wn,ip,rp,op,ap,np,ee,Do=y(()=>{"use strict";oe();Tn();Nn();Fn();Wn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},rp=Symbol("constructorPrototype"),op=Symbol("constructorName"),ap=Symbol("exportpartsDebouncer"),np=Symbol("dynamicDependenciesLoaded"),ee=class extends Mo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[ip]=new Oe(5),this[op]=this.constructor.name,this[rp]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[op]&&Object.setPrototypeOf(this,this[rp])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[np]||(e[np]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(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,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[ap].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 r,n,i,a,s,c;let d=g=>g!=null&&g.trim().length>0,u=e.filter(d).map(g=>g.trim());if(u.length===0){this.removeAttribute("exportparts");return}let f=new Set;for(let g of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(a=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],v=(c=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(A=>A.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...x,...v).filter(d).map(A=>A.trim()).forEach(A=>f.add(A))}if(f.size===0){this.removeAttribute("exportparts");return}let h=[...f.values()].flatMap(g=>u.map(x=>`${g}:${x}--${g}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};ip=ap;Wn([w()],ee.prototype,"exportpartsPrefix",void 0);Wn([we([])],ee.prototype,"exportpartsPrefixes",void 0);Wn([w()],ee.prototype,"customStylesheet",void 0);Wn([pe()],ee.prototype,"useAdoptedStyleSheets",void 0)});var Ss={};Z(Ss,{FtdsBase:()=>vs,toFtdsBase:()=>Hn});function Hn(t){class e extends t{constructor(){super(...arguments),this.size=bt.medium,this.family=lr.neutral}getDesignSystemBaseClasses(){return{[Ka(this.family)]:!0,[Ga(this.size)]:!0}}}return sp([w()],e.prototype,"size",void 0),sp([w()],e.prototype,"family",void 0),e}var sp,vs,Os=y(()=>{"use strict";Do();oe();G();sp=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};vs=class extends Hn(ee){}});var cp={};var Cs=y(()=>{"use strict"});var pr,lp=y(()=>{pr=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,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,r=[];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=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(c)};s||d(),a.forEach(u=>{t.matches(u,this.exclude)?d():this.onIframeReady(u,f=>{r(u)&&(c++,n(f)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let a=!1,s=!1;return i.forEach((c,d)=>{c.val===n&&(a=d,s=c.handled)}),this.compareNodeIframe(e,r,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,r,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,a){let s=this.createIterator(r,e,i),c=[],d=[],u,f,h=()=>({prevNode:f,node:u}=this.getIteratorNode(s),u);for(;h();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(u,f,g,c),g=>{this.createInstanceOnIframe(g).forEachNode(e,x=>d.push(x),i)}),d.push(u);d.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(c,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,d):d()})}}});var Bo,dp=y(()=>{lp();Bo=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.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 pr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`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 r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+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,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=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${r}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.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 r=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(e,r){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-r>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,r,n){let i,a=!0,s=n.length,c=r-s,d=parseInt(e.start,10)-c;return d=d>s?s:d,i=d+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:a}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return pr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(n-r),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((s,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!i(s.node))return!1;let u=r-s.start,f=(n>s.end?s.end:n)-s.start,h=e.value.substr(0,s.start),g=e.value.substr(f+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,f),e.value=h+g,e.nodes.forEach((x,v)=>{v>=c&&(e.nodes[v].start>0&&v!==c&&(e.nodes[v].start-=f),e.nodes[v].end-=f)}),n-=f,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[s]!=="";){if(!n(u[s],d))continue;let f=u.index;if(s!==0)for(let h=1;h<s;h++)f+=u[h].length;d=this.wrapRangeInTextNode(d,f,f+u[s].length),i(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let h=1;h<s;h++)u+=d[h].length;let f=u+d[s].length;this.wrapRangeInMappedTextNode(c,u,f,h=>n(d[s],h),(h,g)=>{e.lastIndex=g,i(h)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,d)=>{let{start:u,end:f,valid:h}=this.checkWhitespaceRanges(c,s,a.value);h&&this.wrapRangeInMappedTextNode(a,u,f,g=>r(g,c,a.value.substring(u,f),d),g=>{n(g,c)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.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,r){this.opt=r,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,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=u=>{let f=new RegExp(this.createRegExp(u),`gm${c}`),h=0;this.log(`Searching with expression "${f}"`),this[i](f,1,(g,x)=>this.opt.filter(x,u,n,h),g=>{h++,n++,this.opt.each(g)},()=>{h===0&&this.opt.noMatch(u),a[s-1]===u?this.opt.done(n):d(a[a.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(e,r){this.opt=r;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,c,d)=>this.opt.filter(a,s,c,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=pr.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function Es(t){let e=new Bo(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var up=y(()=>{dp()});var As={};Z(As,{highlightHtml:()=>ws,highlightHtmlColorCssVariable:()=>pp,highlightHtmlStyles:()=>ag});function ws(t,e,r){var n,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new ig(t);if(s.unmark(),e&&e.trim()){let c={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match"};r?.attributes!=null&&(c.each=u=>{for(let f in r.attributes)u.setAttribute(f,r.attributes[f])}),s.mark(e.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(u=>s.mark(u.replace(/"/g,""),{...c,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var ig,pp,ag,Rs=y(()=>{"use strict";W();G();up();ig=Es,pp=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),ag=I`
|
|
5
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),vd=/'/g,Sd=/"/g,wd=/^(?:script|style|textarea|title)$/i,Ad=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),B=Ad(1),Gy=Ad(2),_t=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),Od=new WeakMap,nr=ir.createTreeWalker(ir,129);Nd=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=xo;for(let c=0;c<r;c++){let d=t[c],u,f,h=-1,g=0;for(;g<d.length&&(s.lastIndex=g,f=s.exec(d),f!==null);)g=s.lastIndex,s===xo?f[1]==="!--"?s=bd:f[1]!==void 0?s=xd:f[2]!==void 0?(wd.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=or):f[3]!==void 0&&(s=or):s===or?f[0]===">"?(s=i??xo,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,u=f[1],s=f[3]===void 0?or:f[3]==='"'?Sd:vd):s===Sd||s===vd?s=or:s===bd||s===xd?s=xo:(s=or,i=void 0);let x=s===or&&t[c+1].startsWith("/>")?" ":"";a+=s===xo?d+Vy:h>=0?(n.push(u),d.slice(0,h)+Xi+d.slice(h)+ht+x):d+ht+(h===-2?c:x)}return[Rd(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},Oo=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,d=this.parts,[u,f]=Nd(e,r);if(this.el=t.createElement(u,n),nr.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=nr.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(Xi)){let g=f[s++],x=i.getAttribute(h).split(ht),v=/([.?@])?(.*)/.exec(g);d.push({type:1,index:a,name:v[2],strings:x,ctor:v[1]==="."?Sn:v[1]==="?"?On:v[1]==="@"?Cn:sr}),i.removeAttribute(h)}else h.startsWith(ht)&&(d.push({type:6,index:a}),i.removeAttribute(h));if(wd.test(i.tagName)){let h=i.textContent.split(ht),g=h.length-1;if(g>0){i.textContent=xn?xn.emptyScript:"";for(let x=0;x<g;x++)i.append(h[x],vo()),nr.nextNode(),d.push({type:2,index:++a});i.append(h[g],vo())}}}else if(i.nodeType===8)if(i.data===Ji)d.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(ht,h+1))!==-1;)d.push({type:7,index:a}),h+=ht.length-1}a++}}static createElement(e,r){let n=ir.createElement("template");return n.innerHTML=e,n}};vn=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??ir).importNode(r,!0);nr.currentNode=i;let a=nr.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new Er(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new En(a,this,e)),this._$AV.push(u),d=n[++c]}s!==d?.index&&(a=nr.nextNode(),s++)}return nr.currentNode=ir,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Er=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=ar(this,e,r),So(e)?e===j||e==null||e===""?(this._$AH!==j&&this._$AR(),this._$AH=j):e!==this._$AH&&e!==_t&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ed(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!==j&&So(this._$AH)?this._$AA.nextSibling.data=e:this.$(ir.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Oo.createElement(Rd(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new vn(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Od.get(e.strings);return r===void 0&&Od.set(e.strings,r=new Oo(e)),r}T(e){Cd(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(vo()),this.k(vo()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},sr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=j,this._$AN=void 0,this.element=e,this.name=r,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=j}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=ar(this,e,r,0),s=!So(e)||e!==this._$AH&&e!==_t,s&&(this._$AH=e);else{let c=e,d,u;for(e=a[0],d=0;d<a.length-1;d++)u=ar(this,c[n+d],r,d),u===_t&&(u=this._$AH[d]),s||=!So(u)||u!==this._$AH[d],u===j?e=j:e!==j&&(e+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!i&&this.O(e)}O(e){e===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Sn=class extends sr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===j?void 0:e}},On=class extends sr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==j)}},Cn=class extends sr{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=ar(this,e,r,0)??j)===_t)return;let n=this._$AH,i=e===j&&n!==j||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==j&&(n===j||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)}},En=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){ar(this,e)}},Ky={j:Xi,P:ht,A:Ji,C:1,M:Nd,L:vn,R:Ed,V:ar,D:Er,I:sr,H:On,N:Cn,U:Sn,B:En},Zy=Qi.litHtmlPolyfillSupport;Zy?.(Oo,Er),(Qi.litHtmlVersions??=[]).push("3.1.0");ea=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new Er(e.insertBefore(vo(),a),a,void 0,r??{})}return i._$AI(t),i}});var yt,qy,Yy,_d=y(()=>{qi();qi();ta();ta();yt=class extends et{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 r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=ea(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return _t}};yt._$litElement$=!0,yt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:yt});qy=globalThis.litElementPolyfillSupport;qy?.({LitElement:yt});Yy={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2")});var zb,Pd=y(()=>{zb=!1});var ra={};Z(ra,{CSSResult:()=>Cr,LitElement:()=>yt,ReactiveElement:()=>et,_$LE:()=>Yy,_$LH:()=>Ky,adoptStyles:()=>mn,css:()=>L,defaultConverter:()=>gn,getCompatibleStyle:()=>go,html:()=>B,isServer:()=>zb,noChange:()=>_t,notEqual:()=>Zi,nothing:()=>j,render:()=>ea,supportsAdoptingStyleSheets:()=>mo,svg:()=>Gy,unsafeCSS:()=>rr});var W=y(()=>{Wi();ft();_d();Pd()});var oa,Td=y(()=>{oa=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)}});function w(t){return(e,r)=>typeof r=="object"?Id(t,e,r):((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})(t,e,r)}var Qy,Id,na=y(()=>{Wi();Qy={attribute:!0,type:String,converter:uo,reflect:!1,hasChanged:sn},Id=(t=Qy,e,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,d,t)},init(c){return c!==void 0&&this.C(s,void 0,t),c}}}if(n==="setter"){let{name:s}=r;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)}});function fe(t){return w({...t,state:!0,attribute:!1})}var Ld=y(()=>{na();});function wr(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var $d=y(()=>{});var Ke,Ar=y(()=>{Ke=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function xe(t,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return Ke(r,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return Ke(r,n,{get(){return a(this)}})}}var kd=y(()=>{Ar();});function Jy(t){return(e,r)=>Ke(e,r,{get(){return(this.renderRoot??(Xy??=document.createDocumentFragment())).querySelectorAll(t)}})}var Xy,Md=y(()=>{Ar();});function em(t){return(e,r)=>Ke(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var Dd=y(()=>{Ar();});function tm(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ke(e,r,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(t)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}var Bd=y(()=>{Ar();});function ia(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ke(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Ud=y(()=>{Ar();});var aa={};Z(aa,{customElement:()=>oa,eventOptions:()=>wr,property:()=>w,query:()=>xe,queryAll:()=>Jy,queryAssignedElements:()=>tm,queryAssignedNodes:()=>ia,queryAsync:()=>em,standardProperty:()=>Id,state:()=>fe});var oe=y(()=>{Td();na();Ld();$d();kd();Md();Dd();Bd();Ud()});var Pt,Tt,tt,Co=y(()=>{Pt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Tt=t=>(...e)=>({_$litDirective$:t,values:e}),tt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}});var rm,Fd,Rr,It,om,Wd,Hd,wn,zd=y(()=>{ft();({D:rm}=fd),Fd=()=>document.createComment(""),Rr=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(Fd(),i),s=n.insertBefore(Fd(),i);r=new rm(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,c=s!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(a!==i||c){let d=r._$AA;for(;d!==a;){let u=d.nextSibling;n.insertBefore(d,i),d=u}}}return r},It=(t,e,r=t)=>(t._$AI(e,r),t),om={},Wd=(t,e=om)=>t._$AH=e,Hd=t=>t._$AH,wn=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}}});var jd,Eo,Vd=y(()=>{ft();Co();zd();jd=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},Eo=Tt(class extends tt{constructor(t){if(super(t),t.type!==Pt.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let c of t)i[s]=n?n(c,s):s,a[s]=r(c,s),s++;return{values:a,keys:i}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let i=Hd(t),{values:a,keys:s}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],d=[],u,f,h=0,g=i.length-1,x=0,v=a.length-1;for(;h<=g&&x<=v;)if(i[h]===null)h++;else if(i[g]===null)g--;else if(c[h]===s[x])d[x]=It(i[h],a[x]),h++,x++;else if(c[g]===s[v])d[v]=It(i[g],a[v]),g--,v--;else if(c[h]===s[v])d[v]=It(i[h],a[v]),Rr(t,d[v+1],i[h]),h++,v--;else if(c[g]===s[x])d[x]=It(i[g],a[x]),Rr(t,i[h],i[g]),g--,x++;else if(u===void 0&&(u=jd(s,x,v),f=jd(c,h,g)),u.has(c[h]))if(u.has(c[g])){let A=f.get(s[x]),I=A!==void 0?i[A]:null;if(I===null){let N=Rr(t,i[h]);It(N,a[x]),d[x]=N}else d[x]=It(I,a[x]),Rr(t,i[h],I),i[A]=null;x++}else wn(i[g]),g--;else wn(i[h]),h++;for(;x<=v;){let A=Rr(t,d[v+1]);It(A,a[x]),d[x++]=A}for(;h<=g;){let A=i[h++];A!==null&&wn(A)}return this.dt=s,Wd(t,d),De}})});var sa={};Z(sa,{repeat:()=>Eo});var An=y(()=>{Vd()});var mt,Gd=y(()=>{ft();Co();mt=Tt(class extends tt{constructor(t){if(super(t),t.type!==Pt.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.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 r=t.element.classList;for(let n of this.it)n in e||(r.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?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return De}})});var ca={};Z(ca,{classMap:()=>mt});var Nr=y(()=>{Gd()});var Kd,nm,im,Zd=y(()=>{ft();Co();Kd="important",nm=" !"+Kd,im=Tt(class extends tt{constructor(t){if(super(t),t.type!==Pt.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.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("-")?r.removeProperty(n):r[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(nm);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?Kd:""):r[n]=i}}return De}})});var la={};Z(la,{styleMap:()=>im});var qd=y(()=>{Zd()});var _r,cr,Yd=y(()=>{ft();Co();_r=class extends tt{constructor(e){if(super(e),this.et=ue,e.type!==Pt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===ue||e==null)return this.vt=void 0,this.et=e;if(e===De)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 r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};_r.directiveName="unsafeHTML",_r.resultType=1;cr=Tt(_r)});var da={};Z(da,{UnsafeHTMLDirective:()=>_r,unsafeHTML:()=>cr});var wo=y(()=>{Yd()});var ua={};Z(ua,{CancelablePromise:()=>Pr,CanceledPromiseError:()=>Lt,cancelable:()=>Tr});var Lt,Pr,Tr,Rn=y(()=>{"use strict";Lt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Pr=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new Lt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new Lt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Tr=t=>new Pr((e,r)=>t.then(e).catch(r))});var pa={};Z(pa,{CacheRegistry:()=>rt});var rt,fa=y(()=>{"use strict";Rn();rt=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,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 Pr&&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,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let i=Tr(r());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 ya={};Z(ya,{ClusteringHelper:()=>ha});var ha,ma=y(()=>{"use strict";ha=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,r){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return r==null?t.flattenMetadata(a):t.flattenMetadata(a.find(s=>s.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>t.flattenMetadata(n)).filter(n=>n!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let n=[],i=[];return e.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,r,n="No value"){var i,a;let s=t.extractResultMetadata(this.selectedResult,e),c=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(u=>t.extractResultMetadata(u,e)).map(u=>u??{key:e,label:c,value:void 0,displayValue:n}).filter(u=>u.value!=s?.value).filter((u,f,h)=>h.findIndex(g=>g.value===u.value)===f).map(u=>({result:this.findBestResultForMetadataValue(e,u.value),metadata:u})).sort((u,f)=>this.compareMetadata(u.metadata.value,f.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var u;return((u=t.extractResultMetadata(d,e))===null||u===void 0?void 0:u.value)==r}),a=[...t.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,c=-1;for(let d of n){let u=this.countMatchingMetadata(d,a);if(u>c&&(c=u,s=d,u===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}}});var ga={};Z(ga,{Debouncer:()=>Oe});var Oe,Nn=y(()=>{"use strict";Oe=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var xa={};Z(xa,{dateReviver:()=>sm,deepEqual:()=>Ze,delay:()=>_n,eventPathContainsMatchingElement:()=>lm,flatDeep:()=>Xd,hasChanged:()=>Ao,last:()=>dm,minmax:()=>ba,parseDate:()=>Jd,unslotText:()=>Pn,waitFor:()=>Qd,waitUntil:()=>am});async function am(t,e=10,r=2e4){await Qd(async()=>await t()||void 0,e,r)}async function Qd(t,e=10,r=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await _n(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Xd(t,e){return t.flatMap(r=>[r,...Xd(e(r),e)])}function sm(...t){return function(e,r){return t.includes(e)?Jd(r):r}}function Jd(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,i)=>r+n+":"+i),new Date(t)}function cm(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Ze(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Ze(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!Ze(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Ze(t,e){try{return cm(t,e)}catch{return!1}}function Ao(t,e){return!Ze(t,e)}function lm(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function ba(t,e,r){return Math.min(Math.max(t,e),r)}function dm(t){return t[t.length-1]}function Pn(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Pn(e)).join(""):t?.textContent||""}var _n,Ir=y(()=>{"use strict";_n=t=>new Promise(e=>setTimeout(e,t))});var va={};Z(va,{customElement:()=>V,isNumber:()=>eu,jsonProperty:()=>Ce,optionalNumberProperty:()=>um});function Ce(t,e){let r=()=>JSON.parse(JSON.stringify(t));return w({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Ao,...e??{}})}function um(t){return w({type:Object,converter:{fromAttribute:e=>{if(e!=null)return eu(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function eu(t){return!isNaN(parseFloat(t))}var V,Tn=y(()=>{"use strict";oe();Ir();V=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});function O(t,e){return gt(`${t.name}: ${e}`)}var gt,o,Q=y(()=>{W();gt=t=>typeof t=="string"?rr(t):t,o=class{static create(e,r,n,i){let a=c=>gt(c??i),s=L`var(${gt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>L`var(${gt(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=c=>n.get(c??i),s=L`var(${gt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>L`var(${gt(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):gt(a??e.lastResortDefaultValue()),i=L`var(${gt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>L`var(${gt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}}});var l,Sa,Oa,Ca,Ea,wa,Aa,Ra,Na,_a,tu,Pa,Ta,Ia,La,$a,ka,Ma,Da,Ba,Ua,Fa,Wa,Ha,za,ja,Va,Ro,pm,J=y(()=>{Q();l={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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)")},Sa={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Oa={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ca={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ea={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},wa={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Aa={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ra={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Na={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},_a={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},tu={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Pa={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ta={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Ia={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},La={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},$a={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},ka={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ma={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Da={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ba={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ua={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Fa={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Wa={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ha={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},za={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ja={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Va={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ro={display:Sa,"title-1":Oa,"title-2":Ca,"title-3":Ea,"body-1-regular":wa,"body-1-medium":Aa,"body-1-semibold":Ra,"body-2-regular":Na,"body-2-medium":_a,"body-2-medium-underline":tu,"body-2-semibold":Pa,"label-1-medium":Ta,"label-1-semibold":Ia,"label-1-bold":La,"label-2-medium":$a,"label-2-semibold":ka,"label-2-bold":Ma,"caption-1-medium":Da,"caption-1-semibold":Ba,"caption-1-bold":Ua,"caption-2-medium":Fa,"caption-2-semibold":Wa,"caption-2-bold":Ha,"caption-3-medium":za,"caption-3-semibold":ja,"caption-3-bold":Va},pm=["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,ne=y(()=>{Q();J();p={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
+
Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)}});var b,ru=y(()=>{Q();J();ne();b={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",p.contentErrorPrimary)}});var fm,ou=y(()=>{Q();J();ne();fm={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)}});var hm,nu=y(()=>{Q();J();ne();hm={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)}});var ym,iu=y(()=>{Q();J();ne();ym={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",l.colorBrand100)}});var mm,au=y(()=>{Q();J();ne();mm={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)}});var gm,su=y(()=>{Q();J();ne();gm={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",p.contentActionPrimary)}});var bm,cu=y(()=>{Q();J();ne();bm={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",p.contentGlobalSubtle)}});var xm,lu=y(()=>{Q();J();ne();xm={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",l.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",l.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var vm,du=y(()=>{Q();J();ne();vm={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",l.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",l.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",l.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",l.spacing4)}});var Sm,uu=y(()=>{Q();J();Sm={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",l.spacing6)}});var Om,pu=y(()=>{Q();J();ne();Om={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)}});var Cm,fu=y(()=>{Q();J();ne();Cm={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",l.colorGray700)}});var Em,hu=y(()=>{Q();J();ne();Em={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)}});var wm,yu=y(()=>{Q();J();ne();wm={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)}});var Am,mu=y(()=>{Q();J();ne();Am={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusM)}});var Rm,gu=y(()=>{Q();J();ne();Rm={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",l.shadowElevation02)}});var Nm,bu=y(()=>{Q();J();ne();Nm={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)}});var _m,xu=y(()=>{Q();J();ne();_m={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)}});var Pm,vu=y(()=>{Q();J();ne();Pm={backgroundColor:o.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:o.extend("--ft-popover-gap","",l.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")}});var Tm,Su=y(()=>{Q();J();ne();Tm={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)}});var Im,Ou=y(()=>{Q();J();ne();Im={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)}});var Lm,Cu=y(()=>{Q();J();Lm={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorCyan10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorRed10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)}});var $m,Eu=y(()=>{Q();J();$m={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)}});var km,wu=y(()=>{Q();J();ne();km={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)}});var Mm,Au=y(()=>{Q();J();ne();Mm={color:o.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",l.spacing3)}});var Dm,Ru=y(()=>{Q();J();ne();Dm={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:o.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)}});var Bm,Nu=y(()=>{Q();J();ne();Bm={color:o.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",l.spacing3)}});var Um,_u=y(()=>{Q();J();ne();Um={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)}});var Fm,Pu=y(()=>{Q();J();ne();Fm={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)}});var Tu=y(()=>{J();ne();ru();ou();nu();iu();au();su();cu();lu();du();uu();pu();fu();hu();yu();mu();gu();bu();xu();vu();Su();Ou();Cu();Eu();wu();Au();Ru();Nu();_u();Pu()});function Ga(t){return`ftds--family-${t}`}function Ka(t){return`ftds--size-${t}`}var lr,bt,Iu=y(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(lr||(lr={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(bt||(bt={}))});var K=y(()=>{Q();Tu();Iu()});var Za={};Z(Za,{DesignSystemFamily:()=>lr,DesignSystemSize:()=>bt,FtCssVariableFactory:()=>o,badge:()=>gm,banner:()=>mm,button:()=>b,chart:()=>Lm,checkbox:()=>Mm,chip:()=>hm,chipChoice:()=>fm,collapsible:()=>Tm,comboboxMultiSelect:()=>_m,comboboxSingleSelect:()=>Nm,drawer:()=>Cm,floatingMenu:()=>Rm,foundation:()=>l,link:()=>ym,modal:()=>Om,notice:()=>km,notification:()=>Um,pageDesigner:()=>$m,pageFooter:()=>vm,pageHeader:()=>xm,pageLayout:()=>Sm,popover:()=>Pm,radio:()=>Bm,resolveFamilyClass:()=>Ga,resolveSizeClass:()=>Ka,semantic:()=>p,setVariable:()=>O,switch_:()=>Im,tabs:()=>Em,textArea:()=>Am,textInput:()=>wm,titleBreadcrumb:()=>bm,toggle:()=>Dm,tooltip:()=>Fm,typographies:()=>Ro,typographyBody1Medium:()=>Aa,typographyBody1Regular:()=>wa,typographyBody1Semibold:()=>Ra,typographyBody2Medium:()=>_a,typographyBody2MediumUnderline:()=>tu,typographyBody2Regular:()=>Na,typographyBody2Semibold:()=>Pa,typographyCaption1Bold:()=>Ua,typographyCaption1Medium:()=>Da,typographyCaption1Semibold:()=>Ba,typographyCaption2Bold:()=>Ha,typographyCaption2Medium:()=>Fa,typographyCaption2Semibold:()=>Wa,typographyCaption3Bold:()=>Va,typographyCaption3Medium:()=>za,typographyCaption3Semibold:()=>ja,typographyDisplay:()=>Sa,typographyLabel1Bold:()=>La,typographyLabel1Medium:()=>Ta,typographyLabel1Semibold:()=>Ia,typographyLabel2Bold:()=>Ma,typographyLabel2Medium:()=>$a,typographyLabel2Semibold:()=>ka,typographyTitle1:()=>Oa,typographyTitle2:()=>Ca,typographyTitle3:()=>Ea,typographyVariants:()=>pm});var In=y(()=>{"use strict";K()});var qa={};Z(qa,{designSystemVariables:()=>$});var $,Ya=y(()=>{"use strict";In();$={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")}});var es={};Z(es,{FtNotificationEvent:()=>Qa,PostResizeEvent:()=>Ja,PreResizeEvent:()=>Xa});var Qa,Xa,Ja,ts=y(()=>{"use strict";Qa=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Xa=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Ja=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}});function os(t,e,r){return $t(t,Po(e,r))}function Lr(t,e){return typeof t=="function"?t(e):t}function ot(t){return t.split("-")[0]}function nt(t){return t.split("-")[1]}function ns(t){return t==="x"?"y":"x"}function is(t){return t==="y"?"height":"width"}function Io(t){return["top","bottom"].includes(ot(t))?"y":"x"}function as(t){return ns(Io(t))}function ss(t,e,r){r===void 0&&(r=!1);let n=nt(t),i=as(t),a=is(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=_o(s)),[s,_o(s)]}function ku(t){let e=_o(t);return[No(t),e,No(e)]}function No(t){return t.replace(/start|end/g,e=>Hm[e])}function zm(t,e,r){let n=["left","right"],i=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return r?e?i:n:e?n:i;case"left":case"right":return e?a:s;default:return[]}}function Mu(t,e,r,n){let i=nt(t),a=zm(ot(t),r==="start",n);return i&&(a=a.map(s=>s+"-"+i),e&&(a=a.concat(a.map(No)))),a}function _o(t){return t.replace(/left|right|bottom|top/g,e=>Wm[e])}function jm(t){return{top:0,right:0,bottom:0,left:0,...t}}function Du(t){return typeof t!="number"?jm(t):{top:t,right:t,bottom:t,left:t}}function dr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var $u,Lu,rs,Po,$t,To,xt,Wm,Hm,Ln=y(()=>{$u=["top","right","bottom","left"],Lu=["start","end"],rs=$u.reduce((t,e)=>t.concat(e,e+"-"+Lu[0],e+"-"+Lu[1]),[]),Po=Math.min,$t=Math.max,To=Math.round,xt=t=>({x:t,y:t}),Wm={left:"right",right:"left",bottom:"top",top:"bottom"},Hm={start:"end",end:"start"}});function Bu(t,e,r){let{reference:n,floating:i}=t,a=Io(e),s=as(e),c=is(s),d=ot(e),u=a==="y",f=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,g=n[c]/2-i[c]/2,x;switch(d){case"top":x={x:f,y:n.y-i.height};break;case"bottom":x={x:f,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:h};break;case"left":x={x:n.x-i.width,y:h};break;default:x={x:n.x,y:n.y}}switch(nt(e)){case"start":x[s]-=g*(r&&u?-1:1);break;case"end":x[s]+=g*(r&&u?-1:1);break}return x}async function $n(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:g=!1,padding:x=0}=Lr(e,t),v=Du(x),I=c[g?h==="floating"?"reference":"floating":h],N=dr(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(I)))==null||r?I:I.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:u,rootBoundary:f,strategy:d})),T=h==="floating"?{...s.floating,x:n,y:i}:s.reference,C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),E=await(a.isElement==null?void 0:a.isElement(C))?await(a.getScale==null?void 0:a.getScale(C))||{x:1,y:1}:{x:1,y:1},R=dr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:T,offsetParent:C,strategy:d}):T);return{top:(N.top-R.top+v.top)/E.y,bottom:(R.bottom-N.bottom+v.bottom)/E.y,left:(N.left-R.left+v.left)/E.x,right:(R.right-N.right+v.right)/E.x}}function Vm(t,e,r){return(t?[...r.filter(i=>nt(i)===t),...r.filter(i=>nt(i)!==t)]:r.filter(i=>ot(i)===i)).filter(i=>t?nt(i)===t||(e?No(i)!==i:!1):!0)}async function Gm(t,e){let{placement:r,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=ot(r),c=nt(r),d=Io(r)==="y",u=["left","top"].includes(s)?-1:1,f=a&&d?-1:1,h=Lr(e,t),{mainAxis:g,crossAxis:x,alignmentAxis:v}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return c&&typeof v=="number"&&(x=c==="end"?v*-1:v),d?{x:x*f,y:g*u}:{x:g*u,y:x*f}}var Uu,cs,ls,ds,us,ps=y(()=>{Ln();Ln();Uu=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:h}=Bu(u,n,d),g=n,x={},v=0;for(let A=0;A<c.length;A++){let{name:I,fn:N}=c[A],{x:T,y:C,data:E,reset:R}=await N({x:f,y:h,initialPlacement:n,placement:g,strategy:i,middlewareData:x,rects:u,platform:s,elements:{reference:t,floating:e}});if(f=T??f,h=C??h,x={...x,[I]:{...x[I],...E}},R&&v<=50){v++,typeof R=="object"&&(R.placement&&(g=R.placement),R.rects&&(u=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):R.rects),{x:f,y:h}=Bu(u,g,d)),A=-1;continue}}return{x:f,y:h,placement:g,strategy:i,middlewareData:x}};cs=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:c,platform:d,elements:u}=e,{crossAxis:f=!1,alignment:h,allowedPlacements:g=rs,autoAlignment:x=!0,...v}=Lr(t,e),A=h!==void 0||g===rs?Vm(h||null,x,g):g,I=await $n(e,v),N=((r=s.autoPlacement)==null?void 0:r.index)||0,T=A[N];if(T==null)return{};let C=ss(T,a,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(c!==T)return{reset:{placement:A[0]}};let E=[I[ot(T)],I[C[0]],I[C[1]]],R=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:T,overflows:E}],U=A[N+1];if(U)return{data:{index:N+1,overflows:R},reset:{placement:U}};let q=R.map(D=>{let m=nt(D.placement);return[D.placement,m&&f?D.overflows.slice(0,2).reduce((S,M)=>S+M,0):D.overflows[0],D.overflows]}).sort((D,m)=>D[1]-m[1]),ee=((i=q.filter(D=>D[2].slice(0,nt(D[0])?2:3).every(m=>m<=0))[0])==null?void 0:i[0])||q[0][0];return ee!==c?{data:{index:N+1,overflows:R},reset:{placement:ee}}:{}}}},ls=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;let{placement:i,middlewareData:a,rects:s,initialPlacement:c,platform:d,elements:u}=e,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:g,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:A=!0,...I}=Lr(t,e);if((r=a.arrow)!=null&&r.alignmentOffset)return{};let N=ot(i),T=ot(c)===c,C=await(d.isRTL==null?void 0:d.isRTL(u.floating)),E=g||(T||!A?[_o(c)]:ku(c));!g&&v!=="none"&&E.push(...Mu(c,A,v,C));let R=[c,...E],U=await $n(e,I),q=[],X=((n=a.flip)==null?void 0:n.overflows)||[];if(f&&q.push(U[N]),h){let S=ss(i,s,C);q.push(U[S[0]],U[S[1]])}if(X=[...X,{placement:i,overflows:q}],!q.every(S=>S<=0)){var ee,D;let S=(((ee=a.flip)==null?void 0:ee.index)||0)+1,M=R[S];if(M)return{data:{index:S,overflows:X},reset:{placement:M}};let G=(D=X.filter(Y=>Y.overflows[0]<=0).sort((Y,z)=>Y.overflows[1]-z.overflows[1])[0])==null?void 0:D.placement;if(!G)switch(x){case"bestFit":{var m;let Y=(m=X.map(z=>[z.placement,z.overflows.filter(Je=>Je>0).reduce((Je,co)=>Je+co,0)]).sort((z,Je)=>z[1]-Je[1])[0])==null?void 0:m[0];Y&&(G=Y);break}case"initialPlacement":G=c;break}if(i!==G)return{reset:{placement:G}}}return{}}}};ds=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:i,y:a,placement:s,middlewareData:c}=e,d=await Gm(e,t);return s===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},us=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:I=>{let{x:N,y:T}=I;return{x:N,y:T}}},...d}=Lr(t,e),u={x:r,y:n},f=await $n(e,d),h=Io(ot(i)),g=ns(h),x=u[g],v=u[h];if(a){let I=g==="y"?"top":"left",N=g==="y"?"bottom":"right",T=x+f[I],C=x-f[N];x=os(T,x,C)}if(s){let I=h==="y"?"top":"left",N=h==="y"?"bottom":"right",T=v+f[I],C=v-f[N];v=os(T,v,C)}let A=c.fn({...e,[g]:x,[h]:v});return{...A,data:{x:A.x-r,y:A.y-n}}}}}});function vt(t){return Wu(t)?(t.nodeName||"").toLowerCase():"#document"}function _e(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function St(t){var e;return(e=(Wu(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Wu(t){return t instanceof Node||t instanceof _e(t).Node}function it(t){return t instanceof Element||t instanceof _e(t).Element}function qe(t){return t instanceof HTMLElement||t instanceof _e(t).HTMLElement}function Fu(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _e(t).ShadowRoot}function $r(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=Be(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function Hu(t){return["table","td","th"].includes(vt(t))}function Mn(t){let e=Dn(),r=Be(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function zu(t){let e=ur(t);for(;qe(e)&&!Lo(e);){if(Mn(e))return e;e=ur(e)}return null}function Dn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Lo(t){return["html","body","#document"].includes(vt(t))}function Be(t){return _e(t).getComputedStyle(t)}function $o(t){return it(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ur(t){if(vt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Fu(t)&&t.host||St(t);return Fu(e)?e.host:e}function ju(t){let e=ur(t);return Lo(e)?t.ownerDocument?t.ownerDocument.body:t.body:qe(e)&&$r(e)?e:ju(e)}function kn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=ju(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=_e(i);return a?e.concat(s,s.visualViewport||[],$r(i)?i:[],s.frameElement&&r?kn(s.frameElement):[]):e.concat(i,kn(i,[],r))}var Vu=y(()=>{});function Zu(t){let e=Be(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=qe(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,c=To(r)!==a||To(n)!==s;return c&&(r=a,n=s),{width:r,height:n,$:c}}function qu(t){return it(t)?t:t.contextElement}function kr(t){let e=qu(t);if(!qe(e))return xt(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=Zu(e),s=(a?To(r.width):r.width)/n,c=(a?To(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}function Yu(t){let e=_e(t);return!Dn()||!e.visualViewport?Km:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Zm(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==_e(t)?!1:e}function ko(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=qu(t),s=xt(1);e&&(n?it(n)&&(s=kr(n)):s=kr(t));let c=Zm(a,r,n)?Yu(a):xt(0),d=(i.left+c.x)/s.x,u=(i.top+c.y)/s.y,f=i.width/s.x,h=i.height/s.y;if(a){let g=_e(a),x=n&&it(n)?_e(n):n,v=g.frameElement;for(;v&&n&&x!==g;){let A=kr(v),I=v.getBoundingClientRect(),N=Be(v),T=I.left+(v.clientLeft+parseFloat(N.paddingLeft))*A.x,C=I.top+(v.clientTop+parseFloat(N.paddingTop))*A.y;d*=A.x,u*=A.y,f*=A.x,h*=A.y,d+=T,u+=C,v=_e(v).frameElement}}return dr({width:f,height:h,x:d,y:u})}function qm(t){let{rect:e,offsetParent:r,strategy:n}=t,i=qe(r),a=St(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},c=xt(1),d=xt(0);if((i||!i&&n!=="fixed")&&((vt(r)!=="body"||$r(a))&&(s=$o(r)),qe(r))){let u=ko(r);c=kr(r),d.x=u.x+r.clientLeft,d.y=u.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+d.x,y:e.y*c.y-s.scrollTop*c.y+d.y}}function Ym(t){return Array.from(t.getClientRects())}function Qu(t){return ko(St(t)).left+$o(t).scrollLeft}function Qm(t){let e=St(t),r=$o(t),n=t.ownerDocument.body,i=$t(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=$t(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Qu(t),c=-r.scrollTop;return Be(n).direction==="rtl"&&(s+=$t(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function Xm(t,e){let r=_e(t),n=St(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,d=0;if(i){a=i.width,s=i.height;let u=Dn();(!u||u&&e==="fixed")&&(c=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:c,y:d}}function Jm(t,e){let r=ko(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=qe(t)?kr(t):xt(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,d=i*a.x,u=n*a.y;return{width:s,height:c,x:d,y:u}}function Gu(t,e,r){let n;if(e==="viewport")n=Xm(t,r);else if(e==="document")n=Qm(St(t));else if(it(e))n=Jm(e,r);else{let i=Yu(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return dr(n)}function Xu(t,e){let r=ur(t);return r===e||!it(r)||Lo(r)?!1:Be(r).position==="fixed"||Xu(r,e)}function eg(t,e){let r=e.get(t);if(r)return r;let n=kn(t,[],!1).filter(c=>it(c)&&vt(c)!=="body"),i=null,a=Be(t).position==="fixed",s=a?ur(t):t;for(;it(s)&&!Lo(s);){let c=Be(s),d=Mn(s);!d&&c.position==="fixed"&&(i=null),(a?!d&&!i:!d&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||$r(s)&&!d&&Xu(t,s))?n=n.filter(f=>f!==s):i=c,s=ur(s)}return e.set(t,n),n}function tg(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?eg(e,this._c):[].concat(r),n],c=s[0],d=s.reduce((u,f)=>{let h=Gu(e,f,i);return u.top=$t(h.top,u.top),u.right=Po(h.right,u.right),u.bottom=Po(h.bottom,u.bottom),u.left=$t(h.left,u.left),u},Gu(e,c,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function rg(t){return Zu(t)}function og(t,e,r){let n=qe(e),i=St(e),a=r==="fixed",s=ko(t,!0,a,e),c={scrollLeft:0,scrollTop:0},d=xt(0);if(n||!n&&!a)if((vt(e)!=="body"||$r(i))&&(c=$o(e)),n){let u=ko(e,!0,a,e);d.x=u.x+e.clientLeft,d.y=u.y+e.clientTop}else i&&(d.x=Qu(i));return{x:s.left+c.scrollLeft-d.x,y:s.top+c.scrollTop-d.y,width:s.width,height:s.height}}function Ku(t,e){return!qe(t)||Be(t).position==="fixed"?null:e?e(t):t.offsetParent}function Ju(t,e){let r=_e(t);if(!qe(t))return r;let n=Ku(t,e);for(;n&&Hu(n)&&Be(n).position==="static";)n=Ku(n,e);return n&&(vt(n)==="html"||vt(n)==="body"&&Be(n).position==="static"&&!Mn(n))?r:n||zu(t)||r}function ig(t){return Be(t).direction==="rtl"}var Km,ng,Mr,fs,ep=y(()=>{ps();ps();Ln();Vu();Km=xt(0);ng=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||Ju,a=this.getDimensions;return{reference:og(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};Mr={convertOffsetParentRelativeRectToViewportRelativeRect:qm,getDocumentElement:St,getClippingRect:tg,getOffsetParent:Ju,getElementRects:ng,getClientRects:Ym,getDimensions:rg,getScale:kr,isElement:it,isRTL:ig},fs=(t,e,r)=>{let n=new Map,i={platform:Mr,...r},a={...i.platform,_c:n};return Uu(t,e,{...i,platform:a})}});function ys(t){return ag(t)}function hs(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function ag(t){for(let e=t;e;e=hs(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=hs(t);e;e=hs(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}var tp=y(()=>{});var gs={};Z(gs,{computeFlipOffsetPosition:()=>sg,computeOffsetPosition:()=>ms});async function ms(t,e,r){return fs(t,e,{platform:{...Mr,getOffsetParent:n=>Mr.getOffsetParent(n,ys)},middleware:[us({crossAxis:!0}),cs({allowedPlacements:[r]})]})}async function sg(t,e,r,n,i){return fs(t,e,{placement:r,strategy:i,platform:{...Mr,getOffsetParent:a=>Mr.getOffsetParent(a,ys)},middleware:[ds(4),ls({fallbackPlacements:n})]})}var Bn=y(()=>{"use strict";ep();tp()});var Un,cg,lO,rp,op=y(()=>{Un=window,cg=Un.ShadowRoot&&(Un.ShadyCSS===void 0||Un.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,lO=Symbol(),rp=(t,e)=>{cg?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=Un.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})}});var bs={};Z(bs,{ScopedRegistryLitElement:()=>Mo});var Mo,Fn=y(()=>{"use strict";W();op();Mo=class extends yt{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 r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return rp(n,e.elementStyles),n}}});var xs={};Z(xs,{FtLitElement:()=>te});var Wn,sp,np,ip,cp,ap,te,Do=y(()=>{"use strict";oe();Tn();Nn();Fn();Wn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},np=Symbol("constructorPrototype"),ip=Symbol("constructorName"),cp=Symbol("exportpartsDebouncer"),ap=Symbol("dynamicDependenciesLoaded"),te=class extends Mo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[sp]=new Oe(5),this[ip]=this.constructor.name,this[np]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ip]&&Object.setPrototypeOf(this,this[np])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[ap]||(e[ap]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(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,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[cp].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 r,n,i,a,s,c;let d=g=>g!=null&&g.trim().length>0,u=e.filter(d).map(g=>g.trim());if(u.length===0){this.removeAttribute("exportparts");return}let f=new Set;for(let g of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(a=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],v=(c=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(A=>A.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...x,...v).filter(d).map(A=>A.trim()).forEach(A=>f.add(A))}if(f.size===0){this.removeAttribute("exportparts");return}let h=[...f.values()].flatMap(g=>u.map(x=>`${g}:${x}--${g}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};sp=cp;Wn([w()],te.prototype,"exportpartsPrefix",void 0);Wn([Ce([])],te.prototype,"exportpartsPrefixes",void 0);Wn([w()],te.prototype,"customStylesheet",void 0);Wn([fe()],te.prototype,"useAdoptedStyleSheets",void 0)});var Ss={};Z(Ss,{FtdsBase:()=>vs,toFtdsBase:()=>Hn});function Hn(t){class e extends t{constructor(){super(...arguments),this.size=bt.medium,this.family=lr.neutral}getDesignSystemBaseClasses(){return{[Ga(this.family)]:!0,[Ka(this.size)]:!0}}}return lp([w()],e.prototype,"size",void 0),lp([w()],e.prototype,"family",void 0),e}var lp,vs,Os=y(()=>{"use strict";Do();oe();K();lp=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};vs=class extends Hn(te){}});var dp={};var Cs=y(()=>{"use strict"});var pr,up=y(()=>{pr=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,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,r=[];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=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(c)};s||d(),a.forEach(u=>{t.matches(u,this.exclude)?d():this.onIframeReady(u,f=>{r(u)&&(c++,n(f)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let a=!1,s=!1;return i.forEach((c,d)=>{c.val===n&&(a=d,s=c.handled)}),this.compareNodeIframe(e,r,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,r,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,a){let s=this.createIterator(r,e,i),c=[],d=[],u,f,h=()=>({prevNode:f,node:u}=this.getIteratorNode(s),u);for(;h();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(u,f,g,c),g=>{this.createInstanceOnIframe(g).forEachNode(e,x=>d.push(x),i)}),d.push(u);d.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(c,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,d):d()})}}});var Bo,pp=y(()=>{up();Bo=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.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 pr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`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 r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+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,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=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${r}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.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 r=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(e,r){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-r>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,r,n){let i,a=!0,s=n.length,c=r-s,d=parseInt(e.start,10)-c;return d=d>s?s:d,i=d+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:a}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return pr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(n-r),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((s,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!i(s.node))return!1;let u=r-s.start,f=(n>s.end?s.end:n)-s.start,h=e.value.substr(0,s.start),g=e.value.substr(f+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,f),e.value=h+g,e.nodes.forEach((x,v)=>{v>=c&&(e.nodes[v].start>0&&v!==c&&(e.nodes[v].start-=f),e.nodes[v].end-=f)}),n-=f,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[s]!=="";){if(!n(u[s],d))continue;let f=u.index;if(s!==0)for(let h=1;h<s;h++)f+=u[h].length;d=this.wrapRangeInTextNode(d,f,f+u[s].length),i(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let h=1;h<s;h++)u+=d[h].length;let f=u+d[s].length;this.wrapRangeInMappedTextNode(c,u,f,h=>n(d[s],h),(h,g)=>{e.lastIndex=g,i(h)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,d)=>{let{start:u,end:f,valid:h}=this.checkWhitespaceRanges(c,s,a.value);h&&this.wrapRangeInMappedTextNode(a,u,f,g=>r(g,c,a.value.substring(u,f),d),g=>{n(g,c)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.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,r){this.opt=r,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,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=u=>{let f=new RegExp(this.createRegExp(u),`gm${c}`),h=0;this.log(`Searching with expression "${f}"`),this[i](f,1,(g,x)=>this.opt.filter(x,u,n,h),g=>{h++,n++,this.opt.each(g)},()=>{h===0&&this.opt.noMatch(u),a[s-1]===u?this.opt.done(n):d(a[a.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(e,r){this.opt=r;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,c,d)=>this.opt.filter(a,s,c,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=pr.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function Es(t){let e=new Bo(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var fp=y(()=>{pp()});var As={};Z(As,{highlightHtml:()=>ws,highlightHtmlColorCssVariable:()=>hp,highlightHtmlStyles:()=>dg});function ws(t,e,r){var n,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new lg(t);if(s.unmark(),e&&e.trim()){let c={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match"};r?.attributes!=null&&(c.each=u=>{for(let f in r.attributes)u.setAttribute(f,r.attributes[f])}),s.mark(e.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(u=>s.mark(u.replace(/"/g,""),{...c,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var lg,hp,dg,Rs=y(()=>{"use strict";W();K();fp();lg=Es,hp=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),dg=L`
|
|
7
7
|
.highlight-html-match {
|
|
8
|
-
background: ${
|
|
8
|
+
background: ${hp};
|
|
9
9
|
}
|
|
10
|
-
`});var Ps={};Z(Ps,{noTextInputDefaultClearButton:()=>_s,noTextSelect:()=>Uo,safariEllipsisFix:()=>Fo,wordWrap:()=>Ns});var Uo,Ns,Fo,_s,Ts=y(()=>{"use strict";W();Uo=
|
|
10
|
+
`});var Ps={};Z(Ps,{noTextInputDefaultClearButton:()=>_s,noTextSelect:()=>Uo,safariEllipsisFix:()=>Fo,wordWrap:()=>Ns});var Uo,Ns,Fo,_s,Ts=y(()=>{"use strict";W();Uo=L`
|
|
11
11
|
.ft-no-text-select {
|
|
12
12
|
-webkit-touch-callout: none;
|
|
13
13
|
-webkit-user-select: none;
|
|
@@ -16,7 +16,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
16
16
|
-ms-user-select: none;
|
|
17
17
|
user-select: none;
|
|
18
18
|
}
|
|
19
|
-
`,Ns=
|
|
19
|
+
`,Ns=L`
|
|
20
20
|
.ft-word-wrap {
|
|
21
21
|
white-space: normal;
|
|
22
22
|
word-wrap: break-word;
|
|
@@ -28,7 +28,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
28
28
|
-webkit-hyphens: auto;
|
|
29
29
|
hyphens: auto
|
|
30
30
|
}
|
|
31
|
-
`,Fo=
|
|
31
|
+
`,Fo=L`
|
|
32
32
|
.ft-safari-ellipsis-fix {
|
|
33
33
|
margin-right: 0;
|
|
34
34
|
|
|
@@ -39,15 +39,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
39
39
|
display: inline-block;
|
|
40
40
|
width: 0;
|
|
41
41
|
}
|
|
42
|
-
`,_s=
|
|
42
|
+
`,_s=L`
|
|
43
43
|
input::-webkit-search-cancel-button,
|
|
44
44
|
input::-webkit-search-decoration,
|
|
45
45
|
input::-webkit-search-results-button,
|
|
46
46
|
input::-webkit-search-results-decoration {
|
|
47
47
|
display: none;
|
|
48
48
|
}
|
|
49
|
-
`});var fp={};var Ls=y(()=>{"use strict"});var Is={};Z(Is,{ParametrizedLabelResolver:()=>Wo});var Wo,$s=y(()=>{"use strict";Wo=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}}});var sg,ne,cg,hp=y(()=>{"use strict";Lr();oe();sg=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},ne=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:Ao,attribute:!1,...e};w(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:c=>c[n],store:e.store})}},cg=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)}});var Ho,ks=y(()=>{"use strict";Ho=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}}});function fr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var zn=y(()=>{"use strict"});var yp,mp,gp,jn,kt,hr,Pe,bp=y(()=>{"use strict";Do();zn();jn=Symbol("internalReduxEventsUnsubscribers"),kt=Symbol("internalStoresUnsubscribers"),hr=Symbol("internalStores"),Pe=class extends ee{constructor(){super(...arguments),this[yp]=new Map,this[mp]=new Map,this[gp]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[hr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[hr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[hr].get(e)}addStore(e,r){var n;r=(n=r??(fr(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[hr].delete(r)}setupStore(e,r){this[hr].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[hr].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[kt].has(e.store):this[kt].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[kt].set(e,r.subscribe(()=>this.updateFromStores())),fr(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let s=c=>this[a](c);r.eventBus.addEventListener(i.eventName,s),this[jn].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[kt].forEach((e,r)=>this.unsubscribeFromStore(r)),this[jn].forEach(e=>e()),this[jn]=[]}unsubscribeFromStore(e){this[kt].has(e)&&this[kt].get(e)(),this[kt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};yp=kt,mp=hr,gp=jn;Pe.reduxProperties=new Map;Pe.reduxReactiveProperties=new Set;Pe.reduxEventListeners=new Map});function je(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ot(t){return!!t&&!!t[le]}function Ye(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===mg}(t)||Array.isArray(t)||!!t[wp]||!!(!((e=t.constructor)===null||e===void 0)&&e[wp])||js(t)||Vs(t))}function yr(t,e,r){r===void 0&&(r=!1),Ur(t)===0?(r?Object.keys:Br)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Ur(t){var e=t[le];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:js(t)?2:Vs(t)?3:0}function Dr(t,e){return Ur(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function lg(t,e){return Ur(t)===2?t.get(e):t[e]}function Ap(t,e,r){var n=Ur(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Rp(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function js(t){return hg&&t instanceof Map}function Vs(t){return yg&&t instanceof Set}function Mt(t){return t.o||t.t}function Ks(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Pp(t);delete e[le];for(var r=Br(e),n=0;n<r.length;n++){var i=r[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:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Gs(t,e){return e===void 0&&(e=!1),Zs(t)||Ot(t)||!Ye(t)||(Ur(t)>1&&(t.set=t.add=t.clear=t.delete=dg),Object.freeze(t),e&&yr(t,function(r,n){return Gs(n,!0)},!0)),t}function dg(){je(2)}function Zs(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function at(t){var e=zs[t];return e||je(18,t),e}function ug(t,e){zs[t]||(zs[t]=e)}function Fs(){return jo}function Ms(t,e){e&&(at("Patches"),t.u=[],t.s=[],t.v=e)}function Vn(t){Ws(t),t.p.forEach(pg),t.p=null}function Ws(t){t===jo&&(jo=t.l)}function xp(t){return jo={p:[],l:jo,h:t,m:!0,_:0}}function pg(t){var e=t[le];e.i===0||e.i===1?e.j():e.g=!0}function Ds(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||at("ES5").S(e,t,n),n?(r[le].P&&(Vn(e),je(4)),Ye(t)&&(t=Kn(e,t),e.l||Gn(e,t)),e.u&&at("Patches").M(r[le].t,t,e.u,e.s)):t=Kn(e,r,[]),Vn(e),e.u&&e.v(e.u,e.s),t!==_p?t:void 0}function Kn(t,e,r){if(Zs(e))return e;var n=e[le];if(!n)return yr(e,function(c,d){return vp(t,n,e,c,d,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Gn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Ks(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),yr(a,function(c,d){return vp(t,n,i,c,d,r,s)}),Gn(t,i,!1),r&&t.u&&at("Patches").N(n,r,t.u,t.s)}return n.o}function vp(t,e,r,n,i,a,s){if(Ot(i)){var c=Kn(t,i,a&&e&&e.i!==3&&!Dr(e.R,n)?a.concat(n):void 0);if(Ap(r,n,c),!Ot(c))return;t.m=!1}else s&&r.add(i);if(Ye(i)&&!Zs(i)){if(!t.h.D&&t._<1)return;Kn(t,i),e&&e.A.l||Gn(t,i)}}function Gn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Gs(e,r)}function Bs(t,e){var r=t[le];return(r?Mt(r):t)[e]}function Sp(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function Dt(t){t.P||(t.P=!0,t.l&&Dt(t.l))}function Us(t){t.o||(t.o=Ks(t.t))}function Hs(t,e,r){var n=js(e)?at("MapSet").F(e,r):Vs(e)?at("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Fs(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=c,u=Vo;s&&(d=[c],u=zo);var f=Proxy.revocable(d,u),h=f.revoke,g=f.proxy;return c.k=g,c.j=h,g}(e,r):at("ES5").J(e,r);return(r?r.A:Fs()).p.push(n),n}function fg(t){return Ot(t)||je(22,t),function e(r){if(!Ye(r))return r;var n,i=r[le],a=Ur(r);if(i){if(!i.P&&(i.i<4||!at("ES5").K(i)))return i.t;i.I=!0,n=Op(r,a),i.I=!1}else n=Op(r,a);return yr(n,function(s,c){i&&lg(i.t,s)===c||Ap(n,s,e(c))}),a===3?new Set(n):n}(t)}function Op(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Ks(t)}function Np(){function t(s,c){var d=a[s];return d?d.enumerable=c:a[s]=d={configurable:!0,enumerable:c,get:function(){var u=this[le];return Vo.get(u,s)},set:function(u){var f=this[le];Vo.set(f,s,u)}},d}function e(s){for(var c=s.length-1;c>=0;c--){var d=s[c][le];if(!d.P)switch(d.i){case 5:n(d)&&Dt(d);break;case 4:r(d)&&Dt(d)}}}function r(s){for(var c=s.t,d=s.k,u=Br(d),f=u.length-1;f>=0;f--){var h=u[f];if(h!==le){var g=c[h];if(g===void 0&&!Dr(c,h))return!0;var x=d[h],v=x&&x[le];if(v?v.t!==g:!Rp(x,g))return!0}}var A=!!c[le];return u.length!==Br(c).length+(A?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(c,c.length-1);if(d&&!d.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function i(s){s.g&&je(3,JSON.stringify(Mt(s)))}var a={};ug("ES5",{J:function(s,c){var d=Array.isArray(s),u=function(h,g){if(h){for(var x=Array(g.length),v=0;v<g.length;v++)Object.defineProperty(x,""+v,t(v,!0));return x}var A=Pp(g);delete A[le];for(var L=Br(A),N=0;N<L.length;N++){var T=L[N];A[T]=t(T,h||!!A[T].enumerable)}return Object.create(Object.getPrototypeOf(g),A)}(d,s),f={i:d?5:4,A:c?c.A:Fs(),P:!1,I:!1,R:{},l:c,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,le,{value:f,writable:!0}),u},S:function(s,c,d){d?Ot(c)&&c[le].A===s&&e(s.p):(s.u&&function u(f){if(f&&typeof f=="object"){var h=f[le];if(h){var g=h.t,x=h.k,v=h.R,A=h.i;if(A===4)yr(x,function(E){E!==le&&(g[E]!==void 0||Dr(g,E)?v[E]||u(x[E]):(v[E]=!0,Dt(h)))}),yr(g,function(E){x[E]!==void 0||Dr(x,E)||(v[E]=!1,Dt(h))});else if(A===5){if(n(h)&&(Dt(h),v.length=!0),x.length<g.length)for(var L=x.length;L<g.length;L++)v[L]=!1;else for(var N=g.length;N<x.length;N++)v[N]=!0;for(var T=Math.min(x.length,g.length),C=0;C<T;C++)x.hasOwnProperty(C)||(v[C]=!0),v[C]===void 0&&u(x[C])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Cp,jo,qs,hg,yg,Ep,_p,wp,le,mg,Br,Pp,zs,Vo,zo,gg,Ue,bg,EO,wO,AO,RO,NO,_O,Zn,qn=y(()=>{qs=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",hg=typeof Map<"u",yg=typeof Set<"u",Ep=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",_p=qs?Symbol.for("immer-nothing"):((Cp={})["immer-nothing"]=!0,Cp),wp=qs?Symbol.for("immer-draftable"):"__$immer_draftable",le=qs?Symbol.for("immer-state"):"__$immer_state",mg=""+Object.prototype.constructor,Br=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Pp=Object.getOwnPropertyDescriptors||function(t){var e={};return Br(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},zs={},Vo={get:function(t,e){if(e===le)return t;var r=Mt(t);if(!Dr(r,e))return function(i,a,s){var c,d=Sp(a,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!Ye(n)?n:n===Bs(t.t,e)?(Us(t),t.o[e]=Hs(t.A.h,n,t)):n},has:function(t,e){return e in Mt(t)},ownKeys:function(t){return Reflect.ownKeys(Mt(t))},set:function(t,e,r){var n=Sp(Mt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=Bs(Mt(t),e),a=i?.[le];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Rp(r,i)&&(r!==void 0||Dr(t.t,e)))return!0;Us(t),Dt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Bs(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Us(t),Dt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Mt(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){je(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){je(12)}},zo={};yr(Vo,function(t,e){zo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),zo.deleteProperty=function(t,e){return zo.set.call(this,t,e,void 0)},zo.set=function(t,e,r){return Vo.set.call(this,t[0],e,r,t[0])};gg=function(){function t(r){var n=this;this.O=Ep,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var d=n;return function(A){var L=this;A===void 0&&(A=c);for(var N=arguments.length,T=Array(N>1?N-1:0),C=1;C<N;C++)T[C-1]=arguments[C];return d.produce(A,function(E){var R;return(R=a).call.apply(R,[L,E].concat(T))})}}var u;if(typeof a!="function"&&je(6),s!==void 0&&typeof s!="function"&&je(7),Ye(i)){var f=xp(n),h=Hs(n,i,void 0),g=!0;try{u=a(h),g=!1}finally{g?Vn(f):Ws(f)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(A){return Ms(f,s),Ds(A,f)},function(A){throw Vn(f),A}):(Ms(f,s),Ds(u,f))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===_p&&(u=void 0),n.D&&Gs(u,!0),s){var x=[],v=[];at("Patches").M(i,u,x,v),s(x,v)}return u}je(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var f=arguments.length,h=Array(f>1?f-1:0),g=1;g<f;g++)h[g-1]=arguments[g];return n.produceWithPatches(u,function(x){return i.apply(void 0,[x].concat(h))})};var s,c,d=n.produce(i,a,function(u,f){s=u,c=f});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,c]}):[d,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Ye(r)||je(8),Ot(r)&&(r=fg(r));var n=xp(this),i=Hs(this,r,void 0);return i[le].C=!0,Ws(n),i},e.finishDraft=function(r,n){var i=r&&r[le],a=i.A;return Ms(a,n),Ds(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Ep&&je(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var s=at("Patches").$;return Ot(r)?s(r,n):this.produce(r,function(c){return s(c,n)})},t}(),Ue=new gg,bg=Ue.produce,EO=Ue.produceWithPatches.bind(Ue),wO=Ue.setAutoFreeze.bind(Ue),AO=Ue.setUseProxies.bind(Ue),RO=Ue.applyPatches.bind(Ue),NO=Ue.createDraft.bind(Ue),_O=Ue.finishDraft.bind(Ue),Zn=bg});function Bt(t){"@babel/helpers - typeof";return Bt=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},Bt(t)}var Ys=y(()=>{});function Xs(t,e){if(Bt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Bt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Tp=y(()=>{Ys()});function Qs(t){var e=Xs(t,"string");return Bt(e)==="symbol"?e:String(e)}var Lp=y(()=>{Ys();Tp()});function Js(t,e,r){return e=Qs(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ip=y(()=>{Lp()});function $p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Yn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?$p(Object(r),!0).forEach(function(n){Js(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$p(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var kp=y(()=>{Ip()});function Ce(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. "}function xg(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function tc(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ce(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ce(1));return r(tc)(t,e)}if(typeof t!="function")throw new Error(Ce(2));var i=t,a=e,s=[],c=s,d=!1;function u(){c===s&&(c=s.slice())}function f(){if(d)throw new Error(Ce(3));return a}function h(A){if(typeof A!="function")throw new Error(Ce(4));if(d)throw new Error(Ce(5));var L=!0;return u(),c.push(A),function(){if(L){if(d)throw new Error(Ce(6));L=!1,u();var T=c.indexOf(A);c.splice(T,1),s=null}}}function g(A){if(!xg(A))throw new Error(Ce(7));if(typeof A.type>"u")throw new Error(Ce(8));if(d)throw new Error(Ce(9));try{d=!0,a=i(a,A)}finally{d=!1}for(var L=s=c,N=0;N<L.length;N++){var T=L[N];T()}return A}function x(A){if(typeof A!="function")throw new Error(Ce(10));i=A,g({type:Xn.REPLACE})}function v(){var A,L=h;return A={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error(Ce(11));function C(){T.next&&T.next(f())}C();var E=L(C);return{unsubscribe:E}}},A[Mp]=function(){return this},A}return g({type:Xn.INIT}),n={dispatch:g,subscribe:h,getState:f,replaceReducer:x},n[Mp]=v,n}function vg(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Xn.INIT});if(typeof n>"u")throw new Error(Ce(12));if(typeof r(void 0,{type:Xn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ce(13))})}function Dp(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),s,c;try{vg(r)}catch(d){c=d}return function(u,f){if(u===void 0&&(u={}),c)throw c;if(0)var h;for(var g=!1,x={},v=0;v<a.length;v++){var A=a[v],L=r[A],N=u[A],T=L(N,f);if(typeof T>"u"){var C=f&&f.type;throw new Error(Ce(14))}x[A]=T,g=g||T!==N}return g=g||a.length!==Object.keys(u).length,g?x:u}}function Fr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];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 Bp(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Ce(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(d){return d(s)});return a=Fr.apply(void 0,c)(i.dispatch),Yn(Yn({},i),{},{dispatch:a})}}}var Mp,ec,Xn,Qn=y(()=>{kp();Mp=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ec=function(){return Math.random().toString(36).substring(7).split("").join(".")},Xn={INIT:"@@redux/INIT"+ec(),REPLACE:"@@redux/REPLACE"+ec(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ec()}}});function Up(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,t):s(c)}}};return e}var Fp,rc,Wp=y(()=>{Fp=Up();Fp.withExtraArgument=Up;rc=Fp});function _g(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}function ac(t){return Ye(t)?Zn(t,function(){}):t}function Lg(t){return typeof t=="boolean"}function Ig(){return function(e){return $g(e)}}function $g(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,c=new Pg;if(r&&(Lg(r)?c.push(rc):c.push(rc.withExtraArgument(r.extraArgument))),0){if(i)var d;if(s)var u}return c}function Gp(t){var e=Ig(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,c=r.devTools,d=c===void 0?!0:c,u=r.preloadedState,f=u===void 0?void 0:u,h=r.enhancers,g=h===void 0?void 0:h,x;if(typeof i=="function")x=i;else if(_g(i))x=Dp(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 v=s;if(typeof v=="function"&&(v=v(e),!nc&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!nc&&v.some(function(E){return typeof E!="function"}))throw new Error("each middleware provided to configureStore must be a function");var A=Bp.apply(void 0,v),L=Fr;d&&(L=Ng(Ut({trace:!nc},typeof d=="object"&&d)));var N=new Tg(A),T=N;Array.isArray(g)?T=Wr([A],g):typeof g=="function"&&(T=g(N));var C=L.apply(void 0,T);return tc(x,f,C)}function Ft(t,e){function r(){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 Ut(Ut({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function Zp(t){var e={},r=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function kg(t){return typeof t=="function"}function Mg(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?Zp(e):[e,r,n],a=i[0],s=i[1],c=i[2],d;if(kg(t))d=function(){return ac(t())};else{var u=ac(t);d=function(){return u}}function f(h,g){h===void 0&&(h=d());var x=Wr([a[g.type]],s.filter(function(v){var A=v.matcher;return A(g)}).map(function(v){var A=v.reducer;return A}));return x.filter(function(v){return!!v}).length===0&&(x=[c]),x.reduce(function(v,A){if(A)if(Ot(v)){var L=v,N=A(L,g);return N===void 0?v:N}else{if(Ye(v))return Zn(v,function(T){return A(T,g)});var N=A(v,g);if(N===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return v},h)}return f.getInitialState=d,f}function Dg(t,e){return t+"/"+e}function qp(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:ac(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(f){var h=n[f],g=Dg(e,f),x,v;"reducer"in h?(x=h.reducer,v=h.prepare):x=h,a[f]=x,s[g]=x,c[f]=v?Ft(g,v):Ft(g)});function d(){var f=typeof t.extraReducers=="function"?Zp(t.extraReducers):[t.extraReducers],h=f[0],g=h===void 0?{}:h,x=f[1],v=x===void 0?[]:x,A=f[2],L=A===void 0?void 0:A,N=Ut(Ut({},g),s);return Mg(r,function(T){for(var C in N)T.addCase(C,N[C]);for(var E=0,R=v;E<R.length;E++){var U=R[E];T.addMatcher(U.matcher,U.reducer)}L&&T.addDefaultCase(L)})}var u;return{name:e,reducer:function(f,h){return u||(u=d()),u(f,h)},actions:c,caseReducers:a,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}function Hg(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function zg(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Kp,Sg,Wr,Og,Cg,Eg,Hp,wg,Ag,zp,Ut,oc,Rg,Ng,GO,Pg,Tg,nc,Bg,Ug,Fg,ic,jp,Wg,XO,Yp,Xp,Qp,QO,JO,eC,tC,sc,rC,oC,nC,Vp,iC,jg,aC,Jp=y(()=>{qn();Qn();Qn();Qn();Wp();qn();qn();Kp=function(){var t=function(e,r){return t=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])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Sg=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(f){return d([u,f])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){r.label=u[1];break}if(u[0]===6&&r.label<a[1]){r.label=a[1],a=u;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(u);break}a[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(f){u=[6,f],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Wr=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Og=Object.defineProperty,Cg=Object.defineProperties,Eg=Object.getOwnPropertyDescriptors,Hp=Object.getOwnPropertySymbols,wg=Object.prototype.hasOwnProperty,Ag=Object.prototype.propertyIsEnumerable,zp=function(t,e,r){return e in t?Og(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Ut=function(t,e){for(var r in e||(e={}))wg.call(e,r)&&zp(t,r,e[r]);if(Hp)for(var n=0,i=Hp(e);n<i.length;n++){var r=i[n];Ag.call(e,r)&&zp(t,r,e[r])}return t},oc=function(t,e){return Cg(t,Eg(e))},Rg=function(t,e,r){return new Promise(function(n,i){var a=function(d){try{c(r.next(d))}catch(u){i(u)}},s=function(d){try{c(r.throw(d))}catch(u){i(u)}},c=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};c((r=r.apply(t,e)).next())})},Ng=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Fr:Fr.apply(null,arguments)},GO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};Pg=function(t){Kp(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||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 r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Wr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Wr([void 0],r.concat(this))))},e}(Array),Tg=function(t){Kp(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||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 r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Wr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Wr([void 0],r.concat(this))))},e}(Array);nc=!0;Bg="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Ug=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Bg[Math.random()*64|0];return e},Fg=["name","message","stack","code"],ic=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),jp=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Wg=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Fg;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},XO=function(){function t(e,r,n){var i=Ft(e+"/fulfilled",function(f,h,g,x){return{payload:f,meta:oc(Ut({},x||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),a=Ft(e+"/pending",function(f,h,g){return{payload:void 0,meta:oc(Ut({},g||{}),{arg:h,requestId:f,requestStatus:"pending"})}}),s=Ft(e+"/rejected",function(f,h,g,x,v){return{payload:x,error:(n&&n.serializeError||Wg)(f||"Rejected"),meta:oc(Ut({},v||{}),{arg:g,requestId:h,rejectedWithValue:!!x,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),c=!1,d=typeof AbortController<"u"?AbortController:function(){function f(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return f.prototype.abort=function(){},f}();function u(f){return function(h,g,x){var v=n?.idGenerator?n.idGenerator(f):Ug(),A=new d,L,N=!1;function T(E){L=E,A.abort()}var C=function(){return Rg(this,null,function(){var E,R,U,q,X,Q,D;return Sg(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),q=(E=n?.condition)==null?void 0:E.call(n,f,{getState:g,extra:x}),zg(q)?[4,q]:[3,2];case 1:q=m.sent(),m.label=2;case 2:if(q===!1||A.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,X=new Promise(function(S,M){return A.signal.addEventListener("abort",function(){return M({name:"AbortError",message:L||"Aborted"})})}),h(a(v,f,(R=n?.getPendingMeta)==null?void 0:R.call(n,{requestId:v,arg:f},{getState:g,extra:x}))),[4,Promise.race([X,Promise.resolve(r(f,{dispatch:h,getState:g,extra:x,requestId:v,signal:A.signal,abort:T,rejectWithValue:function(S,M){return new ic(S,M)},fulfillWithValue:function(S,M){return new jp(S,M)}})).then(function(S){if(S instanceof ic)throw S;return S instanceof jp?i(S.payload,v,f,S.meta):i(S,v,f)})])];case 3:return U=m.sent(),[3,5];case 4:return Q=m.sent(),U=Q instanceof ic?s(null,v,f,Q.payload,Q.meta):s(Q,v,f),[3,5];case 5:return D=n&&!n.dispatchConditionRejection&&s.match(U)&&U.meta.condition,D||h(U),[2,U]}})})}();return Object.assign(C,{abort:T,requestId:v,arg:f,unwrap:function(){return C.then(Hg)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();Yp="listener",Xp="completed",Qp="cancelled",QO="task-"+Qp,JO="task-"+Xp,eC=Yp+"-"+Qp,tC=Yp+"-"+Xp,sc="listenerMiddleware",rC=Ft(sc+"/add"),oC=Ft(sc+"/removeAll"),nC=Ft(sc+"/remove"),iC=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Vp||(Vp=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},jg=function(t){return function(e){setTimeout(e,t)}},aC=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:jg(10);Np()});function Vg(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))fr(e)&&e.clear()}var Ct,ef=y(()=>{"use strict";Jp();zn();ks();window.ftReduxStores||(window.ftReduxStores={});Ct=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(fr(a))return a;if(i==null)return;let s=qp({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=Gp({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:s.reducer(d,u)});return window.ftReduxStores[i.name]=new t(s,c)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Ho,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...d)=>{let u=c(...d);return this.reduxStore.dispatch(u),u}:d=>{this.setState({[s]:d})}}})}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()}}});var cc={};Z(cc,{FtCommandQueue:()=>Ho,FtLitElementRedux:()=>Pe,FtReduxStore:()=>Ct,clearAllStores:()=>Vg,isFtReduxStore:()=>fr,redux:()=>ne,reduxEventListener:()=>cg,reduxReactive:()=>sg});var Jn=y(()=>{"use strict";hp();ks();bp();ef();zn()});var pc={};Z(pc,{scrollHelper:()=>uc});var lc,ei,dc,uc,fc=y(()=>{"use strict";Lr();ei=new Map,dc=class{lock(e,r){if(r){let n=ei.get(r);if(n==null||n===e)return ei.set(r,e),r}}release(e,r){r&&ei.get(r)===e&&ei.delete(r)}findFirstScrollableParent(e){let r,n=i=>{var a;i.stopPropagation();let s,c;for(let d of i.composedPath()){let u=d,f=this.elementCanScroll(u);if(f&&u.clientHeight&&u.clientHeight<u.scrollHeight){s=u;break}else f&&c==null&&(c=u)}r=(a=s??c)!==null&&a!==void 0?a:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),r}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){let n=0;for(;r&&r.offsetParent!==e.offsetParent;)n+=r.offsetTop,r=r.offsetParent;return n+r.offsetTop-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,c=ba(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,c)*(a-s)+s;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(lc=window.FluidTopicsScrollHelper)!==null&&lc!==void 0?lc:new dc;uc=window.FluidTopicsScrollHelper});var hc={};Z(hc,{shadowQuerySelector:()=>Kg,shadowQuerySelectorAll:()=>Gg});function Kg(t,e,...r){var n;let i=t.querySelector(e);for(let a of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function Gg(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(a=>{var s,c;return[...(c=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var yc=y(()=>{"use strict"});var rf=Oy((Wt,tf)=>{var ti=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ri=function(){function t(){this.fetch=!1,this.DOMException=ti.DOMException}return t.prototype=ti,new t}();(function(t){var e=function(r){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(m){return m&&DataView.prototype.isPrototypeOf(m)}if(i.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(m){return m&&s.indexOf(Object.prototype.toString.call(m))>-1};function d(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(m)||m==="")throw new TypeError('Invalid character in header field name: "'+m+'"');return m.toLowerCase()}function u(m){return typeof m!="string"&&(m=String(m)),m}function f(m){var S={next:function(){var M=m.shift();return{done:M===void 0,value:M}}};return i.iterable&&(S[Symbol.iterator]=function(){return S}),S}function h(m){this.map={},m instanceof h?m.forEach(function(S,M){this.append(M,S)},this):Array.isArray(m)?m.forEach(function(S){if(S.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+S.length);this.append(S[0],S[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(S){this.append(S,m[S])},this)}h.prototype.append=function(m,S){m=d(m),S=u(S);var M=this.map[m];this.map[m]=M?M+", "+S:S},h.prototype.delete=function(m){delete this.map[d(m)]},h.prototype.get=function(m){return m=d(m),this.has(m)?this.map[m]:null},h.prototype.has=function(m){return this.map.hasOwnProperty(d(m))},h.prototype.set=function(m,S){this.map[d(m)]=u(S)},h.prototype.forEach=function(m,S){for(var M in this.map)this.map.hasOwnProperty(M)&&m.call(S,this.map[M],M,this)},h.prototype.keys=function(){var m=[];return this.forEach(function(S,M){m.push(M)}),f(m)},h.prototype.values=function(){var m=[];return this.forEach(function(S){m.push(S)}),f(m)},h.prototype.entries=function(){var m=[];return this.forEach(function(S,M){m.push([M,S])}),f(m)},i.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function g(m){if(!m._noBody){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}}function x(m){return new Promise(function(S,M){m.onload=function(){S(m.result)},m.onerror=function(){M(m.error)}})}function v(m){var S=new FileReader,M=x(S);return S.readAsArrayBuffer(m),M}function A(m){var S=new FileReader,M=x(S),K=/charset=([A-Za-z0-9_-]+)/.exec(m.type),Y=K?K[1]:"utf-8";return S.readAsText(m,Y),M}function L(m){for(var S=new Uint8Array(m),M=new Array(S.length),K=0;K<S.length;K++)M[K]=String.fromCharCode(S[K]);return M.join("")}function N(m){if(m.slice)return m.slice(0);var S=new Uint8Array(m.byteLength);return S.set(new Uint8Array(m)),S.buffer}function T(){return this.bodyUsed=!1,this._initBody=function(m){this.bodyUsed=this.bodyUsed,this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:i.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:i.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():i.arrayBuffer&&i.blob&&a(m)?(this._bodyArrayBuffer=N(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||c(m))?this._bodyArrayBuffer=N(m):this._bodyText=m=Object.prototype.toString.call(m):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var m=g(this);if(m)return m;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var m=g(this);return m||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var m=g(this);if(m)return m;if(this._bodyBlob)return A(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(L(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(U)}),this.json=function(){return this.text().then(JSON.parse)},this}var C=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function E(m){var S=m.toUpperCase();return C.indexOf(S)>-1?S:m}function R(m,S){if(!(this instanceof R))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');S=S||{};var M=S.body;if(m instanceof R){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,S.headers||(this.headers=new h(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!M&&m._bodyInit!=null&&(M=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=S.credentials||this.credentials||"same-origin",(S.headers||!this.headers)&&(this.headers=new h(S.headers)),this.method=E(S.method||this.method||"GET"),this.mode=S.mode||this.mode||null,this.signal=S.signal||this.signal||function(){if("AbortController"in n){var z=new AbortController;return z.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&M)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(M),(this.method==="GET"||this.method==="HEAD")&&(S.cache==="no-store"||S.cache==="no-cache")){var K=/([?&])_=[^&]*/;if(K.test(this.url))this.url=this.url.replace(K,"$1_="+new Date().getTime());else{var Y=/\?/;this.url+=(Y.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}R.prototype.clone=function(){return new R(this,{body:this._bodyInit})};function U(m){var S=new FormData;return m.trim().split("&").forEach(function(M){if(M){var K=M.split("="),Y=K.shift().replace(/\+/g," "),z=K.join("=").replace(/\+/g," ");S.append(decodeURIComponent(Y),decodeURIComponent(z))}}),S}function q(m){var S=new h,M=m.replace(/\r?\n[\t ]+/g," ");return M.split("\r").map(function(K){return K.indexOf(`
|
|
50
|
-
`)===0?K.substr(1,K.length):K}).forEach(function(K){var Y=K.split(":"),z=Y.shift().trim();if(z){var Je=Y.join(":").trim();try{S.append(z,Je)}catch(co){console.warn("Response "+co.message)}}}),S}T.call(R.prototype);function X(m,S){if(!(this instanceof X))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(S||(S={}),this.type="default",this.status=S.status===void 0?200:S.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=S.statusText===void 0?"":""+S.statusText,this.headers=new h(S.headers),this.url=S.url||"",this._initBody(m)}T.call(X.prototype),X.prototype.clone=function(){return new X(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},X.error=function(){var m=new X(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var Q=[301,302,303,307,308];X.redirect=function(m,S){if(Q.indexOf(S)===-1)throw new RangeError("Invalid status code");return new X(null,{status:S,headers:{location:m}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(S,M){this.message=S,this.name=M;var K=Error(S);this.stack=K.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function D(m,S){return new Promise(function(M,K){var Y=new R(m,S);if(Y.signal&&Y.signal.aborted)return K(new r.DOMException("Aborted","AbortError"));var z=new XMLHttpRequest;function Je(){z.abort()}z.onload=function(){var Se={statusText:z.statusText,headers:q(z.getAllResponseHeaders()||"")};Y.url.indexOf("file://")===0&&(z.status<200||z.status>599)?Se.status=200:Se.status=z.status,Se.url="responseURL"in z?z.responseURL:Se.headers.get("X-Request-URL");var qt="response"in z?z.response:z.responseText;setTimeout(function(){M(new X(qt,Se))},0)},z.onerror=function(){setTimeout(function(){K(new TypeError("Network request failed"))},0)},z.ontimeout=function(){setTimeout(function(){K(new TypeError("Network request timed out"))},0)},z.onabort=function(){setTimeout(function(){K(new r.DOMException("Aborted","AbortError"))},0)};function co(Se){try{return Se===""&&n.location.href?n.location.href:Se}catch{return Se}}if(z.open(Y.method,co(Y.url),!0),Y.credentials==="include"?z.withCredentials=!0:Y.credentials==="omit"&&(z.withCredentials=!1),"responseType"in z&&(i.blob?z.responseType="blob":i.arrayBuffer&&(z.responseType="arraybuffer")),S&&typeof S.headers=="object"&&!(S.headers instanceof h||n.Headers&&S.headers instanceof n.Headers)){var Vl=[];Object.getOwnPropertyNames(S.headers).forEach(function(Se){Vl.push(d(Se)),z.setRequestHeader(Se,u(S.headers[Se]))}),Y.headers.forEach(function(Se,qt){Vl.indexOf(qt)===-1&&z.setRequestHeader(qt,Se)})}else Y.headers.forEach(function(Se,qt){z.setRequestHeader(qt,Se)});Y.signal&&(Y.signal.addEventListener("abort",Je),z.onreadystatechange=function(){z.readyState===4&&Y.signal.removeEventListener("abort",Je)}),z.send(typeof Y._bodyInit>"u"?null:Y._bodyInit)})}return D.polyfill=!0,n.fetch||(n.fetch=D,n.Headers=h,n.Request=R,n.Response=X),r.Headers=h,r.Request=R,r.Response=X,r.fetch=D,r}({})})(ri);ri.fetch.ponyfill=!0;delete ri.fetch.polyfill;var Hr=ti.fetch?ti:ri;Wt=Hr.fetch;Wt.default=Hr.fetch;Wt.fetch=Hr.fetch;Wt.Headers=Hr.Headers;Wt.Request=Hr.Request;Wt.Response=Hr.Response;tf.exports=Wt});var of=y(()=>{});var nf,af,sf,cf,lf,df,uf,pf,ff,hf,yf,zr,bf,mf,oi,gf,Ko,xf,jr,Vr,ve,mc=y(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(nf||(nf={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(af||(af={}));(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(sf||(sf={}));(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(cf||(cf={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(lf||(lf={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(df||(df={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(uf||(uf={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(pf||(pf={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(ff||(ff={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(hf||(hf={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(yf||(yf={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(zr||(zr={}));bf=t=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(t);(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(mf||(mf={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(oi||(oi={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(gf||(gf={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Ko||(Ko={}));xf=t=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(t);(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(jr||(jr={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(Vr||(Vr={}));(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(ve||(ve={}))});var vf,Sf=y(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(vf||(vf={}))});var CC,Of=y(()=>{mc();CC={[ve.PERSONAL_BOOK_SHARE_USER]:[ve.PERSONAL_BOOK_USER],[ve.HTML_EXPORT_USER]:[ve.PERSONAL_BOOK_USER],[ve.PDF_EXPORT_USER]:[ve.PERSONAL_BOOK_USER],[ve.KHUB_ADMIN]:[ve.CONTENT_PUBLISHER],[ve.ADMIN]:[ve.KHUB_ADMIN,ve.USERS_ADMIN,ve.PORTAL_ADMIN],[ve.DEVELOPER]:[ve.BETA_USER,ve.DEBUG_USER]}});var Cf=y(()=>{});var Zg,ni=y(()=>{Zg=Ey(rf(),1);of();mc();Sf();Of();Cf()});var gc={};Z(gc,{SearchPlaceConverter:()=>ii,SearchPlaceQueryParams:()=>ce,isSearchPlaceQueryParams:()=>Ef,serializeRequest:()=>Xg});function qg(t){return`"${t}"`}function Yg(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Xg(t,e){return new ii(t,{}).serialize(e)}function Ef(t){return Qg.has(t)}var ce,Qg,ii,bc=y(()=>{"use strict";ni();(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort"})(ce||(ce={}));Qg=new Set(Object.values(ce));ii=class{constructor(e,r){this.baseUrl=e,this.predefinedSorts=r,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r="/search"){let n=this.toURLSearchParams(e).toString();return new URL(`${this.baseUrl.replace(/\/+$/,"")}${r}?${n}`).href}toURLSearchParams(e){var r,n,i,a,s,c,d,u,f,h;let g=new URLSearchParams({[ce.LOCALE]:(r=e.contentLocale)!==null&&r!==void 0?r:"all"});((n=e.query)===null||n===void 0?void 0:n.length)>0&&g.append(ce.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&g.append(ce.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&g.append(ce.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&g.append(ce.SORT,"last_update");let x=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(N=>N.valueFilter))!==null&&s!==void 0?s:[];if(x.length>0){let N=x.map(T=>{var C,E;let R=((E=(C=T.valueFilter)===null||C===void 0?void 0:C.values)!==null&&E!==void 0?E:[]).map(U=>this.escapeFilters(U)).map(U=>encodeURIComponent(qg(U))).join("_");return`${T.key}~${R}`}).join("*");g.append(ce.VALUE_FILTERS,N)}let v=(d=(c=e.metadataFilters)===null||c===void 0?void 0:c.filter(N=>N.dateFilter))!==null&&d!==void 0?d:[];if(v.length>0){let N=v.map(T=>{var C;return`${T.key}~${(C=T.dateFilter)===null||C===void 0?void 0:C.type.toLowerCase()}`}).join("*");g.append(ce.DATE_FILTERS,N)}let A=(f=(u=e.metadataFilters)===null||u===void 0?void 0:u.filter(N=>N.rangeFilter))!==null&&f!==void 0?f:[];if(A.length>0){let N=A.map(T=>{var C,E;return`${T.key}~${(C=T.rangeFilter)===null||C===void 0?void 0:C.from}_${(E=T.rangeFilter)===null||E===void 0?void 0:E.to}`}).join("*");g.append(ce.RANGE_FILTERS,N)}let L=(h=e.otherQueryParams)!==null&&h!==void 0?h:{};for(let N in L)g.append(N,L[N]);return g}parse(e){var r;let n=e.split("?"),i=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:i.scope}}fromURLSearchParams(e){var r,n,i,a,s,c,d,u;let f=((r=e.get(ce.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),h=((n=e.get(ce.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),g=(i=e.get(ce.SCOPE))!==null&&i!==void 0?i:"default",x={};for(let v of e.keys())Ef(v)||(x[v]=e.get(v));return{contentLocale:e.get(ce.LOCALE)==="all"?void 0:(a=e.get(ce.LOCALE))!==null&&a!==void 0?a:void 0,query:decodeURIComponent((s=e.get(ce.QUERY))!==null&&s!==void 0?s:""),scope:(c=this.scopeMapping[g])!==null&&c!==void 0?c:"DEFAULT",virtualField:bf(f)?f:"EVERYWHERE",sort:(u=(d=this.predefinedSorts[h])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:20},otherQueryParams:x}}parseCompatFilters(e){var r,n,i,a,s,c;let d=[];return e.has(ce.FILTERS)&&(d=this.parseValueFilters((r=e.get(ce.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(ce.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((i=e.get(ce.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(ce.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(ce.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(ce.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(Yg).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Ko[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}superEscapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(n,i);return e}unescapeFilterValue(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replace(i,r);return e}parseLegacyPeriodFilter(e){if(xf(e))return[{key:"ft:lastEdition",dateFilter:{type:Ko[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}}});var vc={};Z(vc,{toFtFormComponent:()=>xc});function xc(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[ai].form}constructor(...i){super(i),this[ai]=this.attachInternals(),this[ai].role=e}setFormValue(i){this[ai].setFormValue(i)}}return r}var ai,Sc=y(()=>{"use strict";ai=Symbol("elementInternals")});var Oc={};Z(Oc,{DateFormatter:()=>Kr});var Kr,si=y(()=>{"use strict";Kr=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}}});var Cc,Ec,wc,Ac,Rc,Jg,k=y(()=>{"use strict";Gl();W();oe();An();Nr();qd();wo();fa();Rn();ma();Nn();Tn();Ya();ts();Bn();Ln();Os();Do();Cs();Lr();Rs();Ts();Ls();$s();Jn();Fn();fc();yc();bc();Sc();si();G();fa();Rn();ma();si();Nn();Tn();Ya();ts();Bn();Ln();Os();Do();Cs();Lr();Rs();Ts();Ls();$s();Jn();Fn();fc();yc();bc();Sc();G();Rc=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((wc=(Ec=(Cc=window.safari)===null||Cc===void 0?void 0:Cc.pushNotification)===null||Ec===void 0?void 0:Ec.toString())!==null&&wc!==void 0?wc:"")==="[object SafariRemoteNotification]",Jg="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ac=window.ftGlobals)!==null&&Ac!==void 0?Ac:{lit:ra,litDecorators:aa,litRepeat:sa,litClassMap:ca,litStyleMap:la,litUnsafeHTML:da,wcUtils:{...pa,...ua,...ya,...Oc,...ga,...va,...qa,...es,...gs,...Za,...Ss,...xs,...cp,...xa,...As,...Ps,...fp,...Is,...cc,...bs,...pc,...hc,...gc,...vc,isSafari:Rc,isTouchScreen:Jg,setVariable:O}}});var wf,_,Af,Rf,Nf,_f,Pf,mr=y(()=>{"use strict";W();k();wf=o.extend("--ft-ripple-color","",$.colorContent),_={color:wf,backgroundColor:o.extend("--ft-ripple-background-color","",wf),opacityContentOnSurfacePressed:o.external($.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external($.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external($.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external($.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Af=o.extend("--ft-ripple-color","",$.colorPrimary),Rf={color:Af,backgroundColor:o.extend("--ft-ripple-background-color","",Af)},Nf=o.extend("--ft-ripple-color","",$.colorSecondary),_f={color:Nf,backgroundColor:o.extend("--ft-ripple-background-color","",Nf)},Pf=I`
|
|
49
|
+
`});var yp={};var Is=y(()=>{"use strict"});var Ls={};Z(Ls,{ParametrizedLabelResolver:()=>Wo});var Wo,$s=y(()=>{"use strict";Wo=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}}});var ug,ie,pg,mp=y(()=>{"use strict";Ir();oe();ug=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},ie=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:Ao,attribute:!1,...e};w(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:c=>c[n],store:e.store})}},pg=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)}});var Ho,ks=y(()=>{"use strict";Ho=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}}});function fr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var zn=y(()=>{"use strict"});var gp,bp,xp,jn,kt,hr,Pe,vp=y(()=>{"use strict";Do();zn();jn=Symbol("internalReduxEventsUnsubscribers"),kt=Symbol("internalStoresUnsubscribers"),hr=Symbol("internalStores"),Pe=class extends te{constructor(){super(...arguments),this[gp]=new Map,this[bp]=new Map,this[xp]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[hr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[hr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[hr].get(e)}addStore(e,r){var n;r=(n=r??(fr(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[hr].delete(r)}setupStore(e,r){this[hr].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[hr].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[kt].has(e.store):this[kt].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[kt].set(e,r.subscribe(()=>this.updateFromStores())),fr(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let s=c=>this[a](c);r.eventBus.addEventListener(i.eventName,s),this[jn].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[kt].forEach((e,r)=>this.unsubscribeFromStore(r)),this[jn].forEach(e=>e()),this[jn]=[]}unsubscribeFromStore(e){this[kt].has(e)&&this[kt].get(e)(),this[kt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};gp=kt,bp=hr,xp=jn;Pe.reduxProperties=new Map;Pe.reduxReactiveProperties=new Set;Pe.reduxEventListeners=new Map});function je(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ot(t){return!!t&&!!t[le]}function Ye(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===vg}(t)||Array.isArray(t)||!!t[Rp]||!!(!((e=t.constructor)===null||e===void 0)&&e[Rp])||js(t)||Vs(t))}function yr(t,e,r){r===void 0&&(r=!1),Ur(t)===0?(r?Object.keys:Br)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Ur(t){var e=t[le];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:js(t)?2:Vs(t)?3:0}function Dr(t,e){return Ur(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function fg(t,e){return Ur(t)===2?t.get(e):t[e]}function Np(t,e,r){var n=Ur(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function _p(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function js(t){return bg&&t instanceof Map}function Vs(t){return xg&&t instanceof Set}function Mt(t){return t.o||t.t}function Gs(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Ip(t);delete e[le];for(var r=Br(e),n=0;n<r.length;n++){var i=r[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:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Ks(t,e){return e===void 0&&(e=!1),Zs(t)||Ot(t)||!Ye(t)||(Ur(t)>1&&(t.set=t.add=t.clear=t.delete=hg),Object.freeze(t),e&&yr(t,function(r,n){return Ks(n,!0)},!0)),t}function hg(){je(2)}function Zs(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function at(t){var e=zs[t];return e||je(18,t),e}function yg(t,e){zs[t]||(zs[t]=e)}function Fs(){return jo}function Ms(t,e){e&&(at("Patches"),t.u=[],t.s=[],t.v=e)}function Vn(t){Ws(t),t.p.forEach(mg),t.p=null}function Ws(t){t===jo&&(jo=t.l)}function Sp(t){return jo={p:[],l:jo,h:t,m:!0,_:0}}function mg(t){var e=t[le];e.i===0||e.i===1?e.j():e.g=!0}function Ds(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||at("ES5").S(e,t,n),n?(r[le].P&&(Vn(e),je(4)),Ye(t)&&(t=Gn(e,t),e.l||Kn(e,t)),e.u&&at("Patches").M(r[le].t,t,e.u,e.s)):t=Gn(e,r,[]),Vn(e),e.u&&e.v(e.u,e.s),t!==Tp?t:void 0}function Gn(t,e,r){if(Zs(e))return e;var n=e[le];if(!n)return yr(e,function(c,d){return Op(t,n,e,c,d,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Kn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Gs(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),yr(a,function(c,d){return Op(t,n,i,c,d,r,s)}),Kn(t,i,!1),r&&t.u&&at("Patches").N(n,r,t.u,t.s)}return n.o}function Op(t,e,r,n,i,a,s){if(Ot(i)){var c=Gn(t,i,a&&e&&e.i!==3&&!Dr(e.R,n)?a.concat(n):void 0);if(Np(r,n,c),!Ot(c))return;t.m=!1}else s&&r.add(i);if(Ye(i)&&!Zs(i)){if(!t.h.D&&t._<1)return;Gn(t,i),e&&e.A.l||Kn(t,i)}}function Kn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Ks(e,r)}function Bs(t,e){var r=t[le];return(r?Mt(r):t)[e]}function Cp(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function Dt(t){t.P||(t.P=!0,t.l&&Dt(t.l))}function Us(t){t.o||(t.o=Gs(t.t))}function Hs(t,e,r){var n=js(e)?at("MapSet").F(e,r):Vs(e)?at("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Fs(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=c,u=Vo;s&&(d=[c],u=zo);var f=Proxy.revocable(d,u),h=f.revoke,g=f.proxy;return c.k=g,c.j=h,g}(e,r):at("ES5").J(e,r);return(r?r.A:Fs()).p.push(n),n}function gg(t){return Ot(t)||je(22,t),function e(r){if(!Ye(r))return r;var n,i=r[le],a=Ur(r);if(i){if(!i.P&&(i.i<4||!at("ES5").K(i)))return i.t;i.I=!0,n=Ep(r,a),i.I=!1}else n=Ep(r,a);return yr(n,function(s,c){i&&fg(i.t,s)===c||Np(n,s,e(c))}),a===3?new Set(n):n}(t)}function Ep(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Gs(t)}function Pp(){function t(s,c){var d=a[s];return d?d.enumerable=c:a[s]=d={configurable:!0,enumerable:c,get:function(){var u=this[le];return Vo.get(u,s)},set:function(u){var f=this[le];Vo.set(f,s,u)}},d}function e(s){for(var c=s.length-1;c>=0;c--){var d=s[c][le];if(!d.P)switch(d.i){case 5:n(d)&&Dt(d);break;case 4:r(d)&&Dt(d)}}}function r(s){for(var c=s.t,d=s.k,u=Br(d),f=u.length-1;f>=0;f--){var h=u[f];if(h!==le){var g=c[h];if(g===void 0&&!Dr(c,h))return!0;var x=d[h],v=x&&x[le];if(v?v.t!==g:!_p(x,g))return!0}}var A=!!c[le];return u.length!==Br(c).length+(A?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(c,c.length-1);if(d&&!d.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function i(s){s.g&&je(3,JSON.stringify(Mt(s)))}var a={};yg("ES5",{J:function(s,c){var d=Array.isArray(s),u=function(h,g){if(h){for(var x=Array(g.length),v=0;v<g.length;v++)Object.defineProperty(x,""+v,t(v,!0));return x}var A=Ip(g);delete A[le];for(var I=Br(A),N=0;N<I.length;N++){var T=I[N];A[T]=t(T,h||!!A[T].enumerable)}return Object.create(Object.getPrototypeOf(g),A)}(d,s),f={i:d?5:4,A:c?c.A:Fs(),P:!1,I:!1,R:{},l:c,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,le,{value:f,writable:!0}),u},S:function(s,c,d){d?Ot(c)&&c[le].A===s&&e(s.p):(s.u&&function u(f){if(f&&typeof f=="object"){var h=f[le];if(h){var g=h.t,x=h.k,v=h.R,A=h.i;if(A===4)yr(x,function(E){E!==le&&(g[E]!==void 0||Dr(g,E)?v[E]||u(x[E]):(v[E]=!0,Dt(h)))}),yr(g,function(E){x[E]!==void 0||Dr(x,E)||(v[E]=!1,Dt(h))});else if(A===5){if(n(h)&&(Dt(h),v.length=!0),x.length<g.length)for(var I=x.length;I<g.length;I++)v[I]=!1;else for(var N=g.length;N<x.length;N++)v[N]=!0;for(var T=Math.min(x.length,g.length),C=0;C<T;C++)x.hasOwnProperty(C)||(v[C]=!0),v[C]===void 0&&u(x[C])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var wp,jo,qs,bg,xg,Ap,Tp,Rp,le,vg,Br,Ip,zs,Vo,zo,Sg,Ue,Og,DO,BO,UO,FO,WO,HO,Zn,qn=y(()=>{qs=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",bg=typeof Map<"u",xg=typeof Set<"u",Ap=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Tp=qs?Symbol.for("immer-nothing"):((wp={})["immer-nothing"]=!0,wp),Rp=qs?Symbol.for("immer-draftable"):"__$immer_draftable",le=qs?Symbol.for("immer-state"):"__$immer_state",vg=""+Object.prototype.constructor,Br=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ip=Object.getOwnPropertyDescriptors||function(t){var e={};return Br(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},zs={},Vo={get:function(t,e){if(e===le)return t;var r=Mt(t);if(!Dr(r,e))return function(i,a,s){var c,d=Cp(a,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!Ye(n)?n:n===Bs(t.t,e)?(Us(t),t.o[e]=Hs(t.A.h,n,t)):n},has:function(t,e){return e in Mt(t)},ownKeys:function(t){return Reflect.ownKeys(Mt(t))},set:function(t,e,r){var n=Cp(Mt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=Bs(Mt(t),e),a=i?.[le];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(_p(r,i)&&(r!==void 0||Dr(t.t,e)))return!0;Us(t),Dt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Bs(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Us(t),Dt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Mt(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){je(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){je(12)}},zo={};yr(Vo,function(t,e){zo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),zo.deleteProperty=function(t,e){return zo.set.call(this,t,e,void 0)},zo.set=function(t,e,r){return Vo.set.call(this,t[0],e,r,t[0])};Sg=function(){function t(r){var n=this;this.O=Ap,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var d=n;return function(A){var I=this;A===void 0&&(A=c);for(var N=arguments.length,T=Array(N>1?N-1:0),C=1;C<N;C++)T[C-1]=arguments[C];return d.produce(A,function(E){var R;return(R=a).call.apply(R,[I,E].concat(T))})}}var u;if(typeof a!="function"&&je(6),s!==void 0&&typeof s!="function"&&je(7),Ye(i)){var f=Sp(n),h=Hs(n,i,void 0),g=!0;try{u=a(h),g=!1}finally{g?Vn(f):Ws(f)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(A){return Ms(f,s),Ds(A,f)},function(A){throw Vn(f),A}):(Ms(f,s),Ds(u,f))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===Tp&&(u=void 0),n.D&&Ks(u,!0),s){var x=[],v=[];at("Patches").M(i,u,x,v),s(x,v)}return u}je(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var f=arguments.length,h=Array(f>1?f-1:0),g=1;g<f;g++)h[g-1]=arguments[g];return n.produceWithPatches(u,function(x){return i.apply(void 0,[x].concat(h))})};var s,c,d=n.produce(i,a,function(u,f){s=u,c=f});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,c]}):[d,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Ye(r)||je(8),Ot(r)&&(r=gg(r));var n=Sp(this),i=Hs(this,r,void 0);return i[le].C=!0,Ws(n),i},e.finishDraft=function(r,n){var i=r&&r[le],a=i.A;return Ms(a,n),Ds(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Ap&&je(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var s=at("Patches").$;return Ot(r)?s(r,n):this.produce(r,function(c){return s(c,n)})},t}(),Ue=new Sg,Og=Ue.produce,DO=Ue.produceWithPatches.bind(Ue),BO=Ue.setAutoFreeze.bind(Ue),UO=Ue.setUseProxies.bind(Ue),FO=Ue.applyPatches.bind(Ue),WO=Ue.createDraft.bind(Ue),HO=Ue.finishDraft.bind(Ue),Zn=Og});function Bt(t){"@babel/helpers - typeof";return Bt=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},Bt(t)}var Ys=y(()=>{});function Qs(t,e){if(Bt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Bt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Lp=y(()=>{Ys()});function Xs(t){var e=Qs(t,"string");return Bt(e)==="symbol"?e:String(e)}var $p=y(()=>{Ys();Lp()});function Js(t,e,r){return e=Xs(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kp=y(()=>{$p()});function Mp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Yn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Mp(Object(r),!0).forEach(function(n){Js(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Mp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var Dp=y(()=>{kp()});function Ee(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. "}function Cg(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function tc(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ee(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ee(1));return r(tc)(t,e)}if(typeof t!="function")throw new Error(Ee(2));var i=t,a=e,s=[],c=s,d=!1;function u(){c===s&&(c=s.slice())}function f(){if(d)throw new Error(Ee(3));return a}function h(A){if(typeof A!="function")throw new Error(Ee(4));if(d)throw new Error(Ee(5));var I=!0;return u(),c.push(A),function(){if(I){if(d)throw new Error(Ee(6));I=!1,u();var T=c.indexOf(A);c.splice(T,1),s=null}}}function g(A){if(!Cg(A))throw new Error(Ee(7));if(typeof A.type>"u")throw new Error(Ee(8));if(d)throw new Error(Ee(9));try{d=!0,a=i(a,A)}finally{d=!1}for(var I=s=c,N=0;N<I.length;N++){var T=I[N];T()}return A}function x(A){if(typeof A!="function")throw new Error(Ee(10));i=A,g({type:Qn.REPLACE})}function v(){var A,I=h;return A={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error(Ee(11));function C(){T.next&&T.next(f())}C();var E=I(C);return{unsubscribe:E}}},A[Bp]=function(){return this},A}return g({type:Qn.INIT}),n={dispatch:g,subscribe:h,getState:f,replaceReducer:x},n[Bp]=v,n}function Eg(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Qn.INIT});if(typeof n>"u")throw new Error(Ee(12));if(typeof r(void 0,{type:Qn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ee(13))})}function Up(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),s,c;try{Eg(r)}catch(d){c=d}return function(u,f){if(u===void 0&&(u={}),c)throw c;if(0)var h;for(var g=!1,x={},v=0;v<a.length;v++){var A=a[v],I=r[A],N=u[A],T=I(N,f);if(typeof T>"u"){var C=f&&f.type;throw new Error(Ee(14))}x[A]=T,g=g||T!==N}return g=g||a.length!==Object.keys(u).length,g?x:u}}function Fr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];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 Fp(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Ee(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(d){return d(s)});return a=Fr.apply(void 0,c)(i.dispatch),Yn(Yn({},i),{},{dispatch:a})}}}var Bp,ec,Qn,Xn=y(()=>{Dp();Bp=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ec=function(){return Math.random().toString(36).substring(7).split("").join(".")},Qn={INIT:"@@redux/INIT"+ec(),REPLACE:"@@redux/REPLACE"+ec(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ec()}}});function Wp(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,t):s(c)}}};return e}var Hp,rc,zp=y(()=>{Hp=Wp();Hp.withExtraArgument=Wp;rc=Hp});function Lg(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}function ac(t){return Ye(t)?Zn(t,function(){}):t}function Mg(t){return typeof t=="boolean"}function Dg(){return function(e){return Bg(e)}}function Bg(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,c=new $g;if(r&&(Mg(r)?c.push(rc):c.push(rc.withExtraArgument(r.extraArgument))),0){if(i)var d;if(s)var u}return c}function qp(t){var e=Dg(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,c=r.devTools,d=c===void 0?!0:c,u=r.preloadedState,f=u===void 0?void 0:u,h=r.enhancers,g=h===void 0?void 0:h,x;if(typeof i=="function")x=i;else if(Lg(i))x=Up(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 v=s;if(typeof v=="function"&&(v=v(e),!nc&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!nc&&v.some(function(E){return typeof E!="function"}))throw new Error("each middleware provided to configureStore must be a function");var A=Fp.apply(void 0,v),I=Fr;d&&(I=Ig(Ut({trace:!nc},typeof d=="object"&&d)));var N=new kg(A),T=N;Array.isArray(g)?T=Wr([A],g):typeof g=="function"&&(T=g(N));var C=I.apply(void 0,T);return tc(x,f,C)}function Ft(t,e){function r(){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 Ut(Ut({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function Yp(t){var e={},r=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function Ug(t){return typeof t=="function"}function Fg(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?Yp(e):[e,r,n],a=i[0],s=i[1],c=i[2],d;if(Ug(t))d=function(){return ac(t())};else{var u=ac(t);d=function(){return u}}function f(h,g){h===void 0&&(h=d());var x=Wr([a[g.type]],s.filter(function(v){var A=v.matcher;return A(g)}).map(function(v){var A=v.reducer;return A}));return x.filter(function(v){return!!v}).length===0&&(x=[c]),x.reduce(function(v,A){if(A)if(Ot(v)){var I=v,N=A(I,g);return N===void 0?v:N}else{if(Ye(v))return Zn(v,function(T){return A(T,g)});var N=A(v,g);if(N===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return v},h)}return f.getInitialState=d,f}function Wg(t,e){return t+"/"+e}function Qp(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:ac(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(f){var h=n[f],g=Wg(e,f),x,v;"reducer"in h?(x=h.reducer,v=h.prepare):x=h,a[f]=x,s[g]=x,c[f]=v?Ft(g,v):Ft(g)});function d(){var f=typeof t.extraReducers=="function"?Yp(t.extraReducers):[t.extraReducers],h=f[0],g=h===void 0?{}:h,x=f[1],v=x===void 0?[]:x,A=f[2],I=A===void 0?void 0:A,N=Ut(Ut({},g),s);return Fg(r,function(T){for(var C in N)T.addCase(C,N[C]);for(var E=0,R=v;E<R.length;E++){var U=R[E];T.addMatcher(U.matcher,U.reducer)}I&&T.addDefaultCase(I)})}var u;return{name:e,reducer:function(f,h){return u||(u=d()),u(f,h)},actions:c,caseReducers:a,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}function Gg(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Kg(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Zp,wg,Wr,Ag,Rg,Ng,jp,_g,Pg,Vp,Ut,oc,Tg,Ig,aC,$g,kg,nc,Hg,zg,jg,ic,Gp,Vg,dC,Xp,Jp,ef,uC,pC,fC,hC,sc,yC,mC,gC,Kp,bC,Zg,xC,tf=y(()=>{qn();Xn();Xn();Xn();zp();qn();qn();Zp=function(){var t=function(e,r){return t=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])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),wg=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(f){return d([u,f])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){r.label=u[1];break}if(u[0]===6&&r.label<a[1]){r.label=a[1],a=u;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(u);break}a[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(f){u=[6,f],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Wr=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Ag=Object.defineProperty,Rg=Object.defineProperties,Ng=Object.getOwnPropertyDescriptors,jp=Object.getOwnPropertySymbols,_g=Object.prototype.hasOwnProperty,Pg=Object.prototype.propertyIsEnumerable,Vp=function(t,e,r){return e in t?Ag(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Ut=function(t,e){for(var r in e||(e={}))_g.call(e,r)&&Vp(t,r,e[r]);if(jp)for(var n=0,i=jp(e);n<i.length;n++){var r=i[n];Pg.call(e,r)&&Vp(t,r,e[r])}return t},oc=function(t,e){return Rg(t,Ng(e))},Tg=function(t,e,r){return new Promise(function(n,i){var a=function(d){try{c(r.next(d))}catch(u){i(u)}},s=function(d){try{c(r.throw(d))}catch(u){i(u)}},c=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};c((r=r.apply(t,e)).next())})},Ig=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Fr:Fr.apply(null,arguments)},aC=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};$g=function(t){Zp(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||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 r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Wr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Wr([void 0],r.concat(this))))},e}(Array),kg=function(t){Zp(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||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 r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Wr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Wr([void 0],r.concat(this))))},e}(Array);nc=!0;Hg="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",zg=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Hg[Math.random()*64|0];return e},jg=["name","message","stack","code"],ic=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Gp=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Vg=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=jg;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},dC=function(){function t(e,r,n){var i=Ft(e+"/fulfilled",function(f,h,g,x){return{payload:f,meta:oc(Ut({},x||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),a=Ft(e+"/pending",function(f,h,g){return{payload:void 0,meta:oc(Ut({},g||{}),{arg:h,requestId:f,requestStatus:"pending"})}}),s=Ft(e+"/rejected",function(f,h,g,x,v){return{payload:x,error:(n&&n.serializeError||Vg)(f||"Rejected"),meta:oc(Ut({},v||{}),{arg:g,requestId:h,rejectedWithValue:!!x,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),c=!1,d=typeof AbortController<"u"?AbortController:function(){function f(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return f.prototype.abort=function(){},f}();function u(f){return function(h,g,x){var v=n?.idGenerator?n.idGenerator(f):zg(),A=new d,I,N=!1;function T(E){I=E,A.abort()}var C=function(){return Tg(this,null,function(){var E,R,U,q,X,ee,D;return wg(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),q=(E=n?.condition)==null?void 0:E.call(n,f,{getState:g,extra:x}),Kg(q)?[4,q]:[3,2];case 1:q=m.sent(),m.label=2;case 2:if(q===!1||A.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,X=new Promise(function(S,M){return A.signal.addEventListener("abort",function(){return M({name:"AbortError",message:I||"Aborted"})})}),h(a(v,f,(R=n?.getPendingMeta)==null?void 0:R.call(n,{requestId:v,arg:f},{getState:g,extra:x}))),[4,Promise.race([X,Promise.resolve(r(f,{dispatch:h,getState:g,extra:x,requestId:v,signal:A.signal,abort:T,rejectWithValue:function(S,M){return new ic(S,M)},fulfillWithValue:function(S,M){return new Gp(S,M)}})).then(function(S){if(S instanceof ic)throw S;return S instanceof Gp?i(S.payload,v,f,S.meta):i(S,v,f)})])];case 3:return U=m.sent(),[3,5];case 4:return ee=m.sent(),U=ee instanceof ic?s(null,v,f,ee.payload,ee.meta):s(ee,v,f),[3,5];case 5:return D=n&&!n.dispatchConditionRejection&&s.match(U)&&U.meta.condition,D||h(U),[2,U]}})})}();return Object.assign(C,{abort:T,requestId:v,arg:f,unwrap:function(){return C.then(Gg)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();Xp="listener",Jp="completed",ef="cancelled",uC="task-"+ef,pC="task-"+Jp,fC=Xp+"-"+ef,hC=Xp+"-"+Jp,sc="listenerMiddleware",yC=Ft(sc+"/add"),mC=Ft(sc+"/removeAll"),gC=Ft(sc+"/remove"),bC=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Kp||(Kp=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Zg=function(t){return function(e){setTimeout(e,t)}},xC=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Zg(10);Pp()});function qg(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))fr(e)&&e.clear()}var Ct,rf=y(()=>{"use strict";tf();zn();ks();window.ftReduxStores||(window.ftReduxStores={});Ct=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(fr(a))return a;if(i==null)return;let s=Qp({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=qp({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:s.reducer(d,u)});return window.ftReduxStores[i.name]=new t(s,c)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Ho,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...d)=>{let u=c(...d);return this.reduxStore.dispatch(u),u}:d=>{this.setState({[s]:d})}}})}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()}}});var cc={};Z(cc,{FtCommandQueue:()=>Ho,FtLitElementRedux:()=>Pe,FtReduxStore:()=>Ct,clearAllStores:()=>qg,isFtReduxStore:()=>fr,redux:()=>ie,reduxEventListener:()=>pg,reduxReactive:()=>ug});var Jn=y(()=>{"use strict";mp();ks();vp();rf();zn()});var pc={};Z(pc,{scrollHelper:()=>uc});var lc,ei,dc,uc,fc=y(()=>{"use strict";Ir();ei=new Map,dc=class{lock(e,r){if(r){let n=ei.get(r);if(n==null||n===e)return ei.set(r,e),r}}release(e,r){r&&ei.get(r)===e&&ei.delete(r)}findFirstScrollableParent(e){let r,n=i=>{var a;i.stopPropagation();let s,c;for(let d of i.composedPath()){let u=d,f=this.elementCanScroll(u);if(f&&u.clientHeight&&u.clientHeight<u.scrollHeight){s=u;break}else f&&c==null&&(c=u)}r=(a=s??c)!==null&&a!==void 0?a:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),r}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){let n=0;for(;r&&r.offsetParent!==e.offsetParent;)n+=r.offsetTop,r=r.offsetParent;return n+r.offsetTop-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,c=ba(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,c)*(a-s)+s;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(lc=window.FluidTopicsScrollHelper)!==null&&lc!==void 0?lc:new dc;uc=window.FluidTopicsScrollHelper});var hc={};Z(hc,{shadowQuerySelector:()=>Yg,shadowQuerySelectorAll:()=>Qg});function Yg(t,e,...r){var n;let i=t.querySelector(e);for(let a of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function Qg(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(a=>{var s,c;return[...(c=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var yc=y(()=>{"use strict"});var nf=Ey((Wt,of)=>{var ti=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ri=function(){function t(){this.fetch=!1,this.DOMException=ti.DOMException}return t.prototype=ti,new t}();(function(t){var e=function(r){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(m){return m&&DataView.prototype.isPrototypeOf(m)}if(i.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(m){return m&&s.indexOf(Object.prototype.toString.call(m))>-1};function d(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(m)||m==="")throw new TypeError('Invalid character in header field name: "'+m+'"');return m.toLowerCase()}function u(m){return typeof m!="string"&&(m=String(m)),m}function f(m){var S={next:function(){var M=m.shift();return{done:M===void 0,value:M}}};return i.iterable&&(S[Symbol.iterator]=function(){return S}),S}function h(m){this.map={},m instanceof h?m.forEach(function(S,M){this.append(M,S)},this):Array.isArray(m)?m.forEach(function(S){if(S.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+S.length);this.append(S[0],S[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(S){this.append(S,m[S])},this)}h.prototype.append=function(m,S){m=d(m),S=u(S);var M=this.map[m];this.map[m]=M?M+", "+S:S},h.prototype.delete=function(m){delete this.map[d(m)]},h.prototype.get=function(m){return m=d(m),this.has(m)?this.map[m]:null},h.prototype.has=function(m){return this.map.hasOwnProperty(d(m))},h.prototype.set=function(m,S){this.map[d(m)]=u(S)},h.prototype.forEach=function(m,S){for(var M in this.map)this.map.hasOwnProperty(M)&&m.call(S,this.map[M],M,this)},h.prototype.keys=function(){var m=[];return this.forEach(function(S,M){m.push(M)}),f(m)},h.prototype.values=function(){var m=[];return this.forEach(function(S){m.push(S)}),f(m)},h.prototype.entries=function(){var m=[];return this.forEach(function(S,M){m.push([M,S])}),f(m)},i.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function g(m){if(!m._noBody){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}}function x(m){return new Promise(function(S,M){m.onload=function(){S(m.result)},m.onerror=function(){M(m.error)}})}function v(m){var S=new FileReader,M=x(S);return S.readAsArrayBuffer(m),M}function A(m){var S=new FileReader,M=x(S),G=/charset=([A-Za-z0-9_-]+)/.exec(m.type),Y=G?G[1]:"utf-8";return S.readAsText(m,Y),M}function I(m){for(var S=new Uint8Array(m),M=new Array(S.length),G=0;G<S.length;G++)M[G]=String.fromCharCode(S[G]);return M.join("")}function N(m){if(m.slice)return m.slice(0);var S=new Uint8Array(m.byteLength);return S.set(new Uint8Array(m)),S.buffer}function T(){return this.bodyUsed=!1,this._initBody=function(m){this.bodyUsed=this.bodyUsed,this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:i.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:i.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():i.arrayBuffer&&i.blob&&a(m)?(this._bodyArrayBuffer=N(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||c(m))?this._bodyArrayBuffer=N(m):this._bodyText=m=Object.prototype.toString.call(m):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var m=g(this);if(m)return m;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var m=g(this);return m||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var m=g(this);if(m)return m;if(this._bodyBlob)return A(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(I(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(U)}),this.json=function(){return this.text().then(JSON.parse)},this}var C=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function E(m){var S=m.toUpperCase();return C.indexOf(S)>-1?S:m}function R(m,S){if(!(this instanceof R))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');S=S||{};var M=S.body;if(m instanceof R){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,S.headers||(this.headers=new h(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!M&&m._bodyInit!=null&&(M=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=S.credentials||this.credentials||"same-origin",(S.headers||!this.headers)&&(this.headers=new h(S.headers)),this.method=E(S.method||this.method||"GET"),this.mode=S.mode||this.mode||null,this.signal=S.signal||this.signal||function(){if("AbortController"in n){var z=new AbortController;return z.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&M)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(M),(this.method==="GET"||this.method==="HEAD")&&(S.cache==="no-store"||S.cache==="no-cache")){var G=/([?&])_=[^&]*/;if(G.test(this.url))this.url=this.url.replace(G,"$1_="+new Date().getTime());else{var Y=/\?/;this.url+=(Y.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}R.prototype.clone=function(){return new R(this,{body:this._bodyInit})};function U(m){var S=new FormData;return m.trim().split("&").forEach(function(M){if(M){var G=M.split("="),Y=G.shift().replace(/\+/g," "),z=G.join("=").replace(/\+/g," ");S.append(decodeURIComponent(Y),decodeURIComponent(z))}}),S}function q(m){var S=new h,M=m.replace(/\r?\n[\t ]+/g," ");return M.split("\r").map(function(G){return G.indexOf(`
|
|
50
|
+
`)===0?G.substr(1,G.length):G}).forEach(function(G){var Y=G.split(":"),z=Y.shift().trim();if(z){var Je=Y.join(":").trim();try{S.append(z,Je)}catch(co){console.warn("Response "+co.message)}}}),S}T.call(R.prototype);function X(m,S){if(!(this instanceof X))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(S||(S={}),this.type="default",this.status=S.status===void 0?200:S.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=S.statusText===void 0?"":""+S.statusText,this.headers=new h(S.headers),this.url=S.url||"",this._initBody(m)}T.call(X.prototype),X.prototype.clone=function(){return new X(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},X.error=function(){var m=new X(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var ee=[301,302,303,307,308];X.redirect=function(m,S){if(ee.indexOf(S)===-1)throw new RangeError("Invalid status code");return new X(null,{status:S,headers:{location:m}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(S,M){this.message=S,this.name=M;var G=Error(S);this.stack=G.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function D(m,S){return new Promise(function(M,G){var Y=new R(m,S);if(Y.signal&&Y.signal.aborted)return G(new r.DOMException("Aborted","AbortError"));var z=new XMLHttpRequest;function Je(){z.abort()}z.onload=function(){var Se={statusText:z.statusText,headers:q(z.getAllResponseHeaders()||"")};Y.url.indexOf("file://")===0&&(z.status<200||z.status>599)?Se.status=200:Se.status=z.status,Se.url="responseURL"in z?z.responseURL:Se.headers.get("X-Request-URL");var qt="response"in z?z.response:z.responseText;setTimeout(function(){M(new X(qt,Se))},0)},z.onerror=function(){setTimeout(function(){G(new TypeError("Network request failed"))},0)},z.ontimeout=function(){setTimeout(function(){G(new TypeError("Network request timed out"))},0)},z.onabort=function(){setTimeout(function(){G(new r.DOMException("Aborted","AbortError"))},0)};function co(Se){try{return Se===""&&n.location.href?n.location.href:Se}catch{return Se}}if(z.open(Y.method,co(Y.url),!0),Y.credentials==="include"?z.withCredentials=!0:Y.credentials==="omit"&&(z.withCredentials=!1),"responseType"in z&&(i.blob?z.responseType="blob":i.arrayBuffer&&(z.responseType="arraybuffer")),S&&typeof S.headers=="object"&&!(S.headers instanceof h||n.Headers&&S.headers instanceof n.Headers)){var Vl=[];Object.getOwnPropertyNames(S.headers).forEach(function(Se){Vl.push(d(Se)),z.setRequestHeader(Se,u(S.headers[Se]))}),Y.headers.forEach(function(Se,qt){Vl.indexOf(qt)===-1&&z.setRequestHeader(qt,Se)})}else Y.headers.forEach(function(Se,qt){z.setRequestHeader(qt,Se)});Y.signal&&(Y.signal.addEventListener("abort",Je),z.onreadystatechange=function(){z.readyState===4&&Y.signal.removeEventListener("abort",Je)}),z.send(typeof Y._bodyInit>"u"?null:Y._bodyInit)})}return D.polyfill=!0,n.fetch||(n.fetch=D,n.Headers=h,n.Request=R,n.Response=X),r.Headers=h,r.Request=R,r.Response=X,r.fetch=D,r}({})})(ri);ri.fetch.ponyfill=!0;delete ri.fetch.polyfill;var Hr=ti.fetch?ti:ri;Wt=Hr.fetch;Wt.default=Hr.fetch;Wt.fetch=Hr.fetch;Wt.Headers=Hr.Headers;Wt.Request=Hr.Request;Wt.Response=Hr.Response;of.exports=Wt});var af=y(()=>{});var sf,cf,lf,df,uf,pf,ff,hf,yf,mf,gf,zr,vf,bf,oi,xf,Go,Sf,jr,Vr,ve,mc=y(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(sf||(sf={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(cf||(cf={}));(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(lf||(lf={}));(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(df||(df={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(uf||(uf={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(pf||(pf={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(ff||(ff={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(hf||(hf={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(yf||(yf={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(mf||(mf={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(gf||(gf={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(zr||(zr={}));vf=t=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(t);(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(bf||(bf={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(oi||(oi={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(xf||(xf={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Go||(Go={}));Sf=t=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(t);(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(jr||(jr={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(Vr||(Vr={}));(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(ve||(ve={}))});var Of,Cf=y(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Of||(Of={}))});var MC,Ef=y(()=>{mc();MC={[ve.PERSONAL_BOOK_SHARE_USER]:[ve.PERSONAL_BOOK_USER],[ve.HTML_EXPORT_USER]:[ve.PERSONAL_BOOK_USER],[ve.PDF_EXPORT_USER]:[ve.PERSONAL_BOOK_USER],[ve.KHUB_ADMIN]:[ve.CONTENT_PUBLISHER],[ve.ADMIN]:[ve.KHUB_ADMIN,ve.USERS_ADMIN,ve.PORTAL_ADMIN],[ve.DEVELOPER]:[ve.BETA_USER,ve.DEBUG_USER]}});var wf=y(()=>{});var Xg,ni=y(()=>{Xg=Ay(nf(),1);af();mc();Cf();Ef();wf()});var gc={};Z(gc,{SearchPlaceConverter:()=>ii,SearchPlaceQueryParams:()=>ce,isSearchPlaceQueryParams:()=>Af,serializeRequest:()=>tb});function Jg(t){return`"${t}"`}function eb(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function tb(t,e){return new ii(t,{}).serialize(e)}function Af(t){return rb.has(t)}var ce,rb,ii,bc=y(()=>{"use strict";ni();(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort"})(ce||(ce={}));rb=new Set(Object.values(ce));ii=class{constructor(e,r){this.baseUrl=e,this.predefinedSorts=r,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r="/search"){let n=this.toURLSearchParams(e).toString();return new URL(`${this.baseUrl.replace(/\/+$/,"")}${r}?${n}`).href}toURLSearchParams(e){var r,n,i,a,s,c,d,u,f,h;let g=new URLSearchParams({[ce.LOCALE]:(r=e.contentLocale)!==null&&r!==void 0?r:"all"});((n=e.query)===null||n===void 0?void 0:n.length)>0&&g.append(ce.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&g.append(ce.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&g.append(ce.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&g.append(ce.SORT,"last_update");let x=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(N=>N.valueFilter))!==null&&s!==void 0?s:[];if(x.length>0){let N=x.map(T=>{var C,E;let R=((E=(C=T.valueFilter)===null||C===void 0?void 0:C.values)!==null&&E!==void 0?E:[]).map(U=>this.escapeFilters(U)).map(U=>encodeURIComponent(Jg(U))).join("_");return`${T.key}~${R}`}).join("*");g.append(ce.VALUE_FILTERS,N)}let v=(d=(c=e.metadataFilters)===null||c===void 0?void 0:c.filter(N=>N.dateFilter))!==null&&d!==void 0?d:[];if(v.length>0){let N=v.map(T=>{var C;return`${T.key}~${(C=T.dateFilter)===null||C===void 0?void 0:C.type.toLowerCase()}`}).join("*");g.append(ce.DATE_FILTERS,N)}let A=(f=(u=e.metadataFilters)===null||u===void 0?void 0:u.filter(N=>N.rangeFilter))!==null&&f!==void 0?f:[];if(A.length>0){let N=A.map(T=>{var C,E;return`${T.key}~${(C=T.rangeFilter)===null||C===void 0?void 0:C.from}_${(E=T.rangeFilter)===null||E===void 0?void 0:E.to}`}).join("*");g.append(ce.RANGE_FILTERS,N)}let I=(h=e.otherQueryParams)!==null&&h!==void 0?h:{};for(let N in I)g.append(N,I[N]);return g}parse(e){var r;let n=e.split("?"),i=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:i.scope}}fromURLSearchParams(e){var r,n,i,a,s,c,d,u;let f=((r=e.get(ce.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),h=((n=e.get(ce.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),g=(i=e.get(ce.SCOPE))!==null&&i!==void 0?i:"default",x={};for(let v of e.keys())Af(v)||(x[v]=e.get(v));return{contentLocale:e.get(ce.LOCALE)==="all"?void 0:(a=e.get(ce.LOCALE))!==null&&a!==void 0?a:void 0,query:decodeURIComponent((s=e.get(ce.QUERY))!==null&&s!==void 0?s:""),scope:(c=this.scopeMapping[g])!==null&&c!==void 0?c:"DEFAULT",virtualField:vf(f)?f:"EVERYWHERE",sort:(u=(d=this.predefinedSorts[h])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:20},otherQueryParams:x}}parseCompatFilters(e){var r,n,i,a,s,c;let d=[];return e.has(ce.FILTERS)&&(d=this.parseValueFilters((r=e.get(ce.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(ce.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((i=e.get(ce.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(ce.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(ce.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(ce.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(eb).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Go[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}superEscapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(n,i);return e}unescapeFilterValue(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replace(i,r);return e}parseLegacyPeriodFilter(e){if(Sf(e))return[{key:"ft:lastEdition",dateFilter:{type:Go[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}}});var vc={};Z(vc,{toFtFormComponent:()=>xc});function xc(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[ai].form}constructor(...i){super(i),this[ai]=this.attachInternals(),this[ai].role=e}setFormValue(i){this[ai].setFormValue(i)}}return r}var ai,Sc=y(()=>{"use strict";ai=Symbol("elementInternals")});var Oc={};Z(Oc,{DateFormatter:()=>Gr});var Gr,si=y(()=>{"use strict";Gr=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}}});var Cc,Ec,wc,Ac,Rc,ob,k=y(()=>{"use strict";Kl();W();oe();An();Nr();qd();wo();fa();Rn();ma();Nn();Tn();Ya();ts();Bn();In();Os();Do();Cs();Ir();Rs();Ts();Is();$s();Jn();Fn();fc();yc();bc();Sc();si();K();fa();Rn();ma();si();Nn();Tn();Ya();ts();Bn();In();Os();Do();Cs();Ir();Rs();Ts();Is();$s();Jn();Fn();fc();yc();bc();Sc();K();Rc=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((wc=(Ec=(Cc=window.safari)===null||Cc===void 0?void 0:Cc.pushNotification)===null||Ec===void 0?void 0:Ec.toString())!==null&&wc!==void 0?wc:"")==="[object SafariRemoteNotification]",ob="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ac=window.ftGlobals)!==null&&Ac!==void 0?Ac:{lit:ra,litDecorators:aa,litRepeat:sa,litClassMap:ca,litStyleMap:la,litUnsafeHTML:da,wcUtils:{...pa,...ua,...ya,...Oc,...ga,...va,...qa,...es,...gs,...Za,...Ss,...xs,...dp,...xa,...As,...Ps,...yp,...Ls,...cc,...bs,...pc,...hc,...gc,...vc,isSafari:Rc,isTouchScreen:ob,setVariable:O}}});var Rf,_,Nf,_f,Pf,Tf,If,mr=y(()=>{"use strict";W();k();Rf=o.extend("--ft-ripple-color","",$.colorContent),_={color:Rf,backgroundColor:o.extend("--ft-ripple-background-color","",Rf),opacityContentOnSurfacePressed:o.external($.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external($.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external($.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external($.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Nf=o.extend("--ft-ripple-color","",$.colorPrimary),_f={color:Nf,backgroundColor:o.extend("--ft-ripple-background-color","",Nf)},Pf=o.extend("--ft-ripple-color","",$.colorSecondary),Tf={color:Pf,backgroundColor:o.extend("--ft-ripple-background-color","",Pf)},If=L`
|
|
51
51
|
:host {
|
|
52
52
|
display: contents;
|
|
53
53
|
}
|
|
@@ -102,19 +102,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
105
|
-
background-color: ${
|
|
105
|
+
background-color: ${Tf.backgroundColor};
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
109
|
-
background-color: ${
|
|
109
|
+
background-color: ${Tf.color};
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
113
|
-
background-color: ${
|
|
113
|
+
background-color: ${_f.backgroundColor};
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
117
|
-
background-color: ${
|
|
117
|
+
background-color: ${_f.color};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
.ft-ripple .ft-ripple--background {
|
|
@@ -159,7 +159,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
159
159
|
opacity: ${_.opacityContentOnSurfacePressed};
|
|
160
160
|
transform: translate(-50%, -50%) scale(1);
|
|
161
161
|
}
|
|
162
|
-
`});function
|
|
162
|
+
`});function $f(t){let e=Ro[t];return L`
|
|
163
163
|
.ft-typography--${rr(t)} {
|
|
164
164
|
font-family: ${e.fontFamily};
|
|
165
165
|
font-size: ${e.fontSize};
|
|
@@ -168,16 +168,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
168
168
|
line-height: ${e.lineHeight};
|
|
169
169
|
text-transform: ${e.textCase};
|
|
170
170
|
}
|
|
171
|
-
`}var
|
|
171
|
+
`}var kf=y(()=>{"use strict";W();K()});var Mf,Et,F,Kr,Zr,qr,Yr,Qr,Xr,Jr,eo,to,st,Df,Bf,Uf,Ff,Wf,ci,Hf,zf,jf,Vf,Gf,Kf,li=y(()=>{"use strict";W();k();K();kf();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();K();Mf=o.extend("--ft-typography-font-family","",$.titleFont),Et=o.extend("--ft-typography-font-family","",$.contentFont),F={fontFamily:Et,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Kr={fontFamily:o.extend("--ft-typography-title-font-family","",Mf),fontSize:o.extend("--ft-typography-title-font-size","",F.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",F.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",F.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",F.textTransform,"inherit")},Zr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Mf),fontSize:o.extend("--ft-typography-title-dense-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",F.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",F.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",F.textTransform,"inherit")},qr={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Et),fontSize:o.extend("--ft-typography-subtitle1-font-size","",F.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",F.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",F.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",F.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",F.textTransform,"inherit")},Yr={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Et),fontSize:o.extend("--ft-typography-subtitle2-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",F.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",F.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",F.textTransform,"inherit")},Qr={fontFamily:o.extend("--ft-typography-body1-font-family","",Et),fontSize:o.extend("--ft-typography-body1-font-size","",F.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",F.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",F.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",F.textTransform,"inherit")},Xr={fontFamily:o.extend("--ft-typography-body2-font-family","",Et),fontSize:o.extend("--ft-typography-body2-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",F.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",F.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",F.textTransform,"inherit")},Jr={fontFamily:o.extend("--ft-typography-caption-font-family","",Et),fontSize:o.extend("--ft-typography-caption-font-size","",F.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",F.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",F.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",F.textTransform,"inherit")},eo={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Et),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",F.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",F.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",F.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",F.textTransform,"inherit")},to={fontFamily:o.extend("--ft-typography-overline-font-family","",Et),fontSize:o.extend("--ft-typography-overline-font-size","",F.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",F.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",F.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",F.textTransform,"uppercase")},st={fontFamily:o.extend("--ft-typography-button-font-family","",Et),fontSize:o.extend("--ft-typography-button-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",F.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",F.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",F.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",F.textTransform,"uppercase")},Df=L`
|
|
172
172
|
.ft-typography--title {
|
|
173
|
-
font-family: ${
|
|
174
|
-
font-size: ${
|
|
175
|
-
font-weight: ${
|
|
176
|
-
letter-spacing: ${
|
|
177
|
-
line-height: ${
|
|
178
|
-
text-transform: ${
|
|
179
|
-
}
|
|
180
|
-
`,
|
|
173
|
+
font-family: ${Kr.fontFamily};
|
|
174
|
+
font-size: ${Kr.fontSize};
|
|
175
|
+
font-weight: ${Kr.fontWeight};
|
|
176
|
+
letter-spacing: ${Kr.letterSpacing};
|
|
177
|
+
line-height: ${Kr.lineHeight};
|
|
178
|
+
text-transform: ${Kr.textTransform};
|
|
179
|
+
}
|
|
180
|
+
`,Bf=L`
|
|
181
181
|
.ft-typography--title-dense {
|
|
182
182
|
font-family: ${Zr.fontFamily};
|
|
183
183
|
font-size: ${Zr.fontSize};
|
|
@@ -186,7 +186,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
186
186
|
line-height: ${Zr.lineHeight};
|
|
187
187
|
text-transform: ${Zr.textTransform};
|
|
188
188
|
}
|
|
189
|
-
`,
|
|
189
|
+
`,Uf=L`
|
|
190
190
|
.ft-typography--subtitle1 {
|
|
191
191
|
font-family: ${qr.fontFamily};
|
|
192
192
|
font-size: ${qr.fontSize};
|
|
@@ -195,7 +195,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
195
195
|
line-height: ${qr.lineHeight};
|
|
196
196
|
text-transform: ${qr.textTransform};
|
|
197
197
|
}
|
|
198
|
-
`,
|
|
198
|
+
`,Ff=L`
|
|
199
199
|
.ft-typography--subtitle2 {
|
|
200
200
|
font-family: ${Yr.fontFamily};
|
|
201
201
|
font-size: ${Yr.fontSize};
|
|
@@ -205,17 +205,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
205
205
|
text-transform: ${Yr.textTransform};
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
`,
|
|
208
|
+
`,Wf=L`
|
|
209
209
|
.ft-typography--body1 {
|
|
210
|
-
font-family: ${Xr.fontFamily};
|
|
211
|
-
font-size: ${Xr.fontSize};
|
|
212
|
-
font-weight: ${Xr.fontWeight};
|
|
213
|
-
letter-spacing: ${Xr.letterSpacing};
|
|
214
|
-
line-height: ${Xr.lineHeight};
|
|
215
|
-
text-transform: ${Xr.textTransform};
|
|
216
|
-
}
|
|
217
|
-
`,ci=I`
|
|
218
|
-
.ft-typography--body2 {
|
|
219
210
|
font-family: ${Qr.fontFamily};
|
|
220
211
|
font-size: ${Qr.fontSize};
|
|
221
212
|
font-weight: ${Qr.fontWeight};
|
|
@@ -223,7 +214,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
223
214
|
line-height: ${Qr.lineHeight};
|
|
224
215
|
text-transform: ${Qr.textTransform};
|
|
225
216
|
}
|
|
226
|
-
`,
|
|
217
|
+
`,ci=L`
|
|
218
|
+
.ft-typography--body2 {
|
|
219
|
+
font-family: ${Xr.fontFamily};
|
|
220
|
+
font-size: ${Xr.fontSize};
|
|
221
|
+
font-weight: ${Xr.fontWeight};
|
|
222
|
+
letter-spacing: ${Xr.letterSpacing};
|
|
223
|
+
line-height: ${Xr.lineHeight};
|
|
224
|
+
text-transform: ${Xr.textTransform};
|
|
225
|
+
}
|
|
226
|
+
`,Hf=L`
|
|
227
227
|
.ft-typography--caption {
|
|
228
228
|
font-family: ${Jr.fontFamily};
|
|
229
229
|
font-size: ${Jr.fontSize};
|
|
@@ -232,7 +232,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
232
232
|
line-height: ${Jr.lineHeight};
|
|
233
233
|
text-transform: ${Jr.textTransform};
|
|
234
234
|
}
|
|
235
|
-
`,
|
|
235
|
+
`,zf=L`
|
|
236
236
|
.ft-typography--breadcrumb {
|
|
237
237
|
font-family: ${eo.fontFamily};
|
|
238
238
|
font-size: ${eo.fontSize};
|
|
@@ -241,7 +241,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
241
241
|
line-height: ${eo.lineHeight};
|
|
242
242
|
text-transform: ${eo.textTransform};
|
|
243
243
|
}
|
|
244
|
-
`,
|
|
244
|
+
`,jf=L`
|
|
245
245
|
.ft-typography--overline {
|
|
246
246
|
font-family: ${to.fontFamily};
|
|
247
247
|
font-size: ${to.fontSize};
|
|
@@ -250,7 +250,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
250
250
|
line-height: ${to.lineHeight};
|
|
251
251
|
text-transform: ${to.textTransform};
|
|
252
252
|
}
|
|
253
|
-
`,
|
|
253
|
+
`,Vf=L`
|
|
254
254
|
.ft-typography--button {
|
|
255
255
|
font-family: ${st.fontFamily};
|
|
256
256
|
font-size: ${st.fontSize};
|
|
@@ -259,11 +259,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
259
259
|
line-height: ${st.lineHeight};
|
|
260
260
|
text-transform: ${st.textTransform};
|
|
261
261
|
}
|
|
262
|
-
`,
|
|
262
|
+
`,Gf=L`
|
|
263
263
|
.ft-typography {
|
|
264
264
|
vertical-align: inherit;
|
|
265
265
|
}
|
|
266
|
-
`,
|
|
266
|
+
`,Kf=[Object.keys(Ro).map(t=>$f(t))]});var de,Zf,Ko=y(()=>{"use strict";W();k();de={color:o.extend("--ft-loader-color","",$.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},Zf=L`
|
|
267
267
|
:host {
|
|
268
268
|
line-height: 0;
|
|
269
269
|
}
|
|
@@ -332,7 +332,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
332
332
|
transform: translate(calc(0.35 * ${de.size}), 0);
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
|
-
`});var
|
|
335
|
+
`});var Re,qf,Zo=y(()=>{"use strict";W();k();Re={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},qf=L`
|
|
336
336
|
:host, i.ft-icon {
|
|
337
337
|
display: inline-flex;
|
|
338
338
|
align-items: center;
|
|
@@ -341,14 +341,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
:host {
|
|
344
|
-
width: ${
|
|
345
|
-
height: ${
|
|
344
|
+
width: ${Re.size};
|
|
345
|
+
height: ${Re.size};
|
|
346
346
|
}
|
|
347
347
|
|
|
348
348
|
i.ft-icon {
|
|
349
349
|
width: 100%;
|
|
350
350
|
height: 100%;
|
|
351
|
-
font-size: ${
|
|
351
|
+
font-size: ${Re.size};
|
|
352
352
|
line-height: 1;
|
|
353
353
|
font-weight: normal;
|
|
354
354
|
text-transform: none;
|
|
@@ -359,28 +359,28 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
359
359
|
text-rendering: auto;
|
|
360
360
|
-webkit-font-smoothing: antialiased;
|
|
361
361
|
-moz-osx-font-smoothing: grayscale;
|
|
362
|
-
vertical-align: ${
|
|
362
|
+
vertical-align: ${Re.verticalAlign};
|
|
363
363
|
}
|
|
364
364
|
|
|
365
365
|
i.ft-icon.ft-icon--fluid-topics {
|
|
366
|
-
font-family: ${
|
|
366
|
+
font-family: ${Re.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
367
367
|
|
|
368
368
|
/* Ugly fix because font is broken */
|
|
369
|
-
font-size: calc(0.75 * ${
|
|
370
|
-
line-height: ${
|
|
369
|
+
font-size: calc(0.75 * ${Re.size});
|
|
370
|
+
line-height: ${Re.size};
|
|
371
371
|
position: relative;
|
|
372
372
|
top: -4%;
|
|
373
373
|
justify-content: center;
|
|
374
374
|
}
|
|
375
375
|
|
|
376
376
|
.ft-icon--file-format {
|
|
377
|
-
font-family: ${
|
|
377
|
+
font-family: ${Re.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
.ft-icon--material {
|
|
381
|
-
font-family: ${
|
|
381
|
+
font-family: ${Re.materialFontFamily}, "Material Icons", sans-serif;
|
|
382
382
|
}
|
|
383
|
-
`});var
|
|
383
|
+
`});var Yf,he,Qf,Nc,ct,Xf,_c=y(()=>{"use strict";W();k();mr();li();Ko();Zo();Yf=o.extend("--ft-button-color","",$.colorPrimary),he={backgroundColor:o.extend("--ft-button-background-color","",$.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",$.borderRadiusL),color:Yf,fontSize:o.extend("--ft-button-font-size","",st.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",Yf),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external($.colorOpacityDisabled,"Design system")},Qf=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",$.colorOnPrimary)),Nc={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",$.colorPrimary)),color:Qf,rippleColor:o.extend("--ft-button-primary-ripple-color","",Qf)},ct={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",$.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},Xf=[L`
|
|
384
384
|
:host {
|
|
385
385
|
display: inline-block;
|
|
386
386
|
max-width: 100%;
|
|
@@ -391,7 +391,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
391
391
|
box-shadow: 0px 0px 0px transparent;
|
|
392
392
|
border: 0px solid transparent;
|
|
393
393
|
text-shadow: 0px 0px 0px transparent;
|
|
394
|
-
font-size: ${
|
|
394
|
+
font-size: ${he.fontSize};
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
button:hover {
|
|
@@ -420,21 +420,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
420
420
|
border: none;
|
|
421
421
|
pointer-events: auto;
|
|
422
422
|
|
|
423
|
-
--ft-button-internal-line-height: max(calc(${
|
|
424
|
-
--ft-button-internal-color: ${
|
|
425
|
-
${O(
|
|
426
|
-
${O(_.color,
|
|
423
|
+
--ft-button-internal-line-height: max(calc(${he.fontSize} + 2px), ${he.iconSize});
|
|
424
|
+
--ft-button-internal-color: ${he.color};
|
|
425
|
+
${O(Re.size,he.iconSize)};
|
|
426
|
+
${O(_.color,he.rippleColor)};
|
|
427
427
|
|
|
428
|
-
border-radius: ${
|
|
429
|
-
padding: ${
|
|
430
|
-
background-color: ${
|
|
428
|
+
border-radius: ${he.borderRadius};
|
|
429
|
+
padding: ${he.verticalPadding} ${he.horizontalPadding};
|
|
430
|
+
background-color: ${he.backgroundColor};
|
|
431
431
|
color: var(--ft-button-internal-color);
|
|
432
432
|
-webkit-mask-image: radial-gradient(white, black);
|
|
433
433
|
}
|
|
434
434
|
|
|
435
435
|
.ft-button.ft-button--outlined {
|
|
436
436
|
border: 1px solid var(--ft-button-internal-color);
|
|
437
|
-
padding: calc(${
|
|
437
|
+
padding: calc(${he.verticalPadding} - 1px) calc(${he.horizontalPadding} - 1px);
|
|
438
438
|
}
|
|
439
439
|
|
|
440
440
|
.ft-button.ft-button--dense {
|
|
@@ -452,7 +452,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
452
452
|
}
|
|
453
453
|
|
|
454
454
|
.ft-button--round {
|
|
455
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
455
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${he.verticalPadding});
|
|
456
456
|
}
|
|
457
457
|
|
|
458
458
|
.ft-button--round.ft-button--dense {
|
|
@@ -461,7 +461,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
461
461
|
|
|
462
462
|
.ft-button[disabled] {
|
|
463
463
|
filter: grayscale(1);
|
|
464
|
-
opacity: ${
|
|
464
|
+
opacity: ${he.opacityDisabled};
|
|
465
465
|
}
|
|
466
466
|
|
|
467
467
|
.ft-button.ft-button--primary {
|
|
@@ -480,7 +480,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
480
480
|
white-space: nowrap;
|
|
481
481
|
text-overflow: ellipsis;
|
|
482
482
|
display: block;
|
|
483
|
-
margin: 0 ${
|
|
483
|
+
margin: 0 ${he.iconPadding};
|
|
484
484
|
${O(st.fontSize,"1em")};
|
|
485
485
|
${O(st.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
486
486
|
}
|
|
@@ -499,8 +499,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
499
499
|
}
|
|
500
500
|
|
|
501
501
|
.ft-button--label[hidden] + [part="icon"] {
|
|
502
|
-
margin: 0 calc(${
|
|
503
|
-
padding: 0 ${
|
|
502
|
+
margin: 0 calc(${he.horizontalPadding} * -1);
|
|
503
|
+
padding: 0 ${he.verticalPadding};
|
|
504
504
|
}
|
|
505
505
|
|
|
506
506
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
@@ -513,10 +513,10 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
513
513
|
}
|
|
514
514
|
|
|
515
515
|
ft-loader {
|
|
516
|
-
${O(de.size,
|
|
516
|
+
${O(de.size,he.iconSize)};
|
|
517
517
|
${O(de.color,"var(--ft-button-internal-color)")};
|
|
518
518
|
}
|
|
519
|
-
`,Uo]});var Te,se,Pc=y(()=>{"use strict";W();oe();Nr();k();mr();Te=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},se=class extends
|
|
519
|
+
`,Uo]});var Te,se,Pc=y(()=>{"use strict";W();oe();Nr();k();mr();Te=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},se=class extends te{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Oe(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Oe(10),this.moveRipple=e=>{var r,n;let{x:i,y:a}=this.getCoordinates(e),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return B`
|
|
520
520
|
<style>
|
|
521
521
|
.ft-ripple .ft-ripple--effect {
|
|
522
522
|
left: ${this.originX}px;
|
|
@@ -527,15 +527,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
527
527
|
<div class="ft-ripple--background"></div>
|
|
528
528
|
<div class="ft-ripple--effect"></div>
|
|
529
529
|
</div>
|
|
530
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>d=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};se.elementDefinitions={};se.styles=
|
|
530
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>d=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};se.elementDefinitions={};se.styles=If;Te([w({type:Boolean})],se.prototype,"primary",void 0);Te([w({type:Boolean})],se.prototype,"secondary",void 0);Te([w({type:Boolean})],se.prototype,"unbounded",void 0);Te([w({type:Boolean})],se.prototype,"activated",void 0);Te([w({type:Boolean})],se.prototype,"selected",void 0);Te([w({type:Boolean})],se.prototype,"disabled",void 0);Te([fe()],se.prototype,"hovered",void 0);Te([fe()],se.prototype,"focused",void 0);Te([fe()],se.prototype,"pressed",void 0);Te([fe()],se.prototype,"rippling",void 0);Te([fe()],se.prototype,"originX",void 0);Te([fe()],se.prototype,"originY",void 0);Te([xe(".ft-ripple")],se.prototype,"ripple",void 0);Te([xe(".ft-ripple--effect")],se.prototype,"rippleEffect",void 0)});var Jf=y(()=>{"use strict"});var di=y(()=>{"use strict";k();Pc();Pc();mr();Jf();V("ft-ripple")(se)});var th,nb,Tc,eh,rh,Ic,Lw,oh=y(()=>{ft();th=Symbol.for(""),nb=t=>{if(t?.r===th)return t?._$litStatic$},Tc=t=>({_$litStatic$:t,r:th}),eh=new Map,rh=t=>(e,...r)=>{let n=r.length,i,a,s=[],c=[],d,u=0,f=!1;for(;u<n;){for(d=e[u];u<n&&(a=r[u],(i=nb(a))!==void 0);)d+=i+e[++u],f=!0;u!==n&&c.push(a),s.push(d),u++}if(u===n&&s.push(e[n]),f){let h=s.join("$$lit$$");(e=eh.get(h))===void 0&&(s.raw=s,eh.set(h,e=s)),r=c}return t(e,...r)},Ic=rh(ld),Lw=rh(dd)});var nh=y(()=>{oh()});var Ht,ui=y(()=>{"use strict";(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Ht||(Ht={}))});var ih,me,Lc=y(()=>{"use strict";nh();oe();k();ui();li();ih=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},me=class extends te{constructor(){super(...arguments),this.variant=Ht.body1}render(){return this.element?Ic`
|
|
531
531
|
<${Tc(this.element)}
|
|
532
532
|
part="text"
|
|
533
533
|
class="ft-typography ft-typography--${this.variant}">
|
|
534
534
|
<slot></slot>
|
|
535
535
|
</${Tc(this.element)}>
|
|
536
|
-
`:
|
|
536
|
+
`:Ic`
|
|
537
537
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
538
|
-
`}};me.styles=[
|
|
538
|
+
`}};me.styles=[Df,Bf,Uf,Ff,Wf,ci,Hf,zf,jf,Vf,Gf,...Kf];ih([w()],me.prototype,"element",void 0);ih([w()],me.prototype,"variant",void 0)});var wt=y(()=>{"use strict";k();Lc();Lc();li();ui();V("ft-typography")(me)});var zt,ah,$c=y(()=>{"use strict";W();k();zt={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external($.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},ah=L`
|
|
539
539
|
.ft-tooltip--container {
|
|
540
540
|
display: block;
|
|
541
541
|
}
|
|
@@ -564,7 +564,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
564
564
|
position: relative;
|
|
565
565
|
word-break: break-word;
|
|
566
566
|
}
|
|
567
|
-
`});var
|
|
567
|
+
`});var Ie,ye,kc=y(()=>{"use strict";W();oe();k();wt();$c();Bn();Ie=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ye=class extends te{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Oe,this.revealDebouncer=new Oe}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return B`
|
|
568
568
|
<div part="container"
|
|
569
569
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
570
570
|
@mouseenter=${this.onHover}
|
|
@@ -582,19 +582,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
582
582
|
</div>
|
|
583
583
|
</div>
|
|
584
584
|
</div>
|
|
585
|
-
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",ms(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};he.elementDefinitions={"ft-typography":me};he.styles=nh;Le([w()],he.prototype,"text",void 0);Le([w({type:Boolean})],he.prototype,"manual",void 0);Le([w({type:Boolean})],he.prototype,"inline",void 0);Le([w({type:Number})],he.prototype,"delay",void 0);Le([w()],he.prototype,"position",void 0);Le([ia()],he.prototype,"slotNodes",void 0);Le([xe(".ft-tooltip--container")],he.prototype,"container",void 0);Le([xe(".ft-tooltip")],he.prototype,"tooltip",void 0);Le([xe(".ft-tooltip--content")],he.prototype,"tooltipContent",void 0);Le([pe()],he.prototype,"visible",void 0);Le([wr({passive:!0})],he.prototype,"onTouch",null);Le([wr({passive:!0})],he.prototype,"onHover",null);Le([wr({passive:!0})],he.prototype,"onOut",null);Le([wr({passive:!0})],he.prototype,"onClick",null)});var ih=y(()=>{"use strict"});var Mc=y(()=>{"use strict";k();kc();kc();$c();ih();V("ft-tooltip")(he)});function ah(t,e){var r,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,c]=(((r=tb.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(n=Dc.get(c))!==null&&n!==void 0?n:Dc.get(e))!==null&&i!==void 0?i:Dc.get(s))!==null&&a!==void 0?a:P.UNKNOWN}var jt,P,Dc,tb,Jw,Bc=y(()=>{"use strict";(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.EYE="",t.SHARE="󨃱"})(jt||(jt={}));(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(P||(P={}));Dc=new Map([...["abw"].map(t=>[t,P.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,P.AUDIO]),...["avi"].map(t=>[t,P.AVI]),...["chm","xhs"].map(t=>[t,P.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,P.CODE]),...["csv"].map(t=>[t,P.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,P.DITA]),...["epub"].map(t=>[t,P.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,P.EXCEL]),...["flac"].map(t=>[t,P.FLAC]),...["gif"].map(t=>[t,P.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,P.GZIP]),...["html","htm","xhtml"].map(t=>[t,P.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,P.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,P.JPEG]),...["json"].map(t=>[t,P.JSON]),...["m4a","m4p"].map(t=>[t,P.M4A]),...["mov","qt"].map(t=>[t,P.MOV]),...["mp3"].map(t=>[t,P.MP3]),...["mp4","m4v"].map(t=>[t,P.MP4]),...["ogg","oga"].map(t=>[t,P.OGG]),...["pdf","ps"].map(t=>[t,P.PDF]),...["png"].map(t=>[t,P.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,P.POWERPOINT]),...["rar"].map(t=>[t,P.RAR]),...["stp"].map(t=>[t,P.STP]),...["txt","rtf","md","mdown"].map(t=>[t,P.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,P.VIDEO]),...["wav"].map(t=>[t,P.WAV]),...["wma"].map(t=>[t,P.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,P.WORD]),...["xml","xsl","rdf"].map(t=>[t,P.XML]),...["yaml","yml","x-yaml"].map(t=>[t,P.YAML]),...["zip"].map(t=>[t,P.ZIP])]),tb=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);Jw={[P.ABW]:"#91ABC6",[P.AUDIO]:"#1795E3",[P.AVI]:"#E63324",[P.CHM]:"#71C3EB",[P.CODE]:"#71C3EB",[P.CSV]:"#1F7345",[P.DITA]:"#71C3EB",[P.EPUB]:"#85B926",[P.EXCEL]:"#1F7345",[P.FLAC]:"#1795E3",[P.GIF]:"#59B031",[P.GZIP]:"#F8AB36",[P.HTML]:"#71C3EB",[P.IMAGE]:"#59B031",[P.JPEG]:"#59B031",[P.JSON]:"#71C3EB",[P.M4A]:"#1795E3",[P.MOV]:"#E63324",[P.MP3]:"#1795E3",[P.MP4]:"#E63324",[P.OGG]:"#1795E3",[P.PDF]:"#E44948",[P.PNG]:"#59B031",[P.POWERPOINT]:"#B54A2B",[P.RAR]:"#F8AB36",[P.STP]:"#3764B1",[P.TEXT]:"#3162AB",[P.UNKNOWN]:"#999999",[P.VIDEO]:"#E63324",[P.WAV]:"#1795E3",[P.WMA]:"#1795E3",[P.WORD]:"#3162AB",[P.XML]:"#71C3EB",[P.YAML]:"#71C3EB",[P.ZIP]:"#F8AB36"}});var Fe,Uc=y(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Fe||(Fe={}))});var pi,Ie,Fc=y(()=>{"use strict";W();oe();k();wo();Bc();Zo();Uc();pi=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ie=class extends ee{constructor(){super(...arguments),this.resolvedIcon=j}render(){let e=this.variant&&Object.values(Fe).includes(this.variant)?this.variant:Fe.fluid_topics,r=e!==Fe.material||!!this.value;return B`
|
|
585
|
+
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",ms(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};ye.elementDefinitions={"ft-typography":me};ye.styles=ah;Ie([w()],ye.prototype,"text",void 0);Ie([w({type:Boolean})],ye.prototype,"manual",void 0);Ie([w({type:Boolean})],ye.prototype,"inline",void 0);Ie([w({type:Number})],ye.prototype,"delay",void 0);Ie([w()],ye.prototype,"position",void 0);Ie([ia()],ye.prototype,"slotNodes",void 0);Ie([xe(".ft-tooltip--container")],ye.prototype,"container",void 0);Ie([xe(".ft-tooltip")],ye.prototype,"tooltip",void 0);Ie([xe(".ft-tooltip--content")],ye.prototype,"tooltipContent",void 0);Ie([fe()],ye.prototype,"visible",void 0);Ie([wr({passive:!0})],ye.prototype,"onTouch",null);Ie([wr({passive:!0})],ye.prototype,"onHover",null);Ie([wr({passive:!0})],ye.prototype,"onOut",null);Ie([wr({passive:!0})],ye.prototype,"onClick",null)});var sh=y(()=>{"use strict"});var Mc=y(()=>{"use strict";k();kc();kc();$c();sh();V("ft-tooltip")(ye)});function ch(t,e){var r,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,c]=(((r=ib.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(n=Dc.get(c))!==null&&n!==void 0?n:Dc.get(e))!==null&&i!==void 0?i:Dc.get(s))!==null&&a!==void 0?a:P.UNKNOWN}var jt,P,Dc,ib,pA,Bc=y(()=>{"use strict";(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.EYE="",t.SHARE="󨃱"})(jt||(jt={}));(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(P||(P={}));Dc=new Map([...["abw"].map(t=>[t,P.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,P.AUDIO]),...["avi"].map(t=>[t,P.AVI]),...["chm","xhs"].map(t=>[t,P.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,P.CODE]),...["csv"].map(t=>[t,P.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,P.DITA]),...["epub"].map(t=>[t,P.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,P.EXCEL]),...["flac"].map(t=>[t,P.FLAC]),...["gif"].map(t=>[t,P.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,P.GZIP]),...["html","htm","xhtml"].map(t=>[t,P.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,P.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,P.JPEG]),...["json"].map(t=>[t,P.JSON]),...["m4a","m4p"].map(t=>[t,P.M4A]),...["mov","qt"].map(t=>[t,P.MOV]),...["mp3"].map(t=>[t,P.MP3]),...["mp4","m4v"].map(t=>[t,P.MP4]),...["ogg","oga"].map(t=>[t,P.OGG]),...["pdf","ps"].map(t=>[t,P.PDF]),...["png"].map(t=>[t,P.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,P.POWERPOINT]),...["rar"].map(t=>[t,P.RAR]),...["stp"].map(t=>[t,P.STP]),...["txt","rtf","md","mdown"].map(t=>[t,P.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,P.VIDEO]),...["wav"].map(t=>[t,P.WAV]),...["wma"].map(t=>[t,P.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,P.WORD]),...["xml","xsl","rdf"].map(t=>[t,P.XML]),...["yaml","yml","x-yaml"].map(t=>[t,P.YAML]),...["zip"].map(t=>[t,P.ZIP])]),ib=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);pA={[P.ABW]:"#91ABC6",[P.AUDIO]:"#1795E3",[P.AVI]:"#E63324",[P.CHM]:"#71C3EB",[P.CODE]:"#71C3EB",[P.CSV]:"#1F7345",[P.DITA]:"#71C3EB",[P.EPUB]:"#85B926",[P.EXCEL]:"#1F7345",[P.FLAC]:"#1795E3",[P.GIF]:"#59B031",[P.GZIP]:"#F8AB36",[P.HTML]:"#71C3EB",[P.IMAGE]:"#59B031",[P.JPEG]:"#59B031",[P.JSON]:"#71C3EB",[P.M4A]:"#1795E3",[P.MOV]:"#E63324",[P.MP3]:"#1795E3",[P.MP4]:"#E63324",[P.OGG]:"#1795E3",[P.PDF]:"#E44948",[P.PNG]:"#59B031",[P.POWERPOINT]:"#B54A2B",[P.RAR]:"#F8AB36",[P.STP]:"#3764B1",[P.TEXT]:"#3162AB",[P.UNKNOWN]:"#999999",[P.VIDEO]:"#E63324",[P.WAV]:"#1795E3",[P.WMA]:"#1795E3",[P.WORD]:"#3162AB",[P.XML]:"#71C3EB",[P.YAML]:"#71C3EB",[P.ZIP]:"#F8AB36"}});var Fe,Uc=y(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Fe||(Fe={}))});var pi,Le,Fc=y(()=>{"use strict";W();oe();k();wo();Bc();Zo();Uc();pi=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Le=class extends te{constructor(){super(...arguments),this.resolvedIcon=j}render(){let e=this.variant&&Object.values(Fe).includes(this.variant)?this.variant:Fe.fluid_topics,r=e!==Fe.material||!!this.value;return B`
|
|
586
586
|
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
587
587
|
${cr(this.resolvedIcon)}
|
|
588
588
|
<slot ?hidden=${r}></slot>
|
|
589
589
|
</i>
|
|
590
|
-
`}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case Fe.file_format:this.resolvedIcon=(e=P[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Fe.material:this.resolvedIcon=this.value||j;break;default:this.resolvedIcon=(r=jt[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};
|
|
590
|
+
`}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case Fe.file_format:this.resolvedIcon=(e=P[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Fe.material:this.resolvedIcon=this.value||j;break;default:this.resolvedIcon=(r=jt[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Le.elementDefinitions={};Le.styles=qf;pi([w()],Le.prototype,"variant",void 0);pi([w()],Le.prototype,"value",void 0);pi([fe()],Le.prototype,"resolvedIcon",void 0);pi([xe("slot")],Le.prototype,"slottedContent",void 0)});var fi=y(()=>{"use strict";k();Fc();Zo();Uc();Fc();Bc();V("ft-icon")(Le)});var gr,Wc=y(()=>{"use strict";W();k();Ko();gr=class extends te{render(){return B`
|
|
591
591
|
<div class="ft-loader">
|
|
592
592
|
<div></div>
|
|
593
593
|
<div></div>
|
|
594
594
|
<div></div>
|
|
595
595
|
<div></div>
|
|
596
596
|
</div>
|
|
597
|
-
`}};gr.styles=
|
|
597
|
+
`}};gr.styles=Zf});var lh=y(()=>{"use strict"});var dh=y(()=>{"use strict";k();Wc();Ko();lh();Wc();V("ft-loader")(gr)});var $e,ge,Hc=y(()=>{"use strict";k();di();Mc();wt();fi();dh();W();Nr();oe();$e=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ge=class extends xc(te,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e;return this.addTooltipIfNeeded(B`
|
|
598
598
|
<button part="button"
|
|
599
599
|
class="${mt(this.buttonClasses)}"
|
|
600
600
|
aria-label="${(e=this.ariaLabel)!==null&&e!==void 0?e:this.getLabel()}"
|
|
@@ -620,7 +620,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
620
620
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
621
621
|
`:B`
|
|
622
622
|
<slot part="icon" name="icon"></slot>
|
|
623
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return Pn(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ge.elementDefinitions={"ft-ripple":se,"ft-tooltip":
|
|
623
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return Pn(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ge.elementDefinitions={"ft-ripple":se,"ft-tooltip":ye,"ft-typography":me,"ft-icon":Le,"ft-loader":gr};$e([w({type:String,reflect:!0})],ge.prototype,"role",void 0);$e([w()],ge.prototype,"type",void 0);$e([w({type:Boolean})],ge.prototype,"disabled",void 0);$e([w()],ge.prototype,"label",void 0);$e([w()],ge.prototype,"icon",void 0);$e([w()],ge.prototype,"iconVariant",void 0);$e([w({type:Boolean})],ge.prototype,"trailingIcon",void 0);$e([w({type:Boolean})],ge.prototype,"loading",void 0);$e([w({attribute:"aria-label"})],ge.prototype,"ariaLabel",void 0);$e([w()],ge.prototype,"tooltipPosition",void 0);$e([w({type:Boolean})],ge.prototype,"hideTooltip",void 0);$e([w({type:Boolean})],ge.prototype,"forceTooltip",void 0);$e([xe(".ft-button")],ge.prototype,"button",void 0);$e([xe(".ft-button--label slot")],ge.prototype,"slottedContent",void 0)});var hi,We,zc=y(()=>{"use strict";oe();k();_c();Hc();hi=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},We=class extends ge{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};We.styles=[Fo,Xf];hi([w({type:Boolean})],We.prototype,"primary",void 0);hi([w({type:Boolean})],We.prototype,"outlined",void 0);hi([w({type:Boolean})],We.prototype,"dense",void 0);hi([w({type:Boolean})],We.prototype,"round",void 0)});var uh,jc=y(()=>{"use strict";W();k();mr();Ko();Zo();K();K();uh=[L`
|
|
624
624
|
:host {
|
|
625
625
|
display: inline-block;
|
|
626
626
|
max-width: 100%;
|
|
@@ -1022,7 +1022,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1022
1022
|
/** Large styles **/
|
|
1023
1023
|
|
|
1024
1024
|
.ftds--size-large {
|
|
1025
|
-
${O(
|
|
1025
|
+
${O(Re.size,b.largeIconSize)};
|
|
1026
1026
|
${O(de.size,b.largeIconSize)};
|
|
1027
1027
|
|
|
1028
1028
|
height: ${b.largeHeight};
|
|
@@ -1044,7 +1044,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1044
1044
|
/** Small styles **/
|
|
1045
1045
|
|
|
1046
1046
|
.ftds--size-medium {
|
|
1047
|
-
${O(
|
|
1047
|
+
${O(Re.size,b.mediumIconSize)};
|
|
1048
1048
|
${O(de.size,b.mediumIconSize)};
|
|
1049
1049
|
|
|
1050
1050
|
height: ${b.mediumHeight};
|
|
@@ -1067,7 +1067,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1067
1067
|
/** Small styles **/
|
|
1068
1068
|
|
|
1069
1069
|
.ftds--size-small {
|
|
1070
|
-
${O(
|
|
1070
|
+
${O(Re.size,b.smallIconSize)};
|
|
1071
1071
|
${O(de.size,b.smallIconSize)};
|
|
1072
1072
|
|
|
1073
1073
|
height: ${b.smallHeight};
|
|
@@ -1085,11 +1085,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1085
1085
|
.ftds--size-small.ft-button--icon-only {
|
|
1086
1086
|
width: ${b.smallIconOnlyWidth};
|
|
1087
1087
|
}
|
|
1088
|
-
`,Uo]});var yi,At,Vc=y(()=>{"use strict";Hc();oe();ui();k();jc();
|
|
1088
|
+
`,Uo]});var yi,At,Vc=y(()=>{"use strict";Hc();oe();ui();k();jc();K();fi();yi=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},At=class extends Hn(ge){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=lr.brand,this.iconVariant=Fe.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case bt.large:return Ht.body2medium;case bt.medium:return Ht.caption1medium;case bt.small:return Ht.caption2medium}}};At.styles=[Fo,uh];yi([w({type:Boolean})],At.prototype,"primary",void 0);yi([w({type:Boolean})],At.prototype,"secondary",void 0);yi([w({type:Boolean})],At.prototype,"tertiary",void 0);yi([w({type:Boolean})],At.prototype,"round",void 0)});var ph=y(()=>{"use strict"});var fh=y(()=>{"use strict"});var mi=y(()=>{"use strict";k();zc();Vc();zc();_c();ph();Vc();jc();fh();V("ft-button")(We);V("ftds-button")(At)});var ae,Gc,qo=y(()=>{"use strict";W();k();mi();Mc();ae={height:o.create("--ft-search-input-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-input-border-radius","",$.borderRadiusS),desktopFiltersHeight:o.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:o.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:o.extend("--ft-search-input-background-color","",$.colorSurface),colorOnSurface:o.extend("--ft-search-input-color","",$.colorOnSurface),colorOnSurfaceMedium:o.extend("--ft-search-input-placeholder-color","",$.colorOnSurfaceMedium),colorOutline:o.extend("--ft-search-input-outline-color","",$.colorOutline),elevation02:o.extend("--ft-search-input-elevation","",$.elevation02),focusOutlineColor:o.extend("--ft-search-input-focused-outline-color","",$.colorPrimary),buttonColor:o.extend("--ft-search-input-button-color","",$.colorPrimary),buttonRippleColor:o.extend("--ft-search-input-button-ripple-color","",$.colorPrimary)},Gc=L`
|
|
1089
1089
|
* {
|
|
1090
1090
|
box-sizing: border-box;
|
|
1091
|
-
${O(
|
|
1092
|
-
${O(
|
|
1091
|
+
${O(he.color,ae.buttonColor)};
|
|
1092
|
+
${O(he.rippleColor,ae.buttonRippleColor)};
|
|
1093
1093
|
}
|
|
1094
1094
|
|
|
1095
1095
|
.ft-search-input {
|
|
@@ -1149,7 +1149,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1149
1149
|
.ft-search-input > ft-button,
|
|
1150
1150
|
.ft-search-input--actions ft-button {
|
|
1151
1151
|
flex-shrink: 0;
|
|
1152
|
-
${O(
|
|
1152
|
+
${O(he.backgroundColor,"transparent")};
|
|
1153
1153
|
}
|
|
1154
1154
|
|
|
1155
1155
|
.ft-search-input .ft-search-input--launch-search,
|
|
@@ -1169,12 +1169,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1169
1169
|
height: 20px;
|
|
1170
1170
|
border-right: 1px solid ${ae.colorOutline};
|
|
1171
1171
|
}
|
|
1172
|
-
`});var gi,
|
|
1172
|
+
`});var gi,Kc,bi=y(()=>{"use strict";W();k();gi={highlightBackgroundColor:o.create("--ft-sra-highlight-background-color","","COLOR","transparent")},Kc=L`
|
|
1173
1173
|
.kwicmatch {
|
|
1174
1174
|
font-weight: 700;
|
|
1175
1175
|
background-color: ${gi.highlightBackgroundColor};
|
|
1176
1176
|
}
|
|
1177
|
-
`});var xi,Zc,vi=y(()=>{"use strict";W();k();xi={highlightBackgroundColor:o.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Zc=
|
|
1177
|
+
`});var xi,Zc,vi=y(()=>{"use strict";W();k();xi={highlightBackgroundColor:o.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Zc=L`
|
|
1178
1178
|
.kwicmatch {
|
|
1179
1179
|
font-weight: 700;
|
|
1180
1180
|
background-color: ${xi.highlightBackgroundColor};
|
|
@@ -1188,18 +1188,18 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1188
1188
|
a:focus {
|
|
1189
1189
|
outline: revert;
|
|
1190
1190
|
}
|
|
1191
|
-
`});var
|
|
1192
|
-
`});var
|
|
1193
|
-
`});var
|
|
1191
|
+
`});var mh,qc=y(()=>{"use strict";W();mh=L`
|
|
1192
|
+
`});var gh,Yc=y(()=>{"use strict";W();gh=L`
|
|
1193
|
+
`});var ab,Qc,sb,H,Qe=y(()=>{"use strict";k();ab="ft-app-info",Qc=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},sb={session:(t,e)=>{Ze(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>H.eventBus.dispatchEvent(new Qc(e.payload)),0))}},H=Ct.get({name:ab,reducers:sb,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 br,Si=y(()=>{"use strict";Qe();br=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=H.getState(),i=e??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let i=H.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}}});var lt,Yo=y(()=>{"use strict";k();Si();lt=class{constructor(e=!0,r){var n;this.overrideApi=r;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new rt,this.cache=e?i.commonCache:new rt}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:br.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):br.await()}clearCache(){this.cache.clearAll()}}});var bh,cb,Oi,xr,xh,Xc=y(()=>{"use strict";Qe();k();Yo();cb=Symbol("clearAfterUnitTest"),Oi=class extends lt{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[bh]=()=>{this.defaultMessages={},this.cache=new rt,this.listeners={}},this.currentUiLocale=H.getState().uiLocale,H.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=H.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var n;if(e=e.toLowerCase(),Object.keys(r).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};Ze(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var r,n;return this.fetchContext(e),(n=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,r){let n=e.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(e,r,...n){var i;let a=e.toLowerCase(),s=this.resolveContext(a);return new Wo((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).resolve(r,...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(r){console.error(r)}}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(r)}}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(r=>_n(0).then(()=>r()).catch(()=>null)))}};bh=cb;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Oi{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Oi{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});xr=window.FluidTopicsI18nService,xh=window.FluidTopicsCustomI18nService});var Ne,be,Jc=y(()=>{"use strict";W();oe();k();Yc();Qe();Xc();Si();Ne=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},be=class extends te{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=()=>br.get(),this.messageContexts=[],this.cache=new rt,this.cleanSessionDebouncer=new Oe}render(){return B`
|
|
1194
1194
|
<slot></slot>
|
|
1195
|
-
`}update(e){super.update(e),e.has("baseUrl")&&(H.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&H.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&H.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&H.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&H.actions.noCustom(this.noCustom),e.has("editorMode")&&H.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&H.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&H.actions.session(this.session),e.has("availableUiLocales")&&H.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>xr.addContext(r)),e.has("openExternalDocumentInNewTab")&&H.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&H.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&H.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())}};be.elementDefinitions={};be.styles=
|
|
1195
|
+
`}update(e){super.update(e),e.has("baseUrl")&&(H.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&H.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&H.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&H.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&H.actions.noCustom(this.noCustom),e.has("editorMode")&&H.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&H.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&H.actions.session(this.session),e.has("availableUiLocales")&&H.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>xr.addContext(r)),e.has("openExternalDocumentInNewTab")&&H.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&H.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&H.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())}};be.elementDefinitions={};be.styles=gh;Ne([w()],be.prototype,"baseUrl",void 0);Ne([w()],be.prototype,"apiIntegrationIdentifier",void 0);Ne([w()],be.prototype,"uiLocale",void 0);Ne([Ce(null)],be.prototype,"availableUiLocales",void 0);Ne([Ce(null)],be.prototype,"metadataConfiguration",void 0);Ne([w({type:Boolean})],be.prototype,"editorMode",void 0);Ne([w({type:Boolean})],be.prototype,"noCustom",void 0);Ne([w({type:Boolean})],be.prototype,"openExternalDocumentInNewTab",void 0);Ne([w({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],be.prototype,"noCustomComponent",void 0);Ne([w({type:Boolean})],be.prototype,"withManualResources",void 0);Ne([w({type:Boolean})],be.prototype,"navigatorOnline",void 0);Ne([w({type:Boolean})],be.prototype,"forcedOffline",void 0);Ne([w({type:Object})],be.prototype,"apiProvider",void 0);Ne([Ce([])],be.prototype,"messageContexts",void 0);Ne([Ce(void 0)],be.prototype,"session",void 0)});var vh=y(()=>{"use strict";oe();Jn();si();Qe()});var Ci,el=y(()=>{"use strict";Qe();Yo();Ci=class extends lt{async listMySearches(){let e=H.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var Ei,tl=y(()=>{"use strict";Qe();Yo();Ei=class extends lt{async listMyBookmarks(){let e=H.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var lb,wi,rl,Sh,ol=y(()=>{"use strict";k();el();tl();Qe();lb="ft-user-assets",wi=Ct.get({name:lb,initialState:{savedSearches:void 0,bookmarks:void 0}}),rl=class{constructor(){this.currentSession=H.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ei,this.savedSearchesService=new Ci,H.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=H.getState();Ze((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),wi.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),wi.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();wi.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 r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;wi.actions.bookmarks(r)}}},Sh=new rl});var nl,Oh=y(()=>{"use strict";Qe();nl=class{addCommand(e,r=!1){H.commands.add(e,r)}consumeCommand(e){return H.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new nl});var il,Ch=y(()=>{"use strict";k();il=class{highlightHtml(e,r,n){ws(e,r,n)}};window.FluidTopicsHighlightHtmlService=new il});var al,Eh=y(()=>{"use strict";k();Qe();al=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=H.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,r){var n,i,a;return Gr.format(e,(n=r?.locale)!==null&&n!==void 0?n:H.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new al});var wh=y(()=>{"use strict";tl();Si();Oh();Xc();Yo();Ch();el();Eh()});var Ah=y(()=>{"use strict"});var ro=y(()=>{"use strict";k();Jc();vh();Qe();ol();wh();Yc();Ah();Jc();V("ft-app-context")(be)});function Ve(t){var e;class r extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?xh:xr}i18n(i,a,...s){var c;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let d=(c=i.args)!==null&&c!==void 0?c:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...d)}onI18nUpdate(i){var a,s,c;(a=this[sl])===null||a===void 0||a.forEach((d,u)=>{let f=this.getI18nAttributeValue(u);f&&(this[u]=this.getI18nAttributeMessage(f,d,i))}),(s=this[cl])===null||s===void 0||s.forEach((d,u)=>{let f=this.getI18nListAttributeValues(u);this[u]=f?.map(h=>this.getI18nAttributeMessage(h,d,i))}),(c=this[Ai])===null||c===void 0||c.forEach((d,u)=>{d.context.toLowerCase()===i.toLowerCase()&&(this[u]=this.i18n(d))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(i,a){return{...i,message:this.i18n({context:i.context,key:i.key,...a})}}getI18nAttributeMessage(i,a,s){var c;let d=!s||((c=i.context)===null||c===void 0?void 0:c.toLowerCase())===s.toLowerCase();return i.context&&i.key&&d?this.buildI18nAttributeMessage(i,a):i}update(i){var a,s,c;super.update(i),(a=this[sl])===null||a===void 0||a.forEach((d,u)=>{let f=this.getI18nAttributeValue(u);f?.context&&f.key&&(i.has(u)||d.argsProvider!=null)&&(this.addI18nContextIfNeeded(f,i,u),this[u]=this.getI18nAttributeMessage(f,d))}),(s=this[cl])===null||s===void 0||s.forEach((d,u)=>{let f=this.getI18nListAttributeValues(u);(i.has(u)||d.argsProvider!=null)&&(this[u]=f?.map(h=>(this.addI18nContextIfNeeded(h,i,u),this.getI18nAttributeMessage(h,d))))}),(c=this[Ai])===null||c===void 0||c.forEach((d,u)=>{d.argsProvider!=null&&(this[u]=this.i18n(d))})}getI18nAttributeValue(i){return this[i]}getI18nListAttributeValues(i){return this[i]}addI18nContextIfNeeded(i,a,s){i.context&&i.key&&a.has(s)&&this.addI18nContext(i.context)}connectedCallback(){var i,a,s,c,d,u;super.connectedCallback(),new Set([...(a=(i=this[Ai])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(c=(s=this[sl])===null||s===void 0?void 0:s.keys())!==null&&c!==void 0?c:[]].map(f=>this.getI18nAttributeValue(f)),...[...(u=(d=this[cl])===null||d===void 0?void 0:d.keys())!==null&&u!==void 0?u:[]].flatMap(f=>this.getI18nListAttributeValues(f))].map(f=>f?.context)).forEach(f=>f&&this.addI18nMessages(f))}addI18nMessages(i,a){i=i.toLowerCase(),this[Qo].has(i)||this[Qo].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{}),this.onI18nUpdate(i)}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[Qo].forEach(i=>i()),this[Qo].clear()}}return e=Qo,db([w({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var db,sl,cl,Ai,Qo,Rh,Ri,Ni=y(()=>{"use strict";k();ro();oe();db=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},sl=Symbol("i18nAttributes"),cl=Symbol("i18nListAttributes"),Ai=Symbol("i18nProperties"),Qo=Symbol("i18nUnsubs");Rh=class extends Ve(te){},Ri=class extends Ve(Pe){}});var Xo,Xe,ll=y(()=>{"use strict";W();oe();k();qc();Ni();ro();Xo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Xe=class extends Ri{constructor(){super(),this.editorMode=!1,this.addStore(H)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":j:B`
|
|
1196
1196
|
<span class="ft-i18n">
|
|
1197
1197
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1198
1198
|
</span>
|
|
1199
|
-
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};
|
|
1200
|
-
`});var
|
|
1199
|
+
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Xe.elementDefinitions={};Xe.styles=mh;Xo([ie()],Xe.prototype,"editorMode",void 0);Xo([w()],Xe.prototype,"context",void 0);Xo([w()],Xe.prototype,"key",void 0);Xo([Ce([])],Xe.prototype,"args",void 0);Xo([w()],Xe.prototype,"defaultMessage",void 0)});var dt,Nh=y(()=>{"use strict";ro();dt=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(r,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:(r,n)=>(...i)=>xr.resolveMessage(this.name,n,...i)}),this.rawMessages=new Proxy({},{get:(r,n)=>xr.resolveRawMessage(this.name,n)})}}});var _h=y(()=>{"use strict";Ni()});var Ph=y(()=>{"use strict"});var ut=y(()=>{"use strict";k();ll();Nh();Ni();_h();qc();Ph();ll();V("ft-i18n")(Xe)});var Ih,Lh=y(()=>{ft();Ih=t=>t??ue});var $h=y(()=>{Lh()});function kh(t){var e,r,n,i,a;return((i=(r=(e=t.map)===null||e===void 0?void 0:e.openMode)!==null&&r!==void 0?r:(n=t.topic)===null||n===void 0?void 0:n.openMode)!==null&&i!==void 0?i:(a=t.document)===null||a===void 0?void 0:a.openMode)===oi.EXTERNAL}function Pi(t){var e,r,n,i,a;if(kh(t))return(i=(r=(e=t.map)===null||e===void 0?void 0:e.originUrl)!==null&&r!==void 0?r:(n=t.topic)===null||n===void 0?void 0:n.originUrl)!==null&&i!==void 0?i:(a=t.document)===null||a===void 0?void 0:a.originUrl;switch(t.type){case jr.MAP:return t.map.readerUrl;case jr.DOCUMENT:return t.document.viewerUrl;case jr.TOPIC:return t.topic.readerUrl}return""}function Mh(t,e){return Ih(e&&kh(t)?"_blank":void 0)}var oo,pl=y(()=>{"use strict";ni();$h();oo=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var fb,hl,yl=y(()=>{"use strict";W();fb={},hl=L`
|
|
1200
|
+
`});var Dh=y(()=>{"use strict"});var hb,Bh,Uh=y(()=>{"use strict";k();hb={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.metadataFilters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setOtherQueryParams:(t,e)=>{t.request.otherQueryParams=e.payload},setRequestClusterSortCriterion:(t,e)=>{var r;t.request.clusterSortCriterions=(r=e.payload)!==null&&r!==void 0?r:[]},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload}},Bh=t=>Ct.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:hb})});var Li,Fh=y(()=>{"use strict";ro();Li=class extends lt{async launchSearch(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}hash(e){return""+Array.from(JSON.stringify(e)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0)}}});var Wh,Jo,no,ml=y(()=>{"use strict";k();Uh();ni();Fh();Wh=t=>t.request.virtualField===zr.TITLE_ONLY&&t.request.scope===Vr.DOCUMENTS,Jo=class t extends Event{constructor(){super(t.eventName)}};Jo.eventName="search-context-clear-all-filters";no=class t{static build(e,r){return new t(Bh(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new Oe(10),this.searchDebouncer=new Oe(100),this.suggestDebouncer=new Oe(300),this.service=r??new Li}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.setLiveQuery(e),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(e){let r=this.store.getState().locales,n=this.store.getState().request.contentLocale;if(e!=n){if(r){let i=a=>r.some(s=>s.lang==a);i(e)||(e=i(n)?n:r[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return e}setPageSize(e){this.store.actions.setPageSize(e),this.launchSearch()}setPageNumber(e){this.store.actions.setPageNumber(e),this.launchSearch()}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(e){let r=e.filter(n=>!n.valueFilter||n.valueFilter.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(n=>{this.facetIds.includes(n.key)||(this.facetIds=[...this.facetIds,n.key])}),this.launchSearch()}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e),this.launchSearch()}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(zr.TITLE_ONLY),this.store.actions.setRequestScope(Vr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(zr.EVERYWHERE),this.store.actions.setRequestScope(Vr.DEFAULT)),this.launchSearch()}setVirtualField(e){this.store.actions.setRequestVirtualField(e),this.launchSearch()}get searchInDocumentTitlesOnly(){return Wh(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Jo)}addFacet(e){this.facetIds=[...this.facetIds,e],this.launchSearch()}replaceFacet(e,r){let n=this.facetIds.filter(i=>i!=e);r&&n.push(r),this.facetIds=n,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(e=>e.id)}set facetIds(e){let n=[...new Set(e)].map(i=>({id:i}));this.store.actions.setRequestFacets(n)}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let n=this.store.getState().request.metadataFilters,i={key:e,valueFilter:{values:r,negative:!1}},a=[...n.filter(s=>!s.valueFilter),...n.filter(s=>s.valueFilter&&s.key!==i.key),i];this.setFilters(a)}setDateFilter(e,r){let n=this.store.getState().request.metadataFilters,i={key:e,dateFilter:{type:r}},a=[...n.filter(s=>!s.dateFilter),...n.filter(s=>s.dateFilter&&s.key!==i.key),i];this.setFilters(a)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,n=[...r.filter(i=>!i.dateFilter),...r.filter(i=>i.dateFilter&&i.key!==e)];this.setFilters(n)}setRangeFilter(e,r,n){let i=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:r,to:n}},s=[...i.filter(c=>!c.rangeFilter),...i.filter(c=>c.rangeFilter&&c.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,n=[...r.filter(i=>!i.rangeFilter),...r.filter(i=>i.rangeFilter&&i.key!==e)];this.setFilters(n)}setLiveQuery(e){this.store.actions.setLiveQuery(e),this.launchSuggest()}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.setLiveQuery(e.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(e){this.store.actions.setRequestScope(e),this.launchSearch()}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e,this.launchSearch()}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales))}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var e,r;try{(e=this.cancelableSearch)===null||e===void 0||e.cancel();let n=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&n.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=Tr(this.service.launchSearch(n));let i=await this.cancelableSearch;if(i.paging.currentPage<=1)this.store.actions.setResults(i.results),this.store.actions.setFacets(i.facets),this.store.actions.setSpellcheck(i.spellcheck);else{let a=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(i.results);this.store.actions.setResults(a)}this.store.actions.setPaging(i.paging)}}catch(n){!(n instanceof Lt)&&this.errorHandler&&this.errorHandler(n)}}async fetchSuggestData(){var e;try{let r=this.store.getState(),n=r.request,i={input:r.liveQuery,metadataFilters:n.metadataFilters,sort:n.sort,contentLocale:n.contentLocale,scope:n.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=Tr(this.service.launchSuggest(i));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof Lt)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}}});function mb(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[gl]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[gl]):this.dispatchEvent(new bl)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=gl,yb([fe()],r.prototype,"stateManager",void 0),r}var yb,bl,gl,ke,Vt=y(()=>{"use strict";k();oe();Dh();ml();yb=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},bl=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},gl=Symbol("registerInterval");ke=class extends mb(Pe){}});var Ae,$i,ki,Mi,pe,xl=y(()=>{"use strict";W();oe();k();yl();Vt();ro();ol();Ae=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},$i=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},ki=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Mi=class extends CustomEvent{constructor(e,r,n){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:n}})}},pe=class extends Pe{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=no.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.otherQueryParams={},this.addStore(H)}render(){return B`
|
|
1201
1201
|
<slot @register-ft-search-component=${this.registerComponent}></slot>
|
|
1202
|
-
`}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("session")&&this.session!==void 0&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new ki(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Mi(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new $i(e))}reloadSavedSearches(){
|
|
1202
|
+
`}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams)}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new ki(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Mi(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new $i(e))}reloadSavedSearches(){Sh.clearMySearches()}clear(){this.stateManager.clear()}};pe.elementDefinitions={};pe.styles=hl;Ae([ie({store:H.name})],pe.prototype,"session",void 0);Ae([w()],pe.prototype,"query",void 0);Ae([w()],pe.prototype,"contentLocale",void 0);Ae([w({type:Number})],pe.prototype,"pageSize",void 0);Ae([w({type:Boolean})],pe.prototype,"searchInDocumentTitlesOnly",void 0);Ae([w()],pe.prototype,"scope",void 0);Ae([w()],pe.prototype,"virtualField",void 0);Ae([w({type:Boolean})],pe.prototype,"ignoreEmptyQuery",void 0);Ae([ie({store:H.name})],pe.prototype,"openExternalDocumentInNewTab",void 0);Ae([Ce([])],pe.prototype,"filters",void 0);Ae([Ce([])],pe.prototype,"sort",void 0);Ae([Ce({})],pe.prototype,"otherQueryParams",void 0);Ae([ie({store:"search"})],pe.prototype,"request",void 0);Ae([ie({store:"search"})],pe.prototype,"paging",void 0);Ae([ie({store:"search",selector:t=>t.spellcheck})],pe.prototype,"autocorrect",void 0);Ae([w({attribute:!1})],pe.prototype,"searchServiceProvider",void 0)});var Hh=y(()=>{"use strict"});var zh={};Z(zh,{ClearAllFiltersEvent:()=>Jo,FtSearchContext:()=>pe,FtSearchContextCssVariables:()=>fb,FtSearchStateManager:()=>no,LoadErrorEvent:()=>$i,SearchRequestChangeEvent:()=>ki,SearchResultsChangeEvent:()=>Mi,searchInDocumentTitlesOnlySelector:()=>Wh,styles:()=>hl});var jh=y(()=>{"use strict";k();xl();yl();Hh();xl();ml();V("ft-search-context")(pe)});var en,Vh=y(()=>{"use strict";ut();en=dt.build("designedSearchInput")});var Gh,Kh=y(()=>{"use strict";W();qo();Gh=L`
|
|
1203
1203
|
* {
|
|
1204
1204
|
box-sizing: border-box;
|
|
1205
1205
|
}
|
|
@@ -1241,7 +1241,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1241
1241
|
flex-grow: 1;
|
|
1242
1242
|
flex-shrink: 1;
|
|
1243
1243
|
}
|
|
1244
|
-
`});var
|
|
1244
|
+
`});var Zh,vl,vr,qh=y(()=>{"use strict";k();W();oe();Kh();An();fi();di();wt();Vt();Zh=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},vl=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},vr=class extends ke{render(){return B`
|
|
1245
1245
|
<div class="ft-search-input-suggestion ft-word-wrap"
|
|
1246
1246
|
part="container"
|
|
1247
1247
|
@keydown=${e=>this.onSuggestKeyDown(e)}>
|
|
@@ -1257,9 +1257,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1257
1257
|
</a>
|
|
1258
1258
|
`)}
|
|
1259
1259
|
</div>
|
|
1260
|
-
`}onSuggestKeyDown(e){var r,n,i,a,s,c;switch(e.key){case"ArrowUp":(i=(n=(r=this.getFocusedSuggestionElement())===null||r===void 0?void 0:r.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||i===void 0||i.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(c=(s=(a=this.getFocusedSuggestionElement())===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||c===void 0||c.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e,r){(e.key==="Enter"||e.key===" ")&&this.onSuggestSelected(e,r)}onSuggestSelected(e,r){e.preventDefault(),this.dispatchEvent(new vl(r))}getIcon(e){let r=e.type==="DOCUMENT"?Fe.file_format:Fe.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?jt.BOOK:jt.ARTICLE;break;case"DOCUMENT":n=
|
|
1260
|
+
`}onSuggestKeyDown(e){var r,n,i,a,s,c;switch(e.key){case"ArrowUp":(i=(n=(r=this.getFocusedSuggestionElement())===null||r===void 0?void 0:r.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||i===void 0||i.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(c=(s=(a=this.getFocusedSuggestionElement())===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||c===void 0||c.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e,r){(e.key==="Enter"||e.key===" ")&&this.onSuggestSelected(e,r)}onSuggestSelected(e,r){e.preventDefault(),this.dispatchEvent(new vl(r))}getIcon(e){let r=e.type==="DOCUMENT"?Fe.file_format:Fe.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?jt.BOOK:jt.ARTICLE;break;case"DOCUMENT":n=ch(e.mimeType,e.filenameExtension);break;case"TOPIC":n=jt.TOPICS;break}return B`
|
|
1261
1261
|
<ft-icon .variant="${r}" .value="${n}" part="suggestion-icon"></ft-icon>
|
|
1262
|
-
`}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let e=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};vr.elementDefinitions={"ft-ripple":se,"ft-typography":me,"ft-icon":
|
|
1262
|
+
`}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let e=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};vr.elementDefinitions={"ft-ripple":se,"ft-typography":me,"ft-icon":Le};vr.styles=[Ns,Gh];Zh([ie()],vr.prototype,"suggestResults",void 0);vr=Zh([oa("ft-search-input-suggestion")],vr)});var io,He,Sl=y(()=>{"use strict";W();k();qo();Vt();ut();Vh();oe();Nr();qh();mi();wt();io=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},He=class extends Ve(ke){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(en)}render(){var e,r;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion};return B`
|
|
1263
1263
|
<div class="${mt(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
|
|
1264
1264
|
<div class="ft-search-input--input-container" part="input-container" tabindex="-1">
|
|
1265
1265
|
<div class="ft-search-input--input-outline" part="input-outline">
|
|
@@ -1297,12 +1297,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1297
1297
|
></ft-button>
|
|
1298
1298
|
</div>
|
|
1299
1299
|
</div>
|
|
1300
|
-
`}onSearchBarKeyDown(e){switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.launchSearch(this.input.value);break;default:break}}onInput(e){var r;(r=this.stateManager)===null||r===void 0||r.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}launchSearch(e){var r;(r=this.stateManager)===null||r===void 0||r.setQuery(e),this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e}))}onSuggestionSelected(e){this.launchSearch(e.detail)}};He.elementDefinitions={"ft-search-input-suggestion":vr,"ft-button":We};He.styles=[ci,_s,
|
|
1301
|
-
`});var El,
|
|
1300
|
+
`}onSearchBarKeyDown(e){switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.launchSearch(this.input.value);break;default:break}}onInput(e){var r;(r=this.stateManager)===null||r===void 0||r.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}launchSearch(e){var r;(r=this.stateManager)===null||r===void 0||r.setQuery(e),this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e}))}onSuggestionSelected(e){this.launchSearch(e.detail)}};He.elementDefinitions={"ft-search-input-suggestion":vr,"ft-button":We};He.styles=[ci,_s,Gc];io([ie()],He.prototype,"request",void 0);io([ie()],He.prototype,"liveQuery",void 0);io([ie()],He.prototype,"suggestResults",void 0);io([fe()],He.prototype,"forceCloseSuggestion",void 0);io([xe(".ft-search-input--input")],He.prototype,"input",void 0);io([xe("ft-search-input-suggestion")],He.prototype,"suggestion",void 0)});var Yh=y(()=>{"use strict"});var Qh={};Z(Qh,{FtSearchInput:()=>He,FtSearchInputCssVariables:()=>ae,styles:()=>Gc});var Xh=y(()=>{"use strict";k();Sl();qo();Yh();Sl();V("ft-search-input")(He)});var gb,Ol,Cl=y(()=>{"use strict";W();gb={},Ol=L`
|
|
1301
|
+
`});var El,Jh=y(()=>{"use strict";ut();El=dt.fromGwt("designedActionBlockAriaLabels")});var ey,Rt,wl=y(()=>{"use strict";W();k();Cl();mi();Vt();ut();Jh();ey=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Rt=class extends Ve(ke){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(El)}render(){return this.isLastPage?j:B`
|
|
1302
1302
|
<ft-button @click="${this.loadMore}">
|
|
1303
1303
|
${El.messages.searchPageLoadMore()}
|
|
1304
1304
|
</ft-button>
|
|
1305
|
-
`}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Rt.elementDefinitions={"ft-button":We};Rt.styles=Ol;
|
|
1305
|
+
`}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Rt.elementDefinitions={"ft-button":We};Rt.styles=Ol;ey([ie({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.currentPage)!==null&&r!==void 0?r:1}})],Rt.prototype,"currentPage",void 0);ey([ie({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&r!==void 0?r:!0}})],Rt.prototype,"isLastPage",void 0)});var ty=y(()=>{"use strict"});var ry={};Z(ry,{FtSearchLoadMoreButton:()=>Rt,FtSearchLoadMoreButtonCssVariables:()=>gb,styles:()=>Ol});var oy=y(()=>{"use strict";k();wl();Cl();ty();wl();V("ft-search-load-more-button")(Rt)});function bb(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(i){this.resultStateManager=i}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Rl]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Rl]):this.dispatchEvent(new Nl)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Rl,Al([w({attribute:!1})],r.prototype,"cluster",void 0),Al([w({attribute:!1})],r.prototype,"result",void 0),Al([w({attribute:!1,type:Number})],r.prototype,"rank",void 0),r}var Al,Nl,Rl,ao,_l=y(()=>{"use strict";Vt();oe();Al=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Nl=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Rl=Symbol("registerInterval");ao=class extends bb(ke){}});var Sr,Pl=y(()=>{"use strict";W();_l();bi();wo();wt();Sr=class extends ao{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?B`
|
|
1306
1306
|
<ft-typography variant="body1" part="text">${cr(e)}</ft-typography>
|
|
1307
1307
|
`:B`
|
|
1308
1308
|
<style>
|
|
@@ -1310,28 +1310,28 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1310
1310
|
display: none !important;
|
|
1311
1311
|
}
|
|
1312
1312
|
</style>
|
|
1313
|
-
`}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};Sr.elementDefinitions={"ft-typography":me};Sr.styles=
|
|
1313
|
+
`}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};Sr.elementDefinitions={"ft-typography":me};Sr.styles=Kc});var ny=y(()=>{"use strict"});var iy={};Z(iy,{FtSearchResultAbstract:()=>Sr,FtSearchResultAbstractCssVariables:()=>gi,styles:()=>Kc});var Tl=y(()=>{"use strict";k();Pl();bi();ny();Pl();V("ft-search-result-abstract")(Sr)});var xb,Gt,Il=y(()=>{"use strict";W();oe();_l();vi();wt();wo();pl();xb=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Gt=class extends ao{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():B`
|
|
1314
1314
|
<a href="${Pi(this.result)}"
|
|
1315
1315
|
@click=${this.onResultClick}
|
|
1316
|
-
target="${
|
|
1316
|
+
target="${Mh(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
|
|
1317
1317
|
part="link">
|
|
1318
1318
|
${this.renderTitle()}
|
|
1319
1319
|
</a>
|
|
1320
1320
|
`:j}renderTitle(){return B`
|
|
1321
1321
|
<ft-typography variant="title" part="text">${cr(this.selectTitle(this.result))}</ft-typography>
|
|
1322
|
-
`}onResultClick(){this.dispatchEvent(new oo(this.result,this.rank))}selectTitle(e){switch(e.type){case"MAP":return e.map.htmlTitle;case"DOCUMENT":return e.document.htmlTitle;case"TOPIC":return e.topic.htmlTitle}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};
|
|
1322
|
+
`}onResultClick(){this.dispatchEvent(new oo(this.result,this.rank))}selectTitle(e){switch(e.type){case"MAP":return e.map.htmlTitle;case"DOCUMENT":return e.document.htmlTitle;case"TOPIC":return e.topic.htmlTitle}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};Gt.elementDefinitions={"ft-typography":me};Gt.styles=Zc;xb([w({type:Boolean})],Gt.prototype,"withoutLink",void 0)});var ay=y(()=>{"use strict"});var sy={};Z(sy,{FtSearchResultTitle:()=>Gt,FtSearchResultTitleCssVariables:()=>xi,styles:()=>Zc});var Ll=y(()=>{"use strict";k();Il();vi();ay();Il();V("ft-search-result-title")(Gt)});var vb,$l,kl=y(()=>{"use strict";W();vb={},$l=L`
|
|
1323
1323
|
[part="no-results-message"] {
|
|
1324
1324
|
text-align: center;
|
|
1325
1325
|
padding: 12px;
|
|
1326
1326
|
}
|
|
1327
|
-
`});var
|
|
1327
|
+
`});var cy,Ml=y(()=>{"use strict";W();cy=L`
|
|
1328
1328
|
a {
|
|
1329
1329
|
color: inherit;
|
|
1330
1330
|
text-decoration: inherit;
|
|
1331
1331
|
}
|
|
1332
|
-
`});var Di,
|
|
1332
|
+
`});var Di,ly=y(()=>{"use strict";Di=class{constructor(e){this.onResultSelected=e,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(e){e.setResultStateManager(this),this.registeredComponents.push(e),this.bindComponent(e)}unregisterComponent(e){this.registeredComponents.splice(this.registeredComponents.indexOf(e),1),e.cluster=void 0,e.result=void 0,e.rank=void 0}registerMetadata(e){this.registeredMetadata.add(e)}unregisterMetadata(e){this.registeredMetadata.delete(e)}updateCluster(e,r){this.cluster=e,this.rank=r,this.selectResult(this.cluster.entries[0])}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(r=>this.bindComponent(r))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank}}});var Bl,Dl,Nt,Ul=y(()=>{"use strict";W();oe();k();Ml();ly();Bl=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Dl=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Nt=class extends te{constructor(){super(...arguments),this.index=0,this.stateManager=new Di(e=>this.onResultSelected(e))}render(){return B`
|
|
1333
1333
|
<slot @register-ft-search-result-component=${this.registerComponent}></slot>
|
|
1334
|
-
`}onResultSelected(e){this.result=e,this.dispatchEvent(new Dl(this.result))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};Nt.elementDefinitions={};Nt.styles=
|
|
1334
|
+
`}onResultSelected(e){this.result=e,this.dispatchEvent(new Dl(this.result))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};Nt.elementDefinitions={};Nt.styles=cy;Bl([w({attribute:!1})],Nt.prototype,"cluster",void 0);Bl([fe()],Nt.prototype,"result",void 0);Bl([w()],Nt.prototype,"index",void 0)});var dy=y(()=>{"use strict"});var uy=y(()=>{"use strict";k();Ul();Ml();dy();Ul();V("ft-search-result-context")(Nt)});var so,py,Fl=y(()=>{"use strict";ut();so=dt.build("searchResultsNumber"),py={results:"{0} results","results[\\=1]":"1 result"}});var Or,ze,Wl=y(()=>{"use strict";W();An();oe();k();kl();Vt();uy();Ll();Tl();ut();Fl();Or=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ze=class extends Ve(ke){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>B`
|
|
1335
1335
|
<ft-search-result-title></ft-search-result-title>
|
|
1336
1336
|
<ft-search-result-abstract></ft-search-result-abstract>
|
|
1337
1337
|
`,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(so)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return B`
|
|
@@ -1341,13 +1341,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1341
1341
|
@ft-search-result-cluster-change="${a=>this.onClusterChange(r.id,a.detail)}">
|
|
1342
1342
|
${this.renderResult((i=this.selectedResultByCluster[r.id])!==null&&i!==void 0?i:r.entries[0],n)}
|
|
1343
1343
|
</ft-search-result-context>
|
|
1344
|
-
`})}update(e){var r;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager")&&this.clusterSortCriterion)&&((r=this.stateManager)===null||r===void 0||r.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var r;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let n=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelector("ft-search-result-context");n&&uc.scrollIntoViewIfPossible(n,{position:1,behavior:"smooth"})}}onClusterChange(e,r){this.selectedResultByCluster[e]=r}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,r;return(r=(e=this.results)===null||e===void 0?void 0:e.map(n=>({id:this.clusterId(n.entries[0]),entries:n.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var e,r;let n=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(i=>i.entries.map(a=>({id:this.clusterId(a),entries:[a]}))))!==null&&r!==void 0?r:[];return this.paging&&this.paging.page===1?n.slice(0,this.paging.perPage):n}clusterId(e){var r,n,i,a,s;return(a=(n=(r=e.map)===null||r===void 0?void 0:r.mapId)!==null&&n!==void 0?n:(i=e.topic)===null||i===void 0?void 0:i.tocId)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.documentId}};ze.styles=$l;Or([w({type:String,attribute:"cluster-policy"})],ze.prototype,"clusterPolicy",void 0);Or([w({type:Boolean})],ze.prototype,"displayNoResultsMessage",void 0);Or([w({attribute:!1})],ze.prototype,"renderResult",void 0);Or([
|
|
1344
|
+
`})}update(e){var r;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager")&&this.clusterSortCriterion)&&((r=this.stateManager)===null||r===void 0||r.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var r;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let n=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelector("ft-search-result-context");n&&uc.scrollIntoViewIfPossible(n,{position:1,behavior:"smooth"})}}onClusterChange(e,r){this.selectedResultByCluster[e]=r}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,r;return(r=(e=this.results)===null||e===void 0?void 0:e.map(n=>({id:this.clusterId(n.entries[0]),entries:n.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var e,r;let n=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(i=>i.entries.map(a=>({id:this.clusterId(a),entries:[a]}))))!==null&&r!==void 0?r:[];return this.paging&&this.paging.page===1?n.slice(0,this.paging.perPage):n}clusterId(e){var r,n,i,a,s;return(a=(n=(r=e.map)===null||r===void 0?void 0:r.mapId)!==null&&n!==void 0?n:(i=e.topic)===null||i===void 0?void 0:i.tocId)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.documentId}};ze.styles=$l;Or([w({type:String,attribute:"cluster-policy"})],ze.prototype,"clusterPolicy",void 0);Or([w({type:Boolean})],ze.prototype,"displayNoResultsMessage",void 0);Or([w({attribute:!1})],ze.prototype,"renderResult",void 0);Or([Ce([])],ze.prototype,"clusterSortCriterion",void 0);Or([ie({selector:t=>({...t.request,paging:void 0})})],ze.prototype,"requestWithoutPaging",void 0);Or([ie({selector:t=>t.request.paging})],ze.prototype,"paging",void 0);Or([ie()],ze.prototype,"results",void 0)});var fy=y(()=>{"use strict"});var hy={};Z(hy,{FtSearchResults:()=>ze,FtSearchResultsCssVariables:()=>vb,styles:()=>$l});var yy=y(()=>{"use strict";k();Wl();kl();fy();Wl();V("ft-search-results")(ze)});var Sb,Hl,zl=y(()=>{"use strict";W();Sb={},Hl=L`
|
|
1345
1345
|
|
|
1346
|
-
`});var
|
|
1346
|
+
`});var Ob,Kt,jl=y(()=>{"use strict";W();k();zl();Vt();ut();Fl();wt();Ob=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Kt=class extends Ve(ke){constructor(){super(),this.addI18nContext(so,py)}render(){return this.paging==null?j:B`
|
|
1347
1347
|
<ft-typography variant="body1">
|
|
1348
1348
|
${so.messages.results(this.paging.totalClustersCount)}
|
|
1349
1349
|
</ft-typography>
|
|
1350
|
-
`}};
|
|
1350
|
+
`}};Kt.elementDefinitions={"ft-typography":me};Kt.styles=Hl;Ob([ie()],Kt.prototype,"paging",void 0)});var my=y(()=>{"use strict"});var gy={};Z(gy,{FtSearchResultsNumber:()=>Kt,FtSearchResultsNumberCssVariables:()=>Sb,styles:()=>Hl});var by=y(()=>{"use strict";k();jl();zl();my();jl();V("ft-search-results-number")(Kt)});k();W();k();W();k();W();k();mr();var re={padding:o.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.extend("--ft-card-border-radius","",$.borderRadiusM),borderStyle:o.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.extend("--ft-card-border-color","",$.colorOutline),hoverBorderColor:o.extend("--ft-card-hover-border-color","",$.colorPrimary),outlineStyle:o.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:o.create("--ft-card-outline-width","","SIZE","0"),outlineColor:o.extend("--ft-card-outline-color","",$.colorPrimary),selectedOutlineStyle:o.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:o.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:o.extend("--ft-card-selected-outline-color","",$.colorPrimary),selectedBorderRadius:o.extend("--ft-card-selected-border-radius","",$.borderRadiusM),colorSurface:o.extend("--ft-card-background-color","",$.colorSurface),colorOnSurfaceMedium:o.extend("--ft-card-content-color","",$.colorOnSurfaceMedium),colorOnSurfaceHigh:o.extend("--ft-card-title-color","",$.colorOnSurfaceHigh),elevation02:o.extend("--ft-card-elevation","",$.elevation02),elevation04:o.extend("--ft-card-selected-elevation","",$.elevation04)},Lf=L`
|
|
1351
1351
|
:host {
|
|
1352
1352
|
display: block;
|
|
1353
1353
|
}
|
|
@@ -1425,7 +1425,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1425
1425
|
#action {
|
|
1426
1426
|
grid-area: actions;
|
|
1427
1427
|
}
|
|
1428
|
-
`;qo();bi();mr();vi();var
|
|
1428
|
+
`;qo();bi();mr();vi();var we={searchFieldBackgroundColor:o.extend("--ft-rsid-search-field-background-color","",$.colorSurface),searchFieldBorderColor:o.extend("--ft-rsid-search-field-border-color","",$.colorOutline),searchFieldTextColor:o.extend("--ft-rsid-search-field-text-color","",$.colorOnSurface),searchFieldBorderRadius:o.extend("--ft-rsid-search-field-border-radius","",$.borderRadiusS),searchButtonColor:o.extend("--ft-rsid-search-field-button-color","",$.colorPrimary),resultsNumberColor:o.extend("--ft-rsid-results-number-color","",$.colorOnSurfaceMedium),resultBackgroundColor:o.extend("--ft-rsid-result-background-color","",$.colorSurface),resultBorderColor:o.extend("--ft-rsid-result-border-color","",$.colorOutline),resultBorderRadius:o.extend("--ft-rsid-result-border-radius","",$.borderRadiusS),resultTitleTextColor:o.extend("--ft-rsid-result-title-text-color","",$.colorOnSurface),resultBreadcrumbTextColor:o.extend("--ft-rsid-result-breadcrumb-text-color","",$.colorOnSurfaceMedium),resultContentTextColor:o.extend("--ft-rsid-result-content-text-color","",$.colorOnSurface),resultHighlightBackgroundColor:o.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:o.extend("--ft-rsid-result-hover-background-color","",$.colorPrimary),resultHoverBorderColor:o.extend("--ft-rsid-result-hover-border-color","",$.colorPrimary)},hh=L`
|
|
1429
1429
|
.ft-search-in-doc--container {
|
|
1430
1430
|
display: flex;
|
|
1431
1431
|
flex-direction: column;
|
|
@@ -1433,11 +1433,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1433
1433
|
}
|
|
1434
1434
|
|
|
1435
1435
|
ft-search-input {
|
|
1436
|
-
${O(ae.colorSurface,
|
|
1437
|
-
${O(ae.colorOutline,
|
|
1438
|
-
${O(ae.colorOnSurface,
|
|
1439
|
-
${O(ae.borderRadius,
|
|
1440
|
-
${O(ae.buttonColor,
|
|
1436
|
+
${O(ae.colorSurface,we.searchFieldBackgroundColor)};
|
|
1437
|
+
${O(ae.colorOutline,we.searchFieldBorderColor)};
|
|
1438
|
+
${O(ae.colorOnSurface,we.searchFieldTextColor)};
|
|
1439
|
+
${O(ae.borderRadius,we.searchFieldBorderRadius)};
|
|
1440
|
+
${O(ae.buttonColor,we.searchButtonColor)};
|
|
1441
1441
|
}
|
|
1442
1442
|
|
|
1443
1443
|
ft-search-results-number {
|
|
@@ -1445,41 +1445,41 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1445
1445
|
}
|
|
1446
1446
|
|
|
1447
1447
|
ft-search-results-number, ft-search-results::part(no-results-message) {
|
|
1448
|
-
color: ${
|
|
1448
|
+
color: ${we.resultsNumberColor};
|
|
1449
1449
|
}
|
|
1450
1450
|
|
|
1451
1451
|
ft-search-load-more-button {
|
|
1452
1452
|
margin: auto;
|
|
1453
1453
|
}
|
|
1454
|
-
`,
|
|
1454
|
+
`,yh=L`
|
|
1455
1455
|
ft-card {
|
|
1456
1456
|
margin-bottom: 8px;
|
|
1457
1457
|
${O(re.elevation04,"none")};
|
|
1458
1458
|
${O(re.elevation02,"none")};
|
|
1459
1459
|
${O(re.borderStyle,"solid")};
|
|
1460
1460
|
${O(re.borderRadius,$.borderRadiusS)};
|
|
1461
|
-
${O(re.colorSurface,
|
|
1462
|
-
${O(re.borderColor,
|
|
1463
|
-
${O(re.borderRadius,
|
|
1461
|
+
${O(re.colorSurface,we.resultBackgroundColor)};
|
|
1462
|
+
${O(re.borderColor,we.resultBorderColor)};
|
|
1463
|
+
${O(re.borderRadius,we.resultBorderRadius)};
|
|
1464
1464
|
}
|
|
1465
1465
|
|
|
1466
1466
|
ft-search-result-title {
|
|
1467
|
-
color: ${
|
|
1468
|
-
${O(xi.highlightBackgroundColor,
|
|
1467
|
+
color: ${we.resultTitleTextColor};
|
|
1468
|
+
${O(xi.highlightBackgroundColor,we.resultHighlightBackgroundColor)};
|
|
1469
1469
|
}
|
|
1470
1470
|
|
|
1471
1471
|
.breadcrumb {
|
|
1472
|
-
color: ${
|
|
1472
|
+
color: ${we.resultBreadcrumbTextColor};
|
|
1473
1473
|
}
|
|
1474
1474
|
|
|
1475
1475
|
ft-search-result-abstract {
|
|
1476
|
-
color: ${
|
|
1477
|
-
${O(gi.highlightBackgroundColor,
|
|
1476
|
+
color: ${we.resultContentTextColor};
|
|
1477
|
+
${O(gi.highlightBackgroundColor,we.resultHighlightBackgroundColor)};
|
|
1478
1478
|
}
|
|
1479
1479
|
|
|
1480
1480
|
ft-card:hover {
|
|
1481
|
-
${O(re.hoverBorderColor,
|
|
1482
|
-
${O(_.color,
|
|
1481
|
+
${O(re.hoverBorderColor,we.resultHoverBorderColor)};
|
|
1482
|
+
${O(_.color,we.resultHoverBackgroundColor)};
|
|
1483
1483
|
}
|
|
1484
1484
|
|
|
1485
1485
|
.result-container {
|
|
@@ -1492,7 +1492,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1492
1492
|
text-decoration: none;
|
|
1493
1493
|
color: inherit;
|
|
1494
1494
|
}
|
|
1495
|
-
`;ut();k();oe();var
|
|
1495
|
+
`;ut();k();oe();var Th;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Th||(Th={}));var ub=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ul=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},dl=Symbol("registerInterval");function pb(t){var e;class r extends t{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[dl]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[dl]):this.dispatchEvent(new ul)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=dl,ub([fe()],r.prototype,"stateManager",void 0),r}var _i=class extends pb(Pe){};oe();pl();var Ti=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};ut();var fl=dt.build("designedReaderSearchInDocument");k();W();oe();k();di();wt();Nr();var Ii=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ge=class extends te{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader};return B`
|
|
1496
1496
|
<div id="container" part="container" class=${mt(e)}>
|
|
1497
1497
|
${this.clickable?B`
|
|
1498
1498
|
<ft-ripple primary ?selected=${this.selected}></ft-ripple>
|
|
@@ -1510,8 +1510,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1510
1510
|
</ft-typography>
|
|
1511
1511
|
</div>
|
|
1512
1512
|
</div>
|
|
1513
|
-
`}};
|
|
1514
|
-
<style> ${
|
|
1513
|
+
`}};Ge.elementDefinitions={"ft-ripple":se,"ft-typography":me};Ge.styles=Lf;Ii([w()],Ge.prototype,"title",void 0);Ii([w({type:Boolean})],Ge.prototype,"clickable",void 0);Ii([w({type:Boolean})],Ge.prototype,"selected",void 0);Ii([w({type:Boolean})],Ge.prototype,"noHeader",void 0);V("ft-card")(Ge);var Zt=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Me=class t extends Ve(_i){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.userHasDoneManualAction=!1,this.uniqueId="search-in-document-"+(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.addI18nContext(fl)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var n;return B`
|
|
1514
|
+
<style> ${yh}</style>
|
|
1515
1515
|
<a href="${Pi(e)}" @click="${()=>this.onLinkClick(e,r)} }">
|
|
1516
1516
|
<ft-card clickable noheader>
|
|
1517
1517
|
<div class="result-container">
|
|
@@ -1549,7 +1549,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1549
1549
|
</slot>
|
|
1550
1550
|
</div>
|
|
1551
1551
|
</ft-search-context>
|
|
1552
|
-
`:j}update(e){super.update(e),e.has("map")&&this.searchContext&&this.searchContext.clear(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,r){this.dispatchEvent(new oo(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(
|
|
1552
|
+
`:j}update(e){super.update(e),e.has("map")&&this.searchContext&&this.searchContext.clear(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,r){this.dispatchEvent(new oo(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(jh(),zh)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(Xh(),Qh)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(oy(),ry)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(Tl(),iy)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(Ll(),sy)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(yy(),hy)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(by(),gy)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};Me.elementDefinitions={"ft-card":Ge};Me.styles=hh;Zt([ie()],Me.prototype,"map",void 0);Zt([ie()],Me.prototype,"searchInDocumentQuery",void 0);Zt([xe("ft-search-context")],Me.prototype,"searchContext",void 0);Zt([xe("ft-search-results")],Me.prototype,"searchResults",void 0);Zt([w({type:Boolean})],Me.prototype,"hideResultTitle",void 0);Zt([w({type:Boolean})],Me.prototype,"hideResultBreadcrumb",void 0);Zt([w({type:Boolean})],Me.prototype,"hideResultAbstract",void 0);Zt([w({type:Boolean})],Me.prototype,"hideResultsNumber",void 0);V("ft-reader-search-in-document")(Me);})();
|
|
1553
1553
|
/*! Bundled license information:
|
|
1554
1554
|
|
|
1555
1555
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|