@fluid-topics/ft-reader-search-in-document 1.1.84 → 1.1.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
- "use strict";(()=>{var Lh=Object.create;var xi=Object.defineProperty;var $h=Object.getOwnPropertyDescriptor;var kh=Object.getOwnPropertyNames;var Mh=Object.getPrototypeOf,Dh=Object.prototype.hasOwnProperty;var p=(t,e)=>()=>(t&&(e=t(t=0)),e);var Uh=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),G=(t,e)=>{for(var r in e)xi(t,r,{get:e[r],enumerable:!0})},Bh=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of kh(e))!Dh.call(t,i)&&i!==r&&xi(t,i,{get:()=>e[i],enumerable:!(n=$h(e,i))||n.enumerable});return t};var Fh=(t,e,r)=>(r=t!=null?Lh(Mh(t)):{},Bh(e||!t||!t.__esModule?xi(r,"default",{value:t,enumerable:!0}):r,t));var pc=p(()=>{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,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,S){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let w=S.prototype.attributeChangedCallback,B=new Set(S.observedAttributes||[]);y(S,B,w);let W={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:B};this._definitionsByTag.set(O,W),this._definitionsByClass.set(S,W);let be=r.call(n,O);be||(be=m(O),e.call(n,O,be)),this===window.customElements&&(s.set(S,W),W.standInClass=be);let Z=this._awaitingUpgrade.get(O);if(Z){this._awaitingUpgrade.delete(O);for(let v of Z)a.delete(v),x(v,W,!0)}let g=this._whenDefinedPromises.get(O);return g!==void 0&&(g.resolve(S),this._whenDefinedPromises.delete(O)),S}upgrade(){_.push(this),n.upgrade.apply(n,arguments),_.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let S=this._getDefinition(O);if(S!==void 0)return Promise.resolve(S.elementClass);let w=this._whenDefinedPromises.get(O);return w===void 0&&(w={},w.promise=new Promise(B=>w.resolve=B),this._whenDefinedPromises.set(O,w)),w.promise}_upgradeWhenDefined(O,S,w){let B=this._awaitingUpgrade.get(S);B||this._awaitingUpgrade.set(S,B=new Set),w?B.add(O):B.delete(O)}};let c;window.HTMLElement=function(){let S=c;if(S)return c=void 0,S;let w=s.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(t,[],w.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),i.set(S,w),S},window.HTMLElement.prototype=t.prototype;let d=O=>O===document||O instanceof ShadowRoot,h=O=>{let S=O.getRootNode();if(!d(S)){let w=_[_.length-1];if(w instanceof CustomElementRegistry)return w;S=w.getRootNode(),d(S)||(S=l.get(S)?.getRootNode()||document)}return S.customElements},m=O=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let B=h(w)||window.customElements,W=B._getDefinition(O);return W?x(w,W):a.set(w,B),w}connectedCallback(){let w=i.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let w=i.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=i.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=i.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=i.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=i.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},y=(O,S,w)=>{if(S.size===0||w===void 0)return;let B=O.prototype.setAttribute;B&&(O.prototype.setAttribute=function(Z,g){let v=Z.toLowerCase();if(S.has(v)){let R=this.getAttribute(v);B.call(this,v,g),w.call(this,v,R,g)}else B.call(this,v,g)});let W=O.prototype.removeAttribute;W&&(O.prototype.removeAttribute=function(Z){let g=Z.toLowerCase();if(S.has(g)){let v=this.getAttribute(g);W.call(this,g),w.call(this,g,v,null)}else W.call(this,g)});let be=O.prototype.toggleAttribute;be&&(O.prototype.toggleAttribute=function(Z,g){let v=Z.toLowerCase();if(S.has(v)){let R=this.getAttribute(v);be.call(this,v,g);let V=this.getAttribute(v);w.call(this,v,R,V)}else be.call(this,v,g)})},b=O=>{let S=Object.getPrototypeOf(O);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(O,window.HTMLElement):b(S)},x=(O,S,w=!1)=>{Object.setPrototypeOf(O,S.elementClass.prototype),i.set(O,S),c=O;try{new S.elementClass}catch{b(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(B=>{O.hasAttribute(B)&&S.attributeChangedCallback.call(O,B,null,O.getAttribute(B))}),w&&S.connectedCallback&&O.isConnected&&S.connectedCallback.call(O)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let S=E.apply(this,arguments);return O.customElements&&(S.customElements=O.customElements),S};let _=[document],P=(O,S,w=void 0)=>{let B=(w?Object.getPrototypeOf(w):O.prototype)[S];O.prototype[S]=function(){_.push(this);let W=B.apply(w||this,arguments);return W!==void 0&&l.set(W,this),_.pop(),W}};P(ShadowRoot,"createElement",document),P(ShadowRoot,"importNode",document),P(Element,"insertAdjacentHTML");let k=(O,S)=>{let w=Object.getOwnPropertyDescriptor(O.prototype,S);Object.defineProperty(O.prototype,S,{...w,set(B){_.push(this),w.set.call(this,B),_.pop()}})};if(k(Element,"innerHTML"),k(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,S=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...Z){let g=S.call(this,...Z);return O.set(g,this),g},w.forEach(Z=>{let g=window.ElementInternals.prototype,v=g[Z];g[Z]=function(...R){let V=O.get(this);if(i.get(V).formAssociated===!0)return v?.call(this,...R);throw new DOMException(`Failed to execute ${v} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class B extends Array{constructor(g){super(...g),this._elements=g}get value(){return this._elements.find(g=>g.checked===!0)?.value||""}}class W{constructor(g){let v=new Map;g.forEach((R,V)=>{let de=R.getAttribute("name"),q=v.get(de)||[];this[+V]=R,q.push(R),v.set(de,q)}),this.length=g.length,v.forEach((R,V)=>{R&&(R.length===1?this[V]=R[0]:this[V]=new B(R))})}namedItem(g){return this[g]}}let be=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let Z=be.get.call(this,[]),g=[];for(let v of Z){let R=i.get(v);(!R||R.formAssociated===!0)&&g.push(v)}return new W(g)}})}}});var fc=p(()=>{"use strict";pc();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 Wo,zo,mc,hc,Ho,gc,vi,jo,Si=p(()=>{Wo=globalThis,zo=Wo.ShadowRoot&&(Wo.ShadyCSS===void 0||Wo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mc=Symbol(),hc=new WeakMap,Ho=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==mc)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(zo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=hc.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&hc.set(r,e))}return e}toString(){return this.cssText}},gc=t=>new Ho(typeof t=="string"?t:t+"",void 0,mc),vi=(t,e)=>{if(zo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Wo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},jo=zo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return gc(r)})(t):t});var Wh,Hh,zh,jh,Vh,Kh,Vo,yc,Gh,Zh,Xr,Jr,Ko,bc,Ft,Oi=p(()=>{Si();Si();({is:Wh,defineProperty:Hh,getOwnPropertyDescriptor:zh,getOwnPropertyNames:jh,getOwnPropertySymbols:Vh,getPrototypeOf:Kh}=Object),Vo=globalThis,yc=Vo.trustedTypes,Gh=yc?yc.emptyScript:"",Zh=Vo.reactiveElementPolyfillSupport,Xr=(t,e)=>t,Jr={toAttribute(t,e){switch(e){case Boolean:t=t?Gh: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}},Ko=(t,e)=>!Wh(t,e),bc={attribute:!0,type:String,converter:Jr,reflect:!1,hasChanged:Ko};Symbol.metadata??=Symbol("metadata"),Vo.litPropertyMetadata??=new WeakMap;Ft=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=bc){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&&Hh(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=zh(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??bc}static _$Ei(){if(this.hasOwnProperty(Xr("elementProperties")))return;let e=Kh(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Xr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Xr("properties"))){let r=this.properties,n=[...jh(r),...Vh(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(jo(i))}else e!==void 0&&r.push(jo(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 vi(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:Jr).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:Jr;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??Ko)(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){}};Ft.elementStyles=[],Ft.shadowRootOptions={mode:"open"},Ft[Xr("elementProperties")]=new Map,Ft[Xr("finalized")]=new Map,Zh?.({ReactiveElement:Ft}),(Vo.reactiveElementVersions??=[]).push("2.0.2")});function Tc(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return xc!==void 0?xc.createHTML(e):e}function jt(t,e,r=t,n){if(e===Le)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=eo(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=jt(t,i._$AS(t,e.values),i,n)),e}var Ei,Go,xc,wi,st,Ai,qh,zt,Zo,eo,wc,Ac,Ci,Qr,vc,Sc,Wt,Oc,Cc,Rc,Nc,_c,Pc,Le,ae,Ec,Ht,Ic,to,qo,ro,Vt,Yo,Xo,Jo,Qo,Lc,Yh,lt=p(()=>{Ei=globalThis,Go=Ei.trustedTypes,xc=Go?Go.createPolicy("lit-html",{createHTML:t=>t}):void 0,wi="$lit$",st=`lit$${(Math.random()+"").slice(9)}$`,Ai="?"+st,qh=`<${Ai}>`,zt=document,Zo=()=>zt.createComment(""),eo=t=>t===null||typeof t!="object"&&typeof t!="function",wc=Array.isArray,Ac=t=>wc(t)||typeof t?.[Symbol.iterator]=="function",Ci=`[
2
- \f\r]`,Qr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,vc=/-->/g,Sc=/>/g,Wt=RegExp(`>|${Ci}(?:([^\\s"'>=/]+)(${Ci}*=${Ci}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Oc=/'/g,Cc=/"/g,Rc=/^(?:script|style|textarea|title)$/i,Nc=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),_c=Nc(1),Pc=Nc(2),Le=Symbol.for("lit-noChange"),ae=Symbol.for("lit-nothing"),Ec=new WeakMap,Ht=zt.createTreeWalker(zt,129);Ic=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=Qr;for(let l=0;l<r;l++){let c=t[l],d,h,m=-1,y=0;for(;y<c.length&&(s.lastIndex=y,h=s.exec(c),h!==null);)y=s.lastIndex,s===Qr?h[1]==="!--"?s=vc:h[1]!==void 0?s=Sc:h[2]!==void 0?(Rc.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Wt):h[3]!==void 0&&(s=Wt):s===Wt?h[0]===">"?(s=i??Qr,m=-1):h[1]===void 0?m=-2:(m=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?Wt:h[3]==='"'?Cc:Oc):s===Cc||s===Oc?s=Wt:s===vc||s===Sc?s=Qr:(s=Wt,i=void 0);let b=s===Wt&&t[l+1].startsWith("/>")?" ":"";a+=s===Qr?c+qh:m>=0?(n.push(d),c.slice(0,m)+wi+c.slice(m)+st+b):c+st+(m===-2?l:b)}return[Tc(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},to=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[d,h]=Ic(e,r);if(this.el=t.createElement(d,n),Ht.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=Ht.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(wi)){let y=h[s++],b=i.getAttribute(m).split(st),x=/([.?@])?(.*)/.exec(y);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Yo:x[1]==="?"?Xo:x[1]==="@"?Jo:Vt}),i.removeAttribute(m)}else m.startsWith(st)&&(c.push({type:6,index:a}),i.removeAttribute(m));if(Rc.test(i.tagName)){let m=i.textContent.split(st),y=m.length-1;if(y>0){i.textContent=Go?Go.emptyScript:"";for(let b=0;b<y;b++)i.append(m[b],Zo()),Ht.nextNode(),c.push({type:2,index:++a});i.append(m[y],Zo())}}}else if(i.nodeType===8)if(i.data===Ai)c.push({type:2,index:a});else{let m=-1;for(;(m=i.data.indexOf(st,m+1))!==-1;)c.push({type:7,index:a}),m+=st.length-1}a++}}static createElement(e,r){let n=zt.createElement("template");return n.innerHTML=e,n}};qo=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??zt).importNode(r,!0);Ht.currentNode=i;let a=Ht.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new ro(a,a.nextSibling,this,e):c.type===1?d=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(d=new Qo(a,this,e)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=Ht.nextNode(),s++)}return Ht.currentNode=zt,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++}},ro=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=ae,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=jt(this,e,r),eo(e)?e===ae||e==null||e===""?(this._$AH!==ae&&this._$AR(),this._$AH=ae):e!==this._$AH&&e!==Le&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ac(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!==ae&&eo(this._$AH)?this._$AA.nextSibling.data=e:this.$(zt.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=to.createElement(Tc(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new qo(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Ec.get(e.strings);return r===void 0&&Ec.set(e.strings,r=new to(e)),r}T(e){wc(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(Zo()),this.k(Zo()),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))}},Vt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=ae,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=ae}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=jt(this,e,r,0),s=!eo(e)||e!==this._$AH&&e!==Le,s&&(this._$AH=e);else{let l=e,c,d;for(e=a[0],c=0;c<a.length-1;c++)d=jt(this,l[n+c],r,c),d===Le&&(d=this._$AH[c]),s||=!eo(d)||d!==this._$AH[c],d===ae?e=ae:e!==ae&&(e+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(e)}O(e){e===ae?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Yo=class extends Vt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===ae?void 0:e}},Xo=class extends Vt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==ae)}},Jo=class extends Vt{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=jt(this,e,r,0)??ae)===Le)return;let n=this._$AH,i=e===ae&&n!==ae||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==ae&&(n===ae||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)}},Qo=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){jt(this,e)}},Lc={j:wi,P:st,A:Ai,C:1,M:Ic,L:qo,R:Ac,V:jt,D:ro,I:Vt,H:Xo,N:Jo,U:Yo,B:Qo},Yh=Ei.litHtmlPolyfillSupport;Yh?.(to,ro),(Ei.litHtmlVersions??=[]).push("3.1.0")});var en,oo,Ri,$c,fr,Kt,N,tn,no,Ni=p(()=>{en=globalThis,oo=en.ShadowRoot&&(en.ShadyCSS===void 0||en.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ri=Symbol(),$c=new WeakMap,fr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Ri)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(oo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=$c.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&$c.set(r,e))}return e}toString(){return this.cssText}},Kt=t=>new fr(typeof t=="string"?t:t+"",void 0,Ri),N=(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 fr(r,t,Ri)},tn=(t,e)=>{if(oo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=en.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},no=oo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Kt(r)})(t):t});var Xh,Jh,Qh,em,tm,rm,on,kc,om,nm,io,rn,_i,Mc,Ye,Pi=p(()=>{Ni();Ni();({is:Xh,defineProperty:Jh,getOwnPropertyDescriptor:Qh,getOwnPropertyNames:em,getOwnPropertySymbols:tm,getPrototypeOf:rm}=Object),on=globalThis,kc=on.trustedTypes,om=kc?kc.emptyScript:"",nm=on.reactiveElementPolyfillSupport,io=(t,e)=>t,rn={toAttribute(t,e){switch(e){case Boolean:t=t?om: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}},_i=(t,e)=>!Xh(t,e),Mc={attribute:!0,type:String,converter:rn,reflect:!1,hasChanged:_i};Symbol.metadata??=Symbol("metadata"),on.litPropertyMetadata??=new WeakMap;Ye=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=Mc){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&&Jh(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Qh(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Mc}static _$Ei(){if(this.hasOwnProperty(io("elementProperties")))return;let e=rm(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(io("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(io("properties"))){let r=this.properties,n=[...em(r),...tm(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(no(i))}else e!==void 0&&r.push(no(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 tn(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:rn).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:rn;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??_i)(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){}};Ye.elementStyles=[],Ye.shadowRootOptions={mode:"open"},Ye[io("elementProperties")]=new Map,Ye[io("finalized")]=new Map,nm?.({ReactiveElement:Ye}),(on.reactiveElementVersions??=[]).push("2.0.2")});function Gc(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Dc!==void 0?Dc.createHTML(e):e}function Yt(t,e,r=t,n){if(e===Ot)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=lo(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=Yt(t,i._$AS(t,e.values),i,n)),e}var Ii,nn,Dc,Li,ct,$i,im,qt,so,lo,zc,jc,Ti,ao,Uc,Bc,Gt,Fc,Wc,Vc,Kc,M,am,Ot,H,Hc,Zt,Zc,co,an,hr,Xt,sn,ln,cn,un,sm,lm,ki,Mi=p(()=>{Ii=globalThis,nn=Ii.trustedTypes,Dc=nn?nn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Li="$lit$",ct=`lit$${(Math.random()+"").slice(9)}$`,$i="?"+ct,im=`<${$i}>`,qt=document,so=()=>qt.createComment(""),lo=t=>t===null||typeof t!="object"&&typeof t!="function",zc=Array.isArray,jc=t=>zc(t)||typeof t?.[Symbol.iterator]=="function",Ti=`[
4
- \f\r]`,ao=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Uc=/-->/g,Bc=/>/g,Gt=RegExp(`>|${Ti}(?:([^\\s"'>=/]+)(${Ti}*=${Ti}*(?:[^
5
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Fc=/'/g,Wc=/"/g,Vc=/^(?:script|style|textarea|title)$/i,Kc=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),M=Kc(1),am=Kc(2),Ot=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),Hc=new WeakMap,Zt=qt.createTreeWalker(qt,129);Zc=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=ao;for(let l=0;l<r;l++){let c=t[l],d,h,m=-1,y=0;for(;y<c.length&&(s.lastIndex=y,h=s.exec(c),h!==null);)y=s.lastIndex,s===ao?h[1]==="!--"?s=Uc:h[1]!==void 0?s=Bc:h[2]!==void 0?(Vc.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Gt):h[3]!==void 0&&(s=Gt):s===Gt?h[0]===">"?(s=i??ao,m=-1):h[1]===void 0?m=-2:(m=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?Gt:h[3]==='"'?Wc:Fc):s===Wc||s===Fc?s=Gt:s===Uc||s===Bc?s=ao:(s=Gt,i=void 0);let b=s===Gt&&t[l+1].startsWith("/>")?" ":"";a+=s===ao?c+im:m>=0?(n.push(d),c.slice(0,m)+Li+c.slice(m)+ct+b):c+ct+(m===-2?l:b)}return[Gc(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},co=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[d,h]=Zc(e,r);if(this.el=t.createElement(d,n),Zt.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=Zt.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(Li)){let y=h[s++],b=i.getAttribute(m).split(ct),x=/([.?@])?(.*)/.exec(y);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?sn:x[1]==="?"?ln:x[1]==="@"?cn:Xt}),i.removeAttribute(m)}else m.startsWith(ct)&&(c.push({type:6,index:a}),i.removeAttribute(m));if(Vc.test(i.tagName)){let m=i.textContent.split(ct),y=m.length-1;if(y>0){i.textContent=nn?nn.emptyScript:"";for(let b=0;b<y;b++)i.append(m[b],so()),Zt.nextNode(),c.push({type:2,index:++a});i.append(m[y],so())}}}else if(i.nodeType===8)if(i.data===$i)c.push({type:2,index:a});else{let m=-1;for(;(m=i.data.indexOf(ct,m+1))!==-1;)c.push({type:7,index:a}),m+=ct.length-1}a++}}static createElement(e,r){let n=qt.createElement("template");return n.innerHTML=e,n}};an=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??qt).importNode(r,!0);Zt.currentNode=i;let a=Zt.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new hr(a,a.nextSibling,this,e):c.type===1?d=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(d=new un(a,this,e)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=Zt.nextNode(),s++)}return Zt.currentNode=qt,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++}},hr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=H,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=Yt(this,e,r),lo(e)?e===H||e==null||e===""?(this._$AH!==H&&this._$AR(),this._$AH=H):e!==this._$AH&&e!==Ot&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):jc(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!==H&&lo(this._$AH)?this._$AA.nextSibling.data=e:this.$(qt.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=co.createElement(Gc(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new an(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Hc.get(e.strings);return r===void 0&&Hc.set(e.strings,r=new co(e)),r}T(e){zc(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(so()),this.k(so()),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))}},Xt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=H,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=H}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Yt(this,e,r,0),s=!lo(e)||e!==this._$AH&&e!==Ot,s&&(this._$AH=e);else{let l=e,c,d;for(e=a[0],c=0;c<a.length-1;c++)d=Yt(this,l[n+c],r,c),d===Ot&&(d=this._$AH[c]),s||=!lo(d)||d!==this._$AH[c],d===H?e=H:e!==H&&(e+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(e)}O(e){e===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},sn=class extends Xt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===H?void 0:e}},ln=class extends Xt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==H)}},cn=class extends Xt{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Yt(this,e,r,0)??H)===Ot)return;let n=this._$AH,i=e===H&&n!==H||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==H&&(n===H||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)}},un=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){Yt(this,e)}},sm={j:Li,P:ct,A:$i,C:1,M:Zc,L:an,R:jc,V:Yt,D:hr,I:Xt,H:ln,N:cn,U:sn,B:un},lm=Ii.litHtmlPolyfillSupport;lm?.(co,hr),(Ii.litHtmlVersions??=[]).push("3.1.0");ki=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new hr(e.insertBefore(so(),a),a,void 0,r??{})}return i._$AI(t),i}});var ut,cm,um,qc=p(()=>{Pi();Pi();Mi();Mi();ut=class extends Ye{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=ki(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ot}};ut._$litElement$=!0,ut.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ut});cm=globalThis.litElementPolyfillSupport;cm?.({LitElement:ut});um={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2")});var Gy,Yc=p(()=>{Gy=!1});var Di={};G(Di,{CSSResult:()=>fr,LitElement:()=>ut,ReactiveElement:()=>Ye,_$LE:()=>um,_$LH:()=>sm,adoptStyles:()=>tn,css:()=>N,defaultConverter:()=>rn,getCompatibleStyle:()=>no,html:()=>M,isServer:()=>Gy,noChange:()=>Ot,notEqual:()=>_i,nothing:()=>H,render:()=>ki,supportsAdoptingStyleSheets:()=>oo,svg:()=>am,unsafeCSS:()=>Kt});var U=p(()=>{Oi();lt();qc();Yc()});var Ui,Xc=p(()=>{Ui=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)}});function C(t){return(e,r)=>typeof r=="object"?Jc(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 dm,Jc,Bi=p(()=>{Oi();dm={attribute:!0,type:String,converter:Jr,reflect:!1,hasChanged:Ko},Jc=(t=dm,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(l){let c=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,c,t)},init(l){return l!==void 0&&this.C(s,void 0,t),l}}}if(n==="setter"){let{name:s}=r;return function(l){let c=this[s];e.call(this,l),this.requestUpdate(s,c,t)}}throw Error("Unsupported decorator location: "+n)}});function le(t){return C({...t,state:!0,attribute:!1})}var Qc=p(()=>{Bi();});function mr(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var eu=p(()=>{});var ze,gr=p(()=>{ze=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function me(t,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof n=="object"?r:i??(()=>{let c=Symbol();return{get(){return this[c]},set(d){this[c]=d}}})();return ze(r,n,{get(){let c=s.call(this);return c===void 0&&(c=a(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return ze(r,n,{get(){return a(this)}})}}var tu=p(()=>{gr();});function fm(t){return(e,r)=>ze(e,r,{get(){return(this.renderRoot??(pm??=document.createDocumentFragment())).querySelectorAll(t)}})}var pm,ru=p(()=>{gr();});function hm(t){return(e,r)=>ze(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var ou=p(()=>{gr();});function mm(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return ze(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return i===void 0?l:l.filter(c=>c.matches(i))}})}}var nu=p(()=>{gr();});function Fi(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return ze(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var iu=p(()=>{gr();});var Wi={};G(Wi,{customElement:()=>Ui,eventOptions:()=>mr,property:()=>C,query:()=>me,queryAll:()=>fm,queryAssignedElements:()=>mm,queryAssignedNodes:()=>Fi,queryAsync:()=>hm,standardProperty:()=>Jc,state:()=>le});var re=p(()=>{Xc();Bi();Qc();eu();tu();ru();ou();nu();iu()});var Ct,Et,Xe,uo=p(()=>{Ct={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Et=t=>(...e)=>({_$litDirective$:t,values:e}),Xe=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 gm,au,yr,wt,ym,su,lu,dn,cu=p(()=>{lt();({D:gm}=Lc),au=()=>document.createComment(""),yr=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(au(),i),s=n.insertBefore(au(),i);r=new gm(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let c;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(c=t._$AU)!==s._$AU&&r._$AP(c)}if(a!==i||l){let c=r._$AA;for(;c!==a;){let d=c.nextSibling;n.insertBefore(c,i),c=d}}}return r},wt=(t,e,r=t)=>(t._$AI(e,r),t),ym={},su=(t,e=ym)=>t._$AH=e,lu=t=>t._$AH,dn=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 uu,po,du=p(()=>{lt();uo();cu();uu=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},po=Et(class extends Xe{constructor(t){if(super(t),t.type!==Ct.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 l of t)i[s]=n?n(l,s):s,a[s]=r(l,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=lu(t),{values:a,keys:s}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],c=[],d,h,m=0,y=i.length-1,b=0,x=a.length-1;for(;m<=y&&b<=x;)if(i[m]===null)m++;else if(i[y]===null)y--;else if(l[m]===s[b])c[b]=wt(i[m],a[b]),m++,b++;else if(l[y]===s[x])c[x]=wt(i[y],a[x]),y--,x--;else if(l[m]===s[x])c[x]=wt(i[m],a[x]),yr(t,c[x+1],i[m]),m++,x--;else if(l[y]===s[b])c[b]=wt(i[y],a[b]),yr(t,i[m],i[y]),y--,b++;else if(d===void 0&&(d=uu(s,b,x),h=uu(l,m,y)),d.has(l[m]))if(d.has(l[y])){let E=h.get(s[b]),_=E!==void 0?i[E]:null;if(_===null){let P=yr(t,i[m]);wt(P,a[b]),c[b]=P}else c[b]=wt(_,a[b]),yr(t,i[m],_),i[E]=null;b++}else dn(i[y]),y--;else dn(i[m]),m++;for(;b<=x;){let E=yr(t,c[x+1]);wt(E,a[b]),c[b++]=E}for(;m<=y;){let E=i[m++];E!==null&&dn(E)}return this.dt=s,su(t,c),Le}})});var Hi={};G(Hi,{repeat:()=>po});var pn=p(()=>{du()});var dt,pu=p(()=>{lt();uo();dt=Et(class extends Xe{constructor(t){if(super(t),t.type!==Ct.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 Le}})});var zi={};G(zi,{classMap:()=>dt});var br=p(()=>{pu()});var fu,bm,xm,hu=p(()=>{lt();uo();fu="important",bm=" !"+fu,xm=Et(class extends Xe{constructor(t){if(super(t),t.type!==Ct.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(bm);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?fu:""):r[n]=i}}return Le}})});var ji={};G(ji,{styleMap:()=>xm});var mu=p(()=>{hu()});var xr,Jt,gu=p(()=>{lt();uo();xr=class extends Xe{constructor(e){if(super(e),this.et=ae,e.type!==Ct.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===ae||e==null)return this.vt=void 0,this.et=e;if(e===Le)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:[]}}};xr.directiveName="unsafeHTML",xr.resultType=1;Jt=Et(xr)});var Vi={};G(Vi,{UnsafeHTMLDirective:()=>xr,unsafeHTML:()=>Jt});var fo=p(()=>{gu()});var Ki={};G(Ki,{CancelablePromise:()=>vr,CanceledPromiseError:()=>At,cancelable:()=>Sr});var At,vr,Sr,fn=p(()=>{"use strict";At=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},vr=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new At("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new At("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Sr=t=>new vr((e,r)=>t.then(e).catch(r))});var Gi={};G(Gi,{CacheRegistry:()=>Je});var Je,Zi=p(()=>{"use strict";fn();Je=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 vr&&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=Sr(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 Yi={};G(Yi,{ClusteringHelper:()=>qi});var qi,Xi=p(()=>{"use strict";qi=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),l=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(d=>t.extractResultMetadata(d,e)).map(d=>d??{key:e,label:l,value:void 0,displayValue:n}).filter(d=>d.value!=s?.value).filter((d,h,m)=>m.findIndex(y=>y.value===d.value)===h).map(d=>({result:this.findBestResultForMetadataValue(e,d.value),metadata:d})).sort((d,h)=>this.compareMetadata(d.metadata.value,h.metadata.value,e,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",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=e.localeCompare(r,i,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(c=>{var d;return((d=t.extractResultMetadata(c,e))===null||d===void 0?void 0:d.value)==r}),a=[...t.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==e)],s,l=-1;for(let c of n){let d=this.countMatchingMetadata(c,a);if(d>l&&(l=d,s=c,d===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}}});var Ji={};G(Ji,{Debouncer:()=>ye});var ye,hn=p(()=>{"use strict";ye=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(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var Qi={};G(Qi,{dateReviver:()=>Sm,deepEqual:()=>je,delay:()=>mn,eventPathContainsMatchingElement:()=>Cm,flatDeep:()=>bu,hasChanged:()=>ho,last:()=>wm,minmax:()=>Em,parseDate:()=>xu,waitFor:()=>yu,waitUntil:()=>vm});async function vm(t,e=10,r=2e4){await yu(async()=>await t()||void 0,e,r)}async function yu(t,e=10,r=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await mn(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function bu(t,e){return t.flatMap(r=>[r,...bu(e(r),e)])}function Sm(...t){return function(e,r){return t.includes(e)?xu(r):r}}function xu(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 Om(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(!je(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(!je(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(!je(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function je(t,e){try{return Om(t,e)}catch{return!1}}function ho(t,e){return!je(t,e)}function Cm(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 Em(t,e,r){return Math.min(Math.max(t,e),r)}function wm(t){return t[t.length-1]}var mn,mo=p(()=>{"use strict";mn=t=>new Promise(e=>setTimeout(e,t))});var ea={};G(ea,{customElement:()=>z,isNumber:()=>vu,jsonProperty:()=>Oe,optionalNumberProperty:()=>Am});function Oe(t,e){let r=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:ho,...e??{}})}function Am(t){return C({type:Object,converter:{fromAttribute:e=>{if(e!=null)return vu(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function vu(t){return!isNaN(parseFloat(t))}var z,gn=p(()=>{"use strict";re();mo();z=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});function I(t,e){return pt(`${t.name}: ${e}`)}var pt,o,Y=p(()=>{U();pt=t=>typeof t=="string"?Kt(t):t,o=class{static create(e,r,n,i){let a=l=>pt(l??i),s=N`var(${pt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>N`var(${pt(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=l=>n.get(l??i),s=N`var(${pt(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=l=>N`var(${pt(e)}, ${a(l)})`,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):pt(a??e.lastResortDefaultValue()),i=N`var(${pt(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=>N`var(${pt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}}});var u,ta,ra,oa,na,ia,aa,sa,la,ca,Su,ua,da,pa,fa,ha,ma,ga,ya,ba,xa,va,Sa,Oa,Ca,Ea,wa,go,Rm,Q=p(()=>{Y();u={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"),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)")},ta={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")},ra={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")},oa={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")},na={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")},ia={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")},sa={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")},la={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")},ca={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")},Su={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")},ua={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")},da={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")},pa={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")},fa={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")},ha={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")},ma={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")},ga={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")},ya={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")},xa={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")},va={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")},Sa={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")},Oa={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")},Ca={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")},Ea={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")},wa={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")},go={display:ta,"title-1":ra,"title-2":oa,"title-3":na,"body-1-regular":ia,"body-1-medium":aa,"body-1-semibold":sa,"body-2-regular":la,"body-2-medium":ca,"body-2-medium-underline":Su,"body-2-semibold":ua,"label-1-medium":da,"label-1-semibold":pa,"label-1-bold":fa,"label-2-medium":ha,"label-2-semibold":ma,"label-2-bold":ga,"caption-1-medium":ya,"caption-1-semibold":ba,"caption-1-bold":xa,"caption-2-medium":va,"caption-2-semibold":Sa,"caption-2-bold":Oa,"caption-3-medium":Ca,"caption-3-semibold":Ea,"caption-3-bold":wa},Rm=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});var f,oe=p(()=>{Y();Q();f={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",u.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",u.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",u.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",u.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",u.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",u.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",u.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",u.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",u.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",u.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",u.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",u.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",u.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",u.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",u.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",u.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",u.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",u.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
- Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",u.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",u.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",u.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",u.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",u.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",u.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",u.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",u.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",u.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",u.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",u.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",u.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",u.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",u.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",u.colorGray80)}});var T,Ou=p(()=>{Y();Q();oe();T={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",u.spacing4),largeGap:o.extend("--ft-button-large-gap","",u.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",u.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",u.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","",u.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",u.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",u.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",u.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","",u.spacing2),smallGap:o.extend("--ft-button-small-gap","",u.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",u.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",u.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","",u.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","",u.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",u.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",u.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",u.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",u.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",u.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",u.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",u.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",u.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",u.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",u.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",u.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",u.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",u.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",u.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",u.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",u.opacity40)}});var Nm,Cu=p(()=>{Y();Q();oe();Nm={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",u.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",u.spacing1),largeGap:o.extend("--ft-chip-large-gap","",u.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.extend("--ft-chip-large-border-radius","",u.borderRadiusPill),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",u.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",u.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",u.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",u.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.extend("--ft-chip-medium-border-radius","",u.borderRadiusPill),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",u.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",u.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",u.spacing05),smallGap:o.extend("--ft-chip-small-gap","",u.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.extend("--ft-chip-small-border-radius","",u.borderRadiusPill),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",u.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)}});var _m,Eu=p(()=>{Y();Q();oe();_m={focusOpacity:o.extend("--ft-link-focus-opacity","",u.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",f.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",f.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",f.contentInfoPrimary)}});var Pm,wu=p(()=>{Y();Q();oe();Pm={iconSize:o.extend("--ft-banner-icon-size","",u.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",u.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",u.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",u.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",u.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",u.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",u.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",u.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)}});var Tm,Au=p(()=>{Y();Q();oe();Tm={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",u.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",u.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",u.borderRadiusPill),color:o.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",f.contentActionPrimary)}});var Im,Ru=p(()=>{Y();Q();oe();Im={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",u.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",u.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)}});var Lm,Nu=p(()=>{Y();Q();oe();Lm={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",u.spacing12),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",u.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",u.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",u.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",u.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",u.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",u.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)}});var $m,_u=p(()=>{Y();Q();oe();$m={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",u.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",u.opacity40),shadow:o.extend("--ft-modal-shadow","",u.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",u.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",u.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",u.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",u.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",u.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",u.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",u.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",u.spacing6),headerGap:o.extend("--ft-modal-header-gap","",u.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",u.borderRadiusM)}});var km,Pu=p(()=>{Y();Q();oe();km={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",u.opacity40),shadow:o.extend("--ft-drawer-shadow","",u.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",u.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",u.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",u.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",u.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",u.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",u.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",u.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",u.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",u.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","",u.colorGray700)}});var Mm,Tu=p(()=>{Y();Q();oe();Mm={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",u.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",u.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",u.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",u.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",u.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",u.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",f.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","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",u.opacity40)}});var Dm,Iu=p(()=>{Y();Q();oe();Dm={backgroundColor:o.extend("--ft-text-area-background-color","",u.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",f.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","",u.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",u.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",u.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",u.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",u.borderRadiusM)}});var Um,Lu=p(()=>{Y();Q();oe();Um={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",u.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",u.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",u.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",u.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",u.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",u.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",u.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface)}});var Bm,$u=p(()=>{Y();Q();oe();Bm={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",u.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",u.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",u.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",u.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",u.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",u.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",u.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",u.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",u.opacity40)}});var Fm,ku=p(()=>{Y();Q();oe();Fm={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",u.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.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","",u.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",u.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",u.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",u.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",u.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",u.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",u.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",u.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",u.borderRadiusM)}});var Wm,Mu=p(()=>{Y();Q();oe();Wm={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",u.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",u.spacing6),titleColor:o.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:o.extend("--ft-popover-gap","",u.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",u.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",u.shadowElevation02)}});var Hm,Du=p(()=>{Y();Q();oe();Hm={topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",u.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",u.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",u.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",u.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",u.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",u.spacing1),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",u.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",u.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",u.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",u.opacity40),offColor:o.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",u.opacity8),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",u.opacity0),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",u.opacity8),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",u.opacity16),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",u.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",u.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",u.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",u.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)}});var zm,Uu=p(()=>{Y();Q();oe();zm={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",u.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",u.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",u.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",u.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",u.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",u.spacing3),color:o.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",u.iconSize3)}});var jm,Bu=p(()=>{Y();Q();oe();jm={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",u.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",u.spacing1),groupGap:o.extend("--ft-switch-group-gap","",u.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",u.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",u.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",u.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",u.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",u.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",u.opacity40),offColor:o.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",u.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",u.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",u.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",u.opacity40),onColor:o.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",u.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",u.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",u.borderRadiusS)}});var Vm,Fu=p(()=>{Y();Q();Vm={color1Light:o.extend("--ft-chart-1-light","for area color charts",u.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",u.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",u.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",u.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",u.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",u.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",u.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",u.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",u.colorRed40),color5Base:o.extend("--ft-chart-5-base","",u.colorRed60),color6Light:o.extend("--ft-chart-6-light","",u.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",u.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",u.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",u.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",u.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",u.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",u.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",u.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",u.colorGray50),color10Base:o.extend("--ft-chart-10-base","",u.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",u.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",u.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",u.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",u.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",u.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",u.colorBrand200)}});var Km,Wu=p(()=>{Y();Q();oe();Km={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",u.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",u.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",u.borderRadiusS),gap:o.extend("--ft-notice-gap","",u.spacing2),iconSize:o.extend("--ft-notice-icon-size","",u.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)}});var Gm,Hu=p(()=>{Y();Q();oe();Gm={color:o.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",u.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",u.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",u.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",u.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",u.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",u.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",u.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",u.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",u.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",u.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",f.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","",u.spacing3)}});var Zm,zu=p(()=>{Y();Q();oe();Zm={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",u.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",u.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",u.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",u.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",u.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",u.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",u.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",u.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:o.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",u.spacing3)}});var qm,ju=p(()=>{Y();Q();oe();qm={color:o.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",u.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",u.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",u.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",u.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",u.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",u.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",u.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",u.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",f.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","",u.spacing3)}});var Ym,Vu=p(()=>{Y();Q();oe();Ym={iconSize:o.extend("--ft-notification-icon-size","",u.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",u.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",u.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",u.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",u.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",u.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",u.spacing8)}});var Xm,Ku=p(()=>{Y();Q();oe();Xm={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",u.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",u.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",u.borderRadiusS),color:o.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",u.opacity80),shadow:o.extend("--ft-tooltip-shadow","",u.shadowElevation03),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",u.spacing05)}});var Gu=p(()=>{Q();oe();Ou();Cu();Eu();wu();Au();Ru();Nu();_u();Pu();Tu();Iu();Lu();$u();ku();Mu();Du();Uu();Bu();Fu();Wu();Hu();zu();ju();Vu();Ku()});function Jm(t){return`design-system--family-${t}`}function Qm(t){return`design-system--size-${t}`}var Aa,Ra,Zu=p(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Aa||(Aa={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(Ra||(Ra={}))});var K=p(()=>{Y();Gu();Zu()});var Na={};G(Na,{DesignSystemFamily:()=>Aa,DesignSystemSize:()=>Ra,FtCssVariableFactory:()=>o,badge:()=>Tm,banner:()=>Pm,breadcrumb:()=>Im,button:()=>T,chart:()=>Vm,checkbox:()=>Gm,chip:()=>Nm,collapsible:()=>zm,comboboxMultiSelect:()=>Fm,comboboxSingleSelect:()=>Bm,drawer:()=>km,floatingMenu:()=>Um,foundation:()=>u,link:()=>_m,modal:()=>$m,notice:()=>Km,notification:()=>Ym,pageHeader:()=>Lm,popover:()=>Wm,radio:()=>qm,resolveFamilyClass:()=>Jm,resolveSizeClass:()=>Qm,semantic:()=>f,setVariable:()=>I,switch_:()=>jm,tabs:()=>Hm,textArea:()=>Dm,textInput:()=>Mm,toggle:()=>Zm,tooltip:()=>Xm,typographies:()=>go,typographyBody1Medium:()=>aa,typographyBody1Regular:()=>ia,typographyBody1Semibold:()=>sa,typographyBody2Medium:()=>ca,typographyBody2MediumUnderline:()=>Su,typographyBody2Regular:()=>la,typographyBody2Semibold:()=>ua,typographyCaption1Bold:()=>xa,typographyCaption1Medium:()=>ya,typographyCaption1Semibold:()=>ba,typographyCaption2Bold:()=>Oa,typographyCaption2Medium:()=>va,typographyCaption2Semibold:()=>Sa,typographyCaption3Bold:()=>wa,typographyCaption3Medium:()=>Ca,typographyCaption3Semibold:()=>Ea,typographyDisplay:()=>ta,typographyLabel1Bold:()=>fa,typographyLabel1Medium:()=>da,typographyLabel1Semibold:()=>pa,typographyLabel2Bold:()=>ga,typographyLabel2Medium:()=>ha,typographyLabel2Semibold:()=>ma,typographyTitle1:()=>ra,typographyTitle2:()=>oa,typographyTitle3:()=>na,typographyVariants:()=>Rm});var yn=p(()=>{"use strict";K()});var _a={};G(_a,{designSystemVariables:()=>L});var L,Pa=p(()=>{"use strict";yn();L={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 $a={};G($a,{FtNotificationEvent:()=>Ta,PostResizeEvent:()=>La,PreResizeEvent:()=>Ia});var Ta,Ia,La,ka=p(()=>{"use strict";Ta=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Ia=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},La=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}});function Ua(t,e,r){return Rt(t,yo(e,r))}function bn(t,e){return typeof t=="function"?t(e):t}function Or(t){return t.split("-")[0]}function Nt(t){return t.split("-")[1]}function Ba(t){return t==="x"?"y":"x"}function Fa(t){return t==="y"?"height":"width"}function xn(t){return["top","bottom"].includes(Or(t))?"y":"x"}function Wa(t){return Ba(xn(t))}function Xu(t,e,r){r===void 0&&(r=!1);let n=Nt(t),i=Wa(t),a=Fa(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Ma(s)),[s,Ma(s)]}function Ju(t){return t.replace(/start|end/g,e=>tg[e])}function Ma(t){return t.replace(/left|right|bottom|top/g,e=>eg[e])}function rg(t){return{top:0,right:0,bottom:0,left:0,...t}}function Qu(t){return typeof t!="number"?rg(t):{top:t,right:t,bottom:t,left:t}}function Qt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var Yu,qu,Da,yo,Rt,bo,ft,eg,tg,vn=p(()=>{Yu=["top","right","bottom","left"],qu=["start","end"],Da=Yu.reduce((t,e)=>t.concat(e,e+"-"+qu[0],e+"-"+qu[1]),[]),yo=Math.min,Rt=Math.max,bo=Math.round,ft=t=>({x:t,y:t}),eg={left:"right",right:"left",bottom:"top",top:"bottom"},tg={start:"end",end:"start"}});function ed(t,e,r){let{reference:n,floating:i}=t,a=xn(e),s=Wa(e),l=Fa(s),c=Or(e),d=a==="y",h=n.x+n.width/2-i.width/2,m=n.y+n.height/2-i.height/2,y=n[l]/2-i[l]/2,b;switch(c){case"top":b={x:h,y:n.y-i.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:m};break;case"left":b={x:n.x-i.width,y:m};break;default:b={x:n.x,y:n.y}}switch(Nt(e)){case"start":b[s]-=y*(r&&d?-1:1);break;case"end":b[s]+=y*(r&&d?-1:1);break}return b}async function Ha(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:c}=t,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:m="floating",altBoundary:y=!1,padding:b=0}=bn(e,t),x=Qu(b),_=l[y?m==="floating"?"reference":"floating":m],P=Qt(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(_)))==null||r?_:_.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:d,rootBoundary:h,strategy:c})),k=m==="floating"?{...s.floating,x:n,y:i}:s.reference,O=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),S=await(a.isElement==null?void 0:a.isElement(O))?await(a.getScale==null?void 0:a.getScale(O))||{x:1,y:1}:{x:1,y:1},w=Qt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:k,offsetParent:O,strategy:c}):k);return{top:(P.top-w.top+x.top)/S.y,bottom:(w.bottom-P.bottom+x.bottom)/S.y,left:(P.left-w.left+x.left)/S.x,right:(w.right-P.right+x.right)/S.x}}function og(t,e,r){return(t?[...r.filter(i=>Nt(i)===t),...r.filter(i=>Nt(i)!==t)]:r.filter(i=>Or(i)===i)).filter(i=>t?Nt(i)===t||(e?Ju(i)!==i:!1):!0)}var td,za,ja,Va=p(()=>{vn();vn();td=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),d=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:m}=ed(d,n,c),y=n,b={},x=0;for(let E=0;E<l.length;E++){let{name:_,fn:P}=l[E],{x:k,y:O,data:S,reset:w}=await P({x:h,y:m,initialPlacement:n,placement:y,strategy:i,middlewareData:b,rects:d,platform:s,elements:{reference:t,floating:e}});if(h=k??h,m=O??m,b={...b,[_]:{...b[_],...S}},w&&x<=50){x++,typeof w=="object"&&(w.placement&&(y=w.placement),w.rects&&(d=w.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):w.rects),{x:h,y:m}=ed(d,y,c)),E=-1;continue}}return{x:h,y:m,placement:y,strategy:i,middlewareData:b}};za=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:l,platform:c,elements:d}=e,{crossAxis:h=!1,alignment:m,allowedPlacements:y=Da,autoAlignment:b=!0,...x}=bn(t,e),E=m!==void 0||y===Da?og(m||null,b,y):y,_=await Ha(e,x),P=((r=s.autoPlacement)==null?void 0:r.index)||0,k=E[P];if(k==null)return{};let O=Xu(k,a,await(c.isRTL==null?void 0:c.isRTL(d.floating)));if(l!==k)return{reset:{placement:E[0]}};let S=[_[Or(k)],_[O[0]],_[O[1]]],w=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:k,overflows:S}],B=E[P+1];if(B)return{data:{index:P+1,overflows:w},reset:{placement:B}};let W=w.map(g=>{let v=Nt(g.placement);return[g.placement,v&&h?g.overflows.slice(0,2).reduce((R,V)=>R+V,0):g.overflows[0],g.overflows]}).sort((g,v)=>g[1]-v[1]),Z=((i=W.filter(g=>g[2].slice(0,Nt(g[0])?2:3).every(v=>v<=0))[0])==null?void 0:i[0])||W[0][0];return Z!==l?{data:{index:P+1,overflows:w},reset:{placement:Z}}:{}}}},ja=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:l={fn:_=>{let{x:P,y:k}=_;return{x:P,y:k}}},...c}=bn(t,e),d={x:r,y:n},h=await Ha(e,c),m=xn(Or(i)),y=Ba(m),b=d[y],x=d[m];if(a){let _=y==="y"?"top":"left",P=y==="y"?"bottom":"right",k=b+h[_],O=b-h[P];b=Ua(k,b,O)}if(s){let _=m==="y"?"top":"left",P=m==="y"?"bottom":"right",k=x+h[_],O=x-h[P];x=Ua(k,x,O)}let E=l.fn({...e,[y]:b,[m]:x});return{...E,data:{x:E.x-r,y:E.y-n}}}}}});function ht(t){return od(t)?(t.nodeName||"").toLowerCase():"#document"}function Ee(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function mt(t){var e;return(e=(od(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function od(t){return t instanceof Node||t instanceof Ee(t).Node}function Qe(t){return t instanceof Element||t instanceof Ee(t).Element}function Ve(t){return t instanceof HTMLElement||t instanceof Ee(t).HTMLElement}function rd(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ee(t).ShadowRoot}function Cr(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=$e(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function nd(t){return["table","td","th"].includes(ht(t))}function On(t){let e=Cn(),r=$e(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 id(t){let e=er(t);for(;Ve(e)&&!xo(e);){if(On(e))return e;e=er(e)}return null}function Cn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function xo(t){return["html","body","#document"].includes(ht(t))}function $e(t){return Ee(t).getComputedStyle(t)}function vo(t){return Qe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function er(t){if(ht(t)==="html")return t;let e=t.assignedSlot||t.parentNode||rd(t)&&t.host||mt(t);return rd(e)?e.host:e}function ad(t){let e=er(t);return xo(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ve(e)&&Cr(e)?e:ad(e)}function Sn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=ad(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=Ee(i);return a?e.concat(s,s.visualViewport||[],Cr(i)?i:[],s.frameElement&&r?Sn(s.frameElement):[]):e.concat(i,Sn(i,[],r))}var sd=p(()=>{});function ud(t){let e=$e(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Ve(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,l=bo(r)!==a||bo(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function dd(t){return Qe(t)?t:t.contextElement}function Er(t){let e=dd(t);if(!Ve(e))return ft(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=ud(e),s=(a?bo(r.width):r.width)/n,l=(a?bo(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function pd(t){let e=Ee(t);return!Cn()||!e.visualViewport?ng:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ig(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Ee(t)?!1:e}function So(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=dd(t),s=ft(1);e&&(n?Qe(n)&&(s=Er(n)):s=Er(t));let l=ig(a,r,n)?pd(a):ft(0),c=(i.left+l.x)/s.x,d=(i.top+l.y)/s.y,h=i.width/s.x,m=i.height/s.y;if(a){let y=Ee(a),b=n&&Qe(n)?Ee(n):n,x=y.frameElement;for(;x&&n&&b!==y;){let E=Er(x),_=x.getBoundingClientRect(),P=$e(x),k=_.left+(x.clientLeft+parseFloat(P.paddingLeft))*E.x,O=_.top+(x.clientTop+parseFloat(P.paddingTop))*E.y;c*=E.x,d*=E.y,h*=E.x,m*=E.y,c+=k,d+=O,x=Ee(x).frameElement}}return Qt({width:h,height:m,x:c,y:d})}function ag(t){let{rect:e,offsetParent:r,strategy:n}=t,i=Ve(r),a=mt(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=ft(1),c=ft(0);if((i||!i&&n!=="fixed")&&((ht(r)!=="body"||Cr(a))&&(s=vo(r)),Ve(r))){let d=So(r);l=Er(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+c.x,y:e.y*l.y-s.scrollTop*l.y+c.y}}function sg(t){return Array.from(t.getClientRects())}function fd(t){return So(mt(t)).left+vo(t).scrollLeft}function lg(t){let e=mt(t),r=vo(t),n=t.ownerDocument.body,i=Rt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Rt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+fd(t),l=-r.scrollTop;return $e(n).direction==="rtl"&&(s+=Rt(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function cg(t,e){let r=Ee(t),n=mt(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;let d=Cn();(!d||d&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}function ug(t,e){let r=So(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=Ve(t)?Er(t):ft(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,c=i*a.x,d=n*a.y;return{width:s,height:l,x:c,y:d}}function ld(t,e,r){let n;if(e==="viewport")n=cg(t,r);else if(e==="document")n=lg(mt(t));else if(Qe(e))n=ug(e,r);else{let i=pd(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return Qt(n)}function hd(t,e){let r=er(t);return r===e||!Qe(r)||xo(r)?!1:$e(r).position==="fixed"||hd(r,e)}function dg(t,e){let r=e.get(t);if(r)return r;let n=Sn(t,[],!1).filter(l=>Qe(l)&&ht(l)!=="body"),i=null,a=$e(t).position==="fixed",s=a?er(t):t;for(;Qe(s)&&!xo(s);){let l=$e(s),c=On(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Cr(s)&&!c&&hd(t,s))?n=n.filter(h=>h!==s):i=l,s=er(s)}return e.set(t,n),n}function pg(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?dg(e,this._c):[].concat(r),n],l=s[0],c=s.reduce((d,h)=>{let m=ld(e,h,i);return d.top=Rt(m.top,d.top),d.right=yo(m.right,d.right),d.bottom=yo(m.bottom,d.bottom),d.left=Rt(m.left,d.left),d},ld(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function fg(t){return ud(t)}function hg(t,e,r){let n=Ve(e),i=mt(e),a=r==="fixed",s=So(t,!0,a,e),l={scrollLeft:0,scrollTop:0},c=ft(0);if(n||!n&&!a)if((ht(e)!=="body"||Cr(i))&&(l=vo(e)),n){let d=So(e,!0,a,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}else i&&(c.x=fd(i));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function cd(t,e){return!Ve(t)||$e(t).position==="fixed"?null:e?e(t):t.offsetParent}function md(t,e){let r=Ee(t);if(!Ve(t))return r;let n=cd(t,e);for(;n&&nd(n)&&$e(n).position==="static";)n=cd(n,e);return n&&(ht(n)==="html"||ht(n)==="body"&&$e(n).position==="static"&&!On(n))?r:n||id(t)||r}function gg(t){return $e(t).direction==="rtl"}var ng,mg,En,gd,yd=p(()=>{Va();Va();vn();sd();ng=ft(0);mg=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||md,a=this.getDimensions;return{reference:hg(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};En={convertOffsetParentRelativeRectToViewportRelativeRect:ag,getDocumentElement:mt,getClippingRect:pg,getOffsetParent:md,getElementRects:mg,getClientRects:sg,getDimensions:fg,getScale:Er,isElement:Qe,isRTL:gg},gd=(t,e,r)=>{let n=new Map,i={platform:En,...r},a={...i.platform,_c:n};return td(t,e,{...i,platform:a})}});function bd(t){return yg(t)}function Ka(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function yg(t){for(let e=t;e;e=Ka(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ka(t);e;e=Ka(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 xd=p(()=>{});var Za={};G(Za,{computeOffsetPosition:()=>Ga});async function Ga(t,e,r){return gd(t,e,{platform:{...En,getOffsetParent:n=>En.getOffsetParent(n,bd)},middleware:[ja({crossAxis:!0}),za({allowedPlacements:[r]})]})}var wn=p(()=>{"use strict";yd();xd()});var An,bg,Qv,vd,Sd=p(()=>{An=window,bg=An.ShadowRoot&&(An.ShadyCSS===void 0||An.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Qv=Symbol(),vd=(t,e)=>{bg?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=An.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})}});var qa={};G(qa,{ScopedRegistryLitElement:()=>Oo});var Oo,Rn=p(()=>{"use strict";U();Sd();Oo=class extends ut{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 vd(n,e.elementStyles),n}}});var Ya={};G(Ya,{FtLitElement:()=>X});var Nn,Ed,Od,Cd,wd,X,_n=p(()=>{"use strict";re();gn();hn();Rn();Nn=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},Od=Symbol("constructorPrototype"),Cd=Symbol("constructorName"),wd=Symbol("exportpartsDebouncer"),X=class extends Oo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ed]=new ye(5),this[Cd]=this.constructor.name,this[Od]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Cd]&&Object.setPrototypeOf(this,this[Od])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}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[wd].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,l;let c=y=>y!=null&&y.trim().length>0,d=e.filter(c).map(y=>y.trim());if(d.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let y of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],x=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...x).filter(c).map(E=>E.trim()).forEach(E=>h.add(E))}if(h.size===0){this.removeAttribute("exportparts");return}let m=[...h.values()].flatMap(y=>d.map(b=>`${y}:${b}--${y}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};Ed=wd;Nn([C()],X.prototype,"exportpartsPrefix",void 0);Nn([Oe([])],X.prototype,"exportpartsPrefixes",void 0);Nn([C()],X.prototype,"customStylesheet",void 0);Nn([le()],X.prototype,"useAdoptedStyleSheets",void 0)});var Ad={};var Xa=p(()=>{"use strict"});var tr,Rd=p(()=>{tr=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,l=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&i(l)};s||c(),a.forEach(d=>{t.matches(d,this.exclude)?c():this.onIframeReady(d,h=>{r(d)&&(l++,n(h)),c()},c)})}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),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)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((l,c)=>{l.val===n&&(a=c,s=l.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),l=[],c=[],d,h,m=()=>({prevNode:h,node:d}=this.getIteratorNode(s),d);for(;m();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(d,h,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(e,b=>c.push(b),i)}),c.push(d);c.forEach(y=>{n(y)}),this.iframes&&this.handleOpenIframes(l,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let c=()=>{this.iterateThroughNodes(e,l,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,c):c()})}}});var Co,Nd=p(()=>{Rd();Co=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 tr(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],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,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(l=>{s+=`|${this.escapeStr(l)}`}),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:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(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,l=r-s,c=parseInt(e.start,10)-l;return c=c>s?s:c,i=c+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||i-c<0||c>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(c,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:i,valid:a}}getTextNodes(e){let 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 tr.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),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((s,l)=>{let c=e.nodes[l+1];if(typeof c>"u"||c.start>r){if(!i(s.node))return!1;let d=r-s.start,h=(n>s.end?s.end:n)-s.start,m=e.value.substr(0,s.start),y=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,h),e.value=m+y,e.nodes.forEach((b,x)=>{x>=l&&(e.nodes[x].start>0&&x!==l&&(e.nodes[x].start-=h),e.nodes[x].end-=h)}),n-=h,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(l=>{l.nodes.forEach(c=>{c=c.node;let d;for(;(d=e.exec(c.textContent))!==null&&d[s]!=="";){if(!n(d[s],c))continue;let h=d.index;if(s!==0)for(let m=1;m<s;m++)h+=d[m].length;c=this.wrapRangeInTextNode(c,h,h+d[s].length),i(c.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let c;for(;(c=e.exec(l.value))!==null&&c[s]!=="";){let d=c.index;if(s!==0)for(let m=1;m<s;m++)d+=c[m].length;let h=d+c[s].length;this.wrapRangeInMappedTextNode(l,d,h,m=>n(c[s],m),(m,y)=>{e.lastIndex=y,i(m)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,c)=>{let{start:d,end:h,valid:m}=this.checkWhitespaceRanges(l,s,a.value);m&&this.wrapRangeInMappedTextNode(a,d,h,y=>r(y,l,a.value.substring(d,h),c),y=>{n(y,l)})}),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,l)=>this.opt.filter(l,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),l=this.opt.caseSensitive?"":"i",c=d=>{let h=new RegExp(this.createRegExp(d),`gm${l}`),m=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(y,b)=>this.opt.filter(b,d,n,m),y=>{m++,n++,this.opt.each(y)},()=>{m===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):c(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):c(a[0])}markRanges(e,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,l,c)=>this.opt.filter(a,s,l,c),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let 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=tr.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function Ja(t){let e=new Co(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 _d=p(()=>{Nd()});var ts={};G(ts,{highlightHtml:()=>es,highlightHtmlColorCssVariable:()=>Pd,highlightHtmlStyles:()=>vg});function es(t,e){var r;let n=t.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let i=new xg(t);i.unmark(Qa),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{...Qa,separateWordSearch:!0}),((r=e.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...Qa,separateWordSearch:!1})))}t.setAttribute("data-highlight-html-query",e??"")}var xg,Pd,vg,Qa,rs=p(()=>{"use strict";U();K();_d();xg=Ja,Pd=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),vg=N`
1
+ "use strict";(()=>{var Fh=Object.create;var Ci=Object.defineProperty;var Wh=Object.getOwnPropertyDescriptor;var Hh=Object.getOwnPropertyNames;var zh=Object.getPrototypeOf,jh=Object.prototype.hasOwnProperty;var p=(t,e)=>()=>(t&&(e=t(t=0)),e);var Vh=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),G=(t,e)=>{for(var r in e)Ci(t,r,{get:e[r],enumerable:!0})},Kh=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Hh(e))!jh.call(t,i)&&i!==r&&Ci(t,i,{get:()=>e[i],enumerable:!(n=Wh(e,i))||n.enumerable});return t};var Gh=(t,e,r)=>(r=t!=null?Fh(zh(t)):{},Kh(e||!t||!t.__esModule?Ci(r,"default",{value:t,enumerable:!0}):r,t));var bc=p(()=>{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,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,S){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let w=S.prototype.attributeChangedCallback,B=new Set(S.observedAttributes||[]);y(S,B,w);let W={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:B};this._definitionsByTag.set(O,W),this._definitionsByClass.set(S,W);let be=r.call(n,O);be||(be=m(O),e.call(n,O,be)),this===window.customElements&&(s.set(S,W),W.standInClass=be);let q=this._awaitingUpgrade.get(O);if(q){this._awaitingUpgrade.delete(O);for(let v of q)a.delete(v),x(v,W,!0)}let g=this._whenDefinedPromises.get(O);return g!==void 0&&(g.resolve(S),this._whenDefinedPromises.delete(O)),S}upgrade(){T.push(this),n.upgrade.apply(n,arguments),T.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let S=this._getDefinition(O);if(S!==void 0)return Promise.resolve(S.elementClass);let w=this._whenDefinedPromises.get(O);return w===void 0&&(w={},w.promise=new Promise(B=>w.resolve=B),this._whenDefinedPromises.set(O,w)),w.promise}_upgradeWhenDefined(O,S,w){let B=this._awaitingUpgrade.get(S);B||this._awaitingUpgrade.set(S,B=new Set),w?B.add(O):B.delete(O)}};let c;window.HTMLElement=function(){let S=c;if(S)return c=void 0,S;let w=s.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(t,[],w.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),i.set(S,w),S},window.HTMLElement.prototype=t.prototype;let u=O=>O===document||O instanceof ShadowRoot,h=O=>{let S=O.getRootNode();if(!u(S)){let w=T[T.length-1];if(w instanceof CustomElementRegistry)return w;S=w.getRootNode(),u(S)||(S=l.get(S)?.getRootNode()||document)}return S.customElements},m=O=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let B=h(w)||window.customElements,W=B._getDefinition(O);return W?x(w,W):a.set(w,B),w}connectedCallback(){let w=i.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let w=i.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=i.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=i.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=i.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=i.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},y=(O,S,w)=>{if(S.size===0||w===void 0)return;let B=O.prototype.setAttribute;B&&(O.prototype.setAttribute=function(q,g){let v=q.toLowerCase();if(S.has(v)){let N=this.getAttribute(v);B.call(this,v,g),w.call(this,v,N,g)}else B.call(this,v,g)});let W=O.prototype.removeAttribute;W&&(O.prototype.removeAttribute=function(q){let g=q.toLowerCase();if(S.has(g)){let v=this.getAttribute(g);W.call(this,g),w.call(this,g,v,null)}else W.call(this,g)});let be=O.prototype.toggleAttribute;be&&(O.prototype.toggleAttribute=function(q,g){let v=q.toLowerCase();if(S.has(v)){let N=this.getAttribute(v);be.call(this,v,g);let K=this.getAttribute(v);w.call(this,v,N,K)}else be.call(this,v,g)})},b=O=>{let S=Object.getPrototypeOf(O);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(O,window.HTMLElement):b(S)},x=(O,S,w=!1)=>{Object.setPrototypeOf(O,S.elementClass.prototype),i.set(O,S),c=O;try{new S.elementClass}catch{b(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(B=>{O.hasAttribute(B)&&S.attributeChangedCallback.call(O,B,null,O.getAttribute(B))}),w&&S.connectedCallback&&O.isConnected&&S.connectedCallback.call(O)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let S=E.apply(this,arguments);return O.customElements&&(S.customElements=O.customElements),S};let T=[document],I=(O,S,w=void 0)=>{let B=(w?Object.getPrototypeOf(w):O.prototype)[S];O.prototype[S]=function(){T.push(this);let W=B.apply(w||this,arguments);return W!==void 0&&l.set(W,this),T.pop(),W}};I(ShadowRoot,"createElement",document),I(ShadowRoot,"importNode",document),I(Element,"insertAdjacentHTML");let k=(O,S)=>{let w=Object.getOwnPropertyDescriptor(O.prototype,S);Object.defineProperty(O.prototype,S,{...w,set(B){T.push(this),w.set.call(this,B),T.pop()}})};if(k(Element,"innerHTML"),k(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,S=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...q){let g=S.call(this,...q);return O.set(g,this),g},w.forEach(q=>{let g=window.ElementInternals.prototype,v=g[q];g[q]=function(...N){let K=O.get(this);if(i.get(K).formAssociated===!0)return v?.call(this,...N);throw new DOMException(`Failed to execute ${v} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class B extends Array{constructor(g){super(...g),this._elements=g}get value(){return this._elements.find(g=>g.checked===!0)?.value||""}}class W{constructor(g){let v=new Map;g.forEach((N,K)=>{let ue=N.getAttribute("name"),Y=v.get(ue)||[];this[+K]=N,Y.push(N),v.set(ue,Y)}),this.length=g.length,v.forEach((N,K)=>{N&&(N.length===1?this[K]=N[0]:this[K]=new B(N))})}namedItem(g){return this[g]}}let be=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let q=be.get.call(this,[]),g=[];for(let v of q){let N=i.get(v);(!N||N.formAssociated===!0)&&g.push(v)}return new W(g)}})}}});var xc=p(()=>{"use strict";bc();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 zo,Vo,Sc,vc,jo,Oc,Ei,Ko,wi=p(()=>{zo=globalThis,Vo=zo.ShadowRoot&&(zo.ShadyCSS===void 0||zo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Sc=Symbol(),vc=new WeakMap,jo=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Sc)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(Vo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=vc.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&vc.set(r,e))}return e}toString(){return this.cssText}},Oc=t=>new jo(typeof t=="string"?t:t+"",void 0,Sc),Ei=(t,e)=>{if(Vo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=zo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},Ko=Vo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Oc(r)})(t):t});var Zh,qh,Yh,Xh,Jh,Qh,Go,Cc,em,tm,Qr,eo,Zo,Ec,Ht,Ai=p(()=>{wi();wi();({is:Zh,defineProperty:qh,getOwnPropertyDescriptor:Yh,getOwnPropertyNames:Xh,getOwnPropertySymbols:Jh,getPrototypeOf:Qh}=Object),Go=globalThis,Cc=Go.trustedTypes,em=Cc?Cc.emptyScript:"",tm=Go.reactiveElementPolyfillSupport,Qr=(t,e)=>t,eo={toAttribute(t,e){switch(e){case Boolean:t=t?em: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}},Zo=(t,e)=>!Zh(t,e),Ec={attribute:!0,type:String,converter:eo,reflect:!1,hasChanged:Zo};Symbol.metadata??=Symbol("metadata"),Go.litPropertyMetadata??=new WeakMap;Ht=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=Ec){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&&qh(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Yh(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ec}static _$Ei(){if(this.hasOwnProperty(Qr("elementProperties")))return;let e=Qh(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Qr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Qr("properties"))){let r=this.properties,n=[...Xh(r),...Jh(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(Ko(i))}else e!==void 0&&r.push(Ko(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 Ei(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:eo).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:eo;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??Zo)(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){}};Ht.elementStyles=[],Ht.shadowRootOptions={mode:"open"},Ht[Qr("elementProperties")]=new Map,Ht[Qr("finalized")]=new Map,tm?.({ReactiveElement:Ht}),(Go.reactiveElementVersions??=[]).push("2.0.2")});function Dc(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return wc!==void 0?wc.createHTML(e):e}function Kt(t,e,r=t,n){if(e===Le)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=ro(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=Kt(t,i._$AS(t,e.values),i,n)),e}var Ni,qo,wc,_i,at,Pi,rm,Vt,Yo,ro,Tc,Ic,Ri,to,Ac,Rc,zt,Nc,_c,Lc,$c,kc,Mc,Le,ae,Pc,jt,Uc,oo,Xo,no,Gt,Jo,Qo,en,tn,Bc,om,st=p(()=>{Ni=globalThis,qo=Ni.trustedTypes,wc=qo?qo.createPolicy("lit-html",{createHTML:t=>t}):void 0,_i="$lit$",at=`lit$${(Math.random()+"").slice(9)}$`,Pi="?"+at,rm=`<${Pi}>`,Vt=document,Yo=()=>Vt.createComment(""),ro=t=>t===null||typeof t!="object"&&typeof t!="function",Tc=Array.isArray,Ic=t=>Tc(t)||typeof t?.[Symbol.iterator]=="function",Ri=`[
2
+ \f\r]`,to=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ac=/-->/g,Rc=/>/g,zt=RegExp(`>|${Ri}(?:([^\\s"'>=/]+)(${Ri}*=${Ri}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Nc=/'/g,_c=/"/g,Lc=/^(?:script|style|textarea|title)$/i,$c=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),kc=$c(1),Mc=$c(2),Le=Symbol.for("lit-noChange"),ae=Symbol.for("lit-nothing"),Pc=new WeakMap,jt=Vt.createTreeWalker(Vt,129);Uc=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=to;for(let l=0;l<r;l++){let c=t[l],u,h,m=-1,y=0;for(;y<c.length&&(s.lastIndex=y,h=s.exec(c),h!==null);)y=s.lastIndex,s===to?h[1]==="!--"?s=Ac:h[1]!==void 0?s=Rc:h[2]!==void 0?(Lc.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=zt):h[3]!==void 0&&(s=zt):s===zt?h[0]===">"?(s=i??to,m=-1):h[1]===void 0?m=-2:(m=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?zt:h[3]==='"'?_c:Nc):s===_c||s===Nc?s=zt:s===Ac||s===Rc?s=to:(s=zt,i=void 0);let b=s===zt&&t[l+1].startsWith("/>")?" ":"";a+=s===to?c+rm:m>=0?(n.push(u),c.slice(0,m)+_i+c.slice(m)+at+b):c+at+(m===-2?l:b)}return[Dc(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,l=e.length-1,c=this.parts,[u,h]=Uc(e,r);if(this.el=t.createElement(u,n),jt.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=jt.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(_i)){let y=h[s++],b=i.getAttribute(m).split(at),x=/([.?@])?(.*)/.exec(y);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Jo:x[1]==="?"?Qo:x[1]==="@"?en:Gt}),i.removeAttribute(m)}else m.startsWith(at)&&(c.push({type:6,index:a}),i.removeAttribute(m));if(Lc.test(i.tagName)){let m=i.textContent.split(at),y=m.length-1;if(y>0){i.textContent=qo?qo.emptyScript:"";for(let b=0;b<y;b++)i.append(m[b],Yo()),jt.nextNode(),c.push({type:2,index:++a});i.append(m[y],Yo())}}}else if(i.nodeType===8)if(i.data===Pi)c.push({type:2,index:a});else{let m=-1;for(;(m=i.data.indexOf(at,m+1))!==-1;)c.push({type:7,index:a}),m+=at.length-1}a++}}static createElement(e,r){let n=Vt.createElement("template");return n.innerHTML=e,n}};Xo=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??Vt).importNode(r,!0);jt.currentNode=i;let a=jt.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let u;c.type===2?u=new no(a,a.nextSibling,this,e):c.type===1?u=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(u=new tn(a,this,e)),this._$AV.push(u),c=n[++l]}s!==c?.index&&(a=jt.nextNode(),s++)}return jt.currentNode=Vt,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++}},no=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=ae,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=Kt(this,e,r),ro(e)?e===ae||e==null||e===""?(this._$AH!==ae&&this._$AR(),this._$AH=ae):e!==this._$AH&&e!==Le&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ic(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!==ae&&ro(this._$AH)?this._$AA.nextSibling.data=e:this.$(Vt.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(Dc(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Xo(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Pc.get(e.strings);return r===void 0&&Pc.set(e.strings,r=new oo(e)),r}T(e){Tc(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(Yo()),this.k(Yo()),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))}},Gt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=ae,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=ae}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Kt(this,e,r,0),s=!ro(e)||e!==this._$AH&&e!==Le,s&&(this._$AH=e);else{let l=e,c,u;for(e=a[0],c=0;c<a.length-1;c++)u=Kt(this,l[n+c],r,c),u===Le&&(u=this._$AH[c]),s||=!ro(u)||u!==this._$AH[c],u===ae?e=ae:e!==ae&&(e+=(u??"")+a[c+1]),this._$AH[c]=u}s&&!i&&this.O(e)}O(e){e===ae?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Jo=class extends Gt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===ae?void 0:e}},Qo=class extends Gt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==ae)}},en=class extends Gt{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Kt(this,e,r,0)??ae)===Le)return;let n=this._$AH,i=e===ae&&n!==ae||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==ae&&(n===ae||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)}},tn=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){Kt(this,e)}},Bc={j:_i,P:at,A:Pi,C:1,M:Uc,L:Xo,R:Ic,V:Kt,D:no,I:Gt,H:Qo,N:en,U:Jo,B:tn},om=Ni.litHtmlPolyfillSupport;om?.(oo,no),(Ni.litHtmlVersions??=[]).push("3.1.0")});var rn,io,Ti,Fc,mr,Zt,_,on,ao,Ii=p(()=>{rn=globalThis,io=rn.ShadowRoot&&(rn.ShadyCSS===void 0||rn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ti=Symbol(),Fc=new WeakMap,mr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Ti)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(io&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Fc.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Fc.set(r,e))}return e}toString(){return this.cssText}},Zt=t=>new mr(typeof t=="string"?t:t+"",void 0,Ti),_=(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 mr(r,t,Ti)},on=(t,e)=>{if(io)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=rn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},ao=io?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Zt(r)})(t):t});var nm,im,am,sm,lm,cm,an,Wc,dm,um,so,nn,Li,Hc,Ye,$i=p(()=>{Ii();Ii();({is:nm,defineProperty:im,getOwnPropertyDescriptor:am,getOwnPropertyNames:sm,getOwnPropertySymbols:lm,getPrototypeOf:cm}=Object),an=globalThis,Wc=an.trustedTypes,dm=Wc?Wc.emptyScript:"",um=an.reactiveElementPolyfillSupport,so=(t,e)=>t,nn={toAttribute(t,e){switch(e){case Boolean:t=t?dm: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}},Li=(t,e)=>!nm(t,e),Hc={attribute:!0,type:String,converter:nn,reflect:!1,hasChanged:Li};Symbol.metadata??=Symbol("metadata"),an.litPropertyMetadata??=new WeakMap;Ye=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=Hc){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&&im(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=am(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Hc}static _$Ei(){if(this.hasOwnProperty(so("elementProperties")))return;let e=cm(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(so("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(so("properties"))){let r=this.properties,n=[...sm(r),...lm(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(ao(i))}else e!==void 0&&r.push(ao(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 on(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:nn).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:nn;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??Li)(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){}};Ye.elementStyles=[],Ye.shadowRootOptions={mode:"open"},Ye[so("elementProperties")]=new Map,Ye[so("finalized")]=new Map,um?.({ReactiveElement:Ye}),(an.reactiveElementVersions??=[]).push("2.0.2")});function Qc(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return zc!==void 0?zc.createHTML(e):e}function Jt(t,e,r=t,n){if(e===Ct)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=uo(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=Jt(t,i._$AS(t,e.values),i,n)),e}var Mi,sn,zc,Di,lt,Ui,pm,Xt,co,uo,qc,Yc,ki,lo,jc,Vc,qt,Kc,Gc,Xc,Jc,M,fm,Ct,H,Zc,Yt,ed,po,ln,gr,Qt,cn,dn,un,pn,hm,mm,Bi,Fi=p(()=>{Mi=globalThis,sn=Mi.trustedTypes,zc=sn?sn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Di="$lit$",lt=`lit$${(Math.random()+"").slice(9)}$`,Ui="?"+lt,pm=`<${Ui}>`,Xt=document,co=()=>Xt.createComment(""),uo=t=>t===null||typeof t!="object"&&typeof t!="function",qc=Array.isArray,Yc=t=>qc(t)||typeof t?.[Symbol.iterator]=="function",ki=`[
4
+ \f\r]`,lo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,jc=/-->/g,Vc=/>/g,qt=RegExp(`>|${ki}(?:([^\\s"'>=/]+)(${ki}*=${ki}*(?:[^
5
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Kc=/'/g,Gc=/"/g,Xc=/^(?:script|style|textarea|title)$/i,Jc=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),M=Jc(1),fm=Jc(2),Ct=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),Zc=new WeakMap,Yt=Xt.createTreeWalker(Xt,129);ed=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=lo;for(let l=0;l<r;l++){let c=t[l],u,h,m=-1,y=0;for(;y<c.length&&(s.lastIndex=y,h=s.exec(c),h!==null);)y=s.lastIndex,s===lo?h[1]==="!--"?s=jc:h[1]!==void 0?s=Vc:h[2]!==void 0?(Xc.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=qt):h[3]!==void 0&&(s=qt):s===qt?h[0]===">"?(s=i??lo,m=-1):h[1]===void 0?m=-2:(m=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?qt:h[3]==='"'?Gc:Kc):s===Gc||s===Kc?s=qt:s===jc||s===Vc?s=lo:(s=qt,i=void 0);let b=s===qt&&t[l+1].startsWith("/>")?" ":"";a+=s===lo?c+pm:m>=0?(n.push(u),c.slice(0,m)+Di+c.slice(m)+lt+b):c+lt+(m===-2?l:b)}return[Qc(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},po=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[u,h]=ed(e,r);if(this.el=t.createElement(u,n),Yt.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=Yt.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(Di)){let y=h[s++],b=i.getAttribute(m).split(lt),x=/([.?@])?(.*)/.exec(y);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?cn:x[1]==="?"?dn:x[1]==="@"?un:Qt}),i.removeAttribute(m)}else m.startsWith(lt)&&(c.push({type:6,index:a}),i.removeAttribute(m));if(Xc.test(i.tagName)){let m=i.textContent.split(lt),y=m.length-1;if(y>0){i.textContent=sn?sn.emptyScript:"";for(let b=0;b<y;b++)i.append(m[b],co()),Yt.nextNode(),c.push({type:2,index:++a});i.append(m[y],co())}}}else if(i.nodeType===8)if(i.data===Ui)c.push({type:2,index:a});else{let m=-1;for(;(m=i.data.indexOf(lt,m+1))!==-1;)c.push({type:7,index:a}),m+=lt.length-1}a++}}static createElement(e,r){let n=Xt.createElement("template");return n.innerHTML=e,n}};ln=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??Xt).importNode(r,!0);Yt.currentNode=i;let a=Yt.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let u;c.type===2?u=new gr(a,a.nextSibling,this,e):c.type===1?u=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(u=new pn(a,this,e)),this._$AV.push(u),c=n[++l]}s!==c?.index&&(a=Yt.nextNode(),s++)}return Yt.currentNode=Xt,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++}},gr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=H,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=Jt(this,e,r),uo(e)?e===H||e==null||e===""?(this._$AH!==H&&this._$AR(),this._$AH=H):e!==this._$AH&&e!==Ct&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Yc(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!==H&&uo(this._$AH)?this._$AA.nextSibling.data=e:this.$(Xt.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=po.createElement(Qc(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new ln(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Zc.get(e.strings);return r===void 0&&Zc.set(e.strings,r=new po(e)),r}T(e){qc(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(co()),this.k(co()),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))}},Qt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=H,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=H}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Jt(this,e,r,0),s=!uo(e)||e!==this._$AH&&e!==Ct,s&&(this._$AH=e);else{let l=e,c,u;for(e=a[0],c=0;c<a.length-1;c++)u=Jt(this,l[n+c],r,c),u===Ct&&(u=this._$AH[c]),s||=!uo(u)||u!==this._$AH[c],u===H?e=H:e!==H&&(e+=(u??"")+a[c+1]),this._$AH[c]=u}s&&!i&&this.O(e)}O(e){e===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},cn=class extends Qt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===H?void 0:e}},dn=class extends Qt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==H)}},un=class extends Qt{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Jt(this,e,r,0)??H)===Ct)return;let n=this._$AH,i=e===H&&n!==H||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==H&&(n===H||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)}},pn=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){Jt(this,e)}},hm={j:Di,P:lt,A:Ui,C:1,M:ed,L:ln,R:Yc,V:Jt,D:gr,I:Qt,H:dn,N:un,U:cn,B:pn},mm=Mi.litHtmlPolyfillSupport;mm?.(po,gr),(Mi.litHtmlVersions??=[]).push("3.1.0");Bi=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new gr(e.insertBefore(co(),a),a,void 0,r??{})}return i._$AI(t),i}});var ct,gm,ym,td=p(()=>{$i();$i();Fi();Fi();ct=class extends Ye{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=Bi(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ct}};ct._$litElement$=!0,ct.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ct});gm=globalThis.litElementPolyfillSupport;gm?.({LitElement:ct});ym={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2")});var Jy,rd=p(()=>{Jy=!1});var Wi={};G(Wi,{CSSResult:()=>mr,LitElement:()=>ct,ReactiveElement:()=>Ye,_$LE:()=>ym,_$LH:()=>hm,adoptStyles:()=>on,css:()=>_,defaultConverter:()=>nn,getCompatibleStyle:()=>ao,html:()=>M,isServer:()=>Jy,noChange:()=>Ct,notEqual:()=>Li,nothing:()=>H,render:()=>Bi,supportsAdoptingStyleSheets:()=>io,svg:()=>fm,unsafeCSS:()=>Zt});var U=p(()=>{Ai();st();td();rd()});var Hi,od=p(()=>{Hi=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)}});function C(t){return(e,r)=>typeof r=="object"?nd(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 bm,nd,zi=p(()=>{Ai();bm={attribute:!0,type:String,converter:eo,reflect:!1,hasChanged:Zo},nd=(t=bm,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(l){let c=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,c,t)},init(l){return l!==void 0&&this.C(s,void 0,t),l}}}if(n==="setter"){let{name:s}=r;return function(l){let c=this[s];e.call(this,l),this.requestUpdate(s,c,t)}}throw Error("Unsupported decorator location: "+n)}});function le(t){return C({...t,state:!0,attribute:!1})}var id=p(()=>{zi();});function yr(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var ad=p(()=>{});var je,br=p(()=>{je=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function me(t,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof n=="object"?r:i??(()=>{let c=Symbol();return{get(){return this[c]},set(u){this[c]=u}}})();return je(r,n,{get(){let c=s.call(this);return c===void 0&&(c=a(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return je(r,n,{get(){return a(this)}})}}var sd=p(()=>{br();});function vm(t){return(e,r)=>je(e,r,{get(){return(this.renderRoot??(xm??=document.createDocumentFragment())).querySelectorAll(t)}})}var xm,ld=p(()=>{br();});function Sm(t){return(e,r)=>je(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var cd=p(()=>{br();});function Om(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return je(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return i===void 0?l:l.filter(c=>c.matches(i))}})}}var dd=p(()=>{br();});function ji(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return je(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var ud=p(()=>{br();});var Vi={};G(Vi,{customElement:()=>Hi,eventOptions:()=>yr,property:()=>C,query:()=>me,queryAll:()=>vm,queryAssignedElements:()=>Om,queryAssignedNodes:()=>ji,queryAsync:()=>Sm,standardProperty:()=>nd,state:()=>le});var ee=p(()=>{od();zi();id();ad();sd();ld();cd();dd();ud()});var Et,wt,Xe,fo=p(()=>{Et={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},wt=t=>(...e)=>({_$litDirective$:t,values:e}),Xe=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 Cm,pd,xr,At,Em,fd,hd,fn,md=p(()=>{st();({D:Cm}=Bc),pd=()=>document.createComment(""),xr=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(pd(),i),s=n.insertBefore(pd(),i);r=new Cm(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let c;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(c=t._$AU)!==s._$AU&&r._$AP(c)}if(a!==i||l){let c=r._$AA;for(;c!==a;){let u=c.nextSibling;n.insertBefore(c,i),c=u}}}return r},At=(t,e,r=t)=>(t._$AI(e,r),t),Em={},fd=(t,e=Em)=>t._$AH=e,hd=t=>t._$AH,fn=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 gd,ho,yd=p(()=>{st();fo();md();gd=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},ho=wt(class extends Xe{constructor(t){if(super(t),t.type!==Et.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 l of t)i[s]=n?n(l,s):s,a[s]=r(l,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 l=this.dt??=[],c=[],u,h,m=0,y=i.length-1,b=0,x=a.length-1;for(;m<=y&&b<=x;)if(i[m]===null)m++;else if(i[y]===null)y--;else if(l[m]===s[b])c[b]=At(i[m],a[b]),m++,b++;else if(l[y]===s[x])c[x]=At(i[y],a[x]),y--,x--;else if(l[m]===s[x])c[x]=At(i[m],a[x]),xr(t,c[x+1],i[m]),m++,x--;else if(l[y]===s[b])c[b]=At(i[y],a[b]),xr(t,i[m],i[y]),y--,b++;else if(u===void 0&&(u=gd(s,b,x),h=gd(l,m,y)),u.has(l[m]))if(u.has(l[y])){let E=h.get(s[b]),T=E!==void 0?i[E]:null;if(T===null){let I=xr(t,i[m]);At(I,a[b]),c[b]=I}else c[b]=At(T,a[b]),xr(t,i[m],T),i[E]=null;b++}else fn(i[y]),y--;else fn(i[m]),m++;for(;b<=x;){let E=xr(t,c[x+1]);At(E,a[b]),c[b++]=E}for(;m<=y;){let E=i[m++];E!==null&&fn(E)}return this.dt=s,fd(t,c),Le}})});var Ki={};G(Ki,{repeat:()=>ho});var hn=p(()=>{yd()});var dt,bd=p(()=>{st();fo();dt=wt(class extends Xe{constructor(t){if(super(t),t.type!==Et.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 Le}})});var Gi={};G(Gi,{classMap:()=>dt});var vr=p(()=>{bd()});var xd,wm,Am,vd=p(()=>{st();fo();xd="important",wm=" !"+xd,Am=wt(class extends Xe{constructor(t){if(super(t),t.type!==Et.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(wm);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?xd:""):r[n]=i}}return Le}})});var Zi={};G(Zi,{styleMap:()=>Am});var Sd=p(()=>{vd()});var Sr,er,Od=p(()=>{st();fo();Sr=class extends Xe{constructor(e){if(super(e),this.et=ae,e.type!==Et.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===ae||e==null)return this.vt=void 0,this.et=e;if(e===Le)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:[]}}};Sr.directiveName="unsafeHTML",Sr.resultType=1;er=wt(Sr)});var qi={};G(qi,{UnsafeHTMLDirective:()=>Sr,unsafeHTML:()=>er});var mo=p(()=>{Od()});var Yi={};G(Yi,{CancelablePromise:()=>Or,CanceledPromiseError:()=>Rt,cancelable:()=>Cr});var Rt,Or,Cr,mn=p(()=>{"use strict";Rt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Or=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new Rt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new Rt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Cr=t=>new Or((e,r)=>t.then(e).catch(r))});var Xi={};G(Xi,{CacheRegistry:()=>Je});var Je,Ji=p(()=>{"use strict";mn();Je=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 Or&&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=Cr(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 ea={};G(ea,{ClusteringHelper:()=>Qi});var Qi,ta=p(()=>{"use strict";Qi=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),l=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(u=>t.extractResultMetadata(u,e)).map(u=>u??{key:e,label:l,value:void 0,displayValue:n}).filter(u=>u.value!=s?.value).filter((u,h,m)=>m.findIndex(y=>y.value===u.value)===h).map(u=>({result:this.findBestResultForMetadataValue(e,u.value),metadata:u})).sort((u,h)=>this.compareMetadata(u.metadata.value,h.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",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=e.localeCompare(r,i,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(c=>{var u;return((u=t.extractResultMetadata(c,e))===null||u===void 0?void 0:u.value)==r}),a=[...t.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==e)],s,l=-1;for(let c of n){let u=this.countMatchingMetadata(c,a);if(u>l&&(l=u,s=c,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 ra={};G(ra,{Debouncer:()=>ye});var ye,gn=p(()=>{"use strict";ye=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(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var oa={};G(oa,{dateReviver:()=>Nm,deepEqual:()=>Ve,delay:()=>yn,eventPathContainsMatchingElement:()=>Pm,flatDeep:()=>Ed,hasChanged:()=>go,last:()=>Im,minmax:()=>Tm,parseDate:()=>wd,waitFor:()=>Cd,waitUntil:()=>Rm});async function Rm(t,e=10,r=2e4){await Cd(async()=>await t()||void 0,e,r)}async function Cd(t,e=10,r=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await yn(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Ed(t,e){return t.flatMap(r=>[r,...Ed(e(r),e)])}function Nm(...t){return function(e,r){return t.includes(e)?wd(r):r}}function wd(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 _m(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(!Ve(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(!Ve(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(!Ve(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Ve(t,e){try{return _m(t,e)}catch{return!1}}function go(t,e){return!Ve(t,e)}function Pm(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 Tm(t,e,r){return Math.min(Math.max(t,e),r)}function Im(t){return t[t.length-1]}var yn,yo=p(()=>{"use strict";yn=t=>new Promise(e=>setTimeout(e,t))});var na={};G(na,{customElement:()=>z,isNumber:()=>Ad,jsonProperty:()=>Oe,optionalNumberProperty:()=>Lm});function Oe(t,e){let r=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:go,...e??{}})}function Lm(t){return C({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Ad(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Ad(t){return!isNaN(parseFloat(t))}var z,bn=p(()=>{"use strict";ee();yo();z=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});function P(t,e){return ut(`${t.name}: ${e}`)}var ut,o,X=p(()=>{U();ut=t=>typeof t=="string"?Zt(t):t,o=class{static create(e,r,n,i){let a=l=>ut(l??i),s=_`var(${ut(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>_`var(${ut(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=l=>n.get(l??i),s=_`var(${ut(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=l=>_`var(${ut(e)}, ${a(l)})`,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):ut(a??e.lastResortDefaultValue()),i=_`var(${ut(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=>_`var(${ut(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}}});var d,ia,aa,sa,la,ca,da,ua,pa,fa,Rd,ha,ma,ga,ya,ba,xa,va,Sa,Oa,Ca,Ea,wa,Aa,Ra,Na,_a,bo,$m,Q=p(()=>{X();d={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"),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)")},ia={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")},aa={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")},sa={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")},la={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")},ca={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")},da={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")},ua={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")},pa={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")},fa={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")},Rd={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")},ha={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")},ma={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")},ga={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")},ya={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")},ba={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")},xa={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")},va={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")},Sa={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")},Oa={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")},Ca={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")},Ea={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")},Aa={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")},Ra={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")},Na={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")},_a={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")},bo={display:ia,"title-1":aa,"title-2":sa,"title-3":la,"body-1-regular":ca,"body-1-medium":da,"body-1-semibold":ua,"body-2-regular":pa,"body-2-medium":fa,"body-2-medium-underline":Rd,"body-2-semibold":ha,"label-1-medium":ma,"label-1-semibold":ga,"label-1-bold":ya,"label-2-medium":ba,"label-2-semibold":xa,"label-2-bold":va,"caption-1-medium":Sa,"caption-1-semibold":Oa,"caption-1-bold":Ca,"caption-2-medium":Ea,"caption-2-semibold":wa,"caption-2-bold":Aa,"caption-3-medium":Ra,"caption-3-semibold":Na,"caption-3-bold":_a},$m=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});var f,oe=p(()=>{X();Q();f={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",d.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",d.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",d.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",d.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",d.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",d.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",d.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",d.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",d.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",d.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",d.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",d.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",d.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",d.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",d.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",d.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",d.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",d.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
+ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",d.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",d.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",d.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",d.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",d.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",d.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",d.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",d.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",d.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",d.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",d.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",d.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",d.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",d.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",d.colorGray80)}});var A,Nd=p(()=>{X();Q();oe();A={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",d.spacing4),largeGap:o.extend("--ft-button-large-gap","",d.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",d.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",d.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","",d.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",d.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",d.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",d.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","",d.spacing2),smallGap:o.extend("--ft-button-small-gap","",d.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",d.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",d.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","",d.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","",d.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",d.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",d.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",d.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",d.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",d.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",d.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",d.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",d.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",d.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",d.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",d.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",d.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",d.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",d.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",d.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",d.opacity40)}});var km,_d=p(()=>{X();Q();oe();km={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",d.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",d.spacing1),largeGap:o.extend("--ft-chip-large-gap","",d.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","",d.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",d.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",d.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",d.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","",d.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",d.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",d.spacing05),smallGap:o.extend("--ft-chip-small-gap","",d.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","",d.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)}});var Mm,Pd=p(()=>{X();Q();oe();Mm={focusOpacity:o.extend("--ft-link-focus-opacity","",d.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",f.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",f.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",f.contentInfoPrimary)}});var Dm,Td=p(()=>{X();Q();oe();Dm={iconSize:o.extend("--ft-banner-icon-size","",d.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",d.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",d.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",d.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",d.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",d.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",d.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",d.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)}});var Um,Id=p(()=>{X();Q();oe();Um={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",d.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",d.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",d.borderRadiusPill),color:o.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",f.contentActionPrimary)}});var Bm,Ld=p(()=>{X();Q();oe();Bm={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",d.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",d.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)}});var Fm,$d=p(()=>{X();Q();oe();Fm={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",d.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",d.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",d.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",d.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",d.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",d.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",d.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)}});var Wm,kd=p(()=>{X();Q();oe();Wm={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",d.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",d.opacity40),shadow:o.extend("--ft-modal-shadow","",d.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",d.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",d.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",d.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",d.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",d.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",d.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",d.spacing6),headerGap:o.extend("--ft-modal-header-gap","",d.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",d.borderRadiusM)}});var Hm,Md=p(()=>{X();Q();oe();Hm={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",d.opacity40),shadow:o.extend("--ft-drawer-shadow","",d.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",d.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",d.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",d.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",d.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",d.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",d.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",d.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",d.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","",d.colorGray700)}});var zm,Dd=p(()=>{X();Q();oe();zm={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",d.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",d.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",d.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",d.opacity40),offColor:o.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",d.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",d.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",d.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",d.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",d.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",d.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",d.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",d.opacity24),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",d.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",d.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",d.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",d.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)}});var jm,Ud=p(()=>{X();Q();oe();jm={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",d.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",d.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",d.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",d.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",d.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",f.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","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",d.opacity40)}});var Vm,Bd=p(()=>{X();Q();oe();Vm={backgroundColor:o.extend("--ft-text-area-background-color","",d.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",f.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","",d.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",d.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",d.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",d.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",d.borderRadiusM)}});var Km,Fd=p(()=>{X();Q();oe();Km={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",d.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",d.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",d.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",d.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",d.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",d.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",d.shadowElevation02)}});var Gm,Wd=p(()=>{X();Q();oe();Gm={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",d.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",d.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",d.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",d.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",d.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",d.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",f.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","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",d.opacity40)}});var Zm,Hd=p(()=>{X();Q();oe();Zm={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",d.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.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","",d.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",d.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",d.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",d.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",d.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",d.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",d.borderRadiusM)}});var qm,zd=p(()=>{X();Q();oe();qm={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",d.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",d.spacing6),titleColor:o.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:o.extend("--ft-popover-gap","",d.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",d.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",d.shadowElevation02)}});var Ym,jd=p(()=>{X();Q();oe();Ym={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",d.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",d.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",d.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",d.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",d.spacing3),color:o.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",d.iconSize3)}});var Xm,Vd=p(()=>{X();Q();oe();Xm={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",d.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",d.spacing1),groupGap:o.extend("--ft-switch-group-gap","",d.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",d.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",d.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",d.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",d.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",d.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",d.opacity40),offColor:o.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",d.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",d.opacity40),onColor:o.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",d.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",d.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",d.borderRadiusS)}});var Jm,Kd=p(()=>{X();Q();Jm={color1Light:o.extend("--ft-chart-1-light","for area color charts",d.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",d.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",d.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",d.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",d.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",d.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",d.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",d.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",d.colorRed40),color5Base:o.extend("--ft-chart-5-base","",d.colorRed60),color6Light:o.extend("--ft-chart-6-light","",d.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",d.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",d.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",d.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",d.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",d.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",d.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",d.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",d.colorGray50),color10Base:o.extend("--ft-chart-10-base","",d.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",d.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",d.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",d.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",d.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",d.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",d.colorBrand200)}});var Qm,Gd=p(()=>{X();Q();oe();Qm={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",d.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",d.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",d.borderRadiusS),gap:o.extend("--ft-notice-gap","",d.spacing2),iconSize:o.extend("--ft-notice-icon-size","",d.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)}});var eg,Zd=p(()=>{X();Q();oe();eg={color:o.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",d.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",d.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",d.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",d.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",d.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",d.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",d.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",d.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",d.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",d.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",f.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","",d.spacing3)}});var tg,qd=p(()=>{X();Q();oe();tg={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",d.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",d.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",d.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",d.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",d.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",d.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",d.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:o.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",d.spacing3)}});var rg,Yd=p(()=>{X();Q();oe();rg={color:o.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",d.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",d.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",d.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",d.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",d.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",d.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",d.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",d.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",f.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","",d.spacing3)}});var og,Xd=p(()=>{X();Q();oe();og={iconSize:o.extend("--ft-notification-icon-size","",d.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",d.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",d.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",d.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",d.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",d.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",d.spacing8)}});var ng,Jd=p(()=>{X();Q();oe();ng={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",d.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",d.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",d.borderRadiusS),color:o.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",d.opacity80),shadow:o.extend("--ft-tooltip-shadow","",d.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",d.spacing05)}});var Qd=p(()=>{Q();oe();Nd();_d();Pd();Td();Id();Ld();$d();kd();Md();Dd();Ud();Bd();Fd();Wd();Hd();zd();jd();Vd();Kd();Gd();Zd();qd();Yd();Xd();Jd()});function Pa(t){return`ftds--family-${t}`}function Ta(t){return`ftds--size-${t}`}var tr,pt,eu=p(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(tr||(tr={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(pt||(pt={}))});var V=p(()=>{X();Qd();eu()});var Ia={};G(Ia,{DesignSystemFamily:()=>tr,DesignSystemSize:()=>pt,FtCssVariableFactory:()=>o,badge:()=>Um,banner:()=>Dm,breadcrumb:()=>Bm,button:()=>A,chart:()=>Jm,checkbox:()=>eg,chip:()=>km,collapsible:()=>Ym,comboboxMultiSelect:()=>Zm,comboboxSingleSelect:()=>Gm,drawer:()=>Hm,floatingMenu:()=>Km,foundation:()=>d,link:()=>Mm,modal:()=>Wm,notice:()=>Qm,notification:()=>og,pageHeader:()=>Fm,popover:()=>qm,radio:()=>rg,resolveFamilyClass:()=>Pa,resolveSizeClass:()=>Ta,semantic:()=>f,setVariable:()=>P,switch_:()=>Xm,tabs:()=>zm,textArea:()=>Vm,textInput:()=>jm,toggle:()=>tg,tooltip:()=>ng,typographies:()=>bo,typographyBody1Medium:()=>da,typographyBody1Regular:()=>ca,typographyBody1Semibold:()=>ua,typographyBody2Medium:()=>fa,typographyBody2MediumUnderline:()=>Rd,typographyBody2Regular:()=>pa,typographyBody2Semibold:()=>ha,typographyCaption1Bold:()=>Ca,typographyCaption1Medium:()=>Sa,typographyCaption1Semibold:()=>Oa,typographyCaption2Bold:()=>Aa,typographyCaption2Medium:()=>Ea,typographyCaption2Semibold:()=>wa,typographyCaption3Bold:()=>_a,typographyCaption3Medium:()=>Ra,typographyCaption3Semibold:()=>Na,typographyDisplay:()=>ia,typographyLabel1Bold:()=>ya,typographyLabel1Medium:()=>ma,typographyLabel1Semibold:()=>ga,typographyLabel2Bold:()=>va,typographyLabel2Medium:()=>ba,typographyLabel2Semibold:()=>xa,typographyTitle1:()=>aa,typographyTitle2:()=>sa,typographyTitle3:()=>la,typographyVariants:()=>$m});var xn=p(()=>{"use strict";V()});var La={};G(La,{designSystemVariables:()=>L});var L,$a=p(()=>{"use strict";xn();L={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 Ua={};G(Ua,{FtNotificationEvent:()=>ka,PostResizeEvent:()=>Da,PreResizeEvent:()=>Ma});var ka,Ma,Da,Ba=p(()=>{"use strict";ka=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Ma=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Da=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}});function Ha(t,e,r){return Nt(t,xo(e,r))}function vn(t,e){return typeof t=="function"?t(e):t}function Er(t){return t.split("-")[0]}function _t(t){return t.split("-")[1]}function za(t){return t==="x"?"y":"x"}function ja(t){return t==="y"?"height":"width"}function Sn(t){return["top","bottom"].includes(Er(t))?"y":"x"}function Va(t){return za(Sn(t))}function ou(t,e,r){r===void 0&&(r=!1);let n=_t(t),i=Va(t),a=ja(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Fa(s)),[s,Fa(s)]}function nu(t){return t.replace(/start|end/g,e=>ag[e])}function Fa(t){return t.replace(/left|right|bottom|top/g,e=>ig[e])}function sg(t){return{top:0,right:0,bottom:0,left:0,...t}}function iu(t){return typeof t!="number"?sg(t):{top:t,right:t,bottom:t,left:t}}function rr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var ru,tu,Wa,xo,Nt,vo,ft,ig,ag,On=p(()=>{ru=["top","right","bottom","left"],tu=["start","end"],Wa=ru.reduce((t,e)=>t.concat(e,e+"-"+tu[0],e+"-"+tu[1]),[]),xo=Math.min,Nt=Math.max,vo=Math.round,ft=t=>({x:t,y:t}),ig={left:"right",right:"left",bottom:"top",top:"bottom"},ag={start:"end",end:"start"}});function au(t,e,r){let{reference:n,floating:i}=t,a=Sn(e),s=Va(e),l=ja(s),c=Er(e),u=a==="y",h=n.x+n.width/2-i.width/2,m=n.y+n.height/2-i.height/2,y=n[l]/2-i[l]/2,b;switch(c){case"top":b={x:h,y:n.y-i.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:m};break;case"left":b={x:n.x-i.width,y:m};break;default:b={x:n.x,y:n.y}}switch(_t(e)){case"start":b[s]-=y*(r&&u?-1:1);break;case"end":b[s]+=y*(r&&u?-1:1);break}return b}async function Ka(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:c}=t,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:m="floating",altBoundary:y=!1,padding:b=0}=vn(e,t),x=iu(b),T=l[y?m==="floating"?"reference":"floating":m],I=rr(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(T)))==null||r?T:T.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:h,strategy:c})),k=m==="floating"?{...s.floating,x:n,y:i}:s.reference,O=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),S=await(a.isElement==null?void 0:a.isElement(O))?await(a.getScale==null?void 0:a.getScale(O))||{x:1,y:1}:{x:1,y:1},w=rr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:k,offsetParent:O,strategy:c}):k);return{top:(I.top-w.top+x.top)/S.y,bottom:(w.bottom-I.bottom+x.bottom)/S.y,left:(I.left-w.left+x.left)/S.x,right:(w.right-I.right+x.right)/S.x}}function lg(t,e,r){return(t?[...r.filter(i=>_t(i)===t),...r.filter(i=>_t(i)!==t)]:r.filter(i=>Er(i)===i)).filter(i=>t?_t(i)===t||(e?nu(i)!==i:!1):!0)}var su,Ga,Za,qa=p(()=>{On();On();su=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:m}=au(u,n,c),y=n,b={},x=0;for(let E=0;E<l.length;E++){let{name:T,fn:I}=l[E],{x:k,y:O,data:S,reset:w}=await I({x:h,y:m,initialPlacement:n,placement:y,strategy:i,middlewareData:b,rects:u,platform:s,elements:{reference:t,floating:e}});if(h=k??h,m=O??m,b={...b,[T]:{...b[T],...S}},w&&x<=50){x++,typeof w=="object"&&(w.placement&&(y=w.placement),w.rects&&(u=w.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):w.rects),{x:h,y:m}=au(u,y,c)),E=-1;continue}}return{x:h,y:m,placement:y,strategy:i,middlewareData:b}};Ga=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:l,platform:c,elements:u}=e,{crossAxis:h=!1,alignment:m,allowedPlacements:y=Wa,autoAlignment:b=!0,...x}=vn(t,e),E=m!==void 0||y===Wa?lg(m||null,b,y):y,T=await Ka(e,x),I=((r=s.autoPlacement)==null?void 0:r.index)||0,k=E[I];if(k==null)return{};let O=ou(k,a,await(c.isRTL==null?void 0:c.isRTL(u.floating)));if(l!==k)return{reset:{placement:E[0]}};let S=[T[Er(k)],T[O[0]],T[O[1]]],w=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:k,overflows:S}],B=E[I+1];if(B)return{data:{index:I+1,overflows:w},reset:{placement:B}};let W=w.map(g=>{let v=_t(g.placement);return[g.placement,v&&h?g.overflows.slice(0,2).reduce((N,K)=>N+K,0):g.overflows[0],g.overflows]}).sort((g,v)=>g[1]-v[1]),q=((i=W.filter(g=>g[2].slice(0,_t(g[0])?2:3).every(v=>v<=0))[0])==null?void 0:i[0])||W[0][0];return q!==l?{data:{index:I+1,overflows:w},reset:{placement:q}}:{}}}},Za=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:l={fn:T=>{let{x:I,y:k}=T;return{x:I,y:k}}},...c}=vn(t,e),u={x:r,y:n},h=await Ka(e,c),m=Sn(Er(i)),y=za(m),b=u[y],x=u[m];if(a){let T=y==="y"?"top":"left",I=y==="y"?"bottom":"right",k=b+h[T],O=b-h[I];b=Ha(k,b,O)}if(s){let T=m==="y"?"top":"left",I=m==="y"?"bottom":"right",k=x+h[T],O=x-h[I];x=Ha(k,x,O)}let E=l.fn({...e,[y]:b,[m]:x});return{...E,data:{x:E.x-r,y:E.y-n}}}}}});function ht(t){return cu(t)?(t.nodeName||"").toLowerCase():"#document"}function Ae(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function mt(t){var e;return(e=(cu(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function cu(t){return t instanceof Node||t instanceof Ae(t).Node}function Qe(t){return t instanceof Element||t instanceof Ae(t).Element}function Ke(t){return t instanceof HTMLElement||t instanceof Ae(t).HTMLElement}function lu(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ae(t).ShadowRoot}function wr(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=$e(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function du(t){return["table","td","th"].includes(ht(t))}function En(t){let e=wn(),r=$e(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 uu(t){let e=or(t);for(;Ke(e)&&!So(e);){if(En(e))return e;e=or(e)}return null}function wn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function So(t){return["html","body","#document"].includes(ht(t))}function $e(t){return Ae(t).getComputedStyle(t)}function Oo(t){return Qe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function or(t){if(ht(t)==="html")return t;let e=t.assignedSlot||t.parentNode||lu(t)&&t.host||mt(t);return lu(e)?e.host:e}function pu(t){let e=or(t);return So(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ke(e)&&wr(e)?e:pu(e)}function Cn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=pu(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=Ae(i);return a?e.concat(s,s.visualViewport||[],wr(i)?i:[],s.frameElement&&r?Cn(s.frameElement):[]):e.concat(i,Cn(i,[],r))}var fu=p(()=>{});function gu(t){let e=$e(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Ke(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,l=vo(r)!==a||vo(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function yu(t){return Qe(t)?t:t.contextElement}function Ar(t){let e=yu(t);if(!Ke(e))return ft(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=gu(e),s=(a?vo(r.width):r.width)/n,l=(a?vo(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function bu(t){let e=Ae(t);return!wn()||!e.visualViewport?cg:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function dg(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Ae(t)?!1:e}function Co(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=yu(t),s=ft(1);e&&(n?Qe(n)&&(s=Ar(n)):s=Ar(t));let l=dg(a,r,n)?bu(a):ft(0),c=(i.left+l.x)/s.x,u=(i.top+l.y)/s.y,h=i.width/s.x,m=i.height/s.y;if(a){let y=Ae(a),b=n&&Qe(n)?Ae(n):n,x=y.frameElement;for(;x&&n&&b!==y;){let E=Ar(x),T=x.getBoundingClientRect(),I=$e(x),k=T.left+(x.clientLeft+parseFloat(I.paddingLeft))*E.x,O=T.top+(x.clientTop+parseFloat(I.paddingTop))*E.y;c*=E.x,u*=E.y,h*=E.x,m*=E.y,c+=k,u+=O,x=Ae(x).frameElement}}return rr({width:h,height:m,x:c,y:u})}function ug(t){let{rect:e,offsetParent:r,strategy:n}=t,i=Ke(r),a=mt(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=ft(1),c=ft(0);if((i||!i&&n!=="fixed")&&((ht(r)!=="body"||wr(a))&&(s=Oo(r)),Ke(r))){let u=Co(r);l=Ar(r),c.x=u.x+r.clientLeft,c.y=u.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+c.x,y:e.y*l.y-s.scrollTop*l.y+c.y}}function pg(t){return Array.from(t.getClientRects())}function xu(t){return Co(mt(t)).left+Oo(t).scrollLeft}function fg(t){let e=mt(t),r=Oo(t),n=t.ownerDocument.body,i=Nt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Nt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+xu(t),l=-r.scrollTop;return $e(n).direction==="rtl"&&(s+=Nt(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function hg(t,e){let r=Ae(t),n=mt(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;let u=wn();(!u||u&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}function mg(t,e){let r=Co(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=Ke(t)?Ar(t):ft(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,c=i*a.x,u=n*a.y;return{width:s,height:l,x:c,y:u}}function hu(t,e,r){let n;if(e==="viewport")n=hg(t,r);else if(e==="document")n=fg(mt(t));else if(Qe(e))n=mg(e,r);else{let i=bu(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return rr(n)}function vu(t,e){let r=or(t);return r===e||!Qe(r)||So(r)?!1:$e(r).position==="fixed"||vu(r,e)}function gg(t,e){let r=e.get(t);if(r)return r;let n=Cn(t,[],!1).filter(l=>Qe(l)&&ht(l)!=="body"),i=null,a=$e(t).position==="fixed",s=a?or(t):t;for(;Qe(s)&&!So(s);){let l=$e(s),c=En(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||wr(s)&&!c&&vu(t,s))?n=n.filter(h=>h!==s):i=l,s=or(s)}return e.set(t,n),n}function yg(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?gg(e,this._c):[].concat(r),n],l=s[0],c=s.reduce((u,h)=>{let m=hu(e,h,i);return u.top=Nt(m.top,u.top),u.right=xo(m.right,u.right),u.bottom=xo(m.bottom,u.bottom),u.left=Nt(m.left,u.left),u},hu(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function bg(t){return gu(t)}function xg(t,e,r){let n=Ke(e),i=mt(e),a=r==="fixed",s=Co(t,!0,a,e),l={scrollLeft:0,scrollTop:0},c=ft(0);if(n||!n&&!a)if((ht(e)!=="body"||wr(i))&&(l=Oo(e)),n){let u=Co(e,!0,a,e);c.x=u.x+e.clientLeft,c.y=u.y+e.clientTop}else i&&(c.x=xu(i));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function mu(t,e){return!Ke(t)||$e(t).position==="fixed"?null:e?e(t):t.offsetParent}function Su(t,e){let r=Ae(t);if(!Ke(t))return r;let n=mu(t,e);for(;n&&du(n)&&$e(n).position==="static";)n=mu(n,e);return n&&(ht(n)==="html"||ht(n)==="body"&&$e(n).position==="static"&&!En(n))?r:n||uu(t)||r}function Sg(t){return $e(t).direction==="rtl"}var cg,vg,An,Ou,Cu=p(()=>{qa();qa();On();fu();cg=ft(0);vg=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||Su,a=this.getDimensions;return{reference:xg(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};An={convertOffsetParentRelativeRectToViewportRelativeRect:ug,getDocumentElement:mt,getClippingRect:yg,getOffsetParent:Su,getElementRects:vg,getClientRects:pg,getDimensions:bg,getScale:Ar,isElement:Qe,isRTL:Sg},Ou=(t,e,r)=>{let n=new Map,i={platform:An,...r},a={...i.platform,_c:n};return su(t,e,{...i,platform:a})}});function Eu(t){return Og(t)}function Ya(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Og(t){for(let e=t;e;e=Ya(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ya(t);e;e=Ya(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 wu=p(()=>{});var Ja={};G(Ja,{computeOffsetPosition:()=>Xa});async function Xa(t,e,r){return Ou(t,e,{platform:{...An,getOffsetParent:n=>An.getOffsetParent(n,Eu)},middleware:[Za({crossAxis:!0}),Ga({allowedPlacements:[r]})]})}var Rn=p(()=>{"use strict";Cu();wu()});var Nn,Cg,nS,Au,Ru=p(()=>{Nn=window,Cg=Nn.ShadowRoot&&(Nn.ShadyCSS===void 0||Nn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,nS=Symbol(),Au=(t,e)=>{Cg?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=Nn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})}});var Qa={};G(Qa,{ScopedRegistryLitElement:()=>Eo});var Eo,_n=p(()=>{"use strict";U();Ru();Eo=class extends ct{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 Au(n,e.elementStyles),n}}});var es={};G(es,{FtLitElement:()=>Z});var Pn,Pu,Nu,_u,Tu,Z,wo=p(()=>{"use strict";ee();bn();gn();_n();Pn=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},Nu=Symbol("constructorPrototype"),_u=Symbol("constructorName"),Tu=Symbol("exportpartsDebouncer"),Z=class extends Eo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Pu]=new ye(5),this[_u]=this.constructor.name,this[Nu]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[_u]&&Object.setPrototypeOf(this,this[Nu])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}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[Tu].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,l;let c=y=>y!=null&&y.trim().length>0,u=e.filter(c).map(y=>y.trim());if(u.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let y of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],x=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...x).filter(c).map(E=>E.trim()).forEach(E=>h.add(E))}if(h.size===0){this.removeAttribute("exportparts");return}let m=[...h.values()].flatMap(y=>u.map(b=>`${y}:${b}--${y}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};Pu=Tu;Pn([C()],Z.prototype,"exportpartsPrefix",void 0);Pn([Oe([])],Z.prototype,"exportpartsPrefixes",void 0);Pn([C()],Z.prototype,"customStylesheet",void 0);Pn([le()],Z.prototype,"useAdoptedStyleSheets",void 0)});var rs={};G(rs,{FtdsBase:()=>ts,toFtdsBase:()=>Tn});function Tn(t){class e extends t{constructor(){super(...arguments),this.size=pt.medium,this.family=tr.neutral}getDesignSystemBaseClasses(){return{[Pa(this.family)]:!0,[Ta(this.size)]:!0}}}return Iu([C()],e.prototype,"size",void 0),Iu([C()],e.prototype,"family",void 0),e}var Iu,ts,os=p(()=>{"use strict";wo();ee();V();Iu=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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};ts=class extends Tn(Z){}});var Lu={};var ns=p(()=>{"use strict"});var nr,$u=p(()=>{nr=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,l=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&i(l)};s||c(),a.forEach(u=>{t.matches(u,this.exclude)?c():this.onIframeReady(u,h=>{r(u)&&(l++,n(h)),c()},c)})}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),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)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((l,c)=>{l.val===n&&(a=c,s=l.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),l=[],c=[],u,h,m=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;m();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(u,h,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(e,b=>c.push(b),i)}),c.push(u);c.forEach(y=>{n(y)}),this.iframes&&this.handleOpenIframes(l,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let c=()=>{this.iterateThroughNodes(e,l,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,c):c()})}}});var Ao,ku=p(()=>{$u();Ao=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 nr(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],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,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(l=>{s+=`|${this.escapeStr(l)}`}),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:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(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,l=r-s,c=parseInt(e.start,10)-l;return c=c>s?s:c,i=c+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||i-c<0||c>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(c,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:i,valid:a}}getTextNodes(e){let 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 nr.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),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((s,l)=>{let c=e.nodes[l+1];if(typeof c>"u"||c.start>r){if(!i(s.node))return!1;let u=r-s.start,h=(n>s.end?s.end:n)-s.start,m=e.value.substr(0,s.start),y=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),e.value=m+y,e.nodes.forEach((b,x)=>{x>=l&&(e.nodes[x].start>0&&x!==l&&(e.nodes[x].start-=h),e.nodes[x].end-=h)}),n-=h,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(l=>{l.nodes.forEach(c=>{c=c.node;let u;for(;(u=e.exec(c.textContent))!==null&&u[s]!=="";){if(!n(u[s],c))continue;let h=u.index;if(s!==0)for(let m=1;m<s;m++)h+=u[m].length;c=this.wrapRangeInTextNode(c,h,h+u[s].length),i(c.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let c;for(;(c=e.exec(l.value))!==null&&c[s]!=="";){let u=c.index;if(s!==0)for(let m=1;m<s;m++)u+=c[m].length;let h=u+c[s].length;this.wrapRangeInMappedTextNode(l,u,h,m=>n(c[s],m),(m,y)=>{e.lastIndex=y,i(m)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,c)=>{let{start:u,end:h,valid:m}=this.checkWhitespaceRanges(l,s,a.value);m&&this.wrapRangeInMappedTextNode(a,u,h,y=>r(y,l,a.value.substring(u,h),c),y=>{n(y,l)})}),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,l)=>this.opt.filter(l,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),l=this.opt.caseSensitive?"":"i",c=u=>{let h=new RegExp(this.createRegExp(u),`gm${l}`),m=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(y,b)=>this.opt.filter(b,u,n,m),y=>{m++,n++,this.opt.each(y)},()=>{m===0&&this.opt.noMatch(u),a[s-1]===u?this.opt.done(n):c(a[a.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):c(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,l,c)=>this.opt.filter(a,s,l,c),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let 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=nr.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function is(t){let e=new Ao(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 Mu=p(()=>{ku()});var ls={};G(ls,{highlightHtml:()=>ss,highlightHtmlColorCssVariable:()=>Du,highlightHtmlStyles:()=>wg});function ss(t,e){var r;let n=t.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let i=new Eg(t);i.unmark(as),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{...as,separateWordSearch:!0}),((r=e.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...as,separateWordSearch:!1})))}t.setAttribute("data-highlight-html-query",e??"")}var Eg,Du,wg,as,cs=p(()=>{"use strict";U();V();Mu();Eg=is,Du=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),wg=_`
7
7
  .highlight-html-match {
8
- background: ${Pd};
8
+ background: ${Du};
9
9
  }
10
- `,Qa={className:"highlight-html-match"}});var ns={};G(ns,{noTextSelect:()=>Eo,safariEllipsisFix:()=>wo,wordWrap:()=>os});var Eo,os,wo,is=p(()=>{"use strict";U();Eo=N`
10
+ `,as={className:"highlight-html-match"}});var us={};G(us,{noTextSelect:()=>Ro,safariEllipsisFix:()=>No,wordWrap:()=>ds});var Ro,ds,No,ps=p(()=>{"use strict";U();Ro=_`
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.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
16
16
  -ms-user-select: none;
17
17
  user-select: none;
18
18
  }
19
- `,os=N`
19
+ `,ds=_`
20
20
  .ft-word-wrap {
21
21
  white-space: normal;
22
22
  word-wrap: break-word;
@@ -28,7 +28,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
28
28
  -webkit-hyphens: auto;
29
29
  hyphens: auto
30
30
  }
31
- `,wo=N`
31
+ `,No=_`
32
32
  .ft-safari-ellipsis-fix {
33
33
  margin-right: 0;
34
34
 
@@ -39,7 +39,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
39
39
  display: inline-block;
40
40
  width: 0;
41
41
  }
42
- `});var Td={};var as=p(()=>{"use strict"});var ss={};G(ss,{ParametrizedLabelResolver:()=>Ao});var Ao,ls=p(()=>{"use strict";Ao=class{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 r.forEach((s,l)=>a=a.replace(new RegExp(`\\{${l}([^}]*)\\}`,"g"),(c,d)=>this.formatValue(s,d))),a}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}formatValue(e,r){return e instanceof Date?this.formatDate(e,r):e??""}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,ee,Og,Id=p(()=>{"use strict";mo();re();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)},ee=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:ho,attribute:!1,...e};C(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:l=>l[n],store:e.store})}},Og=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)}});var Ro,cs=p(()=>{"use strict";Ro=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 rr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Pn=p(()=>{"use strict"});var Ld,$d,kd,Tn,_t,or,we,Md=p(()=>{"use strict";_n();Pn();Tn=Symbol("internalReduxEventsUnsubscribers"),_t=Symbol("internalStoresUnsubscribers"),or=Symbol("internalStores"),we=class extends X{constructor(){super(...arguments),this[Ld]=new Map,this[$d]=new Map,this[kd]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[or].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[or].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[or].get(e)}addStore(e,r){var n;r=(n=r??(rr(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[or].delete(r)}setupStore(e,r){this[or].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[or].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[_t].has(e.store):this[_t].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[_t].set(e,r.subscribe(()=>this.updateFromStores())),rr(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=l=>this[a](l);r.eventBus.addEventListener(i.eventName,s),this[Tn].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[_t].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Tn].forEach(e=>e()),this[Tn]=[]}unsubscribeFromStore(e){this[_t].has(e)&&this[_t].get(e)(),this[_t].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ld=_t,$d=or,kd=Tn;we.reduxProperties=new Map;we.reduxReactiveProperties=new Set;we.reduxEventListeners=new Map});function Be(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 gt(t){return!!t&&!!t[ie]}function Ke(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)===Pg}(t)||Array.isArray(t)||!!t[zd]||!!(!((e=t.constructor)===null||e===void 0)&&e[zd])||bs(t)||xs(t))}function nr(t,e,r){r===void 0&&(r=!1),Rr(t)===0?(r?Object.keys:Ar)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Rr(t){var e=t[ie];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:bs(t)?2:xs(t)?3:0}function wr(t,e){return Rr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Cg(t,e){return Rr(t)===2?t.get(e):t[e]}function jd(t,e,r){var n=Rr(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Vd(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function bs(t){return Ng&&t instanceof Map}function xs(t){return _g&&t instanceof Set}function Pt(t){return t.o||t.t}function vs(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Zd(t);delete e[ie];for(var r=Ar(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 Ss(t,e){return e===void 0&&(e=!1),Os(t)||gt(t)||!Ke(t)||(Rr(t)>1&&(t.set=t.add=t.clear=t.delete=Eg),Object.freeze(t),e&&nr(t,function(r,n){return Ss(n,!0)},!0)),t}function Eg(){Be(2)}function Os(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function et(t){var e=ys[t];return e||Be(18,t),e}function wg(t,e){ys[t]||(ys[t]=e)}function hs(){return _o}function us(t,e){e&&(et("Patches"),t.u=[],t.s=[],t.v=e)}function In(t){ms(t),t.p.forEach(Ag),t.p=null}function ms(t){t===_o&&(_o=t.l)}function Dd(t){return _o={p:[],l:_o,h:t,m:!0,_:0}}function Ag(t){var e=t[ie];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||et("ES5").S(e,t,n),n?(r[ie].P&&(In(e),Be(4)),Ke(t)&&(t=Ln(e,t),e.l||$n(e,t)),e.u&&et("Patches").M(r[ie].t,t,e.u,e.s)):t=Ln(e,r,[]),In(e),e.u&&e.v(e.u,e.s),t!==Gd?t:void 0}function Ln(t,e,r){if(Os(e))return e;var n=e[ie];if(!n)return nr(e,function(l,c){return Ud(t,n,e,l,c,r)},!0),e;if(n.A!==t)return e;if(!n.P)return $n(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=vs(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),nr(a,function(l,c){return Ud(t,n,i,l,c,r,s)}),$n(t,i,!1),r&&t.u&&et("Patches").N(n,r,t.u,t.s)}return n.o}function Ud(t,e,r,n,i,a,s){if(gt(i)){var l=Ln(t,i,a&&e&&e.i!==3&&!wr(e.R,n)?a.concat(n):void 0);if(jd(r,n,l),!gt(l))return;t.m=!1}else s&&r.add(i);if(Ke(i)&&!Os(i)){if(!t.h.D&&t._<1)return;Ln(t,i),e&&e.A.l||$n(t,i)}}function $n(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Ss(e,r)}function ps(t,e){var r=t[ie];return(r?Pt(r):t)[e]}function Bd(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 Tt(t){t.P||(t.P=!0,t.l&&Tt(t.l))}function fs(t){t.o||(t.o=vs(t.t))}function gs(t,e,r){var n=bs(e)?et("MapSet").F(e,r):xs(e)?et("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:hs(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},c=l,d=Po;s&&(c=[l],d=No);var h=Proxy.revocable(c,d),m=h.revoke,y=h.proxy;return l.k=y,l.j=m,y}(e,r):et("ES5").J(e,r);return(r?r.A:hs()).p.push(n),n}function Rg(t){return gt(t)||Be(22,t),function e(r){if(!Ke(r))return r;var n,i=r[ie],a=Rr(r);if(i){if(!i.P&&(i.i<4||!et("ES5").K(i)))return i.t;i.I=!0,n=Fd(r,a),i.I=!1}else n=Fd(r,a);return nr(n,function(s,l){i&&Cg(i.t,s)===l||jd(n,s,e(l))}),a===3?new Set(n):n}(t)}function Fd(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return vs(t)}function Kd(){function t(s,l){var c=a[s];return c?c.enumerable=l:a[s]=c={configurable:!0,enumerable:l,get:function(){var d=this[ie];return Po.get(d,s)},set:function(d){var h=this[ie];Po.set(h,s,d)}},c}function e(s){for(var l=s.length-1;l>=0;l--){var c=s[l][ie];if(!c.P)switch(c.i){case 5:n(c)&&Tt(c);break;case 4:r(c)&&Tt(c)}}}function r(s){for(var l=s.t,c=s.k,d=Ar(c),h=d.length-1;h>=0;h--){var m=d[h];if(m!==ie){var y=l[m];if(y===void 0&&!wr(l,m))return!0;var b=c[m],x=b&&b[ie];if(x?x.t!==y:!Vd(b,y))return!0}}var E=!!l[ie];return d.length!==Ar(l).length+(E?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var c=Object.getOwnPropertyDescriptor(l,l.length-1);if(c&&!c.get)return!0;for(var d=0;d<l.length;d++)if(!l.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&Be(3,JSON.stringify(Pt(s)))}var a={};wg("ES5",{J:function(s,l){var c=Array.isArray(s),d=function(m,y){if(m){for(var b=Array(y.length),x=0;x<y.length;x++)Object.defineProperty(b,""+x,t(x,!0));return b}var E=Zd(y);delete E[ie];for(var _=Ar(E),P=0;P<_.length;P++){var k=_[P];E[k]=t(k,m||!!E[k].enumerable)}return Object.create(Object.getPrototypeOf(y),E)}(c,s),h={i:c?5:4,A:l?l.A:hs(),P:!1,I:!1,R:{},l,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,ie,{value:h,writable:!0}),d},S:function(s,l,c){c?gt(l)&&l[ie].A===s&&e(s.p):(s.u&&function d(h){if(h&&typeof h=="object"){var m=h[ie];if(m){var y=m.t,b=m.k,x=m.R,E=m.i;if(E===4)nr(b,function(S){S!==ie&&(y[S]!==void 0||wr(y,S)?x[S]||d(b[S]):(x[S]=!0,Tt(m)))}),nr(y,function(S){b[S]!==void 0||wr(b,S)||(x[S]=!1,Tt(m))});else if(E===5){if(n(m)&&(Tt(m),x.length=!0),b.length<y.length)for(var _=b.length;_<y.length;_++)x[_]=!1;else for(var P=y.length;P<b.length;P++)x[P]=!0;for(var k=Math.min(b.length,y.length),O=0;O<k;O++)b.hasOwnProperty(O)||(x[O]=!0),x[O]===void 0&&d(b[O])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Wd,_o,Cs,Ng,_g,Hd,Gd,zd,ie,Pg,Ar,Zd,ys,Po,No,Tg,ke,Ig,ES,wS,AS,RS,NS,_S,kn,Mn=p(()=>{Cs=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Ng=typeof Map<"u",_g=typeof Set<"u",Hd=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Gd=Cs?Symbol.for("immer-nothing"):((Wd={})["immer-nothing"]=!0,Wd),zd=Cs?Symbol.for("immer-draftable"):"__$immer_draftable",ie=Cs?Symbol.for("immer-state"):"__$immer_state",Pg=""+Object.prototype.constructor,Ar=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Zd=Object.getOwnPropertyDescriptors||function(t){var e={};return Ar(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},ys={},Po={get:function(t,e){if(e===ie)return t;var r=Pt(t);if(!wr(r,e))return function(i,a,s){var l,c=Bd(a,s);return c?"value"in c?c.value:(l=c.get)===null||l===void 0?void 0:l.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!Ke(n)?n:n===ps(t.t,e)?(fs(t),t.o[e]=gs(t.A.h,n,t)):n},has:function(t,e){return e in Pt(t)},ownKeys:function(t){return Reflect.ownKeys(Pt(t))},set:function(t,e,r){var n=Bd(Pt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=ps(Pt(t),e),a=i?.[ie];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Vd(r,i)&&(r!==void 0||wr(t.t,e)))return!0;fs(t),Tt(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 ps(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,fs(t),Tt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Pt(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){Be(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Be(12)}},No={};nr(Po,function(t,e){No[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),No.deleteProperty=function(t,e){return No.set.call(this,t,e,void 0)},No.set=function(t,e,r){return Po.set.call(this,t[0],e,r,t[0])};Tg=function(){function t(r){var n=this;this.O=Hd,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var c=n;return function(E){var _=this;E===void 0&&(E=l);for(var P=arguments.length,k=Array(P>1?P-1:0),O=1;O<P;O++)k[O-1]=arguments[O];return c.produce(E,function(S){var w;return(w=a).call.apply(w,[_,S].concat(k))})}}var d;if(typeof a!="function"&&Be(6),s!==void 0&&typeof s!="function"&&Be(7),Ke(i)){var h=Dd(n),m=gs(n,i,void 0),y=!0;try{d=a(m),y=!1}finally{y?In(h):ms(h)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(E){return us(h,s),ds(E,h)},function(E){throw In(h),E}):(us(h,s),ds(d,h))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===Gd&&(d=void 0),n.D&&Ss(d,!0),s){var b=[],x=[];et("Patches").M(i,d,b,x),s(b,x)}return d}Be(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){for(var h=arguments.length,m=Array(h>1?h-1:0),y=1;y<h;y++)m[y-1]=arguments[y];return n.produceWithPatches(d,function(b){return i.apply(void 0,[b].concat(m))})};var s,l,c=n.produce(i,a,function(d,h){s=d,l=h});return typeof Promise<"u"&&c instanceof Promise?c.then(function(d){return[d,s,l]}):[c,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Ke(r)||Be(8),gt(r)&&(r=Rg(r));var n=Dd(this),i=gs(this,r,void 0);return i[ie].C=!0,ms(n),i},e.finishDraft=function(r,n){var i=r&&r[ie],a=i.A;return us(a,n),ds(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Hd&&Be(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=et("Patches").$;return gt(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},t}(),ke=new Tg,Ig=ke.produce,ES=ke.produceWithPatches.bind(ke),wS=ke.setAutoFreeze.bind(ke),AS=ke.setUseProxies.bind(ke),RS=ke.applyPatches.bind(ke),NS=ke.createDraft.bind(ke),_S=ke.finishDraft.bind(ke),kn=Ig});function It(t){"@babel/helpers - typeof";return It=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},It(t)}var Es=p(()=>{});function ws(t,e){if(It(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(It(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var qd=p(()=>{Es()});function As(t){var e=ws(t,"string");return It(e)==="symbol"?e:String(e)}var Yd=p(()=>{Es();qd()});function Rs(t,e,r){return e=As(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Xd=p(()=>{Yd()});function Jd(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 Dn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Jd(Object(r),!0).forEach(function(n){Rs(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Jd(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var Qd=p(()=>{Xd()});function xe(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 Lg(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 _s(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(xe(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(xe(1));return r(_s)(t,e)}if(typeof t!="function")throw new Error(xe(2));var i=t,a=e,s=[],l=s,c=!1;function d(){l===s&&(l=s.slice())}function h(){if(c)throw new Error(xe(3));return a}function m(E){if(typeof E!="function")throw new Error(xe(4));if(c)throw new Error(xe(5));var _=!0;return d(),l.push(E),function(){if(_){if(c)throw new Error(xe(6));_=!1,d();var k=l.indexOf(E);l.splice(k,1),s=null}}}function y(E){if(!Lg(E))throw new Error(xe(7));if(typeof E.type>"u")throw new Error(xe(8));if(c)throw new Error(xe(9));try{c=!0,a=i(a,E)}finally{c=!1}for(var _=s=l,P=0;P<_.length;P++){var k=_[P];k()}return E}function b(E){if(typeof E!="function")throw new Error(xe(10));i=E,y({type:Un.REPLACE})}function x(){var E,_=m;return E={subscribe:function(k){if(typeof k!="object"||k===null)throw new Error(xe(11));function O(){k.next&&k.next(h())}O();var S=_(O);return{unsubscribe:S}}},E[ep]=function(){return this},E}return y({type:Un.INIT}),n={dispatch:y,subscribe:m,getState:h,replaceReducer:b},n[ep]=x,n}function $g(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Un.INIT});if(typeof n>"u")throw new Error(xe(12));if(typeof r(void 0,{type:Un.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(xe(13))})}function tp(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,l;try{$g(r)}catch(c){l=c}return function(d,h){if(d===void 0&&(d={}),l)throw l;if(0)var m;for(var y=!1,b={},x=0;x<a.length;x++){var E=a[x],_=r[E],P=d[E],k=_(P,h);if(typeof k>"u"){var O=h&&h.type;throw new Error(xe(14))}b[E]=k,y=y||k!==P}return y=y||a.length!==Object.keys(d).length,y?b:d}}function Nr(){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 rp(){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(xe(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(c){return c(s)});return a=Nr.apply(void 0,l)(i.dispatch),Dn(Dn({},i),{},{dispatch:a})}}}var ep,Ns,Un,Bn=p(()=>{Qd();ep=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ns=function(){return Math.random().toString(36).substring(7).split("").join(".")},Un={INIT:"@@redux/INIT"+Ns(),REPLACE:"@@redux/REPLACE"+Ns(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ns()}}});function op(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,t):s(l)}}};return e}var np,Ps,ip=p(()=>{np=op();np.withExtraArgument=op;Ps=np});function zg(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 $s(t){return Ke(t)?kn(t,function(){}):t}function Kg(t){return typeof t=="boolean"}function Gg(){return function(e){return Zg(e)}}function Zg(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,l=new jg;if(r&&(Kg(r)?l.push(Ps):l.push(Ps.withExtraArgument(r.extraArgument))),0){if(i)var c;if(s)var d}return l}function dp(t){var e=Gg(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,l=r.devTools,c=l===void 0?!0:l,d=r.preloadedState,h=d===void 0?void 0:d,m=r.enhancers,y=m===void 0?void 0:m,b;if(typeof i=="function")b=i;else if(zg(i))b=tp(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 x=s;if(typeof x=="function"&&(x=x(e),!Is&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Is&&x.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=rp.apply(void 0,x),_=Nr;c&&(_=Hg(Lt({trace:!Is},typeof c=="object"&&c)));var P=new Vg(E),k=P;Array.isArray(y)?k=_r([E],y):typeof y=="function"&&(k=y(P));var O=_.apply(void 0,k);return _s(b,h,O)}function $t(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 Lt(Lt({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 pp(t){var e={},r=[],n,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function qg(t){return typeof t=="function"}function Yg(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?pp(e):[e,r,n],a=i[0],s=i[1],l=i[2],c;if(qg(t))c=function(){return $s(t())};else{var d=$s(t);c=function(){return d}}function h(m,y){m===void 0&&(m=c());var b=_r([a[y.type]],s.filter(function(x){var E=x.matcher;return E(y)}).map(function(x){var E=x.reducer;return E}));return b.filter(function(x){return!!x}).length===0&&(b=[l]),b.reduce(function(x,E){if(E)if(gt(x)){var _=x,P=E(_,y);return P===void 0?x:P}else{if(Ke(x))return kn(x,function(k){return E(k,y)});var P=E(x,y);if(P===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return P}return x},m)}return h.getInitialState=c,h}function Xg(t,e){return t+"/"+e}function fp(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:$s(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var m=n[h],y=Xg(e,h),b,x;"reducer"in m?(b=m.reducer,x=m.prepare):b=m,a[h]=b,s[y]=b,l[h]=x?$t(y,x):$t(y)});function c(){var h=typeof t.extraReducers=="function"?pp(t.extraReducers):[t.extraReducers],m=h[0],y=m===void 0?{}:m,b=h[1],x=b===void 0?[]:b,E=h[2],_=E===void 0?void 0:E,P=Lt(Lt({},y),s);return Yg(r,function(k){for(var O in P)k.addCase(O,P[O]);for(var S=0,w=x;S<w.length;S++){var B=w[S];k.addMatcher(B.matcher,B.reducer)}_&&k.addDefaultCase(_)})}var d;return{name:e,reducer:function(h,m){return d||(d=c()),d(h,m)},actions:l,caseReducers:a,getInitialState:function(){return d||(d=c()),d.getInitialState()}}}function ry(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function oy(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var up,kg,_r,Mg,Dg,Ug,ap,Bg,Fg,sp,Lt,Ts,Wg,Hg,GS,jg,Vg,Is,Jg,Qg,ey,Ls,lp,ty,XS,hp,mp,gp,JS,QS,eO,tO,ks,rO,oO,nO,cp,iO,ny,aO,yp=p(()=>{Mn();Bn();Bn();Bn();ip();Mn();Mn();up=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)}}(),kg=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:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(d){return function(h){return c([d,h])}}function c(d){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=d[0]&2?i.return:d[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,d[1])).done)return a;switch(i=0,a&&(d=[d[0]&2,a.value]),d[0]){case 0:case 1:a=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,i=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){r.label=d[1];break}if(d[0]===6&&r.label<a[1]){r.label=a[1],a=d;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(d);break}a[2]&&r.ops.pop(),r.trys.pop();continue}d=e.call(t,r)}catch(h){d=[6,h],i=0}finally{n=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},_r=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Mg=Object.defineProperty,Dg=Object.defineProperties,Ug=Object.getOwnPropertyDescriptors,ap=Object.getOwnPropertySymbols,Bg=Object.prototype.hasOwnProperty,Fg=Object.prototype.propertyIsEnumerable,sp=function(t,e,r){return e in t?Mg(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Lt=function(t,e){for(var r in e||(e={}))Bg.call(e,r)&&sp(t,r,e[r]);if(ap)for(var n=0,i=ap(e);n<i.length;n++){var r=i[n];Fg.call(e,r)&&sp(t,r,e[r])}return t},Ts=function(t,e){return Dg(t,Ug(e))},Wg=function(t,e,r){return new Promise(function(n,i){var a=function(c){try{l(r.next(c))}catch(d){i(d)}},s=function(c){try{l(r.throw(c))}catch(d){i(d)}},l=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(a,s)};l((r=r.apply(t,e)).next())})},Hg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Nr:Nr.apply(null,arguments)},GS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};jg=function(t){up(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,_r([void 0],r[0].concat(this)))):new(e.bind.apply(e,_r([void 0],r.concat(this))))},e}(Array),Vg=function(t){up(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,_r([void 0],r[0].concat(this)))):new(e.bind.apply(e,_r([void 0],r.concat(this))))},e}(Array);Is=!0;Jg="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Qg=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Jg[Math.random()*64|0];return e},ey=["name","message","stack","code"],Ls=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),lp=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),ty=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=ey;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},XS=function(){function t(e,r,n){var i=$t(e+"/fulfilled",function(h,m,y,b){return{payload:h,meta:Ts(Lt({},b||{}),{arg:y,requestId:m,requestStatus:"fulfilled"})}}),a=$t(e+"/pending",function(h,m,y){return{payload:void 0,meta:Ts(Lt({},y||{}),{arg:m,requestId:h,requestStatus:"pending"})}}),s=$t(e+"/rejected",function(h,m,y,b,x){return{payload:b,error:(n&&n.serializeError||ty)(h||"Rejected"),meta:Ts(Lt({},x||{}),{arg:y,requestId:m,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function d(h){return function(m,y,b){var x=n?.idGenerator?n.idGenerator(h):Qg(),E=new c,_,P=!1;function k(S){_=S,E.abort()}var O=function(){return Wg(this,null,function(){var S,w,B,W,be,Z,g;return kg(this,function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),W=(S=n?.condition)==null?void 0:S.call(n,h,{getState:y,extra:b}),oy(W)?[4,W]:[3,2];case 1:W=v.sent(),v.label=2;case 2:if(W===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return P=!0,be=new Promise(function(R,V){return E.signal.addEventListener("abort",function(){return V({name:"AbortError",message:_||"Aborted"})})}),m(a(x,h,(w=n?.getPendingMeta)==null?void 0:w.call(n,{requestId:x,arg:h},{getState:y,extra:b}))),[4,Promise.race([be,Promise.resolve(r(h,{dispatch:m,getState:y,extra:b,requestId:x,signal:E.signal,abort:k,rejectWithValue:function(R,V){return new Ls(R,V)},fulfillWithValue:function(R,V){return new lp(R,V)}})).then(function(R){if(R instanceof Ls)throw R;return R instanceof lp?i(R.payload,x,h,R.meta):i(R,x,h)})])];case 3:return B=v.sent(),[3,5];case 4:return Z=v.sent(),B=Z instanceof Ls?s(null,x,h,Z.payload,Z.meta):s(Z,x,h),[3,5];case 5:return g=n&&!n.dispatchConditionRejection&&s.match(B)&&B.meta.condition,g||m(B),[2,B]}})})}();return Object.assign(O,{abort:k,requestId:x,arg:h,unwrap:function(){return O.then(ry)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();hp="listener",mp="completed",gp="cancelled",JS="task-"+gp,QS="task-"+mp,eO=hp+"-"+gp,tO=hp+"-"+mp,ks="listenerMiddleware",rO=$t(ks+"/add"),oO=$t(ks+"/removeAll"),nO=$t(ks+"/remove"),iO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(cp||(cp=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},ny=function(t){return function(e){setTimeout(e,t)}},aO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:ny(10);Kd()});function iy(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))rr(e)&&e.clear()}var yt,bp=p(()=>{"use strict";yp();Pn();cs();window.ftReduxStores||(window.ftReduxStores={});yt=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(rr(a))return a;if(i==null)return;let s=fp({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=dp({reducer:(c,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...c,...d.overwrites}:s.reducer(c,d)});return window.ftReduxStores[i.name]=new t(s,l)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Ro,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,l=n[s];return l?(...c)=>{let d=l(...c);return this.reduxStore.dispatch(d),d}:c=>{this.setState({[s]:c})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});var Ms={};G(Ms,{FtCommandQueue:()=>Ro,FtLitElementRedux:()=>we,FtReduxStore:()=>yt,clearAllStores:()=>iy,isFtReduxStore:()=>rr,redux:()=>ee,reduxEventListener:()=>Og,reduxReactive:()=>Sg});var Fn=p(()=>{"use strict";Id();cs();Md();bp();Pn()});var Ds={};G(Ds,{serializeRequest:()=>sy});function ay(t){return`"${t}"`}function sy(t,e){var r,n,i,a;let s=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"all"});if(((n=e.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&s.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&s.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let c=e.periodFilter.period,d=c?`_${c.from}_${c.to}`:"";s.append("period",e.periodFilter.periodType.toLowerCase()+d)}if(((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=e.filters)===null||a===void 0?void 0:a.length)>0){let c=e.filters.map(d=>{let h=d.values.map(m=>m.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(m=>encodeURIComponent(ay(m))).join("_");return`${d.key}~${h}`}).join("*");s.append("filters",c)}return new URL(`${t.replace(/\/+$/,"")}/search?${s.toString()}`).href}var Us=p(()=>{"use strict"});var Fs={};G(Fs,{toFtFormComponent:()=>Bs});function Bs(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[Wn].form}constructor(...i){super(i),this[Wn]=this.attachInternals(),this[Wn].role=e}setFormValue(i){this[Wn].setFormValue(i)}}return r}var Wn,Ws=p(()=>{"use strict";Wn=Symbol("elementInternals")});var ir,Hn=p(()=>{"use strict";ir=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 xp=p(()=>{"use strict"});var Hs,zs,js,Vs,Ks,ly,$=p(()=>{"use strict";fc();U();re();pn();br();mu();fo();Zi();fn();Xi();hn();gn();Pa();ka();wn();yn();_n();Xa();mo();rs();is();as();ls();Fn();Rn();Us();Ws();Hn();Zi();fn();Xi();Hn();hn();gn();Pa();ka();wn();yn();_n();Xa();mo();rs();is();as();ls();Fn();Rn();xp();Us();Ws();K();Ks=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((js=(zs=(Hs=window.safari)===null||Hs===void 0?void 0:Hs.pushNotification)===null||zs===void 0?void 0:zs.toString())!==null&&js!==void 0?js:"")==="[object SafariRemoteNotification]",ly="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Vs=window.ftGlobals)!==null&&Vs!==void 0?Vs:{lit:Di,litDecorators:Wi,litRepeat:Hi,litClassMap:zi,litStyleMap:ji,litUnsafeHTML:Vi,wcUtils:{...Gi,...Ki,...Yi,...ir,...Ji,...ea,..._a,...$a,...Za,...Na,...Ya,...Ad,...Qi,...ts,...ns,...Td,...ss,...Ms,...qa,...Ds,...Fs,isSafari:Ks,isTouchScreen:ly}}});var vp,j,Sp,Op,Cp,Ep,wp,ar=p(()=>{"use strict";U();$();vp=o.extend("--ft-ripple-color","",L.colorContent),j={color:vp,backgroundColor:o.extend("--ft-ripple-background-color","",vp),opacityContentOnSurfacePressed:o.external(L.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(L.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(L.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(L.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Sp=o.extend("--ft-ripple-color","",L.colorPrimary),Op={color:Sp,backgroundColor:o.extend("--ft-ripple-background-color","",Sp)},Cp=o.extend("--ft-ripple-color","",L.colorSecondary),Ep={color:Cp,backgroundColor:o.extend("--ft-ripple-background-color","",Cp)},wp=N`
42
+ `});var Uu={};var fs=p(()=>{"use strict"});var hs={};G(hs,{ParametrizedLabelResolver:()=>_o});var _o,ms=p(()=>{"use strict";_o=class{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 r.forEach((s,l)=>a=a.replace(new RegExp(`\\{${l}([^}]*)\\}`,"g"),(c,u)=>this.formatValue(s,u))),a}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}formatValue(e,r){return e instanceof Date?this.formatDate(e,r):e??""}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 Ag,te,Rg,Bu=p(()=>{"use strict";yo();ee();Ag=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},te=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:go,attribute:!1,...e};C(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:l=>l[n],store:e.store})}},Rg=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)}});var Po,gs=p(()=>{"use strict";Po=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 ir(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var In=p(()=>{"use strict"});var Fu,Wu,Hu,Ln,Pt,ar,Re,zu=p(()=>{"use strict";wo();In();Ln=Symbol("internalReduxEventsUnsubscribers"),Pt=Symbol("internalStoresUnsubscribers"),ar=Symbol("internalStores"),Re=class extends Z{constructor(){super(...arguments),this[Fu]=new Map,this[Wu]=new Map,this[Hu]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[ar].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ar].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[ar].get(e)}addStore(e,r){var n;r=(n=r??(ir(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[ar].delete(r)}setupStore(e,r){this[ar].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ar].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[Pt].has(e.store):this[Pt].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[Pt].set(e,r.subscribe(()=>this.updateFromStores())),ir(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=l=>this[a](l);r.eventBus.addEventListener(i.eventName,s),this[Ln].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Pt].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Ln].forEach(e=>e()),this[Ln]=[]}unsubscribeFromStore(e){this[Pt].has(e)&&this[Pt].get(e)(),this[Pt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Fu=Pt,Wu=ar,Hu=Ln;Re.reduxProperties=new Map;Re.reduxReactiveProperties=new Set;Re.reduxEventListeners=new Map});function Fe(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 gt(t){return!!t&&!!t[ie]}function Ge(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)===kg}(t)||Array.isArray(t)||!!t[Yu]||!!(!((e=t.constructor)===null||e===void 0)&&e[Yu])||ws(t)||As(t))}function sr(t,e,r){r===void 0&&(r=!1),_r(t)===0?(r?Object.keys:Nr)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function _r(t){var e=t[ie];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ws(t)?2:As(t)?3:0}function Rr(t,e){return _r(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Ng(t,e){return _r(t)===2?t.get(e):t[e]}function Xu(t,e,r){var n=_r(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Ju(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function ws(t){return Lg&&t instanceof Map}function As(t){return $g&&t instanceof Set}function Tt(t){return t.o||t.t}function Rs(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=tp(t);delete e[ie];for(var r=Nr(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 Ns(t,e){return e===void 0&&(e=!1),_s(t)||gt(t)||!Ge(t)||(_r(t)>1&&(t.set=t.add=t.clear=t.delete=_g),Object.freeze(t),e&&sr(t,function(r,n){return Ns(n,!0)},!0)),t}function _g(){Fe(2)}function _s(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function et(t){var e=Es[t];return e||Fe(18,t),e}function Pg(t,e){Es[t]||(Es[t]=e)}function Ss(){return Io}function ys(t,e){e&&(et("Patches"),t.u=[],t.s=[],t.v=e)}function $n(t){Os(t),t.p.forEach(Tg),t.p=null}function Os(t){t===Io&&(Io=t.l)}function ju(t){return Io={p:[],l:Io,h:t,m:!0,_:0}}function Tg(t){var e=t[ie];e.i===0||e.i===1?e.j():e.g=!0}function bs(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||et("ES5").S(e,t,n),n?(r[ie].P&&($n(e),Fe(4)),Ge(t)&&(t=kn(e,t),e.l||Mn(e,t)),e.u&&et("Patches").M(r[ie].t,t,e.u,e.s)):t=kn(e,r,[]),$n(e),e.u&&e.v(e.u,e.s),t!==ep?t:void 0}function kn(t,e,r){if(_s(e))return e;var n=e[ie];if(!n)return sr(e,function(l,c){return Vu(t,n,e,l,c,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Mn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Rs(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),sr(a,function(l,c){return Vu(t,n,i,l,c,r,s)}),Mn(t,i,!1),r&&t.u&&et("Patches").N(n,r,t.u,t.s)}return n.o}function Vu(t,e,r,n,i,a,s){if(gt(i)){var l=kn(t,i,a&&e&&e.i!==3&&!Rr(e.R,n)?a.concat(n):void 0);if(Xu(r,n,l),!gt(l))return;t.m=!1}else s&&r.add(i);if(Ge(i)&&!_s(i)){if(!t.h.D&&t._<1)return;kn(t,i),e&&e.A.l||Mn(t,i)}}function Mn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Ns(e,r)}function xs(t,e){var r=t[ie];return(r?Tt(r):t)[e]}function Ku(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 It(t){t.P||(t.P=!0,t.l&&It(t.l))}function vs(t){t.o||(t.o=Rs(t.t))}function Cs(t,e,r){var n=ws(e)?et("MapSet").F(e,r):As(e)?et("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:Ss(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},c=l,u=Lo;s&&(c=[l],u=To);var h=Proxy.revocable(c,u),m=h.revoke,y=h.proxy;return l.k=y,l.j=m,y}(e,r):et("ES5").J(e,r);return(r?r.A:Ss()).p.push(n),n}function Ig(t){return gt(t)||Fe(22,t),function e(r){if(!Ge(r))return r;var n,i=r[ie],a=_r(r);if(i){if(!i.P&&(i.i<4||!et("ES5").K(i)))return i.t;i.I=!0,n=Gu(r,a),i.I=!1}else n=Gu(r,a);return sr(n,function(s,l){i&&Ng(i.t,s)===l||Xu(n,s,e(l))}),a===3?new Set(n):n}(t)}function Gu(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Rs(t)}function Qu(){function t(s,l){var c=a[s];return c?c.enumerable=l:a[s]=c={configurable:!0,enumerable:l,get:function(){var u=this[ie];return Lo.get(u,s)},set:function(u){var h=this[ie];Lo.set(h,s,u)}},c}function e(s){for(var l=s.length-1;l>=0;l--){var c=s[l][ie];if(!c.P)switch(c.i){case 5:n(c)&&It(c);break;case 4:r(c)&&It(c)}}}function r(s){for(var l=s.t,c=s.k,u=Nr(c),h=u.length-1;h>=0;h--){var m=u[h];if(m!==ie){var y=l[m];if(y===void 0&&!Rr(l,m))return!0;var b=c[m],x=b&&b[ie];if(x?x.t!==y:!Ju(b,y))return!0}}var E=!!l[ie];return u.length!==Nr(l).length+(E?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var c=Object.getOwnPropertyDescriptor(l,l.length-1);if(c&&!c.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function i(s){s.g&&Fe(3,JSON.stringify(Tt(s)))}var a={};Pg("ES5",{J:function(s,l){var c=Array.isArray(s),u=function(m,y){if(m){for(var b=Array(y.length),x=0;x<y.length;x++)Object.defineProperty(b,""+x,t(x,!0));return b}var E=tp(y);delete E[ie];for(var T=Nr(E),I=0;I<T.length;I++){var k=T[I];E[k]=t(k,m||!!E[k].enumerable)}return Object.create(Object.getPrototypeOf(y),E)}(c,s),h={i:c?5:4,A:l?l.A:Ss(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,ie,{value:h,writable:!0}),u},S:function(s,l,c){c?gt(l)&&l[ie].A===s&&e(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var m=h[ie];if(m){var y=m.t,b=m.k,x=m.R,E=m.i;if(E===4)sr(b,function(S){S!==ie&&(y[S]!==void 0||Rr(y,S)?x[S]||u(b[S]):(x[S]=!0,It(m)))}),sr(y,function(S){b[S]!==void 0||Rr(b,S)||(x[S]=!1,It(m))});else if(E===5){if(n(m)&&(It(m),x.length=!0),b.length<y.length)for(var T=b.length;T<y.length;T++)x[T]=!1;else for(var I=y.length;I<b.length;I++)x[I]=!0;for(var k=Math.min(b.length,y.length),O=0;O<k;O++)b.hasOwnProperty(O)||(x[O]=!0),x[O]===void 0&&u(b[O])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Zu,Io,Ps,Lg,$g,qu,ep,Yu,ie,kg,Nr,tp,Es,Lo,To,Mg,ke,Dg,IS,LS,$S,kS,MS,DS,Dn,Un=p(()=>{Ps=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Lg=typeof Map<"u",$g=typeof Set<"u",qu=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ep=Ps?Symbol.for("immer-nothing"):((Zu={})["immer-nothing"]=!0,Zu),Yu=Ps?Symbol.for("immer-draftable"):"__$immer_draftable",ie=Ps?Symbol.for("immer-state"):"__$immer_state",kg=""+Object.prototype.constructor,Nr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,tp=Object.getOwnPropertyDescriptors||function(t){var e={};return Nr(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Es={},Lo={get:function(t,e){if(e===ie)return t;var r=Tt(t);if(!Rr(r,e))return function(i,a,s){var l,c=Ku(a,s);return c?"value"in c?c.value:(l=c.get)===null||l===void 0?void 0:l.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!Ge(n)?n:n===xs(t.t,e)?(vs(t),t.o[e]=Cs(t.A.h,n,t)):n},has:function(t,e){return e in Tt(t)},ownKeys:function(t){return Reflect.ownKeys(Tt(t))},set:function(t,e,r){var n=Ku(Tt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=xs(Tt(t),e),a=i?.[ie];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Ju(r,i)&&(r!==void 0||Rr(t.t,e)))return!0;vs(t),It(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 xs(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,vs(t),It(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Tt(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){Fe(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Fe(12)}},To={};sr(Lo,function(t,e){To[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),To.deleteProperty=function(t,e){return To.set.call(this,t,e,void 0)},To.set=function(t,e,r){return Lo.set.call(this,t[0],e,r,t[0])};Mg=function(){function t(r){var n=this;this.O=qu,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var c=n;return function(E){var T=this;E===void 0&&(E=l);for(var I=arguments.length,k=Array(I>1?I-1:0),O=1;O<I;O++)k[O-1]=arguments[O];return c.produce(E,function(S){var w;return(w=a).call.apply(w,[T,S].concat(k))})}}var u;if(typeof a!="function"&&Fe(6),s!==void 0&&typeof s!="function"&&Fe(7),Ge(i)){var h=ju(n),m=Cs(n,i,void 0),y=!0;try{u=a(m),y=!1}finally{y?$n(h):Os(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(E){return ys(h,s),bs(E,h)},function(E){throw $n(h),E}):(ys(h,s),bs(u,h))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===ep&&(u=void 0),n.D&&Ns(u,!0),s){var b=[],x=[];et("Patches").M(i,u,b,x),s(b,x)}return u}Fe(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var h=arguments.length,m=Array(h>1?h-1:0),y=1;y<h;y++)m[y-1]=arguments[y];return n.produceWithPatches(u,function(b){return i.apply(void 0,[b].concat(m))})};var s,l,c=n.produce(i,a,function(u,h){s=u,l=h});return typeof Promise<"u"&&c instanceof Promise?c.then(function(u){return[u,s,l]}):[c,s,l]},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){Ge(r)||Fe(8),gt(r)&&(r=Ig(r));var n=ju(this),i=Cs(this,r,void 0);return i[ie].C=!0,Os(n),i},e.finishDraft=function(r,n){var i=r&&r[ie],a=i.A;return ys(a,n),bs(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!qu&&Fe(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=et("Patches").$;return gt(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},t}(),ke=new Mg,Dg=ke.produce,IS=ke.produceWithPatches.bind(ke),LS=ke.setAutoFreeze.bind(ke),$S=ke.setUseProxies.bind(ke),kS=ke.applyPatches.bind(ke),MS=ke.createDraft.bind(ke),DS=ke.finishDraft.bind(ke),Dn=Dg});function Lt(t){"@babel/helpers - typeof";return Lt=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},Lt(t)}var Ts=p(()=>{});function Is(t,e){if(Lt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Lt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var rp=p(()=>{Ts()});function Ls(t){var e=Is(t,"string");return Lt(e)==="symbol"?e:String(e)}var op=p(()=>{Ts();rp()});function $s(t,e,r){return e=Ls(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var np=p(()=>{op()});function ip(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 Bn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ip(Object(r),!0).forEach(function(n){$s(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ip(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var ap=p(()=>{np()});function xe(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 Ug(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 Ms(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(xe(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(xe(1));return r(Ms)(t,e)}if(typeof t!="function")throw new Error(xe(2));var i=t,a=e,s=[],l=s,c=!1;function u(){l===s&&(l=s.slice())}function h(){if(c)throw new Error(xe(3));return a}function m(E){if(typeof E!="function")throw new Error(xe(4));if(c)throw new Error(xe(5));var T=!0;return u(),l.push(E),function(){if(T){if(c)throw new Error(xe(6));T=!1,u();var k=l.indexOf(E);l.splice(k,1),s=null}}}function y(E){if(!Ug(E))throw new Error(xe(7));if(typeof E.type>"u")throw new Error(xe(8));if(c)throw new Error(xe(9));try{c=!0,a=i(a,E)}finally{c=!1}for(var T=s=l,I=0;I<T.length;I++){var k=T[I];k()}return E}function b(E){if(typeof E!="function")throw new Error(xe(10));i=E,y({type:Fn.REPLACE})}function x(){var E,T=m;return E={subscribe:function(k){if(typeof k!="object"||k===null)throw new Error(xe(11));function O(){k.next&&k.next(h())}O();var S=T(O);return{unsubscribe:S}}},E[sp]=function(){return this},E}return y({type:Fn.INIT}),n={dispatch:y,subscribe:m,getState:h,replaceReducer:b},n[sp]=x,n}function Bg(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Fn.INIT});if(typeof n>"u")throw new Error(xe(12));if(typeof r(void 0,{type:Fn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(xe(13))})}function lp(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,l;try{Bg(r)}catch(c){l=c}return function(u,h){if(u===void 0&&(u={}),l)throw l;if(0)var m;for(var y=!1,b={},x=0;x<a.length;x++){var E=a[x],T=r[E],I=u[E],k=T(I,h);if(typeof k>"u"){var O=h&&h.type;throw new Error(xe(14))}b[E]=k,y=y||k!==I}return y=y||a.length!==Object.keys(u).length,y?b:u}}function Pr(){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 cp(){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(xe(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(c){return c(s)});return a=Pr.apply(void 0,l)(i.dispatch),Bn(Bn({},i),{},{dispatch:a})}}}var sp,ks,Fn,Wn=p(()=>{ap();sp=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ks=function(){return Math.random().toString(36).substring(7).split("").join(".")},Fn={INIT:"@@redux/INIT"+ks(),REPLACE:"@@redux/REPLACE"+ks(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ks()}}});function dp(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,t):s(l)}}};return e}var up,Ds,pp=p(()=>{up=dp();up.withExtraArgument=dp;Ds=up});function Zg(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 Ws(t){return Ge(t)?Dn(t,function(){}):t}function Xg(t){return typeof t=="boolean"}function Jg(){return function(e){return Qg(e)}}function Qg(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,l=new qg;if(r&&(Xg(r)?l.push(Ds):l.push(Ds.withExtraArgument(r.extraArgument))),0){if(i)var c;if(s)var u}return l}function bp(t){var e=Jg(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,l=r.devTools,c=l===void 0?!0:l,u=r.preloadedState,h=u===void 0?void 0:u,m=r.enhancers,y=m===void 0?void 0:m,b;if(typeof i=="function")b=i;else if(Zg(i))b=lp(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 x=s;if(typeof x=="function"&&(x=x(e),!Bs&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Bs&&x.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=cp.apply(void 0,x),T=Pr;c&&(T=Gg($t({trace:!Bs},typeof c=="object"&&c)));var I=new Yg(E),k=I;Array.isArray(y)?k=Tr([E],y):typeof y=="function"&&(k=y(I));var O=T.apply(void 0,k);return Ms(b,h,O)}function kt(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 $t($t({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 xp(t){var e={},r=[],n,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function ey(t){return typeof t=="function"}function ty(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?xp(e):[e,r,n],a=i[0],s=i[1],l=i[2],c;if(ey(t))c=function(){return Ws(t())};else{var u=Ws(t);c=function(){return u}}function h(m,y){m===void 0&&(m=c());var b=Tr([a[y.type]],s.filter(function(x){var E=x.matcher;return E(y)}).map(function(x){var E=x.reducer;return E}));return b.filter(function(x){return!!x}).length===0&&(b=[l]),b.reduce(function(x,E){if(E)if(gt(x)){var T=x,I=E(T,y);return I===void 0?x:I}else{if(Ge(x))return Dn(x,function(k){return E(k,y)});var I=E(x,y);if(I===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return I}return x},m)}return h.getInitialState=c,h}function ry(t,e){return t+"/"+e}function vp(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:Ws(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var m=n[h],y=ry(e,h),b,x;"reducer"in m?(b=m.reducer,x=m.prepare):b=m,a[h]=b,s[y]=b,l[h]=x?kt(y,x):kt(y)});function c(){var h=typeof t.extraReducers=="function"?xp(t.extraReducers):[t.extraReducers],m=h[0],y=m===void 0?{}:m,b=h[1],x=b===void 0?[]:b,E=h[2],T=E===void 0?void 0:E,I=$t($t({},y),s);return ty(r,function(k){for(var O in I)k.addCase(O,I[O]);for(var S=0,w=x;S<w.length;S++){var B=w[S];k.addMatcher(B.matcher,B.reducer)}T&&k.addDefaultCase(T)})}var u;return{name:e,reducer:function(h,m){return u||(u=c()),u(h,m)},actions:l,caseReducers:a,getInitialState:function(){return u||(u=c()),u.getInitialState()}}}function sy(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function ly(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var yp,Fg,Tr,Wg,Hg,zg,fp,jg,Vg,hp,$t,Us,Kg,Gg,tO,qg,Yg,Bs,oy,ny,iy,Fs,mp,ay,iO,Sp,Op,Cp,aO,sO,lO,cO,Hs,dO,uO,pO,gp,fO,cy,hO,Ep=p(()=>{Un();Wn();Wn();Wn();pp();Un();Un();yp=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)}}(),Fg=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:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(h){return c([u,h])}}function c(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(h){u=[6,h],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Tr=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Wg=Object.defineProperty,Hg=Object.defineProperties,zg=Object.getOwnPropertyDescriptors,fp=Object.getOwnPropertySymbols,jg=Object.prototype.hasOwnProperty,Vg=Object.prototype.propertyIsEnumerable,hp=function(t,e,r){return e in t?Wg(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},$t=function(t,e){for(var r in e||(e={}))jg.call(e,r)&&hp(t,r,e[r]);if(fp)for(var n=0,i=fp(e);n<i.length;n++){var r=i[n];Vg.call(e,r)&&hp(t,r,e[r])}return t},Us=function(t,e){return Hg(t,zg(e))},Kg=function(t,e,r){return new Promise(function(n,i){var a=function(c){try{l(r.next(c))}catch(u){i(u)}},s=function(c){try{l(r.throw(c))}catch(u){i(u)}},l=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(a,s)};l((r=r.apply(t,e)).next())})},Gg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Pr:Pr.apply(null,arguments)},tO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};qg=function(t){yp(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,Tr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Tr([void 0],r.concat(this))))},e}(Array),Yg=function(t){yp(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,Tr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Tr([void 0],r.concat(this))))},e}(Array);Bs=!0;oy="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ny=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=oy[Math.random()*64|0];return e},iy=["name","message","stack","code"],Fs=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),mp=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),ay=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=iy;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},iO=function(){function t(e,r,n){var i=kt(e+"/fulfilled",function(h,m,y,b){return{payload:h,meta:Us($t({},b||{}),{arg:y,requestId:m,requestStatus:"fulfilled"})}}),a=kt(e+"/pending",function(h,m,y){return{payload:void 0,meta:Us($t({},y||{}),{arg:m,requestId:h,requestStatus:"pending"})}}),s=kt(e+"/rejected",function(h,m,y,b,x){return{payload:b,error:(n&&n.serializeError||ay)(h||"Rejected"),meta:Us($t({},x||{}),{arg:y,requestId:m,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function u(h){return function(m,y,b){var x=n?.idGenerator?n.idGenerator(h):ny(),E=new c,T,I=!1;function k(S){T=S,E.abort()}var O=function(){return Kg(this,null,function(){var S,w,B,W,be,q,g;return Fg(this,function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),W=(S=n?.condition)==null?void 0:S.call(n,h,{getState:y,extra:b}),ly(W)?[4,W]:[3,2];case 1:W=v.sent(),v.label=2;case 2:if(W===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,be=new Promise(function(N,K){return E.signal.addEventListener("abort",function(){return K({name:"AbortError",message:T||"Aborted"})})}),m(a(x,h,(w=n?.getPendingMeta)==null?void 0:w.call(n,{requestId:x,arg:h},{getState:y,extra:b}))),[4,Promise.race([be,Promise.resolve(r(h,{dispatch:m,getState:y,extra:b,requestId:x,signal:E.signal,abort:k,rejectWithValue:function(N,K){return new Fs(N,K)},fulfillWithValue:function(N,K){return new mp(N,K)}})).then(function(N){if(N instanceof Fs)throw N;return N instanceof mp?i(N.payload,x,h,N.meta):i(N,x,h)})])];case 3:return B=v.sent(),[3,5];case 4:return q=v.sent(),B=q instanceof Fs?s(null,x,h,q.payload,q.meta):s(q,x,h),[3,5];case 5:return g=n&&!n.dispatchConditionRejection&&s.match(B)&&B.meta.condition,g||m(B),[2,B]}})})}();return Object.assign(O,{abort:k,requestId:x,arg:h,unwrap:function(){return O.then(sy)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();Sp="listener",Op="completed",Cp="cancelled",aO="task-"+Cp,sO="task-"+Op,lO=Sp+"-"+Cp,cO=Sp+"-"+Op,Hs="listenerMiddleware",dO=kt(Hs+"/add"),uO=kt(Hs+"/removeAll"),pO=kt(Hs+"/remove"),fO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(gp||(gp=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},cy=function(t){return function(e){setTimeout(e,t)}},hO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:cy(10);Qu()});function dy(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))ir(e)&&e.clear()}var yt,wp=p(()=>{"use strict";Ep();In();gs();window.ftReduxStores||(window.ftReduxStores={});yt=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(ir(a))return a;if(i==null)return;let s=vp({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=bp({reducer:(c,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...c,...u.overwrites}:s.reducer(c,u)});return window.ftReduxStores[i.name]=new t(s,l)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Po,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,l=n[s];return l?(...c)=>{let u=l(...c);return this.reduxStore.dispatch(u),u}:c=>{this.setState({[s]:c})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});var zs={};G(zs,{FtCommandQueue:()=>Po,FtLitElementRedux:()=>Re,FtReduxStore:()=>yt,clearAllStores:()=>dy,isFtReduxStore:()=>ir,redux:()=>te,reduxEventListener:()=>Rg,reduxReactive:()=>Ag});var Hn=p(()=>{"use strict";Bu();gs();zu();wp();In()});var js={};G(js,{serializeRequest:()=>py});function uy(t){return`"${t}"`}function py(t,e){var r,n,i,a;let s=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"all"});if(((n=e.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&s.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&s.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let c=e.periodFilter.period,u=c?`_${c.from}_${c.to}`:"";s.append("period",e.periodFilter.periodType.toLowerCase()+u)}if(((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=e.filters)===null||a===void 0?void 0:a.length)>0){let c=e.filters.map(u=>{let h=u.values.map(m=>m.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(m=>encodeURIComponent(uy(m))).join("_");return`${u.key}~${h}`}).join("*");s.append("filters",c)}return new URL(`${t.replace(/\/+$/,"")}/search?${s.toString()}`).href}var Vs=p(()=>{"use strict"});var Gs={};G(Gs,{toFtFormComponent:()=>Ks});function Ks(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[zn].form}constructor(...i){super(i),this[zn]=this.attachInternals(),this[zn].role=e}setFormValue(i){this[zn].setFormValue(i)}}return r}var zn,Zs=p(()=>{"use strict";zn=Symbol("elementInternals")});var lr,jn=p(()=>{"use strict";lr=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 Ap=p(()=>{"use strict"});var qs,Ys,Xs,Js,Qs,fy,$=p(()=>{"use strict";xc();U();ee();hn();vr();Sd();mo();Ji();mn();ta();gn();bn();$a();Ba();Rn();xn();os();wo();ns();yo();cs();ps();fs();ms();Hn();_n();Vs();Zs();jn();Ji();mn();ta();jn();gn();bn();$a();Ba();Rn();xn();os();wo();ns();yo();cs();ps();fs();ms();Hn();_n();Ap();Vs();Zs();V();Qs=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Xs=(Ys=(qs=window.safari)===null||qs===void 0?void 0:qs.pushNotification)===null||Ys===void 0?void 0:Ys.toString())!==null&&Xs!==void 0?Xs:"")==="[object SafariRemoteNotification]",fy="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Js=window.ftGlobals)!==null&&Js!==void 0?Js:{lit:Wi,litDecorators:Vi,litRepeat:Ki,litClassMap:Gi,litStyleMap:Zi,litUnsafeHTML:qi,wcUtils:{...Xi,...Yi,...ea,...lr,...ra,...na,...La,...Ua,...Ja,...Ia,...rs,...es,...Lu,...oa,...ls,...us,...Uu,...hs,...zs,...Qa,...js,...Gs,isSafari:Qs,isTouchScreen:fy}}});var Rp,j,Np,_p,Pp,Tp,Ip,cr=p(()=>{"use strict";U();$();Rp=o.extend("--ft-ripple-color","",L.colorContent),j={color:Rp,backgroundColor:o.extend("--ft-ripple-background-color","",Rp),opacityContentOnSurfacePressed:o.external(L.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(L.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(L.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(L.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Np=o.extend("--ft-ripple-color","",L.colorPrimary),_p={color:Np,backgroundColor:o.extend("--ft-ripple-background-color","",Np)},Pp=o.extend("--ft-ripple-color","",L.colorSecondary),Tp={color:Pp,backgroundColor:o.extend("--ft-ripple-background-color","",Pp)},Ip=_`
43
43
  :host {
44
44
  display: contents;
45
45
  }
@@ -94,19 +94,19 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
94
94
  }
95
95
 
96
96
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
97
- background-color: ${Ep.backgroundColor};
97
+ background-color: ${Tp.backgroundColor};
98
98
  }
99
99
 
100
100
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
101
- background-color: ${Ep.color};
101
+ background-color: ${Tp.color};
102
102
  }
103
103
 
104
104
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
105
- background-color: ${Op.backgroundColor};
105
+ background-color: ${_p.backgroundColor};
106
106
  }
107
107
 
108
108
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
109
- background-color: ${Op.color};
109
+ background-color: ${_p.color};
110
110
  }
111
111
 
112
112
  .ft-ripple .ft-ripple--background {
@@ -151,8 +151,8 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
151
151
  opacity: ${j.opacityContentOnSurfacePressed};
152
152
  transform: translate(-50%, -50%) scale(1);
153
153
  }
154
- `});function Rp(t){let e=go[t];return N`
155
- .ft-typography--${Kt(t)} {
154
+ `});function $p(t){let e=bo[t];return _`
155
+ .ft-typography--${Zt(t)} {
156
156
  font-family: ${e.fontFamily};
157
157
  font-size: ${e.fontSize};
158
158
  font-weight: ${e.fontWeight};
@@ -160,26 +160,8 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
160
160
  line-height: ${e.lineHeight};
161
161
  text-transform: ${e.textCase};
162
162
  }
163
- `}var Np=p(()=>{"use strict";U();K()});var _p,bt,D,Pr,Tr,Ir,Lr,$r,kr,Mr,Dr,Ur,tt,Pp,Tp,Ip,Lp,$p,zn,kp,Mp,Dp,Up,Bp,Fp,jn=p(()=>{"use strict";U();$();K();Np();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();_p=o.extend("--ft-typography-font-family","",L.titleFont),bt=o.extend("--ft-typography-font-family","",L.contentFont),D={fontFamily:bt,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")},Pr={fontFamily:o.extend("--ft-typography-title-font-family","",_p),fontSize:o.extend("--ft-typography-title-font-size","",D.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",D.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",D.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",D.textTransform,"inherit")},Tr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",_p),fontSize:o.extend("--ft-typography-title-dense-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",D.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",D.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",D.textTransform,"inherit")},Ir={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",bt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",D.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",D.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",D.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",D.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",D.textTransform,"inherit")},Lr={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",bt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",D.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",D.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",D.textTransform,"inherit")},$r={fontFamily:o.extend("--ft-typography-body1-font-family","",bt),fontSize:o.extend("--ft-typography-body1-font-size","",D.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",D.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",D.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",D.textTransform,"inherit")},kr={fontFamily:o.extend("--ft-typography-body2-font-family","",bt),fontSize:o.extend("--ft-typography-body2-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",D.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",D.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",D.textTransform,"inherit")},Mr={fontFamily:o.extend("--ft-typography-caption-font-family","",bt),fontSize:o.extend("--ft-typography-caption-font-size","",D.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",D.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",D.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",D.textTransform,"inherit")},Dr={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",bt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",D.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",D.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",D.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",D.textTransform,"inherit")},Ur={fontFamily:o.extend("--ft-typography-overline-font-family","",bt),fontSize:o.extend("--ft-typography-overline-font-size","",D.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",D.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",D.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",D.textTransform,"uppercase")},tt={fontFamily:o.extend("--ft-typography-button-font-family","",bt),fontSize:o.extend("--ft-typography-button-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",D.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",D.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",D.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",D.textTransform,"uppercase")},Pp=N`
163
+ `}var kp=p(()=>{"use strict";U();V()});var Mp,bt,D,Ir,Lr,$r,kr,Mr,Dr,Ur,Br,Fr,tt,Dp,Up,Bp,Fp,Wp,Vn,Hp,zp,jp,Vp,Kp,Gp,Kn=p(()=>{"use strict";U();$();V();kp();V();V();V();V();V();V();V();V();V();V();V();V();V();V();V();V();V();V();V();V();V();V();V();V();V();Mp=o.extend("--ft-typography-font-family","",L.titleFont),bt=o.extend("--ft-typography-font-family","",L.contentFont),D={fontFamily:bt,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")},Ir={fontFamily:o.extend("--ft-typography-title-font-family","",Mp),fontSize:o.extend("--ft-typography-title-font-size","",D.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",D.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",D.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",D.textTransform,"inherit")},Lr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Mp),fontSize:o.extend("--ft-typography-title-dense-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",D.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",D.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",D.textTransform,"inherit")},$r={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",bt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",D.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",D.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",D.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",D.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",D.textTransform,"inherit")},kr={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",bt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",D.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",D.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",D.textTransform,"inherit")},Mr={fontFamily:o.extend("--ft-typography-body1-font-family","",bt),fontSize:o.extend("--ft-typography-body1-font-size","",D.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",D.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",D.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",D.textTransform,"inherit")},Dr={fontFamily:o.extend("--ft-typography-body2-font-family","",bt),fontSize:o.extend("--ft-typography-body2-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",D.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",D.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",D.textTransform,"inherit")},Ur={fontFamily:o.extend("--ft-typography-caption-font-family","",bt),fontSize:o.extend("--ft-typography-caption-font-size","",D.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",D.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",D.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",D.textTransform,"inherit")},Br={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",bt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",D.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",D.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",D.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",D.textTransform,"inherit")},Fr={fontFamily:o.extend("--ft-typography-overline-font-family","",bt),fontSize:o.extend("--ft-typography-overline-font-size","",D.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",D.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",D.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",D.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",D.textTransform,"uppercase")},tt={fontFamily:o.extend("--ft-typography-button-font-family","",bt),fontSize:o.extend("--ft-typography-button-font-size","",D.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",D.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",D.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",D.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",D.textTransform,"uppercase")},Dp=_`
164
164
  .ft-typography--title {
165
- font-family: ${Pr.fontFamily};
166
- font-size: ${Pr.fontSize};
167
- font-weight: ${Pr.fontWeight};
168
- letter-spacing: ${Pr.letterSpacing};
169
- line-height: ${Pr.lineHeight};
170
- text-transform: ${Pr.textTransform};
171
- }
172
- `,Tp=N`
173
- .ft-typography--title-dense {
174
- font-family: ${Tr.fontFamily};
175
- font-size: ${Tr.fontSize};
176
- font-weight: ${Tr.fontWeight};
177
- letter-spacing: ${Tr.letterSpacing};
178
- line-height: ${Tr.lineHeight};
179
- text-transform: ${Tr.textTransform};
180
- }
181
- `,Ip=N`
182
- .ft-typography--subtitle1 {
183
165
  font-family: ${Ir.fontFamily};
184
166
  font-size: ${Ir.fontSize};
185
167
  font-weight: ${Ir.fontWeight};
@@ -187,8 +169,8 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
187
169
  line-height: ${Ir.lineHeight};
188
170
  text-transform: ${Ir.textTransform};
189
171
  }
190
- `,Lp=N`
191
- .ft-typography--subtitle2 {
172
+ `,Up=_`
173
+ .ft-typography--title-dense {
192
174
  font-family: ${Lr.fontFamily};
193
175
  font-size: ${Lr.fontSize};
194
176
  font-weight: ${Lr.fontWeight};
@@ -196,9 +178,8 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
196
178
  line-height: ${Lr.lineHeight};
197
179
  text-transform: ${Lr.textTransform};
198
180
  }
199
-
200
- `,$p=N`
201
- .ft-typography--body1 {
181
+ `,Bp=_`
182
+ .ft-typography--subtitle1 {
202
183
  font-family: ${$r.fontFamily};
203
184
  font-size: ${$r.fontSize};
204
185
  font-weight: ${$r.fontWeight};
@@ -206,8 +187,8 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
206
187
  line-height: ${$r.lineHeight};
207
188
  text-transform: ${$r.textTransform};
208
189
  }
209
- `,zn=N`
210
- .ft-typography--body2 {
190
+ `,Fp=_`
191
+ .ft-typography--subtitle2 {
211
192
  font-family: ${kr.fontFamily};
212
193
  font-size: ${kr.fontSize};
213
194
  font-weight: ${kr.fontWeight};
@@ -215,8 +196,9 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
215
196
  line-height: ${kr.lineHeight};
216
197
  text-transform: ${kr.textTransform};
217
198
  }
218
- `,kp=N`
219
- .ft-typography--caption {
199
+
200
+ `,Wp=_`
201
+ .ft-typography--body1 {
220
202
  font-family: ${Mr.fontFamily};
221
203
  font-size: ${Mr.fontSize};
222
204
  font-weight: ${Mr.fontWeight};
@@ -224,8 +206,8 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
224
206
  line-height: ${Mr.lineHeight};
225
207
  text-transform: ${Mr.textTransform};
226
208
  }
227
- `,Mp=N`
228
- .ft-typography--breadcrumb {
209
+ `,Vn=_`
210
+ .ft-typography--body2 {
229
211
  font-family: ${Dr.fontFamily};
230
212
  font-size: ${Dr.fontSize};
231
213
  font-weight: ${Dr.fontWeight};
@@ -233,8 +215,8 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
233
215
  line-height: ${Dr.lineHeight};
234
216
  text-transform: ${Dr.textTransform};
235
217
  }
236
- `,Dp=N`
237
- .ft-typography--overline {
218
+ `,Hp=_`
219
+ .ft-typography--caption {
238
220
  font-family: ${Ur.fontFamily};
239
221
  font-size: ${Ur.fontSize};
240
222
  font-weight: ${Ur.fontWeight};
@@ -242,7 +224,25 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
242
224
  line-height: ${Ur.lineHeight};
243
225
  text-transform: ${Ur.textTransform};
244
226
  }
245
- `,Up=N`
227
+ `,zp=_`
228
+ .ft-typography--breadcrumb {
229
+ font-family: ${Br.fontFamily};
230
+ font-size: ${Br.fontSize};
231
+ font-weight: ${Br.fontWeight};
232
+ letter-spacing: ${Br.letterSpacing};
233
+ line-height: ${Br.lineHeight};
234
+ text-transform: ${Br.textTransform};
235
+ }
236
+ `,jp=_`
237
+ .ft-typography--overline {
238
+ font-family: ${Fr.fontFamily};
239
+ font-size: ${Fr.fontSize};
240
+ font-weight: ${Fr.fontWeight};
241
+ letter-spacing: ${Fr.letterSpacing};
242
+ line-height: ${Fr.lineHeight};
243
+ text-transform: ${Fr.textTransform};
244
+ }
245
+ `,Vp=_`
246
246
  .ft-typography--button {
247
247
  font-family: ${tt.fontFamily};
248
248
  font-size: ${tt.fontSize};
@@ -251,11 +251,11 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
251
251
  line-height: ${tt.lineHeight};
252
252
  text-transform: ${tt.textTransform};
253
253
  }
254
- `,Bp=N`
254
+ `,Kp=_`
255
255
  .ft-typography {
256
256
  vertical-align: inherit;
257
257
  }
258
- `,Fp=[Object.keys(go).map(t=>Rp(t))]});var Ae,Wp,To=p(()=>{"use strict";U();$();Ae={color:o.extend("--ft-loader-color","",L.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},Wp=N`
258
+ `,Gp=[Object.keys(bo).map(t=>$p(t))]});var Ce,Zp,$o=p(()=>{"use strict";U();$();Ce={color:o.extend("--ft-loader-color","",L.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},Zp=_`
259
259
  :host {
260
260
  line-height: 0;
261
261
  }
@@ -264,8 +264,8 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
264
264
  display: inline-block;
265
265
  position: relative;
266
266
 
267
- width: ${Ae.size};
268
- height: ${Ae.size};
267
+ width: ${Ce.size};
268
+ height: ${Ce.size};
269
269
  }
270
270
 
271
271
  .ft-loader div {
@@ -274,7 +274,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
274
274
  width: 25%;
275
275
  height: 25%;
276
276
  border-radius: 50%;
277
- background: ${Ae.color};
277
+ background: ${Ce.color};
278
278
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
279
279
  }
280
280
 
@@ -321,10 +321,10 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
321
321
  transform: translate(0, 0);
322
322
  }
323
323
  100% {
324
- transform: translate(calc(0.35 * ${Ae.size}), 0);
324
+ transform: translate(calc(0.35 * ${Ce.size}), 0);
325
325
  }
326
326
  }
327
- `});var Re,Hp,Io=p(()=>{"use strict";U();$();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")},Hp=N`
327
+ `});var Ee,qp,ko=p(()=>{"use strict";U();$();Ee={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")},qp=_`
328
328
  :host, i.ft-icon {
329
329
  display: inline-flex;
330
330
  align-items: center;
@@ -333,14 +333,14 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
333
333
  }
334
334
 
335
335
  :host {
336
- width: ${Re.size};
337
- height: ${Re.size};
336
+ width: ${Ee.size};
337
+ height: ${Ee.size};
338
338
  }
339
339
 
340
340
  i.ft-icon {
341
341
  width: 100%;
342
342
  height: 100%;
343
- font-size: ${Re.size};
343
+ font-size: ${Ee.size};
344
344
  line-height: 1;
345
345
  font-weight: normal;
346
346
  text-transform: none;
@@ -351,28 +351,28 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
351
351
  text-rendering: auto;
352
352
  -webkit-font-smoothing: antialiased;
353
353
  -moz-osx-font-smoothing: grayscale;
354
- vertical-align: ${Re.verticalAlign};
354
+ vertical-align: ${Ee.verticalAlign};
355
355
  }
356
356
 
357
357
  i.ft-icon.ft-icon--fluid-topics {
358
- font-family: ${Re.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
358
+ font-family: ${Ee.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
359
359
 
360
360
  /* Ugly fix because font is broken */
361
- font-size: calc(0.75 * ${Re.size});
362
- line-height: ${Re.size};
361
+ font-size: calc(0.75 * ${Ee.size});
362
+ line-height: ${Ee.size};
363
363
  position: relative;
364
364
  top: -4%;
365
365
  justify-content: center;
366
366
  }
367
367
 
368
368
  .ft-icon--file-format {
369
- font-family: ${Re.fileFormatFontFamily}, ft-mime, sans-serif;
369
+ font-family: ${Ee.fileFormatFontFamily}, ft-mime, sans-serif;
370
370
  }
371
371
 
372
372
  .ft-icon--material {
373
- font-family: ${Re.materialFontFamily}, "Material Icons", sans-serif;
373
+ font-family: ${Ee.materialFontFamily}, "Material Icons", sans-serif;
374
374
  }
375
- `});var zp,ce,jp,Gs,rt,Vp,Zs=p(()=>{"use strict";U();$();ar();jn();To();Io();zp=o.extend("--ft-button-color","",L.colorPrimary),ce={backgroundColor:o.extend("--ft-button-background-color","",L.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",L.borderRadiusL),color:zp,fontSize:o.extend("--ft-button-font-size","",tt.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",zp),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(L.colorOpacityDisabled,"Design system")},jp=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",L.colorOnPrimary)),Gs={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",L.colorPrimary)),color:jp,rippleColor:o.extend("--ft-button-primary-ripple-color","",jp)},rt={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",L.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")},Vp=[N`
375
+ `});var Yp,ce,Xp,el,rt,Jp,tl=p(()=>{"use strict";U();$();cr();Kn();$o();ko();Yp=o.extend("--ft-button-color","",L.colorPrimary),ce={backgroundColor:o.extend("--ft-button-background-color","",L.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",L.borderRadiusL),color:Yp,fontSize:o.extend("--ft-button-font-size","",tt.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",Yp),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(L.colorOpacityDisabled,"Design system")},Xp=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",L.colorOnPrimary)),el={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",L.colorPrimary)),color:Xp,rippleColor:o.extend("--ft-button-primary-ripple-color","",Xp)},rt={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",L.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")},Jp=[_`
376
376
  :host {
377
377
  display: inline-block;
378
378
  max-width: 100%;
@@ -414,8 +414,8 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
414
414
 
415
415
  --ft-button-internal-line-height: max(calc(${ce.fontSize} + 2px), ${ce.iconSize});
416
416
  --ft-button-internal-color: ${ce.color};
417
- ${I(Re.size,ce.iconSize)};
418
- ${I(j.color,ce.rippleColor)};
417
+ ${P(Ee.size,ce.iconSize)};
418
+ ${P(j.color,ce.rippleColor)};
419
419
 
420
420
  border-radius: ${ce.borderRadius};
421
421
  padding: ${ce.verticalPadding} ${ce.horizontalPadding};
@@ -457,9 +457,9 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
457
457
  }
458
458
 
459
459
  .ft-button.ft-button--primary {
460
- background-color: ${Gs.backgroundColor};
461
- --ft-button-internal-color: ${Gs.color};
462
- ${I(j.color,Gs.rippleColor)};
460
+ background-color: ${el.backgroundColor};
461
+ --ft-button-internal-color: ${el.color};
462
+ ${P(j.color,el.rippleColor)};
463
463
  }
464
464
 
465
465
  .ft-button:focus {
@@ -473,8 +473,8 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
473
473
  text-overflow: ellipsis;
474
474
  display: block;
475
475
  margin: 0 ${ce.iconPadding};
476
- ${I(tt.fontSize,"1em")};
477
- ${I(tt.lineHeight,"var(--ft-button-internal-line-height)")};
476
+ ${P(tt.fontSize,"1em")};
477
+ ${P(tt.lineHeight,"var(--ft-button-internal-line-height)")};
478
478
  }
479
479
 
480
480
  .ft-button--dense .ft-button--label {
@@ -505,10 +505,10 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
505
505
  }
506
506
 
507
507
  ft-loader {
508
- ${I(Ae.size,ce.iconSize)};
509
- ${I(Ae.color,"var(--ft-button-internal-color)")};
508
+ ${P(Ce.size,ce.iconSize)};
509
+ ${P(Ce.color,"var(--ft-button-internal-color)")};
510
510
  }
511
- `,Eo]});var Ne,ne,qs=p(()=>{"use strict";U();re();br();$();ar();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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},ne=class extends X{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 ye(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 ye(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 M`
511
+ `,Ro]});var Ne,ne,rl=p(()=>{"use strict";U();ee();vr();$();cr();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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},ne=class extends Z{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new ye(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 ye(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 M`
512
512
  <style>
513
513
  .ft-ripple .ft-ripple--effect {
514
514
  left: ${this.originX}px;
@@ -519,15 +519,15 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
519
519
  <div class="ft-ripple--background"></div>
520
520
  <div class="ft-ripple--effect"></div>
521
521
  </div>
522
- `}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=(...l)=>c=>{l.forEach(d=>window.addEventListener(d,this.endPress,{once:!0})),this.startPress(c)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},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()}};ne.elementDefinitions={};ne.styles=wp;Ne([C({type:Boolean})],ne.prototype,"primary",void 0);Ne([C({type:Boolean})],ne.prototype,"secondary",void 0);Ne([C({type:Boolean})],ne.prototype,"unbounded",void 0);Ne([C({type:Boolean})],ne.prototype,"activated",void 0);Ne([C({type:Boolean})],ne.prototype,"selected",void 0);Ne([C({type:Boolean})],ne.prototype,"disabled",void 0);Ne([le()],ne.prototype,"hovered",void 0);Ne([le()],ne.prototype,"focused",void 0);Ne([le()],ne.prototype,"pressed",void 0);Ne([le()],ne.prototype,"rippling",void 0);Ne([le()],ne.prototype,"originX",void 0);Ne([le()],ne.prototype,"originY",void 0);Ne([me(".ft-ripple")],ne.prototype,"ripple",void 0);Ne([me(".ft-ripple--effect")],ne.prototype,"rippleEffect",void 0)});var Kp=p(()=>{"use strict"});var Vn=p(()=>{"use strict";$();qs();qs();ar();Kp();z("ft-ripple")(ne)});var Zp,cy,Ys,Gp,qp,Xs,nE,Yp=p(()=>{lt();Zp=Symbol.for(""),cy=t=>{if(t?.r===Zp)return t?._$litStatic$},Ys=t=>({_$litStatic$:t,r:Zp}),Gp=new Map,qp=t=>(e,...r)=>{let n=r.length,i,a,s=[],l=[],c,d=0,h=!1;for(;d<n;){for(c=e[d];d<n&&(a=r[d],(i=cy(a))!==void 0);)c+=i+e[++d],h=!0;d!==n&&l.push(a),s.push(c),d++}if(d===n&&s.push(e[n]),h){let m=s.join("$$lit$$");(e=Gp.get(m))===void 0&&(s.raw=s,Gp.set(m,e=s)),r=l}return t(e,...r)},Xs=qp(_c),nE=qp(Pc)});var Xp=p(()=>{Yp()});var sr,Kn=p(()=>{"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"})(sr||(sr={}))});var Jp,pe,Js=p(()=>{"use strict";Xp();re();$();Kn();jn();Jp=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},pe=class extends X{constructor(){super(...arguments),this.variant=sr.body1}render(){return this.element?Xs`
523
- <${Ys(this.element)}
522
+ `}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=(...l)=>c=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(c)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},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()}};ne.elementDefinitions={};ne.styles=Ip;Ne([C({type:Boolean})],ne.prototype,"primary",void 0);Ne([C({type:Boolean})],ne.prototype,"secondary",void 0);Ne([C({type:Boolean})],ne.prototype,"unbounded",void 0);Ne([C({type:Boolean})],ne.prototype,"activated",void 0);Ne([C({type:Boolean})],ne.prototype,"selected",void 0);Ne([C({type:Boolean})],ne.prototype,"disabled",void 0);Ne([le()],ne.prototype,"hovered",void 0);Ne([le()],ne.prototype,"focused",void 0);Ne([le()],ne.prototype,"pressed",void 0);Ne([le()],ne.prototype,"rippling",void 0);Ne([le()],ne.prototype,"originX",void 0);Ne([le()],ne.prototype,"originY",void 0);Ne([me(".ft-ripple")],ne.prototype,"ripple",void 0);Ne([me(".ft-ripple--effect")],ne.prototype,"rippleEffect",void 0)});var Qp=p(()=>{"use strict"});var Gn=p(()=>{"use strict";$();rl();rl();cr();Qp();z("ft-ripple")(ne)});var tf,hy,ol,ef,rf,nl,fE,of=p(()=>{st();tf=Symbol.for(""),hy=t=>{if(t?.r===tf)return t?._$litStatic$},ol=t=>({_$litStatic$:t,r:tf}),ef=new Map,rf=t=>(e,...r)=>{let n=r.length,i,a,s=[],l=[],c,u=0,h=!1;for(;u<n;){for(c=e[u];u<n&&(a=r[u],(i=hy(a))!==void 0);)c+=i+e[++u],h=!0;u!==n&&l.push(a),s.push(c),u++}if(u===n&&s.push(e[n]),h){let m=s.join("$$lit$$");(e=ef.get(m))===void 0&&(s.raw=s,ef.set(m,e=s)),r=l}return t(e,...r)},nl=rf(kc),fE=rf(Mc)});var nf=p(()=>{of()});var Mt,Zn=p(()=>{"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"})(Mt||(Mt={}))});var af,pe,il=p(()=>{"use strict";nf();ee();$();Zn();Kn();af=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},pe=class extends Z{constructor(){super(...arguments),this.variant=Mt.body1}render(){return this.element?nl`
523
+ <${ol(this.element)}
524
524
  part="text"
525
525
  class="ft-typography ft-typography--${this.variant}">
526
526
  <slot></slot>
527
- </${Ys(this.element)}>
528
- `:Xs`
527
+ </${ol(this.element)}>
528
+ `:nl`
529
529
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
530
- `}};pe.styles=[Pp,Tp,Ip,Lp,$p,zn,kp,Mp,Dp,Up,Bp,...Fp];Jp([C()],pe.prototype,"element",void 0);Jp([C()],pe.prototype,"variant",void 0)});var xt=p(()=>{"use strict";$();Js();Js();jn();Kn();z("ft-typography")(pe)});var kt,Qp,Qs=p(()=>{"use strict";U();$();kt={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(L.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},Qp=N`
530
+ `}};pe.styles=[Dp,Up,Bp,Fp,Wp,Vn,Hp,zp,jp,Vp,Kp,...Gp];af([C()],pe.prototype,"element",void 0);af([C()],pe.prototype,"variant",void 0)});var xt=p(()=>{"use strict";$();il();il();Kn();Zn();z("ft-typography")(pe)});var Dt,sf,al=p(()=>{"use strict";U();$();Dt={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(L.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},sf=_`
531
531
  .ft-tooltip--container {
532
532
  display: block;
533
533
  }
@@ -542,21 +542,21 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
542
542
  box-sizing: border-box;
543
543
  overflow: hidden;
544
544
  width: max-content;
545
- max-width: ${kt.maxWidth};
545
+ max-width: ${Dt.maxWidth};
546
546
  text-align: center;
547
- padding: ${kt.distance};
548
- z-index: ${kt.zIndex};
547
+ padding: ${Dt.distance};
548
+ z-index: ${Dt.zIndex};
549
549
  }
550
550
 
551
551
  .ft-tooltip--content {
552
552
  padding: 4px 8px;
553
- border-radius: ${kt.borderRadiusS};
554
- background-color: ${kt.backgroundColor};
555
- color: ${kt.color};
553
+ border-radius: ${Dt.borderRadiusS};
554
+ background-color: ${Dt.backgroundColor};
555
+ color: ${Dt.color};
556
556
  position: relative;
557
557
  word-break: break-word;
558
558
  }
559
- `});var _e,ue,el=p(()=>{"use strict";U();re();$();xt();Qs();wn();_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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},ue=class extends X{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 ye,this.revealDebouncer=new ye}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return M`
559
+ `});var _e,de,sl=p(()=>{"use strict";U();ee();$();xt();al();Rn();_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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},de=class extends Z{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new ye,this.revealDebouncer=new ye}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return M`
560
560
  <div part="container"
561
561
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
562
562
  @mouseenter=${this.onHover}
@@ -574,19 +574,19 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
574
574
  </div>
575
575
  </div>
576
576
  </div>
577
- `}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="",Ga(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))}};ue.elementDefinitions={"ft-typography":pe};ue.styles=Qp;_e([C()],ue.prototype,"text",void 0);_e([C({type:Boolean})],ue.prototype,"manual",void 0);_e([C({type:Boolean})],ue.prototype,"inline",void 0);_e([C({type:Number})],ue.prototype,"delay",void 0);_e([C()],ue.prototype,"position",void 0);_e([Fi()],ue.prototype,"slotNodes",void 0);_e([me(".ft-tooltip--container")],ue.prototype,"container",void 0);_e([me(".ft-tooltip")],ue.prototype,"tooltip",void 0);_e([me(".ft-tooltip--content")],ue.prototype,"tooltipContent",void 0);_e([le()],ue.prototype,"visible",void 0);_e([mr({passive:!0})],ue.prototype,"onTouch",null);_e([mr({passive:!0})],ue.prototype,"onHover",null);_e([mr({passive:!0})],ue.prototype,"onOut",null);_e([mr({passive:!0})],ue.prototype,"onClick",null)});var ef=p(()=>{"use strict"});var tl=p(()=>{"use strict";$();el();el();Qs();ef();z("ft-tooltip")(ue)});function tf(t,e){var r,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=uy.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(n=rl.get(l))!==null&&n!==void 0?n:rl.get(e))!==null&&i!==void 0?i:rl.get(s))!==null&&a!==void 0?a:A.UNKNOWN}var Mt,A,rl,uy,DE,ol=p(()=>{"use strict";(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Mt||(Mt={}));(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(A||(A={}));rl=new Map([...["abw"].map(t=>[t,A.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,A.AUDIO]),...["avi"].map(t=>[t,A.AVI]),...["chm","xhs"].map(t=>[t,A.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,A.CODE]),...["csv"].map(t=>[t,A.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,A.DITA]),...["epub"].map(t=>[t,A.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,A.EXCEL]),...["flac"].map(t=>[t,A.FLAC]),...["gif"].map(t=>[t,A.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,A.GZIP]),...["html","htm","xhtml"].map(t=>[t,A.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,A.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,A.JPEG]),...["json"].map(t=>[t,A.JSON]),...["m4a","m4p"].map(t=>[t,A.M4A]),...["mov","qt"].map(t=>[t,A.MOV]),...["mp3"].map(t=>[t,A.MP3]),...["mp4","m4v"].map(t=>[t,A.MP4]),...["ogg","oga"].map(t=>[t,A.OGG]),...["pdf","ps"].map(t=>[t,A.PDF]),...["png"].map(t=>[t,A.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,A.POWERPOINT]),...["rar"].map(t=>[t,A.RAR]),...["stp"].map(t=>[t,A.STP]),...["txt","rtf","md","mdown"].map(t=>[t,A.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,A.VIDEO]),...["wav"].map(t=>[t,A.WAV]),...["wma"].map(t=>[t,A.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,A.WORD]),...["xml","xsl","rdf"].map(t=>[t,A.XML]),...["yaml","yml","x-yaml"].map(t=>[t,A.YAML]),...["zip"].map(t=>[t,A.ZIP])]),uy=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"]]);DE={[A.ABW]:"#91ABC6",[A.AUDIO]:"#1795E3",[A.AVI]:"#E63324",[A.CHM]:"#71C3EB",[A.CODE]:"#71C3EB",[A.CSV]:"#1F7345",[A.DITA]:"#71C3EB",[A.EPUB]:"#85B926",[A.EXCEL]:"#1F7345",[A.FLAC]:"#1795E3",[A.GIF]:"#59B031",[A.GZIP]:"#F8AB36",[A.HTML]:"#71C3EB",[A.IMAGE]:"#59B031",[A.JPEG]:"#59B031",[A.JSON]:"#71C3EB",[A.M4A]:"#1795E3",[A.MOV]:"#E63324",[A.MP3]:"#1795E3",[A.MP4]:"#E63324",[A.OGG]:"#1795E3",[A.PDF]:"#E44948",[A.PNG]:"#59B031",[A.POWERPOINT]:"#B54A2B",[A.RAR]:"#F8AB36",[A.STP]:"#3764B1",[A.TEXT]:"#3162AB",[A.UNKNOWN]:"#999999",[A.VIDEO]:"#E63324",[A.WAV]:"#1795E3",[A.WMA]:"#1795E3",[A.WORD]:"#3162AB",[A.XML]:"#71C3EB",[A.YAML]:"#71C3EB",[A.ZIP]:"#F8AB36"}});var Ge,nl=p(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ge||(Ge={}))});var Gn,Pe,il=p(()=>{"use strict";U();re();$();fo();ol();Io();nl();Gn=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},Pe=class extends X{constructor(){super(...arguments),this.resolvedIcon=H}render(){let e=this.variant&&Object.values(Ge).includes(this.variant)?this.variant:Ge.fluid_topics,r=e!==Ge.material||!!this.value;return M`
577
+ `}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="",Xa(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))}};de.elementDefinitions={"ft-typography":pe};de.styles=sf;_e([C()],de.prototype,"text",void 0);_e([C({type:Boolean})],de.prototype,"manual",void 0);_e([C({type:Boolean})],de.prototype,"inline",void 0);_e([C({type:Number})],de.prototype,"delay",void 0);_e([C()],de.prototype,"position",void 0);_e([ji()],de.prototype,"slotNodes",void 0);_e([me(".ft-tooltip--container")],de.prototype,"container",void 0);_e([me(".ft-tooltip")],de.prototype,"tooltip",void 0);_e([me(".ft-tooltip--content")],de.prototype,"tooltipContent",void 0);_e([le()],de.prototype,"visible",void 0);_e([yr({passive:!0})],de.prototype,"onTouch",null);_e([yr({passive:!0})],de.prototype,"onHover",null);_e([yr({passive:!0})],de.prototype,"onOut",null);_e([yr({passive:!0})],de.prototype,"onClick",null)});var lf=p(()=>{"use strict"});var ll=p(()=>{"use strict";$();sl();sl();al();lf();z("ft-tooltip")(de)});function cf(t,e){var r,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=my.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(n=cl.get(l))!==null&&n!==void 0?n:cl.get(e))!==null&&i!==void 0?i:cl.get(s))!==null&&a!==void 0?a:R.UNKNOWN}var Ut,R,cl,my,KE,dl=p(()=>{"use strict";(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Ut||(Ut={}));(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(R||(R={}));cl=new Map([...["abw"].map(t=>[t,R.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,R.AUDIO]),...["avi"].map(t=>[t,R.AVI]),...["chm","xhs"].map(t=>[t,R.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,R.CODE]),...["csv"].map(t=>[t,R.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,R.DITA]),...["epub"].map(t=>[t,R.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,R.EXCEL]),...["flac"].map(t=>[t,R.FLAC]),...["gif"].map(t=>[t,R.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,R.GZIP]),...["html","htm","xhtml"].map(t=>[t,R.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,R.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,R.JPEG]),...["json"].map(t=>[t,R.JSON]),...["m4a","m4p"].map(t=>[t,R.M4A]),...["mov","qt"].map(t=>[t,R.MOV]),...["mp3"].map(t=>[t,R.MP3]),...["mp4","m4v"].map(t=>[t,R.MP4]),...["ogg","oga"].map(t=>[t,R.OGG]),...["pdf","ps"].map(t=>[t,R.PDF]),...["png"].map(t=>[t,R.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,R.POWERPOINT]),...["rar"].map(t=>[t,R.RAR]),...["stp"].map(t=>[t,R.STP]),...["txt","rtf","md","mdown"].map(t=>[t,R.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,R.VIDEO]),...["wav"].map(t=>[t,R.WAV]),...["wma"].map(t=>[t,R.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,R.WORD]),...["xml","xsl","rdf"].map(t=>[t,R.XML]),...["yaml","yml","x-yaml"].map(t=>[t,R.YAML]),...["zip"].map(t=>[t,R.ZIP])]),my=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"]]);KE={[R.ABW]:"#91ABC6",[R.AUDIO]:"#1795E3",[R.AVI]:"#E63324",[R.CHM]:"#71C3EB",[R.CODE]:"#71C3EB",[R.CSV]:"#1F7345",[R.DITA]:"#71C3EB",[R.EPUB]:"#85B926",[R.EXCEL]:"#1F7345",[R.FLAC]:"#1795E3",[R.GIF]:"#59B031",[R.GZIP]:"#F8AB36",[R.HTML]:"#71C3EB",[R.IMAGE]:"#59B031",[R.JPEG]:"#59B031",[R.JSON]:"#71C3EB",[R.M4A]:"#1795E3",[R.MOV]:"#E63324",[R.MP3]:"#1795E3",[R.MP4]:"#E63324",[R.OGG]:"#1795E3",[R.PDF]:"#E44948",[R.PNG]:"#59B031",[R.POWERPOINT]:"#B54A2B",[R.RAR]:"#F8AB36",[R.STP]:"#3764B1",[R.TEXT]:"#3162AB",[R.UNKNOWN]:"#999999",[R.VIDEO]:"#E63324",[R.WAV]:"#1795E3",[R.WMA]:"#1795E3",[R.WORD]:"#3162AB",[R.XML]:"#71C3EB",[R.YAML]:"#71C3EB",[R.ZIP]:"#F8AB36"}});var Me,ul=p(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Me||(Me={}))});var qn,Pe,pl=p(()=>{"use strict";U();ee();$();mo();dl();ko();ul();qn=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},Pe=class extends Z{constructor(){super(...arguments),this.resolvedIcon=H}render(){let e=this.variant&&Object.values(Me).includes(this.variant)?this.variant:Me.fluid_topics,r=e!==Me.material||!!this.value;return M`
578
578
  <i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
579
- ${Jt(this.resolvedIcon)}
579
+ ${er(this.resolvedIcon)}
580
580
  <slot ?hidden=${r}></slot>
581
581
  </i>
582
- `}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 Ge.file_format:this.resolvedIcon=(e=A[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Ge.material:this.resolvedIcon=this.value||H;break;default:this.resolvedIcon=(r=Mt[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Pe.elementDefinitions={};Pe.styles=Hp;Gn([C()],Pe.prototype,"variant",void 0);Gn([C()],Pe.prototype,"value",void 0);Gn([le()],Pe.prototype,"resolvedIcon",void 0);Gn([me("slot")],Pe.prototype,"slottedContent",void 0)});var al=p(()=>{"use strict";$();il();Io();nl();il();ol();z("ft-icon")(Pe)});var lr,sl=p(()=>{"use strict";U();$();To();lr=class extends X{render(){return M`
582
+ `}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 Me.file_format:this.resolvedIcon=(e=R[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Me.material:this.resolvedIcon=this.value||H;break;default:this.resolvedIcon=(r=Ut[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Pe.elementDefinitions={};Pe.styles=qp;qn([C()],Pe.prototype,"variant",void 0);qn([C()],Pe.prototype,"value",void 0);qn([le()],Pe.prototype,"resolvedIcon",void 0);qn([me("slot")],Pe.prototype,"slottedContent",void 0)});var Yn=p(()=>{"use strict";$();pl();ko();ul();pl();dl();z("ft-icon")(Pe)});var dr,fl=p(()=>{"use strict";U();$();$o();dr=class extends Z{render(){return M`
583
583
  <div class="ft-loader">
584
584
  <div></div>
585
585
  <div></div>
586
586
  <div></div>
587
587
  <div></div>
588
588
  </div>
589
- `}};lr.styles=Wp});var rf=p(()=>{"use strict"});var of=p(()=>{"use strict";$();sl();To();rf();sl();z("ft-loader")(lr)});var Me,he,ll=p(()=>{"use strict";$();Vn();tl();xt();al();of();U();br();re();Me=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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 Bs(X,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(M`
589
+ `}};dr.styles=Zp});var df=p(()=>{"use strict"});var uf=p(()=>{"use strict";$();fl();$o();df();fl();z("ft-loader")(dr)});var De,he,hl=p(()=>{"use strict";$();Gn();ll();xt();Yn();uf();U();vr();ee();De=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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 Ks(Z,"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.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(){return this.addTooltipIfNeeded(M`
590
590
  <button part="button"
591
591
  class="${dt(this.buttonClasses)}"
592
592
  aria-label="${this.getLabel()}"
@@ -595,7 +595,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
595
595
  <ft-typography part="label"
596
596
  variant=${this.typographyVariant}
597
597
  element="span"
598
- class="ft-button--label ${Ks?"ft-safari-ellipsis-fix":""}"
598
+ class="ft-button--label ${Qs?"ft-safari-ellipsis-fix":""}"
599
599
  ?hidden=${!this.hasTextContent()}>
600
600
  <slot @slotchange=${this.onSlotchange}></slot>
601
601
  </ft-typography>
@@ -612,7 +612,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
612
612
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
613
613
  `:M`
614
614
  <slot part="icon" name="icon"></slot>
615
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};he.elementDefinitions={"ft-ripple":ne,"ft-tooltip":ue,"ft-typography":pe,"ft-icon":Pe,"ft-loader":lr};Me([C({type:String,reflect:!0})],he.prototype,"role",void 0);Me([C()],he.prototype,"type",void 0);Me([C({type:Boolean})],he.prototype,"disabled",void 0);Me([C()],he.prototype,"label",void 0);Me([C()],he.prototype,"icon",void 0);Me([C()],he.prototype,"iconVariant",void 0);Me([C({type:Boolean})],he.prototype,"trailingIcon",void 0);Me([C({type:Boolean})],he.prototype,"loading",void 0);Me([C()],he.prototype,"tooltipPosition",void 0);Me([C({type:Boolean})],he.prototype,"hideTooltip",void 0);Me([C({type:Boolean})],he.prototype,"forceTooltip",void 0);Me([me(".ft-button")],he.prototype,"button",void 0);Me([me(".ft-button--label slot")],he.prototype,"slottedContent",void 0)});var Zn,De,cl=p(()=>{"use strict";re();$();Zs();ll();Zn=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},De=class extends he{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"}};De.styles=[wo,Vp];Zn([C({type:Boolean})],De.prototype,"primary",void 0);Zn([C({type:Boolean})],De.prototype,"outlined",void 0);Zn([C({type:Boolean})],De.prototype,"dense",void 0);Zn([C({type:Boolean})],De.prototype,"round",void 0)});var nf,ul=p(()=>{"use strict";U();$();ar();To();Io();K();K();nf=[N`
615
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};he.elementDefinitions={"ft-ripple":ne,"ft-tooltip":de,"ft-typography":pe,"ft-icon":Pe,"ft-loader":dr};De([C({type:String,reflect:!0})],he.prototype,"role",void 0);De([C()],he.prototype,"type",void 0);De([C({type:Boolean})],he.prototype,"disabled",void 0);De([C()],he.prototype,"label",void 0);De([C()],he.prototype,"icon",void 0);De([C()],he.prototype,"iconVariant",void 0);De([C({type:Boolean})],he.prototype,"trailingIcon",void 0);De([C({type:Boolean})],he.prototype,"loading",void 0);De([C()],he.prototype,"tooltipPosition",void 0);De([C({type:Boolean})],he.prototype,"hideTooltip",void 0);De([C({type:Boolean})],he.prototype,"forceTooltip",void 0);De([me(".ft-button")],he.prototype,"button",void 0);De([me(".ft-button--label slot")],he.prototype,"slottedContent",void 0)});var Xn,Ue,ml=p(()=>{"use strict";ee();$();tl();hl();Xn=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},Ue=class extends he{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"}};Ue.styles=[No,Jp];Xn([C({type:Boolean})],Ue.prototype,"primary",void 0);Xn([C({type:Boolean})],Ue.prototype,"outlined",void 0);Xn([C({type:Boolean})],Ue.prototype,"dense",void 0);Xn([C({type:Boolean})],Ue.prototype,"round",void 0)});var pf,gl=p(()=>{"use strict";U();$();cr();$o();ko();V();V();pf=[_`
616
616
  :host {
617
617
  display: inline-block;
618
618
  max-width: 100%;
@@ -662,7 +662,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
662
662
  }
663
663
 
664
664
  .ft-button:focus-visible {
665
- outline-color: ${T.focusFocusRingColor};
665
+ outline-color: ${A.focusFocusRingColor};
666
666
  outline-style: solid;
667
667
  }
668
668
 
@@ -688,153 +688,179 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
688
688
  display: none;
689
689
  }
690
690
 
691
+ .ft-button.ft-button--icon-only {
692
+ padding: unset;
693
+ border-radius: 50%;
694
+ }
695
+
691
696
  /** Primary styles **/
692
697
 
693
698
  .ft-button--primary {
694
- ${I(Ae.color,T.primaryIconColor)};
699
+ ${P(Ce.color,A.primaryIconColor)};
695
700
 
696
- ${I(j.color,T.primaryStateLayerColor)};
697
- ${I(j.opacityContentOnSurfaceHover,T.primaryHoverStateLayerOpacity)};
698
- ${I(j.opacityContentOnSurfaceFocused,T.primaryFocusStateLayerOpacity)};
699
- ${I(j.opacityContentOnSurfaceSelected,T.primaryActiveStateLayerOpacity)};
700
- ${I(j.opacityContentOnSurfacePressed,T.primaryActiveStateLayerOpacity)};
701
+ ${P(j.color,A.primaryStateLayerColor)};
702
+ ${P(j.opacityContentOnSurfaceHover,A.primaryHoverStateLayerOpacity)};
703
+ ${P(j.opacityContentOnSurfaceFocused,A.primaryFocusStateLayerOpacity)};
704
+ ${P(j.opacityContentOnSurfaceSelected,A.primaryActiveStateLayerOpacity)};
705
+ ${P(j.opacityContentOnSurfacePressed,A.primaryActiveStateLayerOpacity)};
701
706
 
702
- background-color: ${T.primaryBackgroundColor};
703
- color: ${T.primaryColor};
707
+ background-color: ${A.primaryBackgroundColor};
708
+ color: ${A.primaryColor};
704
709
  border-style: none;
705
710
  }
706
711
 
707
712
  .ft-button--primary[disabled] {
708
- opacity: ${T.primaryDisabledComponentOpacity};
713
+ opacity: ${A.primaryDisabledComponentOpacity};
709
714
  }
710
715
 
711
716
  .ft-button--primary ft-icon {
712
- color: ${T.primaryIconColor};
717
+ color: ${A.primaryIconColor};
713
718
  }
714
719
 
715
720
  /** Secondary styles **/
716
721
 
717
722
  .ft-button--secondary {
718
- ${I(Ae.color,T.secondaryIconColor)};
723
+ ${P(Ce.color,A.secondaryIconColor)};
719
724
 
720
- ${I(j.color,T.secondaryStateLayerColor)};
721
- ${I(j.opacityContentOnSurfaceHover,T.secondaryHoverStateLayerOpacity)};
722
- ${I(j.opacityContentOnSurfaceFocused,T.secondaryFocusStateLayerOpacity)};
723
- ${I(j.opacityContentOnSurfaceSelected,T.secondaryActiveStateLayerOpacity)};
724
- ${I(j.opacityContentOnSurfacePressed,T.secondaryActiveStateLayerOpacity)};
725
+ ${P(j.color,A.secondaryStateLayerColor)};
726
+ ${P(j.opacityContentOnSurfaceHover,A.secondaryHoverStateLayerOpacity)};
727
+ ${P(j.opacityContentOnSurfaceFocused,A.secondaryFocusStateLayerOpacity)};
728
+ ${P(j.opacityContentOnSurfaceSelected,A.secondaryActiveStateLayerOpacity)};
729
+ ${P(j.opacityContentOnSurfacePressed,A.secondaryActiveStateLayerOpacity)};
725
730
 
726
- background-color: ${T.secondaryBackgroundColor};
727
- color: ${T.secondaryColor};
728
- border-color: ${T.secondaryBorderColor};
731
+ background-color: ${A.secondaryBackgroundColor};
732
+ color: ${A.secondaryColor};
733
+ border-color: ${A.secondaryBorderColor};
729
734
  border-style: solid;
730
735
  }
731
736
 
732
737
  .ft-button--secondary[disabled] {
733
- opacity: ${T.secondaryDisabledComponentOpacity};
738
+ opacity: ${A.secondaryDisabledComponentOpacity};
734
739
  }
735
740
 
736
741
  .ft-button--secondary ft-icon {
737
- color: ${T.secondaryIconColor};
742
+ color: ${A.secondaryIconColor};
738
743
  }
739
744
 
740
745
  /** Tertiary styles **/
741
746
 
742
747
  .ft-button--tertiary {
743
- ${I(Ae.color,T.tertiaryIconColor)};
748
+ ${P(Ce.color,A.tertiaryIconColor)};
744
749
 
745
- ${I(j.color,T.tertiaryStateLayerColor)};
746
- ${I(j.opacityContentOnSurfaceHover,T.tertiaryHoverStateLayerOpacity)};
747
- ${I(j.opacityContentOnSurfaceFocused,T.tertiaryFocusStateLayerOpacity)};
748
- ${I(j.opacityContentOnSurfaceSelected,T.tertiaryActiveStateLayerOpacity)};
749
- ${I(j.opacityContentOnSurfacePressed,T.tertiaryActiveStateLayerOpacity)};
750
+ ${P(j.color,A.tertiaryStateLayerColor)};
751
+ ${P(j.opacityContentOnSurfaceHover,A.tertiaryHoverStateLayerOpacity)};
752
+ ${P(j.opacityContentOnSurfaceFocused,A.tertiaryFocusStateLayerOpacity)};
753
+ ${P(j.opacityContentOnSurfaceSelected,A.tertiaryActiveStateLayerOpacity)};
754
+ ${P(j.opacityContentOnSurfacePressed,A.tertiaryActiveStateLayerOpacity)};
750
755
 
751
- background-color: ${T.tertiaryBackgroundColor};
752
- color: ${T.tertiaryColor};
756
+ background-color: ${A.tertiaryBackgroundColor};
757
+ color: ${A.tertiaryColor};
753
758
  border-style: none;
754
759
  }
755
760
 
756
761
  .ft-button--tertiary[disabled] {
757
- opacity: ${T.tertiaryDisabledComponentOpacity};
762
+ opacity: ${A.tertiaryDisabledComponentOpacity};
758
763
  }
759
764
 
760
765
  .ft-button--tertiary ft-icon {
761
- color: ${T.tertiaryIconColor};
766
+ color: ${A.tertiaryIconColor};
762
767
  }
763
768
 
764
769
  /** Neutral styles **/
765
770
 
766
- .ft-button--neutral {
767
- ${I(Ae.color,T.neutralIconColor)};
771
+ .ftds--family-neutral {
772
+ ${P(Ce.color,A.neutralIconColor)};
768
773
 
769
- ${I(j.backgroundColor,T.neutralStateLayerColor)};
770
- ${I(j.opacityContentOnSurfaceHover,T.neutralHoverStateLayerOpacity)};
771
- ${I(j.opacityContentOnSurfaceFocused,T.neutralFocusStateLayerOpacity)};
772
- ${I(j.opacityContentOnSurfaceSelected,T.neutralActiveStateLayerOpacity)};
773
- ${I(j.opacityContentOnSurfacePressed,T.neutralActiveStateLayerOpacity)};
774
+ ${P(j.backgroundColor,A.neutralStateLayerColor)};
775
+ ${P(j.opacityContentOnSurfaceHover,A.neutralHoverStateLayerOpacity)};
776
+ ${P(j.opacityContentOnSurfaceFocused,A.neutralFocusStateLayerOpacity)};
777
+ ${P(j.opacityContentOnSurfaceSelected,A.neutralActiveStateLayerOpacity)};
778
+ ${P(j.opacityContentOnSurfacePressed,A.neutralActiveStateLayerOpacity)};
774
779
 
775
- background-color: ${T.neutralBackgroundColor};
776
- color: ${T.neutralColor};
780
+ background-color: ${A.neutralBackgroundColor};
781
+ color: ${A.neutralColor};
777
782
  border-style: none;
778
783
  }
779
784
 
780
- .ft-button--neutral[disabled] {
781
- opacity: ${T.neutralDisabledComponentOpacity};
785
+ .ftds--family-neutral[disabled] {
786
+ opacity: ${A.neutralDisabledComponentOpacity};
782
787
  }
783
788
 
784
- .ft-button--neutral ft-icon {
785
- color: ${T.neutralIconColor};
789
+ .ftds--family-neutral ft-icon {
790
+ color: ${A.neutralIconColor};
786
791
  }
787
792
 
788
793
  /** Large styles **/
789
794
 
790
- .ft-button--large {
791
- ${I(Re.size,T.largeIconSize)};
792
- ${I(Ae.size,T.largeIconSize)};
795
+ .ftds--size-large {
796
+ ${P(Ee.size,A.largeIconSize)};
797
+ ${P(Ce.size,A.largeIconSize)};
793
798
 
794
- height: ${T.largeHeight};
795
- padding: 0 ${T.largeHorizontalPadding};
796
- gap: ${T.largeGap};
797
- border-radius: ${T.largeBorderRadius};
798
- border-width: ${T.largeBorderWidth};
799
+ height: ${A.largeHeight};
800
+ padding: 0 ${A.largeHorizontalPadding};
801
+ gap: ${A.largeGap};
802
+ border-radius: ${A.largeBorderRadius};
803
+ border-width: ${A.largeBorderWidth};
799
804
  }
800
805
 
801
- .ft-button--large:focus-visible {
802
- outline-width: ${T.largeFocusOutlineWidth};
803
- outline-offset: ${T.largeFocusOutlineOffset};
806
+ .ftds--size-large:focus-visible {
807
+ outline-width: ${A.largeFocusOutlineWidth};
808
+ outline-offset: ${A.largeFocusOutlineOffset};
804
809
  }
805
810
 
806
- .ft-button--large.ft-button--icon-only {
807
- width: ${T.largeIconOnlyWidth};
808
- padding: unset;
811
+ .ftds--size-large.ft-button--icon-only {
812
+ width: ${A.largeIconOnlyWidth};
809
813
  }
810
814
 
811
815
  /** Small styles **/
812
816
 
813
- .ft-button--small {
814
- ${I(Re.size,T.smallIconSize)};
815
- ${I(Ae.size,T.smallIconSize)};
817
+ .ftds--size-medium {
818
+ ${P(Ee.size,A.mediumIconSize)};
819
+ ${P(Ce.size,A.mediumIconSize)};
816
820
 
817
- height: ${T.smallHeight};
818
- padding: 0 ${T.smallHorizontalPadding};
819
- gap: ${T.smallGap};
820
- border-radius: ${T.smallBorderRadius};
821
- border-width: ${T.smallBorderWidth};
821
+ height: ${A.mediumHeight};
822
+ padding: 0 ${A.mediumHorizontalPadding};
823
+ gap: ${A.mediumGap};
824
+ border-radius: ${A.mediumBorderRadius};
825
+ border-width: ${A.mediumBorderWidth};
822
826
  }
823
827
 
824
- .ft-button--small:focus-visible {
825
- outline-width: ${T.smallFocusOutlineWidth};
826
- outline-offset: ${T.smallFocusOutlineOffset};
828
+ .ftds--size-medium:focus-visible {
829
+ outline-width: ${A.mediumFocusOutlineWidth};
830
+ outline-offset: ${A.mediumFocusOutlineOffset};
827
831
  }
828
832
 
829
- .ft-button--small.ft-button--icon-only {
830
- width: ${T.smallIconOnlyWidth};
831
- padding: unset;
833
+ .ftds--size-medium.ft-button--icon-only {
834
+ width: ${A.mediumIconOnlyWidth};
835
+ }
836
+
837
+
838
+ /** Small styles **/
839
+
840
+ .ftds--size-small {
841
+ ${P(Ee.size,A.smallIconSize)};
842
+ ${P(Ce.size,A.smallIconSize)};
843
+
844
+ height: ${A.smallHeight};
845
+ padding: 0 ${A.smallHorizontalPadding};
846
+ gap: ${A.smallGap};
847
+ border-radius: ${A.smallBorderRadius};
848
+ border-width: ${A.smallBorderWidth};
849
+ }
850
+
851
+ .ftds--size-small:focus-visible {
852
+ outline-width: ${A.smallFocusOutlineWidth};
853
+ outline-offset: ${A.smallFocusOutlineOffset};
854
+ }
855
+
856
+ .ftds--size-small.ft-button--icon-only {
857
+ width: ${A.smallIconOnlyWidth};
832
858
  }
833
- `,Eo]});var Lo,ot,dl=p(()=>{"use strict";ll();re();Kn();$();ul();Lo=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},ot=class extends he{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?sr.caption1medium:sr.body2medium}};ot.styles=[wo,nf];Lo([C({type:Boolean})],ot.prototype,"primary",void 0);Lo([C({type:Boolean})],ot.prototype,"secondary",void 0);Lo([C({type:Boolean})],ot.prototype,"tertiary",void 0);Lo([C({type:Boolean})],ot.prototype,"neutral",void 0);Lo([C({type:Boolean})],ot.prototype,"small",void 0)});var af=p(()=>{"use strict"});var sf=p(()=>{"use strict"});var qn=p(()=>{"use strict";$();cl();dl();cl();Zs();af();dl();ul();sf();z("ft-button")(De);z("ftds-button")(ot)});var te,pl,$o=p(()=>{"use strict";U();$();qn();tl();te={height:o.create("--ft-search-input-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-input-border-radius","",L.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","",L.colorSurface),colorOnSurface:o.extend("--ft-search-input-color","",L.colorOnSurface),colorOnSurfaceMedium:o.extend("--ft-search-input-placeholder-color","",L.colorOnSurfaceMedium),colorOutline:o.extend("--ft-search-input-outline-color","",L.colorOutline),elevation02:o.extend("--ft-search-input-elevation","",L.elevation02),focusOutlineColor:o.extend("--ft-search-input-focused-outline-color","",L.colorPrimary),buttonColor:o.extend("--ft-search-input-button-color","",L.colorPrimary),buttonRippleColor:o.extend("--ft-search-input-button-ripple-color","",L.colorPrimary)},pl=N`
859
+ `,Ro]});var Jn,vt,yl=p(()=>{"use strict";hl();ee();Zn();$();gl();V();Yn();Jn=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},vt=class extends Tn(he){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=tr.brand,this.iconVariant=Me.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 pt.large:return Mt.body2medium;case pt.medium:return Mt.caption1medium;case pt.small:return Mt.caption2medium}}};vt.styles=[No,pf];Jn([C({type:Boolean})],vt.prototype,"primary",void 0);Jn([C({type:Boolean})],vt.prototype,"secondary",void 0);Jn([C({type:Boolean})],vt.prototype,"tertiary",void 0);Jn([C({type:Boolean})],vt.prototype,"round",void 0)});var ff=p(()=>{"use strict"});var hf=p(()=>{"use strict"});var Qn=p(()=>{"use strict";$();ml();yl();ml();tl();ff();yl();gl();hf();z("ft-button")(Ue);z("ftds-button")(vt)});var re,bl,Mo=p(()=>{"use strict";U();$();Qn();ll();re={height:o.create("--ft-search-input-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-input-border-radius","",L.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","",L.colorSurface),colorOnSurface:o.extend("--ft-search-input-color","",L.colorOnSurface),colorOnSurfaceMedium:o.extend("--ft-search-input-placeholder-color","",L.colorOnSurfaceMedium),colorOutline:o.extend("--ft-search-input-outline-color","",L.colorOutline),elevation02:o.extend("--ft-search-input-elevation","",L.elevation02),focusOutlineColor:o.extend("--ft-search-input-focused-outline-color","",L.colorPrimary),buttonColor:o.extend("--ft-search-input-button-color","",L.colorPrimary),buttonRippleColor:o.extend("--ft-search-input-button-ripple-color","",L.colorPrimary)},bl=_`
834
860
  * {
835
861
  box-sizing: border-box;
836
- ${I(ce.color,te.buttonColor)};
837
- ${I(ce.rippleColor,te.buttonRippleColor)};
862
+ ${P(ce.color,re.buttonColor)};
863
+ ${P(ce.rippleColor,re.buttonRippleColor)};
838
864
  }
839
865
 
840
866
  .ft-search-input {
@@ -842,11 +868,11 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
842
868
  display: flex;
843
869
  flex-direction: row;
844
870
  align-items: center;
845
- height: ${te.height};
871
+ height: ${re.height};
846
872
 
847
- background: ${te.colorSurface};
848
- border: 1px solid ${te.colorOutline};
849
- border-radius: ${te.borderRadius};
873
+ background: ${re.colorSurface};
874
+ border: 1px solid ${re.colorOutline};
875
+ border-radius: ${re.borderRadius};
850
876
  }
851
877
 
852
878
  .ft-search-input--input-container {
@@ -861,11 +887,11 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
861
887
  width: 100%;
862
888
  display: grid;
863
889
  padding: 0 8px;
864
- border-radius: ${te.borderRadius};
890
+ border-radius: ${re.borderRadius};
865
891
  }
866
892
 
867
893
  .ft-search-input--input-container:focus-within .ft-search-input--input-outline {
868
- outline: 2px solid ${te.focusOutlineColor};
894
+ outline: 2px solid ${re.focusOutlineColor};
869
895
  }
870
896
 
871
897
  .ft-search-input--input {
@@ -873,12 +899,12 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
873
899
  width: 100%;
874
900
  border: none;
875
901
  background-color: transparent;
876
- color: ${te.colorOnSurface};
902
+ color: ${re.colorOnSurface};
877
903
  outline: none;
878
904
  }
879
905
 
880
906
  .ft-search-input--input::placeholder {
881
- color: ${te.colorOnSurfaceMedium};
907
+ color: ${re.colorOnSurfaceMedium};
882
908
  }
883
909
 
884
910
  .ft-search-input--actions {
@@ -888,13 +914,13 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
888
914
  align-items: center;
889
915
  height: 100%;
890
916
 
891
- ${I(kt.zIndex,`calc(${te.floatingZIndex} + 1)`)};
917
+ ${P(Dt.zIndex,`calc(${re.floatingZIndex} + 1)`)};
892
918
  }
893
919
 
894
920
  .ft-search-input > ft-button,
895
921
  .ft-search-input--actions ft-button {
896
922
  flex-shrink: 0;
897
- ${I(ce.backgroundColor,"transparent")};
923
+ ${P(ce.backgroundColor,"transparent")};
898
924
  }
899
925
 
900
926
  .ft-search-input .ft-search-input--launch-search,
@@ -912,17 +938,17 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
912
938
 
913
939
  .ft-search-input--separator {
914
940
  height: 20px;
915
- border-right: 1px solid ${te.colorOutline};
941
+ border-right: 1px solid ${re.colorOutline};
916
942
  }
917
- `});var Yn,fl,Xn=p(()=>{"use strict";U();$();Yn={highlightBackgroundColor:o.create("--ft-sra-highlight-background-color","","COLOR","transparent")},fl=N`
943
+ `});var ei,xl,ti=p(()=>{"use strict";U();$();ei={highlightBackgroundColor:o.create("--ft-sra-highlight-background-color","","COLOR","transparent")},xl=_`
918
944
  .kwicmatch {
919
945
  font-weight: 700;
920
- background-color: ${Yn.highlightBackgroundColor};
946
+ background-color: ${ei.highlightBackgroundColor};
921
947
  }
922
- `});var Jn,hl,Qn=p(()=>{"use strict";U();$();Jn={highlightBackgroundColor:o.create("--ft-srt-highlight-background-color","","COLOR","transparent")},hl=N`
948
+ `});var ri,vl,oi=p(()=>{"use strict";U();$();ri={highlightBackgroundColor:o.create("--ft-srt-highlight-background-color","","COLOR","transparent")},vl=_`
923
949
  .kwicmatch {
924
950
  font-weight: 700;
925
- background-color: ${Jn.highlightBackgroundColor};
951
+ background-color: ${ri.highlightBackgroundColor};
926
952
  }
927
953
 
928
954
  a {
@@ -933,32 +959,32 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
933
959
  a:focus {
934
960
  outline: revert;
935
961
  }
936
- `});var uf,ml=p(()=>{"use strict";U();uf=N`
937
- `});var df,gl=p(()=>{"use strict";U();df=N`
938
- `});var dy,yl,py,F,Ze=p(()=>{"use strict";$();dy="ft-app-info",yl=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},py={session:(t,e)=>{je(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>F.eventBus.dispatchEvent(new yl(e.payload)),0))}},F=yt.get({name:dy,reducers:py,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 cr,ei=p(()=>{"use strict";Ze();cr=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=F.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=F.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}}});var nt,ko=p(()=>{"use strict";$();ei();nt=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 Je,this.cache=e?i.commonCache:new Je}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:cr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):cr.await()}clearCache(){this.cache.clearAll()}}});var pf,fy,ti,Br,ff,bl=p(()=>{"use strict";Ze();$();ko();fy=Symbol("clearAfterUnitTest"),ti=class extends nt{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[pf]=()=>{this.defaultMessages={},this.cache=new Je,this.listeners={}},this.currentUiLocale=F.getState().uiLocale,F.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=F.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};je(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveMessage(e,r,...n){var i,a,s;e=e.toLowerCase(),this.fetchContext(e);let l=(a=(i=this.cache.getNow(e))===null||i===void 0?void 0:i.messages)!==null&&a!==void 0?a:{};return new Ao((s=this.defaultMessages[e])!==null&&s!==void 0?s:{},l).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=>mn(0).then(()=>r()).catch(()=>null)))}};pf=fy;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends ti{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends ti{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});Br=window.FluidTopicsI18nService,ff=window.FluidTopicsCustomI18nService});var Ce,fe,xl=p(()=>{"use strict";U();re();$();gl();Ze();bl();ei();Ce=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},fe=class extends X{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=()=>cr.get(),this.messageContexts=[],this.cache=new Je,this.cleanSessionDebouncer=new ye}render(){return M`
962
+ `});var yf,Sl=p(()=>{"use strict";U();yf=_`
963
+ `});var bf,Ol=p(()=>{"use strict";U();bf=_`
964
+ `});var gy,Cl,yy,F,Ze=p(()=>{"use strict";$();gy="ft-app-info",Cl=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},yy={session:(t,e)=>{Ve(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>F.eventBus.dispatchEvent(new Cl(e.payload)),0))}},F=yt.get({name:gy,reducers:yy,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 ur,ni=p(()=>{"use strict";Ze();ur=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=F.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=F.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}}});var ot,Do=p(()=>{"use strict";$();ni();ot=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 Je,this.cache=e?i.commonCache:new Je}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:ur.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):ur.await()}clearCache(){this.cache.clearAll()}}});var xf,by,ii,Wr,vf,El=p(()=>{"use strict";Ze();$();Do();by=Symbol("clearAfterUnitTest"),ii=class extends ot{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[xf]=()=>{this.defaultMessages={},this.cache=new Je,this.listeners={}},this.currentUiLocale=F.getState().uiLocale,F.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=F.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};Ve(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveMessage(e,r,...n){var i,a,s;e=e.toLowerCase(),this.fetchContext(e);let l=(a=(i=this.cache.getNow(e))===null||i===void 0?void 0:i.messages)!==null&&a!==void 0?a:{};return new _o((s=this.defaultMessages[e])!==null&&s!==void 0?s:{},l).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=>yn(0).then(()=>r()).catch(()=>null)))}};xf=by;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends ii{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends ii{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});Wr=window.FluidTopicsI18nService,vf=window.FluidTopicsCustomI18nService});var we,fe,wl=p(()=>{"use strict";U();ee();$();Ol();Ze();El();ni();we=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},fe=class extends Z{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=()=>ur.get(),this.messageContexts=[],this.cache=new Je,this.cleanSessionDebouncer=new ye}render(){return M`
939
965
  <slot></slot>
940
- `}update(e){super.update(e),e.has("baseUrl")&&(F.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&F.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&F.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&F.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&F.actions.noCustom(this.noCustom),e.has("editorMode")&&F.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&F.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&F.actions.session(this.session),e.has("availableUiLocales")&&F.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Br.addContext(r)),e.has("openExternalDocumentInNewTab")&&F.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&F.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&F.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())}};fe.elementDefinitions={};fe.styles=df;Ce([C()],fe.prototype,"baseUrl",void 0);Ce([C()],fe.prototype,"apiIntegrationIdentifier",void 0);Ce([C()],fe.prototype,"uiLocale",void 0);Ce([Oe(null)],fe.prototype,"availableUiLocales",void 0);Ce([Oe(null)],fe.prototype,"metadataConfiguration",void 0);Ce([C({type:Boolean})],fe.prototype,"editorMode",void 0);Ce([C({type:Boolean})],fe.prototype,"noCustom",void 0);Ce([C({type:Boolean})],fe.prototype,"openExternalDocumentInNewTab",void 0);Ce([C({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],fe.prototype,"noCustomComponent",void 0);Ce([C({type:Boolean})],fe.prototype,"withManualResources",void 0);Ce([C({type:Boolean})],fe.prototype,"navigatorOnline",void 0);Ce([C({type:Boolean})],fe.prototype,"forcedOffline",void 0);Ce([C({type:Object})],fe.prototype,"apiProvider",void 0);Ce([Oe([])],fe.prototype,"messageContexts",void 0);Ce([Oe(void 0)],fe.prototype,"session",void 0)});var hf=p(()=>{"use strict";re();Fn();Hn();Ze()});var ri,vl=p(()=>{"use strict";Ze();ko();ri=class extends nt{async listMySearches(){let e=F.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var oi,Sl=p(()=>{"use strict";Ze();ko();oi=class extends nt{async listMyBookmarks(){let e=F.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var hy,ni,Ol,mf,Cl=p(()=>{"use strict";$();vl();Sl();Ze();hy="ft-user-assets",ni=yt.get({name:hy,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ol=class{constructor(){this.currentSession=F.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new oi,this.savedSearchesService=new ri,F.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=F.getState();je((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(),ni.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),ni.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();ni.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;ni.actions.bookmarks(r)}}},mf=new Ol});var El,gf=p(()=>{"use strict";Ze();El=class{addCommand(e,r=!1){F.commands.add(e,r)}consumeCommand(e){return F.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new El});var wl,yf=p(()=>{"use strict";$();wl=class{highlightHtml(e,r){es(e,r)}};window.FluidTopicsHighlightHtmlService=new wl});var Al,bf=p(()=>{"use strict";$();Ze();Al=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=F.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,r){var n,i,a;return ir.format(e,(n=r?.locale)!==null&&n!==void 0?n:F.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 xf=p(()=>{"use strict";Sl();ei();gf();bl();ko();yf();vl();bf()});var vf=p(()=>{"use strict"});var Fr=p(()=>{"use strict";$();xl();hf();Ze();Cl();xf();gl();vf();xl();z("ft-app-context")(fe)});function Fe(t){var e;class r extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?ff:Br}i18n(i,a,...s){var l;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let c=(l=i.args)!==null&&l!==void 0?l:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...c)}onI18nUpdate(i){var a,s;(a=this[Rl])===null||a===void 0||a.forEach((l,c)=>{var d;let h=this.getI18nAttributeValue(c);((d=h?.context)===null||d===void 0?void 0:d.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(c,h,l)}),(s=this[ii])===null||s===void 0||s.forEach((l,c)=>{l.context.toLowerCase()===i.toLowerCase()&&(this[c]=this.i18n(l))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,a,s){this[i]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(i){var a,s;super.update(i),(a=this[Rl])===null||a===void 0||a.forEach((l,c)=>{let d=this.getI18nAttributeValue(c);d?.context&&d.key&&(i.has(c)||l.argsProvider!=null)&&(i.has(c)&&this.addI18nContext(d.context),this.updateI18nAttributeMessage(c,d,l))}),(s=this[ii])===null||s===void 0||s.forEach((l,c)=>{l.argsProvider!=null&&(this[c]=this.i18n(l))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,s,l;super.connectedCallback(),new Set([...(a=(i=this[ii])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(l=(s=this[Rl])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(c=>this.getI18nAttributeValue(c))].map(c=>c?.context)).forEach(c=>c&&this.addI18nMessages(c))}addI18nMessages(i,a){i=i.toLowerCase(),this[Mo].has(i)||this[Mo].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[Mo].forEach(i=>i()),this[Mo].clear()}}return e=Mo,my([C({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var my,Rl,ii,Mo,Sf,ai,si=p(()=>{"use strict";$();Fr();re();my=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},Rl=Symbol("i18nAttributes"),ii=Symbol("i18nProperties"),Mo=Symbol("i18nUnsubs");Sf=class extends Fe(X){},ai=class extends Fe(we){}});var Do,qe,Nl=p(()=>{"use strict";U();re();$();ml();si();Fr();Do=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},qe=class extends ai{constructor(){super(),this.editorMode=!1,this.addStore(F)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":H:M`
966
+ `}update(e){super.update(e),e.has("baseUrl")&&(F.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&F.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&F.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&F.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&F.actions.noCustom(this.noCustom),e.has("editorMode")&&F.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&F.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&F.actions.session(this.session),e.has("availableUiLocales")&&F.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Wr.addContext(r)),e.has("openExternalDocumentInNewTab")&&F.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&F.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&F.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())}};fe.elementDefinitions={};fe.styles=bf;we([C()],fe.prototype,"baseUrl",void 0);we([C()],fe.prototype,"apiIntegrationIdentifier",void 0);we([C()],fe.prototype,"uiLocale",void 0);we([Oe(null)],fe.prototype,"availableUiLocales",void 0);we([Oe(null)],fe.prototype,"metadataConfiguration",void 0);we([C({type:Boolean})],fe.prototype,"editorMode",void 0);we([C({type:Boolean})],fe.prototype,"noCustom",void 0);we([C({type:Boolean})],fe.prototype,"openExternalDocumentInNewTab",void 0);we([C({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],fe.prototype,"noCustomComponent",void 0);we([C({type:Boolean})],fe.prototype,"withManualResources",void 0);we([C({type:Boolean})],fe.prototype,"navigatorOnline",void 0);we([C({type:Boolean})],fe.prototype,"forcedOffline",void 0);we([C({type:Object})],fe.prototype,"apiProvider",void 0);we([Oe([])],fe.prototype,"messageContexts",void 0);we([Oe(void 0)],fe.prototype,"session",void 0)});var Sf=p(()=>{"use strict";ee();Hn();jn();Ze()});var ai,Al=p(()=>{"use strict";Ze();Do();ai=class extends ot{async listMySearches(){let e=F.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var si,Rl=p(()=>{"use strict";Ze();Do();si=class extends ot{async listMyBookmarks(){let e=F.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var xy,li,Nl,Of,_l=p(()=>{"use strict";$();Al();Rl();Ze();xy="ft-user-assets",li=yt.get({name:xy,initialState:{savedSearches:void 0,bookmarks:void 0}}),Nl=class{constructor(){this.currentSession=F.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new si,this.savedSearchesService=new ai,F.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=F.getState();Ve((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(),li.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),li.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();li.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;li.actions.bookmarks(r)}}},Of=new Nl});var Pl,Cf=p(()=>{"use strict";Ze();Pl=class{addCommand(e,r=!1){F.commands.add(e,r)}consumeCommand(e){return F.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Pl});var Tl,Ef=p(()=>{"use strict";$();Tl=class{highlightHtml(e,r){ss(e,r)}};window.FluidTopicsHighlightHtmlService=new Tl});var Il,wf=p(()=>{"use strict";$();Ze();Il=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=F.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,r){var n,i,a;return lr.format(e,(n=r?.locale)!==null&&n!==void 0?n:F.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Il});var Af=p(()=>{"use strict";Rl();ni();Cf();El();Do();Ef();Al();wf()});var Rf=p(()=>{"use strict"});var Hr=p(()=>{"use strict";$();wl();Sf();Ze();_l();Af();Ol();Rf();wl();z("ft-app-context")(fe)});function We(t){var e;class r extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?vf:Wr}i18n(i,a,...s){var l;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let c=(l=i.args)!==null&&l!==void 0?l:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...c)}onI18nUpdate(i){var a,s;(a=this[Ll])===null||a===void 0||a.forEach((l,c)=>{var u;let h=this.getI18nAttributeValue(c);((u=h?.context)===null||u===void 0?void 0:u.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(c,h,l)}),(s=this[ci])===null||s===void 0||s.forEach((l,c)=>{l.context.toLowerCase()===i.toLowerCase()&&(this[c]=this.i18n(l))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,a,s){this[i]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(i){var a,s;super.update(i),(a=this[Ll])===null||a===void 0||a.forEach((l,c)=>{let u=this.getI18nAttributeValue(c);u?.context&&u.key&&(i.has(c)||l.argsProvider!=null)&&(i.has(c)&&this.addI18nContext(u.context),this.updateI18nAttributeMessage(c,u,l))}),(s=this[ci])===null||s===void 0||s.forEach((l,c)=>{l.argsProvider!=null&&(this[c]=this.i18n(l))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,s,l;super.connectedCallback(),new Set([...(a=(i=this[ci])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(l=(s=this[Ll])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(c=>this.getI18nAttributeValue(c))].map(c=>c?.context)).forEach(c=>c&&this.addI18nMessages(c))}addI18nMessages(i,a){i=i.toLowerCase(),this[Uo].has(i)||this[Uo].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[Uo].forEach(i=>i()),this[Uo].clear()}}return e=Uo,vy([C({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var vy,Ll,ci,Uo,Nf,di,ui=p(()=>{"use strict";$();Hr();ee();vy=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},Ll=Symbol("i18nAttributes"),ci=Symbol("i18nProperties"),Uo=Symbol("i18nUnsubs");Nf=class extends We(Z){},di=class extends We(Re){}});var Bo,qe,$l=p(()=>{"use strict";U();ee();$();Sl();ui();Hr();Bo=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},qe=class extends di{constructor(){super(),this.editorMode=!1,this.addStore(F)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":H:M`
941
967
  <span class="ft-i18n">
942
968
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
943
969
  </span>
944
- `}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:""})}};qe.elementDefinitions={};qe.styles=uf;Do([ee()],qe.prototype,"editorMode",void 0);Do([C()],qe.prototype,"context",void 0);Do([C()],qe.prototype,"key",void 0);Do([Oe([])],qe.prototype,"args",void 0);Do([C()],qe.prototype,"defaultMessage",void 0)});var it,Of=p(()=>{"use strict";Fr();it=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)=>Br.resolveMessage(this.name,n,...i)})}}});var Cf=p(()=>{"use strict";si()});var Ef=p(()=>{"use strict"});var at=p(()=>{"use strict";$();Nl();Of();si();Cf();ml();Ef();Nl();z("ft-i18n")(qe)});var Rf=Uh(Af=>{(function(t){var e=function(r){var n={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function i(g){return g&&DataView.prototype.isPrototypeOf(g)}if(n.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(g){return g&&a.indexOf(Object.prototype.toString.call(g))>-1};function l(g){if(typeof g!="string"&&(g=String(g)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(g))throw new TypeError("Invalid character in header field name");return g.toLowerCase()}function c(g){return typeof g!="string"&&(g=String(g)),g}function d(g){var v={next:function(){var R=g.shift();return{done:R===void 0,value:R}}};return n.iterable&&(v[Symbol.iterator]=function(){return v}),v}function h(g){this.map={},g instanceof h?g.forEach(function(v,R){this.append(R,v)},this):Array.isArray(g)?g.forEach(function(v){this.append(v[0],v[1])},this):g&&Object.getOwnPropertyNames(g).forEach(function(v){this.append(v,g[v])},this)}h.prototype.append=function(g,v){g=l(g),v=c(v);var R=this.map[g];this.map[g]=R?R+", "+v:v},h.prototype.delete=function(g){delete this.map[l(g)]},h.prototype.get=function(g){return g=l(g),this.has(g)?this.map[g]:null},h.prototype.has=function(g){return this.map.hasOwnProperty(l(g))},h.prototype.set=function(g,v){this.map[l(g)]=c(v)},h.prototype.forEach=function(g,v){for(var R in this.map)this.map.hasOwnProperty(R)&&g.call(v,this.map[R],R,this)},h.prototype.keys=function(){var g=[];return this.forEach(function(v,R){g.push(R)}),d(g)},h.prototype.values=function(){var g=[];return this.forEach(function(v){g.push(v)}),d(g)},h.prototype.entries=function(){var g=[];return this.forEach(function(v,R){g.push([R,v])}),d(g)},n.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function m(g){if(g.bodyUsed)return Promise.reject(new TypeError("Already read"));g.bodyUsed=!0}function y(g){return new Promise(function(v,R){g.onload=function(){v(g.result)},g.onerror=function(){R(g.error)}})}function b(g){var v=new FileReader,R=y(v);return v.readAsArrayBuffer(g),R}function x(g){var v=new FileReader,R=y(v);return v.readAsText(g),R}function E(g){for(var v=new Uint8Array(g),R=new Array(v.length),V=0;V<v.length;V++)R[V]=String.fromCharCode(v[V]);return R.join("")}function _(g){if(g.slice)return g.slice(0);var v=new Uint8Array(g.byteLength);return v.set(new Uint8Array(g)),v.buffer}function P(){return this.bodyUsed=!1,this._initBody=function(g){this._bodyInit=g,g?typeof g=="string"?this._bodyText=g:n.blob&&Blob.prototype.isPrototypeOf(g)?this._bodyBlob=g:n.formData&&FormData.prototype.isPrototypeOf(g)?this._bodyFormData=g:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)?this._bodyText=g.toString():n.arrayBuffer&&n.blob&&i(g)?(this._bodyArrayBuffer=_(g.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(g)||s(g))?this._bodyArrayBuffer=_(g):this._bodyText=g=Object.prototype.toString.call(g):this._bodyText="",this.headers.get("content-type")||(typeof g=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var g=m(this);if(g)return g;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(){return this._bodyArrayBuffer?m(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var g=m(this);if(g)return g;if(this._bodyBlob)return x(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(E(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(w)}),this.json=function(){return this.text().then(JSON.parse)},this}var k=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function O(g){var v=g.toUpperCase();return k.indexOf(v)>-1?v:g}function S(g,v){v=v||{};var R=v.body;if(g instanceof S){if(g.bodyUsed)throw new TypeError("Already read");this.url=g.url,this.credentials=g.credentials,v.headers||(this.headers=new h(g.headers)),this.method=g.method,this.mode=g.mode,this.signal=g.signal,!R&&g._bodyInit!=null&&(R=g._bodyInit,g.bodyUsed=!0)}else this.url=String(g);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new h(v.headers)),this.method=O(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&R)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(R)}S.prototype.clone=function(){return new S(this,{body:this._bodyInit})};function w(g){var v=new FormData;return g.trim().split("&").forEach(function(R){if(R){var V=R.split("="),de=V.shift().replace(/\+/g," "),q=V.join("=").replace(/\+/g," ");v.append(decodeURIComponent(de),decodeURIComponent(q))}}),v}function B(g){var v=new h,R=g.replace(/\r?\n[\t ]+/g," ");return R.split(/\r?\n/).forEach(function(V){var de=V.split(":"),q=de.shift().trim();if(q){var Fo=de.join(":").trim();v.append(q,Fo)}}),v}P.call(S.prototype);function W(g,v){v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in v?v.statusText:"OK",this.headers=new h(v.headers),this.url=v.url||"",this._initBody(g)}P.call(W.prototype),W.prototype.clone=function(){return new W(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},W.error=function(){var g=new W(null,{status:0,statusText:""});return g.type="error",g};var be=[301,302,303,307,308];W.redirect=function(g,v){if(be.indexOf(v)===-1)throw new RangeError("Invalid status code");return new W(null,{status:v,headers:{location:g}})},r.DOMException=t.DOMException;try{new r.DOMException}catch{r.DOMException=function(v,R){this.message=v,this.name=R;var V=Error(v);this.stack=V.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Z(g,v){return new Promise(function(R,V){var de=new S(g,v);if(de.signal&&de.signal.aborted)return V(new r.DOMException("Aborted","AbortError"));var q=new XMLHttpRequest;function Fo(){q.abort()}q.onload=function(){var Yr={status:q.status,statusText:q.statusText,headers:B(q.getAllResponseHeaders()||"")};Yr.url="responseURL"in q?q.responseURL:Yr.headers.get("X-Request-URL");var bi="response"in q?q.response:q.responseText;R(new W(bi,Yr))},q.onerror=function(){V(new TypeError("Network request failed"))},q.ontimeout=function(){V(new TypeError("Network request failed"))},q.onabort=function(){V(new r.DOMException("Aborted","AbortError"))},q.open(de.method,de.url,!0),de.credentials==="include"?q.withCredentials=!0:de.credentials==="omit"&&(q.withCredentials=!1),"responseType"in q&&n.blob&&(q.responseType="blob"),de.headers.forEach(function(Yr,bi){q.setRequestHeader(bi,Yr)}),de.signal&&(de.signal.addEventListener("abort",Fo),q.onreadystatechange=function(){q.readyState===4&&de.signal.removeEventListener("abort",Fo)}),q.send(typeof de._bodyInit>"u"?null:de._bodyInit)})}return Z.polyfill=!0,t.fetch||(t.fetch=Z,t.Headers=h,t.Request=S,t.Response=W),r.Headers=h,r.Request=S,r.Response=W,r.fetch=Z,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:Af)});var Nf=p(()=>{});var _f,Pf,Tf,If,Lf,$f,kf,Mf,Df,Uf,Bf,Wr,Ff,ci,Wf,Hr,zr,ge,Tl=p(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(_f||(_f={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Pf||(Pf={}));(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"})(Tf||(Tf={}));(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"})(If||(If={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Lf||(Lf={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})($f||($f={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(kf||(kf={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Mf||(Mf={}));(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"})(Df||(Df={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Uf||(Uf={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Bf||(Bf={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Wr||(Wr={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Ff||(Ff={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(ci||(ci={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Wf||(Wf={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Hr||(Hr={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(zr||(zr={}));(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"})(ge||(ge={}))});var Hf,zf=p(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Hf||(Hf={}))});var lN,jf=p(()=>{Tl();lN={[ge.PERSONAL_BOOK_SHARE_USER]:[ge.PERSONAL_BOOK_USER],[ge.HTML_EXPORT_USER]:[ge.PERSONAL_BOOK_USER],[ge.PDF_EXPORT_USER]:[ge.PERSONAL_BOOK_USER],[ge.KHUB_ADMIN]:[ge.CONTENT_PUBLISHER],[ge.ADMIN]:[ge.KHUB_ADMIN,ge.USERS_ADMIN,ge.PORTAL_ADMIN],[ge.DEVELOPER]:[ge.BETA_USER,ge.DEBUG_USER]}});var Vf=p(()=>{});var pN,Il=p(()=>{pN=Fh(Rf(),1);Nf();Tl();zf();jf();Vf()});var Kf,Gf=p(()=>{lt();Kf=t=>t??ae});var Zf=p(()=>{Gf()});function qf(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)===ci.EXTERNAL}function ui(t){var e,r,n,i,a;if(qf(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 Hr.MAP:return t.map.readerUrl;case Hr.DOCUMENT:return t.document.viewerUrl;case Hr.TOPIC:return t.topic.readerUrl}return""}function Yf(t,e){return Kf(e&&qf(t)?"_blank":void 0)}var jr,Ll=p(()=>{"use strict";Il();Zf();jr=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var by,kl,Ml=p(()=>{"use strict";U();by={},kl=N`
945
- `});var Xf=p(()=>{"use strict"});var xy,Jf,Qf=p(()=>{"use strict";$();xy={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.filters=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},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},setRequestPeriodFilter:(t,e)=>{t.request.periodFilter=e.payload}},Jf=t=>yt.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:xy})});var fi,eh=p(()=>{"use strict";Fr();fi=class extends nt{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 th,Uo,Vr,Dl=p(()=>{"use strict";$();Qf();Il();eh();th=t=>t.request.virtualField===Wr.TITLE_ONLY&&t.request.scope===zr.DOCUMENTS,Uo=class t extends Event{constructor(){super(t.eventName)}};Uo.eventName="search-context-clear-all-filters";Vr=class t{static build(e,r){return new t(Jf(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new ye(10),this.searchDebouncer=new ye(100),this.suggestDebouncer=new ye(300),this.service=r??new fi}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.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(Wr.TITLE_ONLY),this.store.actions.setRequestScope(zr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Wr.EVERYWHERE),this.store.actions.setRequestScope(zr.DEFAULT)),this.launchSearch()}setVirtualField(e){this.store.actions.setRequestVirtualField(e),this.launchSearch()}get searchInDocumentTitlesOnly(){return th(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Uo)}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){let n=this.store.getState().request.filters,i={key:e,values:r,negative:!1},a=[...n.filter(s=>s.key!==e),i];this.setFilters(a)}setLiveQuery(e){this.store.actions.setLiveQuery(e),this.launchSuggest()}setRequest(e){this.store.actions.setRequest(e),this.store.actions.setLiveQuery(e.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(e){this.store.actions.setRequestScope(e),this.launchSearch()}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e,this.launchSearch()}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}setPeriodFilter(e){this.store.actions.setRequestPeriodFilter(e),this.store.actions.setPageNumber(1),this.launchSearch()}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=Sr(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 At)&&this.errorHandler&&this.errorHandler(n)}}async fetchSuggestData(){var e;try{let r=this.store.getState(),n=r.request,i={input:r.liveQuery,filters:n.filters,sort:n.sort,contentLocale:n.contentLocale,scope:n.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=Sr(this.service.launchSuggest(i));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof At)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}}});function Sy(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[Ul]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Ul]):this.dispatchEvent(new Bl)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Ul,vy([le()],r.prototype,"stateManager",void 0),r}var vy,Bl,Ul,Te,Dt=p(()=>{"use strict";$();re();Xf();Dl();vy=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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})}},Ul=Symbol("registerInterval");Te=class extends Sy(we){}});var Se,hi,mi,gi,se,Fl=p(()=>{"use strict";U();re();$();Ml();Dt();Fr();Cl();Se=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},hi=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},mi=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},gi=class extends CustomEvent{constructor(e,r,n){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:n}})}},se=class extends we{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Vr.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.addStore(F)}render(){return M`
970
+ `}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:""})}};qe.elementDefinitions={};qe.styles=yf;Bo([te()],qe.prototype,"editorMode",void 0);Bo([C()],qe.prototype,"context",void 0);Bo([C()],qe.prototype,"key",void 0);Bo([Oe([])],qe.prototype,"args",void 0);Bo([C()],qe.prototype,"defaultMessage",void 0)});var nt,_f=p(()=>{"use strict";Hr();nt=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)=>Wr.resolveMessage(this.name,n,...i)})}}});var Pf=p(()=>{"use strict";ui()});var Tf=p(()=>{"use strict"});var it=p(()=>{"use strict";$();$l();_f();ui();Pf();Sl();Tf();$l();z("ft-i18n")(qe)});var $f=Vh(Lf=>{(function(t){var e=function(r){var n={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function i(g){return g&&DataView.prototype.isPrototypeOf(g)}if(n.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(g){return g&&a.indexOf(Object.prototype.toString.call(g))>-1};function l(g){if(typeof g!="string"&&(g=String(g)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(g))throw new TypeError("Invalid character in header field name");return g.toLowerCase()}function c(g){return typeof g!="string"&&(g=String(g)),g}function u(g){var v={next:function(){var N=g.shift();return{done:N===void 0,value:N}}};return n.iterable&&(v[Symbol.iterator]=function(){return v}),v}function h(g){this.map={},g instanceof h?g.forEach(function(v,N){this.append(N,v)},this):Array.isArray(g)?g.forEach(function(v){this.append(v[0],v[1])},this):g&&Object.getOwnPropertyNames(g).forEach(function(v){this.append(v,g[v])},this)}h.prototype.append=function(g,v){g=l(g),v=c(v);var N=this.map[g];this.map[g]=N?N+", "+v:v},h.prototype.delete=function(g){delete this.map[l(g)]},h.prototype.get=function(g){return g=l(g),this.has(g)?this.map[g]:null},h.prototype.has=function(g){return this.map.hasOwnProperty(l(g))},h.prototype.set=function(g,v){this.map[l(g)]=c(v)},h.prototype.forEach=function(g,v){for(var N in this.map)this.map.hasOwnProperty(N)&&g.call(v,this.map[N],N,this)},h.prototype.keys=function(){var g=[];return this.forEach(function(v,N){g.push(N)}),u(g)},h.prototype.values=function(){var g=[];return this.forEach(function(v){g.push(v)}),u(g)},h.prototype.entries=function(){var g=[];return this.forEach(function(v,N){g.push([N,v])}),u(g)},n.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function m(g){if(g.bodyUsed)return Promise.reject(new TypeError("Already read"));g.bodyUsed=!0}function y(g){return new Promise(function(v,N){g.onload=function(){v(g.result)},g.onerror=function(){N(g.error)}})}function b(g){var v=new FileReader,N=y(v);return v.readAsArrayBuffer(g),N}function x(g){var v=new FileReader,N=y(v);return v.readAsText(g),N}function E(g){for(var v=new Uint8Array(g),N=new Array(v.length),K=0;K<v.length;K++)N[K]=String.fromCharCode(v[K]);return N.join("")}function T(g){if(g.slice)return g.slice(0);var v=new Uint8Array(g.byteLength);return v.set(new Uint8Array(g)),v.buffer}function I(){return this.bodyUsed=!1,this._initBody=function(g){this._bodyInit=g,g?typeof g=="string"?this._bodyText=g:n.blob&&Blob.prototype.isPrototypeOf(g)?this._bodyBlob=g:n.formData&&FormData.prototype.isPrototypeOf(g)?this._bodyFormData=g:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)?this._bodyText=g.toString():n.arrayBuffer&&n.blob&&i(g)?(this._bodyArrayBuffer=T(g.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(g)||s(g))?this._bodyArrayBuffer=T(g):this._bodyText=g=Object.prototype.toString.call(g):this._bodyText="",this.headers.get("content-type")||(typeof g=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var g=m(this);if(g)return g;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(){return this._bodyArrayBuffer?m(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var g=m(this);if(g)return g;if(this._bodyBlob)return x(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(E(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(w)}),this.json=function(){return this.text().then(JSON.parse)},this}var k=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function O(g){var v=g.toUpperCase();return k.indexOf(v)>-1?v:g}function S(g,v){v=v||{};var N=v.body;if(g instanceof S){if(g.bodyUsed)throw new TypeError("Already read");this.url=g.url,this.credentials=g.credentials,v.headers||(this.headers=new h(g.headers)),this.method=g.method,this.mode=g.mode,this.signal=g.signal,!N&&g._bodyInit!=null&&(N=g._bodyInit,g.bodyUsed=!0)}else this.url=String(g);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new h(v.headers)),this.method=O(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&N)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(N)}S.prototype.clone=function(){return new S(this,{body:this._bodyInit})};function w(g){var v=new FormData;return g.trim().split("&").forEach(function(N){if(N){var K=N.split("="),ue=K.shift().replace(/\+/g," "),Y=K.join("=").replace(/\+/g," ");v.append(decodeURIComponent(ue),decodeURIComponent(Y))}}),v}function B(g){var v=new h,N=g.replace(/\r?\n[\t ]+/g," ");return N.split(/\r?\n/).forEach(function(K){var ue=K.split(":"),Y=ue.shift().trim();if(Y){var Ho=ue.join(":").trim();v.append(Y,Ho)}}),v}I.call(S.prototype);function W(g,v){v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in v?v.statusText:"OK",this.headers=new h(v.headers),this.url=v.url||"",this._initBody(g)}I.call(W.prototype),W.prototype.clone=function(){return new W(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},W.error=function(){var g=new W(null,{status:0,statusText:""});return g.type="error",g};var be=[301,302,303,307,308];W.redirect=function(g,v){if(be.indexOf(v)===-1)throw new RangeError("Invalid status code");return new W(null,{status:v,headers:{location:g}})},r.DOMException=t.DOMException;try{new r.DOMException}catch{r.DOMException=function(v,N){this.message=v,this.name=N;var K=Error(v);this.stack=K.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function q(g,v){return new Promise(function(N,K){var ue=new S(g,v);if(ue.signal&&ue.signal.aborted)return K(new r.DOMException("Aborted","AbortError"));var Y=new XMLHttpRequest;function Ho(){Y.abort()}Y.onload=function(){var Jr={status:Y.status,statusText:Y.statusText,headers:B(Y.getAllResponseHeaders()||"")};Jr.url="responseURL"in Y?Y.responseURL:Jr.headers.get("X-Request-URL");var Oi="response"in Y?Y.response:Y.responseText;N(new W(Oi,Jr))},Y.onerror=function(){K(new TypeError("Network request failed"))},Y.ontimeout=function(){K(new TypeError("Network request failed"))},Y.onabort=function(){K(new r.DOMException("Aborted","AbortError"))},Y.open(ue.method,ue.url,!0),ue.credentials==="include"?Y.withCredentials=!0:ue.credentials==="omit"&&(Y.withCredentials=!1),"responseType"in Y&&n.blob&&(Y.responseType="blob"),ue.headers.forEach(function(Jr,Oi){Y.setRequestHeader(Oi,Jr)}),ue.signal&&(ue.signal.addEventListener("abort",Ho),Y.onreadystatechange=function(){Y.readyState===4&&ue.signal.removeEventListener("abort",Ho)}),Y.send(typeof ue._bodyInit>"u"?null:ue._bodyInit)})}return q.polyfill=!0,t.fetch||(t.fetch=q,t.Headers=h,t.Request=S,t.Response=W),r.Headers=h,r.Request=S,r.Response=W,r.fetch=q,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:Lf)});var kf=p(()=>{});var Mf,Df,Uf,Bf,Ff,Wf,Hf,zf,jf,Vf,Kf,zr,Gf,fi,Zf,jr,Vr,ge,Dl=p(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Mf||(Mf={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Df||(Df={}));(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"})(Uf||(Uf={}));(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"})(Bf||(Bf={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Ff||(Ff={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Wf||(Wf={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Hf||(Hf={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(zf||(zf={}));(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"})(jf||(jf={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Vf||(Vf={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Kf||(Kf={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(zr||(zr={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Gf||(Gf={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(fi||(fi={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Zf||(Zf={}));(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"})(ge||(ge={}))});var qf,Yf=p(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(qf||(qf={}))});var xN,Xf=p(()=>{Dl();xN={[ge.PERSONAL_BOOK_SHARE_USER]:[ge.PERSONAL_BOOK_USER],[ge.HTML_EXPORT_USER]:[ge.PERSONAL_BOOK_USER],[ge.PDF_EXPORT_USER]:[ge.PERSONAL_BOOK_USER],[ge.KHUB_ADMIN]:[ge.CONTENT_PUBLISHER],[ge.ADMIN]:[ge.KHUB_ADMIN,ge.USERS_ADMIN,ge.PORTAL_ADMIN],[ge.DEVELOPER]:[ge.BETA_USER,ge.DEBUG_USER]}});var Jf=p(()=>{});var CN,Ul=p(()=>{CN=Gh($f(),1);kf();Dl();Yf();Xf();Jf()});var Qf,eh=p(()=>{st();Qf=t=>t??ae});var th=p(()=>{eh()});function rh(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)===fi.EXTERNAL}function hi(t){var e,r,n,i,a;if(rh(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 oh(t,e){return Qf(e&&rh(t)?"_blank":void 0)}var Kr,Bl=p(()=>{"use strict";Ul();th();Kr=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var Cy,Wl,Hl=p(()=>{"use strict";U();Cy={},Wl=_`
971
+ `});var nh=p(()=>{"use strict"});var Ey,ih,ah=p(()=>{"use strict";$();Ey={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.filters=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},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},setRequestPeriodFilter:(t,e)=>{t.request.periodFilter=e.payload}},ih=t=>yt.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Ey})});var yi,sh=p(()=>{"use strict";Hr();yi=class extends ot{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 lh,Fo,Gr,zl=p(()=>{"use strict";$();ah();Ul();sh();lh=t=>t.request.virtualField===zr.TITLE_ONLY&&t.request.scope===Vr.DOCUMENTS,Fo=class t extends Event{constructor(){super(t.eventName)}};Fo.eventName="search-context-clear-all-filters";Gr=class t{static build(e,r){return new t(ih(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new ye(10),this.searchDebouncer=new ye(100),this.suggestDebouncer=new ye(300),this.service=r??new yi}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.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 lh(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Fo)}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){let n=this.store.getState().request.filters,i={key:e,values:r,negative:!1},a=[...n.filter(s=>s.key!==e),i];this.setFilters(a)}setLiveQuery(e){this.store.actions.setLiveQuery(e),this.launchSuggest()}setRequest(e){this.store.actions.setRequest(e),this.store.actions.setLiveQuery(e.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(e){this.store.actions.setRequestScope(e),this.launchSearch()}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e,this.launchSearch()}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}setPeriodFilter(e){this.store.actions.setRequestPeriodFilter(e),this.store.actions.setPageNumber(1),this.launchSearch()}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=Cr(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 Rt)&&this.errorHandler&&this.errorHandler(n)}}async fetchSuggestData(){var e;try{let r=this.store.getState(),n=r.request,i={input:r.liveQuery,filters:n.filters,sort:n.sort,contentLocale:n.contentLocale,scope:n.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=Cr(this.service.launchSuggest(i));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof Rt)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}}});function Ay(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[jl]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[jl]):this.dispatchEvent(new Vl)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=jl,wy([le()],r.prototype,"stateManager",void 0),r}var wy,Vl,jl,Te,Bt=p(()=>{"use strict";$();ee();nh();zl();wy=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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 Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},jl=Symbol("registerInterval");Te=class extends Ay(Re){}});var Se,bi,xi,vi,se,Kl=p(()=>{"use strict";U();ee();$();Hl();Bt();Hr();_l();Se=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},bi=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},xi=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},vi=class extends CustomEvent{constructor(e,r,n){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:n}})}},se=class extends Re{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Gr.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.addStore(F)}render(){return M`
946
972
  <slot @register-ft-search-component=${this.registerComponent}></slot>
947
- `}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("periodFilter")&&this.periodFilter!==void 0&&this.stateManager.setPeriodFilter(this.periodFilter),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 mi(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new gi(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 hi(e))}reloadSavedSearches(){mf.clearMySearches()}clear(){this.stateManager.clear()}};se.elementDefinitions={};se.styles=kl;Se([ee({store:F.name})],se.prototype,"session",void 0);Se([C()],se.prototype,"query",void 0);Se([C()],se.prototype,"contentLocale",void 0);Se([C({type:Number})],se.prototype,"pageSize",void 0);Se([C({type:Boolean})],se.prototype,"searchInDocumentTitlesOnly",void 0);Se([C()],se.prototype,"periodFilter",void 0);Se([C()],se.prototype,"scope",void 0);Se([C()],se.prototype,"virtualField",void 0);Se([C({type:Boolean})],se.prototype,"ignoreEmptyQuery",void 0);Se([ee({store:F.name})],se.prototype,"openExternalDocumentInNewTab",void 0);Se([Oe([])],se.prototype,"filters",void 0);Se([Oe([])],se.prototype,"sort",void 0);Se([ee({store:"search"})],se.prototype,"request",void 0);Se([ee({store:"search"})],se.prototype,"paging",void 0);Se([ee({store:"search",selector:t=>t.spellcheck})],se.prototype,"autocorrect",void 0);Se([C({attribute:!1})],se.prototype,"searchServiceProvider",void 0)});var rh=p(()=>{"use strict"});var oh={};G(oh,{ClearAllFiltersEvent:()=>Uo,FtSearchContext:()=>se,FtSearchContextCssVariables:()=>by,FtSearchStateManager:()=>Vr,LoadErrorEvent:()=>hi,SearchRequestChangeEvent:()=>mi,SearchResultsChangeEvent:()=>gi,searchInDocumentTitlesOnlySelector:()=>th,styles:()=>kl});var nh=p(()=>{"use strict";$();Fl();Ml();rh();Fl();Dl();z("ft-search-context")(se)});var Bo,ih=p(()=>{"use strict";at();Bo=it.build("designedSearchInput")});var ah,sh=p(()=>{"use strict";U();$o();ah=N`
973
+ `}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("periodFilter")&&this.periodFilter!==void 0&&this.stateManager.setPeriodFilter(this.periodFilter),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 xi(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new vi(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 bi(e))}reloadSavedSearches(){Of.clearMySearches()}clear(){this.stateManager.clear()}};se.elementDefinitions={};se.styles=Wl;Se([te({store:F.name})],se.prototype,"session",void 0);Se([C()],se.prototype,"query",void 0);Se([C()],se.prototype,"contentLocale",void 0);Se([C({type:Number})],se.prototype,"pageSize",void 0);Se([C({type:Boolean})],se.prototype,"searchInDocumentTitlesOnly",void 0);Se([C()],se.prototype,"periodFilter",void 0);Se([C()],se.prototype,"scope",void 0);Se([C()],se.prototype,"virtualField",void 0);Se([C({type:Boolean})],se.prototype,"ignoreEmptyQuery",void 0);Se([te({store:F.name})],se.prototype,"openExternalDocumentInNewTab",void 0);Se([Oe([])],se.prototype,"filters",void 0);Se([Oe([])],se.prototype,"sort",void 0);Se([te({store:"search"})],se.prototype,"request",void 0);Se([te({store:"search"})],se.prototype,"paging",void 0);Se([te({store:"search",selector:t=>t.spellcheck})],se.prototype,"autocorrect",void 0);Se([C({attribute:!1})],se.prototype,"searchServiceProvider",void 0)});var ch=p(()=>{"use strict"});var dh={};G(dh,{ClearAllFiltersEvent:()=>Fo,FtSearchContext:()=>se,FtSearchContextCssVariables:()=>Cy,FtSearchStateManager:()=>Gr,LoadErrorEvent:()=>bi,SearchRequestChangeEvent:()=>xi,SearchResultsChangeEvent:()=>vi,searchInDocumentTitlesOnlySelector:()=>lh,styles:()=>Wl});var uh=p(()=>{"use strict";$();Kl();Hl();ch();Kl();zl();z("ft-search-context")(se)});var Wo,ph=p(()=>{"use strict";it();Wo=nt.build("designedSearchInput")});var fh,hh=p(()=>{"use strict";U();Mo();fh=_`
948
974
  * {
949
975
  box-sizing: border-box;
950
976
  }
951
977
 
952
978
  .ft-search-input-suggestion {
953
979
  position: absolute;
954
- z-index: ${te.floatingZIndex};
980
+ z-index: ${re.floatingZIndex};
955
981
  top: calc(100% + 2px);
956
982
  left: -1px;
957
983
  right: -1px;
958
- background: ${te.colorSurface};
959
- border: 1px solid ${te.colorOutline};
960
- border-radius: 0 0 ${te.borderRadius} ${te.borderRadius};
961
- box-shadow: ${te.elevation02};
984
+ background: ${re.colorSurface};
985
+ border: 1px solid ${re.colorOutline};
986
+ border-radius: 0 0 ${re.borderRadius} ${re.borderRadius};
987
+ box-shadow: ${re.elevation02};
962
988
  }
963
989
 
964
990
  .ft-search-input-suggestion--suggestion {
@@ -969,7 +995,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
969
995
  padding: 8px;
970
996
  gap: 8px;
971
997
  cursor: pointer;
972
- color: ${te.colorOnSurface};
998
+ color: ${re.colorOnSurface};
973
999
  min-height: 44px;
974
1000
  }
975
1001
 
@@ -986,11 +1012,11 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
986
1012
  flex-grow: 1;
987
1013
  flex-shrink: 1;
988
1014
  }
989
- `});var lh,Wl,ur,ch=p(()=>{"use strict";$();U();re();sh();pn();al();Vn();xt();Dt();lh=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},Wl=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},ur=class extends Te{render(){return M`
1015
+ `});var mh,Gl,pr,gh=p(()=>{"use strict";$();U();ee();hh();hn();Yn();Gn();xt();Bt();mh=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},Gl=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},pr=class extends Te{render(){return M`
990
1016
  <div class="ft-search-input-suggestion ft-word-wrap"
991
1017
  part="container"
992
1018
  @keydown=${e=>this.onSuggestKeyDown(e)}>
993
- ${po(this.suggestResults||[],e=>e.value,e=>M`
1019
+ ${ho(this.suggestResults||[],e=>e.value,e=>M`
994
1020
  <a href="#"
995
1021
  part="suggestion"
996
1022
  class="ft-search-input-suggestion--suggestion"
@@ -1002,16 +1028,16 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1002
1028
  </a>
1003
1029
  `)}
1004
1030
  </div>
1005
- `}onSuggestKeyDown(e){var r,n,i,a,s,l;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":(l=(s=(a=this.getFocusedSuggestionElement())===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||l===void 0||l.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 Wl(r))}getIcon(e){let r=e.type==="DOCUMENT"?Ge.file_format:Ge.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?Mt.BOOK:Mt.ARTICLE;break;case"DOCUMENT":n=tf(e.mimeType,e.filenameExtension);break;case"TOPIC":n=Mt.TOPICS;break}return M`
1031
+ `}onSuggestKeyDown(e){var r,n,i,a,s,l;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":(l=(s=(a=this.getFocusedSuggestionElement())===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||l===void 0||l.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 Gl(r))}getIcon(e){let r=e.type==="DOCUMENT"?Me.file_format:Me.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?Ut.BOOK:Ut.ARTICLE;break;case"DOCUMENT":n=cf(e.mimeType,e.filenameExtension);break;case"TOPIC":n=Ut.TOPICS;break}return M`
1006
1032
  <ft-icon .variant="${r}" .value="${n}" part="suggestion-icon"></ft-icon>
1007
- `}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()}};ur.elementDefinitions={"ft-ripple":ne,"ft-typography":pe,"ft-icon":Pe};ur.styles=[os,ah];lh([ee()],ur.prototype,"suggestResults",void 0);ur=lh([Ui("ft-search-input-suggestion")],ur)});var Kr,Ue,Hl=p(()=>{"use strict";U();$();$o();Dt();at();ih();re();br();ch();qn();xt();Kr=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},Ue=class extends Fe(Te){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(Bo)}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 M`
1033
+ `}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()}};pr.elementDefinitions={"ft-ripple":ne,"ft-typography":pe,"ft-icon":Pe};pr.styles=[ds,fh];mh([te()],pr.prototype,"suggestResults",void 0);pr=mh([Hi("ft-search-input-suggestion")],pr)});var Zr,Be,Zl=p(()=>{"use strict";U();$();Mo();Bt();it();ph();ee();vr();gh();Qn();xt();Zr=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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 We(Te){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(Wo)}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 M`
1008
1034
  <div class="${dt(n)}" @focusout=${()=>this.forceCloseSuggestion=!1}>
1009
1035
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
1010
1036
  <div class="ft-search-input--input-outline" part="input-outline">
1011
1037
  <input class="ft-search-input--input ft-typography--body2"
1012
1038
  part="input"
1013
1039
  type="search"
1014
- placeholder="${Bo.messages.placeholder()}"
1040
+ placeholder="${Wo.messages.placeholder()}"
1015
1041
  .value="${this.liveQuery}"
1016
1042
  @input=${i=>this.onInput(i)}
1017
1043
  @keydown=${i=>this.onSearchBarKeyDown(i)}
@@ -1028,7 +1054,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1028
1054
  part="clear-query"
1029
1055
  icon="close"
1030
1056
  round dense
1031
- label="${Bo.messages.clearButton()}"
1057
+ label="${Wo.messages.clearButton()}"
1032
1058
  @click=${()=>this.liveQuery=""}
1033
1059
  ></ft-button>
1034
1060
  <div class="ft-search-input--separator"></div>
@@ -1037,57 +1063,57 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1037
1063
  part="launch-search-in-input"
1038
1064
  icon="search"
1039
1065
  round dense
1040
- label="${Bo.messages.searchButton()}"
1066
+ label="${Wo.messages.searchButton()}"
1041
1067
  @click=${()=>this.launchSearch(this.liveQuery)}
1042
1068
  ></ft-button>
1043
1069
  </div>
1044
1070
  </div>
1045
- `}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"))}onSuggestionSelected(e){this.launchSearch(e.detail)}};Ue.elementDefinitions={"ft-search-input-suggestion":ur,"ft-button":De};Ue.styles=[zn,pl];Kr([ee()],Ue.prototype,"request",void 0);Kr([ee()],Ue.prototype,"liveQuery",void 0);Kr([ee()],Ue.prototype,"suggestResults",void 0);Kr([le()],Ue.prototype,"forceCloseSuggestion",void 0);Kr([me(".ft-search-input--input")],Ue.prototype,"input",void 0);Kr([me("ft-search-input-suggestion")],Ue.prototype,"suggestion",void 0)});var uh=p(()=>{"use strict"});var dh={};G(dh,{FtSearchInput:()=>Ue,FtSearchInputCssVariables:()=>te,styles:()=>pl});var ph=p(()=>{"use strict";$();Hl();$o();uh();Hl();z("ft-search-input")(Ue)});var Oy,zl,jl=p(()=>{"use strict";U();Oy={},zl=N`
1046
- `});var Vl,fh=p(()=>{"use strict";at();Vl=it.fromGwt("designedActionBlockAriaLabels")});var hh,vt,Kl=p(()=>{"use strict";U();$();jl();qn();Dt();at();fh();hh=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},vt=class extends Fe(Te){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(Vl)}render(){return this.isLastPage?H:M`
1071
+ `}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"))}onSuggestionSelected(e){this.launchSearch(e.detail)}};Be.elementDefinitions={"ft-search-input-suggestion":pr,"ft-button":Ue};Be.styles=[Vn,bl];Zr([te()],Be.prototype,"request",void 0);Zr([te()],Be.prototype,"liveQuery",void 0);Zr([te()],Be.prototype,"suggestResults",void 0);Zr([le()],Be.prototype,"forceCloseSuggestion",void 0);Zr([me(".ft-search-input--input")],Be.prototype,"input",void 0);Zr([me("ft-search-input-suggestion")],Be.prototype,"suggestion",void 0)});var yh=p(()=>{"use strict"});var bh={};G(bh,{FtSearchInput:()=>Be,FtSearchInputCssVariables:()=>re,styles:()=>bl});var xh=p(()=>{"use strict";$();Zl();Mo();yh();Zl();z("ft-search-input")(Be)});var Ry,ql,Yl=p(()=>{"use strict";U();Ry={},ql=_`
1072
+ `});var Xl,vh=p(()=>{"use strict";it();Xl=nt.fromGwt("designedActionBlockAriaLabels")});var Sh,St,Jl=p(()=>{"use strict";U();$();Yl();Qn();Bt();it();vh();Sh=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},St=class extends We(Te){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(Xl)}render(){return this.isLastPage?H:M`
1047
1073
  <ft-button @click="${this.loadMore}">
1048
- ${Vl.messages.searchPageLoadMore()}
1074
+ ${Xl.messages.searchPageLoadMore()}
1049
1075
  </ft-button>
1050
- `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};vt.elementDefinitions={"ft-button":De};vt.styles=zl;hh([ee({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}})],vt.prototype,"currentPage",void 0);hh([ee({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}})],vt.prototype,"isLastPage",void 0)});var mh=p(()=>{"use strict"});var gh={};G(gh,{FtSearchLoadMoreButton:()=>vt,FtSearchLoadMoreButtonCssVariables:()=>Oy,styles:()=>zl});var yh=p(()=>{"use strict";$();Kl();jl();mh();Kl();z("ft-search-load-more-button")(vt)});function Cy(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[Zl]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Zl]):this.dispatchEvent(new ql)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Zl,Gl([C({attribute:!1})],r.prototype,"cluster",void 0),Gl([C({attribute:!1})],r.prototype,"result",void 0),Gl([C({attribute:!1,type:Number})],r.prototype,"rank",void 0),r}var Gl,ql,Zl,Gr,Yl=p(()=>{"use strict";Dt();re();Gl=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},ql=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Zl=Symbol("registerInterval");Gr=class extends Cy(Te){}});var dr,Xl=p(()=>{"use strict";U();Yl();Xn();fo();xt();dr=class extends Gr{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?M`
1051
- <ft-typography variant="body1" part="text">${Jt(e)}</ft-typography>
1076
+ `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};St.elementDefinitions={"ft-button":Ue};St.styles=ql;Sh([te({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}})],St.prototype,"currentPage",void 0);Sh([te({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}})],St.prototype,"isLastPage",void 0)});var Oh=p(()=>{"use strict"});var Ch={};G(Ch,{FtSearchLoadMoreButton:()=>St,FtSearchLoadMoreButtonCssVariables:()=>Ry,styles:()=>ql});var Eh=p(()=>{"use strict";$();Jl();Yl();Oh();Jl();z("ft-search-load-more-button")(St)});function Ny(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[ec]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[ec]):this.dispatchEvent(new tc)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=ec,Ql([C({attribute:!1})],r.prototype,"cluster",void 0),Ql([C({attribute:!1})],r.prototype,"result",void 0),Ql([C({attribute:!1,type:Number})],r.prototype,"rank",void 0),r}var Ql,tc,ec,qr,rc=p(()=>{"use strict";Bt();ee();Ql=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},tc=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},ec=Symbol("registerInterval");qr=class extends Ny(Te){}});var fr,oc=p(()=>{"use strict";U();rc();ti();mo();xt();fr=class extends qr{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?M`
1077
+ <ft-typography variant="body1" part="text">${er(e)}</ft-typography>
1052
1078
  `:M`
1053
1079
  <style>
1054
1080
  :host {
1055
1081
  display: none !important;
1056
1082
  }
1057
1083
  </style>
1058
- `}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}};dr.elementDefinitions={"ft-typography":pe};dr.styles=fl});var bh=p(()=>{"use strict"});var xh={};G(xh,{FtSearchResultAbstract:()=>dr,FtSearchResultAbstractCssVariables:()=>Yn,styles:()=>fl});var Jl=p(()=>{"use strict";$();Xl();Xn();bh();Xl();z("ft-search-result-abstract")(dr)});var pr,Ql=p(()=>{"use strict";U();Yl();Qn();xt();fo();Ll();pr=class extends Gr{render(){var e;return this.result?M`
1059
- <a href="${this.result?ui(this.result):""}" @click=${this.onResultClick} target="${Yf(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}">
1060
- <ft-typography variant="title" part="text">${Jt(this.selectTitle(this.result))}</ft-typography>
1084
+ `}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}};fr.elementDefinitions={"ft-typography":pe};fr.styles=xl});var wh=p(()=>{"use strict"});var Ah={};G(Ah,{FtSearchResultAbstract:()=>fr,FtSearchResultAbstractCssVariables:()=>ei,styles:()=>xl});var nc=p(()=>{"use strict";$();oc();ti();wh();oc();z("ft-search-result-abstract")(fr)});var hr,ic=p(()=>{"use strict";U();rc();oi();xt();mo();Bl();hr=class extends qr{render(){var e;return this.result?M`
1085
+ <a href="${this.result?hi(this.result):""}" @click=${this.onResultClick} target="${oh(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}">
1086
+ <ft-typography variant="title" part="text">${er(this.selectTitle(this.result))}</ft-typography>
1061
1087
  </a>
1062
- `:H}onResultClick(){this.dispatchEvent(new jr(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""}};pr.elementDefinitions={"ft-typography":pe};pr.styles=hl});var vh=p(()=>{"use strict"});var Sh={};G(Sh,{FtSearchResultTitle:()=>pr,FtSearchResultTitleCssVariables:()=>Jn,styles:()=>hl});var ec=p(()=>{"use strict";$();Ql();Qn();vh();Ql();z("ft-search-result-title")(pr)});var Ey,tc,rc=p(()=>{"use strict";U();Ey={},tc=N`
1088
+ `:H}onResultClick(){this.dispatchEvent(new Kr(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""}};hr.elementDefinitions={"ft-typography":pe};hr.styles=vl});var Rh=p(()=>{"use strict"});var Nh={};G(Nh,{FtSearchResultTitle:()=>hr,FtSearchResultTitleCssVariables:()=>ri,styles:()=>vl});var ac=p(()=>{"use strict";$();ic();oi();Rh();ic();z("ft-search-result-title")(hr)});var _y,sc,lc=p(()=>{"use strict";U();_y={},sc=_`
1063
1089
  [part="no-results-message"] {
1064
1090
  text-align: center;
1065
1091
  padding: 12px;
1066
1092
  }
1067
- `});var Oh,oc=p(()=>{"use strict";U();Oh=N`
1093
+ `});var _h,cc=p(()=>{"use strict";U();_h=_`
1068
1094
  a {
1069
1095
  color: inherit;
1070
1096
  text-decoration: inherit;
1071
1097
  }
1072
- `});var yi,Ch=p(()=>{"use strict";yi=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 ic,nc,St,ac=p(()=>{"use strict";U();re();$();oc();Ch();ic=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},nc=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},St=class extends X{constructor(){super(...arguments),this.index=0,this.stateManager=new yi(e=>this.onResultSelected(e))}render(){return M`
1098
+ `});var Si,Ph=p(()=>{"use strict";Si=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 uc,dc,Ot,pc=p(()=>{"use strict";U();ee();$();cc();Ph();uc=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},dc=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Ot=class extends Z{constructor(){super(...arguments),this.index=0,this.stateManager=new Si(e=>this.onResultSelected(e))}render(){return M`
1073
1099
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
1074
- `}onResultSelected(e){this.result=e,this.dispatchEvent(new nc(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()}};St.elementDefinitions={};St.styles=Oh;ic([C({attribute:!1})],St.prototype,"cluster",void 0);ic([le()],St.prototype,"result",void 0);ic([C()],St.prototype,"index",void 0)});var Eh=p(()=>{"use strict"});var wh=p(()=>{"use strict";$();ac();oc();Eh();ac();z("ft-search-result-context")(St)});var Zr,Ah,sc=p(()=>{"use strict";at();Zr=it.build("searchResultsNumber"),Ah={results:"{0} results","results[\\=1]":"1 result"}});var qr,He,lc=p(()=>{"use strict";U();pn();re();$();rc();Dt();wh();ec();Jl();at();sc();qr=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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 Fe(Te){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>M`
1100
+ `}onResultSelected(e){this.result=e,this.dispatchEvent(new dc(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()}};Ot.elementDefinitions={};Ot.styles=_h;uc([C({attribute:!1})],Ot.prototype,"cluster",void 0);uc([le()],Ot.prototype,"result",void 0);uc([C()],Ot.prototype,"index",void 0)});var Th=p(()=>{"use strict"});var Ih=p(()=>{"use strict";$();pc();cc();Th();pc();z("ft-search-result-context")(Ot)});var Yr,Lh,fc=p(()=>{"use strict";it();Yr=nt.build("searchResultsNumber"),Lh={results:"{0} results","results[\\=1]":"1 result"}});var Xr,ze,hc=p(()=>{"use strict";U();hn();ee();$();lc();Bt();Ih();ac();nc();it();fc();Xr=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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 We(Te){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>M`
1075
1101
  <ft-search-result-title></ft-search-result-title>
1076
1102
  <ft-search-result-abstract></ft-search-result-abstract>
1077
- `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(Zr)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return M`
1078
- <ft-typography part="no-results-message" variant="body1">${Zr.messages.results(0)}</ft-typography>
1079
- `;let e=this.buildClusters();return po(e,r=>r.id,(r,n)=>{var i;return M`
1103
+ `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(Yr)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return M`
1104
+ <ft-typography part="no-results-message" variant="body1">${Yr.messages.results(0)}</ft-typography>
1105
+ `;let e=this.buildClusters();return ho(e,r=>r.id,(r,n)=>{var i;return M`
1080
1106
  <ft-search-result-context .cluster=${r} index="${n}"
1081
1107
  @ft-search-result-cluster-change="${a=>this.onClusterChange(r.id,a.detail)}">
1082
1108
  ${this.renderResult((i=this.selectedResultByCluster[r.id])!==null&&i!==void 0?i:r.entries[0],n)}
1083
1109
  </ft-search-result-context>
1084
- `})}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))}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.request&&this.request.paging.page===1?n.slice(0,this.request.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}};He.styles=tc;qr([C({type:String,attribute:"cluster-policy"})],He.prototype,"clusterPolicy",void 0);qr([C({type:Boolean})],He.prototype,"displayNoResultsMessage",void 0);qr([C({attribute:!1})],He.prototype,"renderResult",void 0);qr([Oe([])],He.prototype,"clusterSortCriterion",void 0);qr([ee()],He.prototype,"request",void 0);qr([ee()],He.prototype,"results",void 0)});var Rh=p(()=>{"use strict"});var Nh={};G(Nh,{FtSearchResults:()=>He,FtSearchResultsCssVariables:()=>Ey,styles:()=>tc});var _h=p(()=>{"use strict";$();lc();rc();Rh();lc();z("ft-search-results")(He)});var wy,cc,uc=p(()=>{"use strict";U();wy={},cc=N`
1110
+ `})}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))}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.request&&this.request.paging.page===1?n.slice(0,this.request.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=sc;Xr([C({type:String,attribute:"cluster-policy"})],ze.prototype,"clusterPolicy",void 0);Xr([C({type:Boolean})],ze.prototype,"displayNoResultsMessage",void 0);Xr([C({attribute:!1})],ze.prototype,"renderResult",void 0);Xr([Oe([])],ze.prototype,"clusterSortCriterion",void 0);Xr([te()],ze.prototype,"request",void 0);Xr([te()],ze.prototype,"results",void 0)});var $h=p(()=>{"use strict"});var kh={};G(kh,{FtSearchResults:()=>ze,FtSearchResultsCssVariables:()=>_y,styles:()=>sc});var Mh=p(()=>{"use strict";$();hc();lc();$h();hc();z("ft-search-results")(ze)});var Py,mc,gc=p(()=>{"use strict";U();Py={},mc=_`
1085
1111
 
1086
- `});var Ay,Ut,dc=p(()=>{"use strict";U();$();uc();Dt();at();sc();xt();Ay=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},Ut=class extends Fe(Te){constructor(){super(),this.addI18nContext(Zr,Ah)}render(){return this.paging==null?H:M`
1112
+ `});var Ty,Ft,yc=p(()=>{"use strict";U();$();gc();Bt();it();fc();xt();Ty=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},Ft=class extends We(Te){constructor(){super(),this.addI18nContext(Yr,Lh)}render(){return this.paging==null?H:M`
1087
1113
  <ft-typography variant="body1">
1088
- ${Zr.messages.results(this.paging.totalClustersCount)}
1114
+ ${Yr.messages.results(this.paging.totalClustersCount)}
1089
1115
  </ft-typography>
1090
- `}};Ut.elementDefinitions={"ft-typography":pe};Ut.styles=cc;Ay([ee()],Ut.prototype,"paging",void 0)});var Ph=p(()=>{"use strict"});var Th={};G(Th,{FtSearchResultsNumber:()=>Ut,FtSearchResultsNumberCssVariables:()=>wy,styles:()=>cc});var Ih=p(()=>{"use strict";$();dc();uc();Ph();dc();z("ft-search-results-number")(Ut)});$();U();$();U();$();U();$();ar();var J={padding:o.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.extend("--ft-card-border-radius","",L.borderRadiusM),borderStyle:o.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.extend("--ft-card-border-color","",L.colorOutline),hoverBorderColor:o.extend("--ft-card-hover-border-color","",L.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","",L.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","",L.colorPrimary),selectedBorderRadius:o.extend("--ft-card-selected-border-radius","",L.borderRadiusM),colorSurface:o.extend("--ft-card-background-color","",L.colorSurface),colorOnSurfaceMedium:o.extend("--ft-card-content-color","",L.colorOnSurfaceMedium),colorOnSurfaceHigh:o.extend("--ft-card-title-color","",L.colorOnSurfaceHigh),elevation02:o.extend("--ft-card-elevation","",L.elevation02),elevation04:o.extend("--ft-card-selected-elevation","",L.elevation04)},Ap=N`
1116
+ `}};Ft.elementDefinitions={"ft-typography":pe};Ft.styles=mc;Ty([te()],Ft.prototype,"paging",void 0)});var Dh=p(()=>{"use strict"});var Uh={};G(Uh,{FtSearchResultsNumber:()=>Ft,FtSearchResultsNumberCssVariables:()=>Py,styles:()=>mc});var Bh=p(()=>{"use strict";$();yc();gc();Dh();yc();z("ft-search-results-number")(Ft)});$();U();$();U();$();U();$();cr();var J={padding:o.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.extend("--ft-card-border-radius","",L.borderRadiusM),borderStyle:o.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.extend("--ft-card-border-color","",L.colorOutline),hoverBorderColor:o.extend("--ft-card-hover-border-color","",L.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","",L.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","",L.colorPrimary),selectedBorderRadius:o.extend("--ft-card-selected-border-radius","",L.borderRadiusM),colorSurface:o.extend("--ft-card-background-color","",L.colorSurface),colorOnSurfaceMedium:o.extend("--ft-card-content-color","",L.colorOnSurfaceMedium),colorOnSurfaceHigh:o.extend("--ft-card-title-color","",L.colorOnSurfaceHigh),elevation02:o.extend("--ft-card-elevation","",L.elevation02),elevation04:o.extend("--ft-card-selected-elevation","",L.elevation04)},Lp=_`
1091
1117
  :host {
1092
1118
  display: block;
1093
1119
  }
@@ -1101,7 +1127,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1101
1127
  border-style: ${J.borderStyle};
1102
1128
  border-width: 1px;
1103
1129
  border-radius: ${J.borderRadius};
1104
- ${I(j.borderRadius,J.borderRadius)};
1130
+ ${P(j.borderRadius,J.borderRadius)};
1105
1131
  box-shadow: ${J.elevation02};
1106
1132
  position: relative;
1107
1133
  width: 100%;
@@ -1131,7 +1157,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1131
1157
  outline-width: ${J.selectedOutlineWidth};
1132
1158
  outline-color: ${J.selectedOutlineColor};
1133
1159
  border-radius: ${J.selectedBorderRadius};
1134
- ${I(j.borderRadius,J.selectedBorderRadius)};
1160
+ ${P(j.borderRadius,J.selectedBorderRadius)};
1135
1161
  box-shadow: ${J.elevation04};
1136
1162
  }
1137
1163
 
@@ -1165,7 +1191,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1165
1191
  #action {
1166
1192
  grid-area: actions;
1167
1193
  }
1168
- `;$o();Xn();ar();Qn();var ve={searchFieldBackgroundColor:o.extend("--ft-rsid-search-field-background-color","",L.colorSurface),searchFieldBorderColor:o.extend("--ft-rsid-search-field-border-color","",L.colorOutline),searchFieldTextColor:o.extend("--ft-rsid-search-field-text-color","",L.colorOnSurface),searchFieldBorderRadius:o.extend("--ft-rsid-search-field-border-radius","",L.borderRadiusS),searchButtonColor:o.extend("--ft-rsid-search-field-button-color","",L.colorPrimary),resultsNumberColor:o.extend("--ft-rsid-results-number-color","",L.colorOnSurfaceMedium),resultBackgroundColor:o.extend("--ft-rsid-result-background-color","",L.colorSurface),resultBorderColor:o.extend("--ft-rsid-result-border-color","",L.colorOutline),resultBorderRadius:o.extend("--ft-rsid-result-border-radius","",L.borderRadiusS),resultTitleTextColor:o.extend("--ft-rsid-result-title-text-color","",L.colorOnSurface),resultBreadcrumbTextColor:o.extend("--ft-rsid-result-breadcrumb-text-color","",L.colorOnSurfaceMedium),resultContentTextColor:o.extend("--ft-rsid-result-content-text-color","",L.colorOnSurface),resultHighlightBackgroundColor:o.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:o.extend("--ft-rsid-result-hover-background-color","",L.colorPrimary),resultHoverBorderColor:o.extend("--ft-rsid-result-hover-border-color","",L.colorPrimary)},lf=N`
1194
+ `;Mo();ti();cr();oi();var ve={searchFieldBackgroundColor:o.extend("--ft-rsid-search-field-background-color","",L.colorSurface),searchFieldBorderColor:o.extend("--ft-rsid-search-field-border-color","",L.colorOutline),searchFieldTextColor:o.extend("--ft-rsid-search-field-text-color","",L.colorOnSurface),searchFieldBorderRadius:o.extend("--ft-rsid-search-field-border-radius","",L.borderRadiusS),searchButtonColor:o.extend("--ft-rsid-search-field-button-color","",L.colorPrimary),resultsNumberColor:o.extend("--ft-rsid-results-number-color","",L.colorOnSurfaceMedium),resultBackgroundColor:o.extend("--ft-rsid-result-background-color","",L.colorSurface),resultBorderColor:o.extend("--ft-rsid-result-border-color","",L.colorOutline),resultBorderRadius:o.extend("--ft-rsid-result-border-radius","",L.borderRadiusS),resultTitleTextColor:o.extend("--ft-rsid-result-title-text-color","",L.colorOnSurface),resultBreadcrumbTextColor:o.extend("--ft-rsid-result-breadcrumb-text-color","",L.colorOnSurfaceMedium),resultContentTextColor:o.extend("--ft-rsid-result-content-text-color","",L.colorOnSurface),resultHighlightBackgroundColor:o.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:o.extend("--ft-rsid-result-hover-background-color","",L.colorPrimary),resultHoverBorderColor:o.extend("--ft-rsid-result-hover-border-color","",L.colorPrimary)},mf=_`
1169
1195
  .ft-search-in-doc--container {
1170
1196
  display: flex;
1171
1197
  flex-direction: column;
@@ -1173,11 +1199,11 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1173
1199
  }
1174
1200
 
1175
1201
  ft-search-input {
1176
- ${I(te.colorSurface,ve.searchFieldBackgroundColor)};
1177
- ${I(te.colorOutline,ve.searchFieldBorderColor)};
1178
- ${I(te.colorOnSurface,ve.searchFieldTextColor)};
1179
- ${I(te.borderRadius,ve.searchFieldBorderRadius)};
1180
- ${I(te.buttonColor,ve.searchButtonColor)};
1202
+ ${P(re.colorSurface,ve.searchFieldBackgroundColor)};
1203
+ ${P(re.colorOutline,ve.searchFieldBorderColor)};
1204
+ ${P(re.colorOnSurface,ve.searchFieldTextColor)};
1205
+ ${P(re.borderRadius,ve.searchFieldBorderRadius)};
1206
+ ${P(re.buttonColor,ve.searchButtonColor)};
1181
1207
  }
1182
1208
 
1183
1209
  ft-search-results-number {
@@ -1191,21 +1217,21 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1191
1217
  ft-search-load-more-button {
1192
1218
  margin: auto;
1193
1219
  }
1194
- `,cf=N`
1220
+ `,gf=_`
1195
1221
  ft-card {
1196
1222
  margin-bottom: 8px;
1197
- ${I(J.elevation04,"none")};
1198
- ${I(J.elevation02,"none")};
1199
- ${I(J.borderStyle,"solid")};
1200
- ${I(J.borderRadius,L.borderRadiusS)};
1201
- ${I(J.colorSurface,ve.resultBackgroundColor)};
1202
- ${I(J.borderColor,ve.resultBorderColor)};
1203
- ${I(J.borderRadius,ve.resultBorderRadius)};
1223
+ ${P(J.elevation04,"none")};
1224
+ ${P(J.elevation02,"none")};
1225
+ ${P(J.borderStyle,"solid")};
1226
+ ${P(J.borderRadius,L.borderRadiusS)};
1227
+ ${P(J.colorSurface,ve.resultBackgroundColor)};
1228
+ ${P(J.borderColor,ve.resultBorderColor)};
1229
+ ${P(J.borderRadius,ve.resultBorderRadius)};
1204
1230
  }
1205
1231
 
1206
1232
  ft-search-result-title {
1207
1233
  color: ${ve.resultTitleTextColor};
1208
- ${I(Jn.highlightBackgroundColor,ve.resultHighlightBackgroundColor)};
1234
+ ${P(ri.highlightBackgroundColor,ve.resultHighlightBackgroundColor)};
1209
1235
  }
1210
1236
 
1211
1237
  .breadcrumb {
@@ -1214,12 +1240,12 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1214
1240
 
1215
1241
  ft-search-result-abstract {
1216
1242
  color: ${ve.resultContentTextColor};
1217
- ${I(Yn.highlightBackgroundColor,ve.resultHighlightBackgroundColor)};
1243
+ ${P(ei.highlightBackgroundColor,ve.resultHighlightBackgroundColor)};
1218
1244
  }
1219
1245
 
1220
1246
  ft-card:hover {
1221
- ${I(J.hoverBorderColor,ve.resultHoverBorderColor)};
1222
- ${I(j.color,ve.resultHoverBackgroundColor)};
1247
+ ${P(J.hoverBorderColor,ve.resultHoverBorderColor)};
1248
+ ${P(j.color,ve.resultHoverBackgroundColor)};
1223
1249
  }
1224
1250
 
1225
1251
  .result-container {
@@ -1232,7 +1258,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1232
1258
  text-decoration: none;
1233
1259
  color: inherit;
1234
1260
  }
1235
- `;at();$();re();var wf;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(wf||(wf={}));var gy=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},Pl=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},_l=Symbol("registerInterval");function yy(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[_l]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[_l]):this.dispatchEvent(new Pl)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=_l,gy([le()],r.prototype,"stateManager",void 0),r}var li=class extends yy(we){};re();Ll();var di=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};at();var $l=it.build("designedReaderSearchInDocument");$();U();re();$();Vn();xt();br();var 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 l=t.length-1;l>=0;l--)(s=t[l])&&(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 X{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 M`
1261
+ `;it();$();ee();var If;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(If||(If={}));var Sy=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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},Ml=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},kl=Symbol("registerInterval");function Oy(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[kl]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[kl]):this.dispatchEvent(new Ml)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=kl,Sy([le()],r.prototype,"stateManager",void 0),r}var pi=class extends Oy(Re){};ee();Bl();var mi=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};it();var Fl=nt.build("designedReaderSearchInDocument");$();U();ee();$();Gn();xt();vr();var gi=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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 Z{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 M`
1236
1262
  <div id="container" part="container" class=${dt(e)}>
1237
1263
  ${this.clickable?M`
1238
1264
  <ft-ripple primary ?selected=${this.selected}></ft-ripple>
@@ -1250,9 +1276,9 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1250
1276
  </ft-typography>
1251
1277
  </div>
1252
1278
  </div>
1253
- `}};We.elementDefinitions={"ft-ripple":ne,"ft-typography":pe};We.styles=Ap;pi([C()],We.prototype,"title",void 0);pi([C({type:Boolean})],We.prototype,"clickable",void 0);pi([C({type:Boolean})],We.prototype,"selected",void 0);pi([C({type:Boolean})],We.prototype,"noHeader",void 0);z("ft-card")(We);var Bt=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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 t extends Fe(li){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($l)}get filters(){return[{negative:!1,key:"ft:publicationId",values:[this.map.id]}]}renderResult(e,r){var n;return M`
1254
- <style> ${cf}</style>
1255
- <a href="${ui(e)}" @click="${()=>this.onLinkClick(e,r)} }">
1279
+ `}};He.elementDefinitions={"ft-ripple":ne,"ft-typography":pe};He.styles=Lp;gi([C()],He.prototype,"title",void 0);gi([C({type:Boolean})],He.prototype,"clickable",void 0);gi([C({type:Boolean})],He.prototype,"selected",void 0);gi([C({type:Boolean})],He.prototype,"noHeader",void 0);z("ft-card")(He);var Wt=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 l=t.length-1;l>=0;l--)(s=t[l])&&(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 t extends We(pi){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[{negative:!1,key:"ft:publicationId",values:[this.map.id]}]}renderResult(e,r){var n;return M`
1280
+ <style> ${gf}</style>
1281
+ <a href="${hi(e)}" @click="${()=>this.onLinkClick(e,r)} }">
1256
1282
  <ft-card clickable noheader>
1257
1283
  <div class="result-container">
1258
1284
  ${this.hideResultTitle?H:M`
@@ -1274,9 +1300,9 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1274
1300
  scope="ALL_TOPICS"
1275
1301
  ignoreEmptyQuery
1276
1302
  @ft-search-request-change=${e=>{var r;return(r=this.stateManager)===null||r===void 0?void 0:r.setSearchInDocumentQuery(e.detail.query)}}
1277
- @ft-search-results-change=${e=>{var r,n;this.userHasDoneManualAction&&(this.dispatchEvent(new di({mapId:this.map.id,mapTitle:this.map.title,metadata:(n=(r=this.map)===null||r===void 0?void 0:r.metadata)!==null&&n!==void 0?n:[],query:e.detail.request.query,searchResultsCount:e.detail.paging.totalResultsCount})),this.userHasDoneManualAction=!1)}}>
1303
+ @ft-search-results-change=${e=>{var r,n;this.userHasDoneManualAction&&(this.dispatchEvent(new mi({mapId:this.map.id,mapTitle:this.map.title,metadata:(n=(r=this.map)===null||r===void 0?void 0:r.metadata)!==null&&n!==void 0?n:[],query:e.detail.request.query,searchResultsCount:e.detail.paging.totalResultsCount})),this.userHasDoneManualAction=!1)}}>
1278
1304
  <div class="ft-search-in-doc--container">
1279
- <ft-search-input placeholder=${$l.messages.placeholder()}
1305
+ <ft-search-input placeholder=${Fl.messages.placeholder()}
1280
1306
  @change="${()=>this.userHasDoneManualAction=!0}"></ft-search-input>
1281
1307
  ${this.hideResultsNumber?H:M`
1282
1308
  <ft-search-results-number @ft-search-result-click=${e=>e.stopPropagation()}></ft-search-results-number>
@@ -1290,7 +1316,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1290
1316
  </slot>
1291
1317
  </div>
1292
1318
  </ft-search-context>
1293
- `:H}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 jr(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(nh(),oh)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(ph(),dh)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(yh(),gh)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(Jl(),xh)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(ec(),Sh)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(_h(),Nh)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(Ih(),Th)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};Ie.elementDefinitions={"ft-card":We};Ie.styles=lf;Bt([ee()],Ie.prototype,"map",void 0);Bt([ee()],Ie.prototype,"searchInDocumentQuery",void 0);Bt([me("ft-search-context")],Ie.prototype,"searchContext",void 0);Bt([me("ft-search-results")],Ie.prototype,"searchResults",void 0);Bt([C({type:Boolean})],Ie.prototype,"hideResultTitle",void 0);Bt([C({type:Boolean})],Ie.prototype,"hideResultBreadcrumb",void 0);Bt([C({type:Boolean})],Ie.prototype,"hideResultAbstract",void 0);Bt([C({type:Boolean})],Ie.prototype,"hideResultsNumber",void 0);z("ft-reader-search-in-document")(Ie);})();
1319
+ `:H}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 Kr(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(uh(),dh)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(xh(),bh)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(Eh(),Ch)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(nc(),Ah)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(ac(),Nh)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(Mh(),kh)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(Bh(),Uh)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};Ie.elementDefinitions={"ft-card":He};Ie.styles=mf;Wt([te()],Ie.prototype,"map",void 0);Wt([te()],Ie.prototype,"searchInDocumentQuery",void 0);Wt([me("ft-search-context")],Ie.prototype,"searchContext",void 0);Wt([me("ft-search-results")],Ie.prototype,"searchResults",void 0);Wt([C({type:Boolean})],Ie.prototype,"hideResultTitle",void 0);Wt([C({type:Boolean})],Ie.prototype,"hideResultBreadcrumb",void 0);Wt([C({type:Boolean})],Ie.prototype,"hideResultAbstract",void 0);Wt([C({type:Boolean})],Ie.prototype,"hideResultsNumber",void 0);z("ft-reader-search-in-document")(Ie);})();
1294
1320
  /*! Bundled license information:
1295
1321
 
1296
1322
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: