@fluid-topics/ft-reader-search-in-document 1.2.57 → 1.2.59
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,11 +1,11 @@
|
|
|
1
|
-
"use strict";(()=>{var pm=Object.create;var _a=Object.defineProperty;var fm=Object.getOwnPropertyDescriptor;var hm=Object.getOwnPropertyNames;var mm=Object.getPrototypeOf,ym=Object.prototype.hasOwnProperty;var f=(t,e)=>()=>(t&&(e=t(t=0)),e);var gm=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),G=(t,e)=>{for(var r in e)_a(t,r,{get:e[r],enumerable:!0})},bm=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of hm(e))!ym.call(t,a)&&a!==r&&_a(t,a,{get:()=>e[a],enumerable:!(n=fm(e,a))||n.enumerable});return t};var xm=(t,e,r)=>(r=t!=null?pm(mm(t)):{},bm(e||!t||!t.__esModule?_a(r,"default",{value:t,enumerable:!0}):r,t));var Wl=f(()=>{if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(A,S){if(A=A.toLowerCase(),this._getDefinition(A)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${A}" 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 R=S.prototype.attributeChangedCallback,B=new Set(S.observedAttributes||[]);g(S,B,R);let j={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:B};this._definitionsByTag.set(A,j),this._definitionsByClass.set(S,j);let X=r.call(n,A);X||(X=h(A),e.call(n,A,X)),this===window.customElements&&(s.set(S,j),j.standInClass=X);let Z=this._awaitingUpgrade.get(A);if(Z){this._awaitingUpgrade.delete(A);for(let y of Z)i.delete(y),v(y,j,!0)}let F=this._whenDefinedPromises.get(A);return F!==void 0&&(F.resolve(S),this._whenDefinedPromises.delete(A)),S}upgrade(){_.push(this),n.upgrade.apply(n,arguments),_.pop()}get(A){return this._definitionsByTag.get(A)?.elementClass}_getDefinition(A){return this._definitionsByTag.get(A)}whenDefined(A){let S=this._getDefinition(A);if(S!==void 0)return Promise.resolve(S.elementClass);let R=this._whenDefinedPromises.get(A);return R===void 0&&(R={},R.promise=new Promise(B=>R.resolve=B),this._whenDefinedPromises.set(A,R)),R.promise}_upgradeWhenDefined(A,S,R){let B=this._awaitingUpgrade.get(S);B||this._awaitingUpgrade.set(S,B=new Set),R?B.add(A):B.delete(A)}};let d;window.HTMLElement=function(){let S=d;if(S)return d=void 0,S;let R=s.get(this.constructor);if(!R)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(t,[],R.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),a.set(S,R),S},window.HTMLElement.prototype=t.prototype;let p=A=>A===document||A instanceof ShadowRoot,m=A=>{let S=A.getRootNode();if(!p(S)){let R=_[_.length-1];if(R instanceof CustomElementRegistry)return R;S=R.getRootNode(),p(S)||(S=c.get(S)?.getRootNode()||document)}return S.customElements},h=A=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let B=m(R)||window.customElements,j=B._getDefinition(A);return j?v(R,j):i.set(R,B),R}connectedCallback(){let R=a.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,A,!0)}disconnectedCallback(){let R=a.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,A,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=a.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=a.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=a.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=a.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},g=(A,S,R)=>{if(S.size===0||R===void 0)return;let B=A.prototype.setAttribute;B&&(A.prototype.setAttribute=function(Z,F){let y=Z.toLowerCase();if(S.has(y)){let C=this.getAttribute(y);B.call(this,y,F),R.call(this,y,C,F)}else B.call(this,y,F)});let j=A.prototype.removeAttribute;j&&(A.prototype.removeAttribute=function(Z){let F=Z.toLowerCase();if(S.has(F)){let y=this.getAttribute(F);j.call(this,F),R.call(this,F,y,null)}else j.call(this,F)});let X=A.prototype.toggleAttribute;X&&(A.prototype.toggleAttribute=function(Z,F){let y=Z.toLowerCase();if(S.has(y)){let C=this.getAttribute(y);X.call(this,y,F);let $=this.getAttribute(y);R.call(this,y,C,$)}else X.call(this,y,F)})},x=A=>{let S=Object.getPrototypeOf(A);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(A,window.HTMLElement):x(S)},v=(A,S,R=!1)=>{Object.setPrototypeOf(A,S.elementClass.prototype),a.set(A,S),d=A;try{new S.elementClass}catch{x(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(B=>{A.hasAttribute(B)&&S.attributeChangedCallback.call(A,B,null,A.getAttribute(B))}),R&&S.connectedCallback&&A.isConnected&&S.connectedCallback.call(A)},w=Element.prototype.attachShadow;Element.prototype.attachShadow=function(A){let S=w.apply(this,arguments);return A.customElements&&(S.customElements=A.customElements),S};let _=[document],T=(A,S,R=void 0)=>{let B=(R?Object.getPrototypeOf(R):A.prototype)[S];A.prototype[S]=function(){_.push(this);let j=B.apply(R||this,arguments);return j!==void 0&&c.set(j,this),_.pop(),j}};T(ShadowRoot,"createElement",document),T(ShadowRoot,"importNode",document),T(Element,"insertAdjacentHTML");let I=(A,S)=>{let R=Object.getOwnPropertyDescriptor(A.prototype,S);Object.defineProperty(A.prototype,S,{...R,set(B){_.push(this),R.set.call(this,B),_.pop()}})};if(I(Element,"innerHTML"),I(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let A=new WeakMap,S=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...Z){let F=S.call(this,...Z);return A.set(F,this),F},R.forEach(Z=>{let F=window.ElementInternals.prototype,y=F[Z];F[Z]=function(...C){let $=A.get(this);if(a.get($).formAssociated===!0)return y?.call(this,...C);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class B extends Array{constructor(F){super(...F),this._elements=F}get value(){return this._elements.find(F=>F.checked===!0)?.value||""}}class j{constructor(F){let y=new Map;F.forEach((C,$)=>{let ee=C.getAttribute("name"),se=y.get(ee)||[];this[+$]=C,se.push(C),y.set(ee,se)}),this.length=F.length,y.forEach((C,$)=>{C&&(C.length===1?this[$]=C[0]:this[$]=new B(C))})}namedItem(F){return this[F]}}let X=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let Z=X.get.call(this,[]),F=[];for(let y of Z){let C=a.get(y);(!C||C.formAssociated===!0)&&F.push(y)}return new j(F)}})}}});var Hl=f(()=>{"use strict";Wl();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,a)=>{if(n!==null)try{e.bind(window.customElements)(r,n,a)}catch(i){console.info(r,n,a,i)}}}});var an,yo,Pa,zl,Cr,Xt,L,go,sn,cn=f(()=>{an=globalThis,yo=an.ShadowRoot&&(an.ShadyCSS===void 0||an.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Pa=Symbol(),zl=new WeakMap,Cr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Pa)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(yo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=zl.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&zl.set(r,e))}return e}toString(){return this.cssText}},Xt=t=>new Cr(typeof t=="string"?t:t+"",void 0,Pa),L=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,a,i)=>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.")})(a)+t[i+1],t[0]);return new Cr(r,t,Pa)},go=(t,e)=>{if(yo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),a=an.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}},sn=yo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Xt(r)})(t):t});var vm,Sm,Cm,Om,Em,wm,ln,jl,Am,Rm,bo,Or,xo,Vl,et,vo=f(()=>{cn();cn();({is:vm,defineProperty:Sm,getOwnPropertyDescriptor:Cm,getOwnPropertyNames:Om,getOwnPropertySymbols:Em,getPrototypeOf:wm}=Object),ln=globalThis,jl=ln.trustedTypes,Am=jl?jl.emptyScript:"",Rm=ln.reactiveElementPolyfillSupport,bo=(t,e)=>t,Or={toAttribute(t,e){switch(e){case Boolean:t=t?Am: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}},xo=(t,e)=>!vm(t,e),Vl={attribute:!0,type:String,converter:Or,reflect:!1,useDefault:!1,hasChanged:xo};Symbol.metadata??=Symbol("metadata"),ln.litPropertyMetadata??=new WeakMap;et=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Vl){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,r);a!==void 0&&Sm(this.prototype,e,a)}}static getPropertyDescriptor(e,r,n){let{get:a,set:i}=Cm(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get:a,set(s){let c=a?.call(this);i?.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Vl}static _$Ei(){if(this.hasOwnProperty(bo("elementProperties")))return;let e=wm(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(bo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(bo("properties"))){let r=this.properties,n=[...Om(r),...Em(r)];for(let a of n)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,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 a of n)r.unshift(sn(a))}else e!==void 0&&r.push(sn(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._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){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 go(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$ET(e,r){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:Or).toAttribute(r,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:Or;this._$Em=a,this[a]=s.fromAttribute(r,i.type)??this._$Ej?.get(a)??null,this._$Em=null}}requestUpdate(e,r,n){if(e!==void 0){let a=this.constructor,i=this[e];if(n??=a.getPropertyOptions(e),!((n.hasChanged??xo)(i,r)||n.useDefault&&n.reflect&&i===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,n))))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:n,reflect:a,wrapped:i},s){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??r??this[e]),i!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(r=void 0),this._$AL.set(e,r)),a===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}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[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n){let{wrapped:s}=i,c=this[a];s!==!0||this._$AL.has(a)||c===void 0||this.C(a,void 0,i,c)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(e){}firstUpdated(e){}};et.elementStyles=[],et.shadowRootOptions={mode:"open"},et[bo("elementProperties")]=new Map,et[bo("finalized")]=new Map,Rm?.({ReactiveElement:et}),(ln.reactiveElementVersions??=[]).push("2.1.0")});function ed(t,e){if(!Ma(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Gl!==void 0?Gl.createHTML(e):e}function rr(t,e,r=t,n){if(e===Ee)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=Oo(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=rr(t,a._$AS(t,e.values),a,n)),e}var Ia,dn,Gl,ka,mt,Da,Nm,tr,Co,Oo,Ma,Xl,La,So,Kl,Zl,Jt,ql,Yl,Jl,$a,M,Ba,Fa,Ee,H,Ql,er,td,Eo,un,Er,or,pn,fn,hn,mn,Ua,Tm,Wa,Ke=f(()=>{Ia=globalThis,dn=Ia.trustedTypes,Gl=dn?dn.createPolicy("lit-html",{createHTML:t=>t}):void 0,ka="$lit$",mt=`lit$${Math.random().toFixed(9).slice(2)}$`,Da="?"+mt,Nm=`<${Da}>`,tr=document,Co=()=>tr.createComment(""),Oo=t=>t===null||typeof t!="object"&&typeof t!="function",Ma=Array.isArray,Xl=t=>Ma(t)||typeof t?.[Symbol.iterator]=="function",La=`[
|
|
2
|
-
\f\r]`,
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ql=/'/g,Yl=/"/g,Jl=/^(?:script|style|textarea|title)$/i,$a=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),M=$a(1),Ba=$a(2),Fa=$a(3),Ee=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),Ql=new WeakMap,er=tr.createTreeWalker(tr,129);td=(t,e)=>{let r=t.length-1,n=[],a,i=e===2?"<svg>":e===3?"<math>":"",s=So;for(let c=0;c<r;c++){let d=t[c],p,m,h=-1,g=0;for(;g<d.length&&(s.lastIndex=g,m=s.exec(d),m!==null);)g=s.lastIndex,s===So?m[1]==="!--"?s=Kl:m[1]!==void 0?s=Zl:m[2]!==void 0?(Jl.test(m[2])&&(a=RegExp("</"+m[2],"g")),s=Jt):m[3]!==void 0&&(s=Jt):s===Jt?m[0]===">"?(s=a??So,h=-1):m[1]===void 0?h=-2:(h=s.lastIndex-m[2].length,p=m[1],s=m[3]===void 0?Jt:m[3]==='"'?Yl:ql):s===Yl||s===ql?s=Jt:s===Kl||s===Zl?s=So:(s=Jt,a=void 0);let x=s===Jt&&t[c+1].startsWith("/>")?" ":"";i+=s===So?d+Nm:h>=0?(n.push(p),d.slice(0,h)+ka+d.slice(h)+mt+x):d+mt+(h===-2?c:x)}return[ed(t,i+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Eo=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,c=e.length-1,d=this.parts,[p,m]=td(e,r);if(this.el=t.createElement(p,n),er.currentNode=this.el.content,r===2||r===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=er.nextNode())!==null&&d.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(ka)){let g=m[s++],x=a.getAttribute(h).split(mt),v=/([.?@])?(.*)/.exec(g);d.push({type:1,index:i,name:v[2],strings:x,ctor:v[1]==="."?pn:v[1]==="?"?fn:v[1]==="@"?hn:or}),a.removeAttribute(h)}else h.startsWith(mt)&&(d.push({type:6,index:i}),a.removeAttribute(h));if(Jl.test(a.tagName)){let h=a.textContent.split(mt),g=h.length-1;if(g>0){a.textContent=dn?dn.emptyScript:"";for(let x=0;x<g;x++)a.append(h[x],Co()),er.nextNode(),d.push({type:2,index:++i});a.append(h[g],Co())}}}else if(a.nodeType===8)if(a.data===Da)d.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(mt,h+1))!==-1;)d.push({type:7,index:i}),h+=mt.length-1}i++}}static createElement(e,r){let n=tr.createElement("template");return n.innerHTML=e,n}};un=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,a=(e?.creationScope??tr).importNode(r,!0);er.currentNode=a;let i=er.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new Er(i,i.nextSibling,this,e):d.type===1?p=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(p=new mn(i,this,e)),this._$AV.push(p),d=n[++c]}s!==d?.index&&(i=er.nextNode(),s++)}return er.currentNode=tr,a}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Er=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.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=rr(this,e,r),Oo(e)?e===H||e==null||e===""?(this._$AH!==H&&this._$AR(),this._$AH=H):e!==this._$AH&&e!==Ee&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Xl(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==H&&Oo(this._$AH)?this._$AA.nextSibling.data=e:this.T(tr.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Eo.createElement(ed(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new un(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(e){let r=Ql.get(e.strings);return r===void 0&&Ql.set(e.strings,r=new Eo(e)),r}k(e){Ma(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of e)a===r.length?r.push(n=new t(this.O(Co()),this.O(Co()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$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))}},or=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,i){this.type=1,this._$AH=H,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,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,a){let i=this.strings,s=!1;if(i===void 0)e=rr(this,e,r,0),s=!Oo(e)||e!==this._$AH&&e!==Ee,s&&(this._$AH=e);else{let c=e,d,p;for(e=i[0],d=0;d<i.length-1;d++)p=rr(this,c[n+d],r,d),p===Ee&&(p=this._$AH[d]),s||=!Oo(p)||p!==this._$AH[d],p===H?e=H:e!==H&&(e+=(p??"")+i[d+1]),this._$AH[d]=p}s&&!a&&this.j(e)}j(e){e===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},pn=class extends or{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===H?void 0:e}},fn=class extends or{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==H)}},hn=class extends or{constructor(e,r,n,a,i){super(e,r,n,a,i),this.type=5}_$AI(e,r=this){if((e=rr(this,e,r,0)??H)===Ee)return;let n=this._$AH,a=e===H&&n!==H||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==H&&(n===H||a);a&&this.element.removeEventListener(this.name,this,n),i&&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)}},mn=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){rr(this,e)}},Ua={M:ka,P:mt,A:Da,C:1,L:td,R:un,D:Xl,V:rr,I:Er,H:or,N:fn,U:hn,B:pn,F:mn},Tm=Ia.litHtmlPolyfillSupport;Tm?.(Eo,Er),(Ia.litHtmlVersions??=[]).push("3.3.0");Wa=(t,e,r)=>{let n=r?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=r?.renderBefore??null;n._$litPart$=a=new Er(e.insertBefore(Co(),i),i,void 0,r??{})}return a._$AI(t),a}});var Ha,yt,_m,Pm,rd=f(()=>{vo();vo();Ke();Ke();Ha=globalThis,yt=class extends et{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Wa(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ee}};yt._$litElement$=!0,yt.finalized=!0,Ha.litElementHydrateSupport?.({LitElement:yt});_m=Ha.litElementPolyfillSupport;_m?.({LitElement:yt});Pm={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(Ha.litElementVersions??=[]).push("4.2.0")});var Sb,od=f(()=>{Sb=!1});var za={};G(za,{CSSResult:()=>Cr,LitElement:()=>yt,ReactiveElement:()=>et,_$LE:()=>Pm,_$LH:()=>Ua,adoptStyles:()=>go,css:()=>L,defaultConverter:()=>Or,getCompatibleStyle:()=>sn,html:()=>M,isServer:()=>Sb,mathml:()=>Fa,noChange:()=>Ee,notEqual:()=>xo,nothing:()=>H,render:()=>Wa,supportsAdoptingStyleSheets:()=>yo,svg:()=>Ba,unsafeCSS:()=>Xt});var z=f(()=>{vo();Ke();rd();od()});var ja,nd=f(()=>{ja=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)}});function O(t){return(e,r)=>typeof r=="object"?ad(t,e,r):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,r)}var Lm,ad,Va=f(()=>{vo();Lm={attribute:!0,type:String,converter:Or,reflect:!1,hasChanged:xo},ad=(t=Lm,e,r)=>{let{kind:n,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),i.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,d,t)},init(c){return c!==void 0&&this.C(s,void 0,t,c),c}}}if(n==="setter"){let{name:s}=r;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)}});function le(t){return O({...t,state:!0,attribute:!1})}var id=f(()=>{Va();});function wr(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var sd=f(()=>{});var Ze,Ar=f(()=>{Ze=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function be(t,e){return(r,n,a)=>{let i=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof n=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return Ze(r,n,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return Ze(r,n,{get(){return i(this)}})}}var cd=f(()=>{Ar();});function km(t){return(e,r)=>Ze(e,r,{get(){return(this.renderRoot??(Im??=document.createDocumentFragment())).querySelectorAll(t)}})}var Im,ld=f(()=>{Ar();});function Dm(t){return(e,r)=>Ze(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var dd=f(()=>{Ar();});function Mm(t){return(e,r)=>{let{slot:n,selector:a}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ze(e,r,{get(){let s=this.renderRoot?.querySelector(i),c=s?.assignedElements(t)??[];return a===void 0?c:c.filter(d=>d.matches(a))}})}}var ud=f(()=>{Ar();});function Ga(t){return(e,r)=>{let{slot:n}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ze(e,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var pd=f(()=>{Ar();});var Ka={};G(Ka,{customElement:()=>ja,eventOptions:()=>wr,property:()=>O,query:()=>be,queryAll:()=>km,queryAssignedElements:()=>Mm,queryAssignedNodes:()=>Ga,queryAsync:()=>Dm,standardProperty:()=>ad,state:()=>le});var ne=f(()=>{nd();Va();id();sd();cd();ld();dd();ud();pd()});var Pt,Lt,tt,wo=f(()=>{Pt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Lt=t=>(...e)=>({_$litDirective$:t,values:e}),tt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}});var $m,fd,Rr,It,Bm,hd,md,yn,yd=f(()=>{Ke();({I:$m}=Ua),fd=()=>document.createComment(""),Rr=(t,e,r)=>{let n=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(r===void 0){let i=n.insertBefore(fd(),a),s=n.insertBefore(fd(),a);r=new $m(i,s,t,t.options)}else{let i=r._$AB.nextSibling,s=r._$AM,c=s!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(i!==a||c){let d=r._$AA;for(;d!==i;){let p=d.nextSibling;n.insertBefore(d,a),d=p}}}return r},It=(t,e,r=t)=>(t._$AI(e,r),t),Bm={},hd=(t,e=Bm)=>t._$AH=e,md=t=>t._$AH,yn=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,Ao,bd=f(()=>{Ke();wo();yd();gd=(t,e,r)=>{let n=new Map;for(let a=e;a<=r;a++)n.set(t[a],a);return n},Ao=Lt(class extends tt{constructor(t){if(super(t),t.type!==Pt.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let a=[],i=[],s=0;for(let c of t)a[s]=n?n(c,s):s,i[s]=r(c,s),s++;return{values:i,keys:a}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,n]){let a=md(t),{values:i,keys:s}=this.dt(e,r,n);if(!Array.isArray(a))return this.ut=s,i;let c=this.ut??=[],d=[],p,m,h=0,g=a.length-1,x=0,v=i.length-1;for(;h<=g&&x<=v;)if(a[h]===null)h++;else if(a[g]===null)g--;else if(c[h]===s[x])d[x]=It(a[h],i[x]),h++,x++;else if(c[g]===s[v])d[v]=It(a[g],i[v]),g--,v--;else if(c[h]===s[v])d[v]=It(a[h],i[v]),Rr(t,d[v+1],a[h]),h++,v--;else if(c[g]===s[x])d[x]=It(a[g],i[x]),Rr(t,a[h],a[g]),g--,x++;else if(p===void 0&&(p=gd(s,x,v),m=gd(c,h,g)),p.has(c[h]))if(p.has(c[g])){let w=m.get(s[x]),_=w!==void 0?a[w]:null;if(_===null){let T=Rr(t,a[h]);It(T,i[x]),d[x]=T}else d[x]=It(_,i[x]),Rr(t,a[h],_),a[w]=null;x++}else yn(a[g]),g--;else yn(a[h]),h++;for(;x<=v;){let w=Rr(t,d[v+1]);It(w,i[x]),d[x++]=w}for(;h<=g;){let w=a[h++];w!==null&&yn(w)}return this.ut=s,hd(t,d),Ee}})});var Za={};G(Za,{repeat:()=>Ao});var gn=f(()=>{bd()});var rt,xd=f(()=>{Ke();wo();rt=Lt(class extends tt{constructor(t){if(super(t),t.type!==Pt.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.st)n in e||(r.remove(n),this.st.delete(n));for(let n in e){let a=!!e[n];a===this.st.has(n)||this.nt?.has(n)||(a?(r.add(n),this.st.add(n)):(r.remove(n),this.st.delete(n)))}return Ee}})});var qa={};G(qa,{classMap:()=>rt});var Nr=f(()=>{xd()});var vd,Fm,Um,Sd=f(()=>{Ke();wo();vd="important",Fm=" !"+vd,Um=Lt(class extends tt{constructor(t){if(super(t),t.type!==Pt.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let a=e[n];if(a!=null){this.ft.add(n);let i=typeof a=="string"&&a.endsWith(Fm);n.includes("-")||i?r.setProperty(n,i?a.slice(0,-11):a,i?vd:""):r[n]=a}}return Ee}})});var Ya={};G(Ya,{styleMap:()=>Um});var Cd=f(()=>{Sd()});var Tr,nr,Od=f(()=>{Ke();wo();Tr=class extends tt{constructor(e){if(super(e),this.it=H,e.type!==Pt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===H||e==null)return this._t=void 0,this.it=e;if(e===Ee)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Tr.directiveName="unsafeHTML",Tr.resultType=1;nr=Lt(Tr)});var Qa={};G(Qa,{UnsafeHTMLDirective:()=>Tr,unsafeHTML:()=>nr});var Ro=f(()=>{Od()});var Xa={};G(Xa,{CancelablePromise:()=>_r,CanceledPromiseError:()=>ot,cancelable:()=>Pr});var ot,_r,Pr,bn=f(()=>{"use strict";ot=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},_r=class extends Promise{constructor(e){super((r,n)=>e(a=>{this.isCanceled?n(new ot("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?n(new ot("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Pr=t=>new _r((e,r)=>t.then(e).catch(r))});var ri={};G(ri,{FtNotificationEvent:()=>Ja,PostResizeEvent:()=>ti,PreResizeEvent:()=>ei,WithEventBus:()=>ar,withEventBus:()=>Ed});function Ed(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}var Ja,ei,ti,ar,No=f(()=>{"use strict";Ja=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},ei=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ti=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};ar=class extends Ed(Object){}});var oi={};G(oi,{CacheRegistry:()=>nt,ClearCacheEvent:()=>To});var To,nt,ni=f(()=>{"use strict";bn();No();To=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},nt=class extends ar{constructor(){super(...arguments),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(e=!0){let r=[];for(let n in this.content)this.clear(n,!1)!=null&&r.push(n);e&&r.length>0&&this.dispatchEvent(new To(r))}clear(e,r=!0){if(!this.finalContent.has(e))return this.forceClear(e),r&&this.dispatchEvent(new To([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof _r&&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 a=Pr(r());return this.content[e]=a,a.then(i=>(this.content[e]=i,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),i))}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 ii={};G(ii,{ClusteringHelper:()=>ai});var ai,si=f(()=>{"use strict";ai=class t{constructor(e,r,n,a){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e){var r,n,a,i,s;let c=((i=(n=(r=e.result)===null||r===void 0?void 0:r.map)!==null&&n!==void 0?n:(a=e.result)===null||a===void 0?void 0:a.document)!==null&&i!==void 0?i:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?t.flattenMetadata(c,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(c.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,n){if(Array.isArray(e))return e.map(i=>t.flattenMetadata(i,r,n)).filter(i=>i!=null);let a=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!a))if(a){let i=[],s=[];return e.hierarchicalValues.forEach(c=>{i.push(c.join(" > ")),r&&r>1&&c.length>=r?s.push(`... > ${c[c.length-1]}`):s.push(c.join(" > "))}),{key:e.key,label:e.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=e.values.join(", "),s=e.values.map(c=>n?n(c):c).join(", ");return{key:e.key,label:e.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,n="No value",a,i){var s,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:i}),p=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(e))===null||c===void 0?void 0:c.label;return this.allResults.map(h=>t.extractResultMetadata({result:h,key:e,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(h=>h??{key:e,label:p,value:void 0,displayValue:n}).filter(h=>h.value!=d?.value).filter((h,g,x)=>x.findIndex(v=>v.value===h.value)===g).map(h=>({result:this.findBestResultForMetadataValue(e,h.value),metadata:h})).sort((h,g)=>this.compareMetadata(h.metadata.value,g.metadata.value,e,r))}compareMetadata(e,r,n,a){if(e==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",c=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,a,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==r}),i=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,c=-1;for(let d of n){let p=this.countMatchingMetadata(d,i);if(p>c&&(c=p,s=d,p===i.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(n=>r.some(a=>a.key===n.key&&a.value===n.value)).length}}});var ci={};G(ci,{Debouncer:()=>Se});var Se,xn=f(()=>{"use strict";Se=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 a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){a(c);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var di={};G(di,{dateReviver:()=>Hm,deepCopy:()=>Gm,deepEqual:()=>qe,delay:()=>vn,eventPathContainsMatchingElement:()=>jm,flatDeep:()=>Ad,getComposedPathTo:()=>li,hasChanged:()=>kt,last:()=>Vm,minmax:()=>ir,parseDate:()=>Rd,unslotText:()=>Sn,waitFor:()=>wd,waitUntil:()=>Wm});async function Wm(t,e=10,r=2e4){await wd(async()=>await t()||void 0,e,r)}async function wd(t,e=10,r=2e4){let n=await t(),a,i;for(a=i=performance.now();n==null&&(!r||i-a<r);)await vn(e),n=await t(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Ad(t,e){return t.flatMap(r=>[r,...Ad(e(r),e)])}function Hm(...t){return(e,r)=>t.includes(e)?Rd(r):r}function Rd(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,a)=>r+n+":"+a),new Date(t)}function zm(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,a;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!qe(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(!qe(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();let i=s=>Object.keys(s).filter(c=>s[c]!=null);if(a=i(t),r=a.length,r!==i(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=r;n--!==0;){let s=a[n];if(!qe(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function qe(t,e){try{return zm(t,e)}catch{return!1}}function kt(t,e){return!qe(t,e)}function jm(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let a of n){if(a===r)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function ir(t,e,r){return Math.min(Math.max(t,e),r)}function Vm(t){return t[t.length-1]}function Sn(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Sn(e)).join(""):t?.textContent||""}function li(t){let e=[],r=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}function Gm(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}var vn,Dt=f(()=>{"use strict";vn=t=>new Promise(e=>setTimeout(e,t))});var ui={};G(ui,{customElement:()=>V,isNumber:()=>Nd,jsonProperty:()=>we,optionalNumberProperty:()=>Km});function we(t,e){let r=()=>JSON.parse(JSON.stringify(t));return O({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:kt,...e??{}})}function Km(t){return O({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Nd(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Nd(t){return!isNaN(parseFloat(t))}var V,Cn=f(()=>{"use strict";ne();Dt();V=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});function E(t,e){return gt(`${t.name}: ${e}`)}var gt,o,q=f(()=>{z();gt=t=>typeof t=="string"?Xt(t):t,o=class{static create(e,r,n,a){let i=c=>gt(c??a),s=L`var(${gt(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=c=>L`var(${gt(e)}, ${i(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,r,n,a){let i=c=>n.get(c??a),s=L`var(${gt(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=c=>L`var(${gt(e)}, ${i(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,r){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):gt(i??e.lastResortDefaultValue()),a=L`var(${gt(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=n,a.get=i=>L`var(${gt(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}}});var l,pi,fi,hi,mi,yi,gi,bi,xi,vi,Td,Si,Ci,Oi,Ei,wi,Ai,Ri,Ni,Ti,_i,Pi,Li,Ii,ki,Di,Mi,_o,Zm,Q=f(()=>{q();l={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(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"),opacity12:o.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},pi={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")},fi={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")},hi={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")},mi={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")},yi={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")},gi={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")},bi={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")},xi={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")},vi={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")},Td={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")},Si={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")},Ci={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")},Oi={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")},Ei={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")},wi={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")},Ai={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")},Ri={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")},Ni={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")},Ti={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")},_i={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")},Pi={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")},Li={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")},Ii={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")},ki={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")},Di={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")},Mi={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")},_o={display:pi,"title-1":fi,"title-2":hi,"title-3":mi,"body-1-regular":yi,"body-1-medium":gi,"body-1-semibold":bi,"body-2-regular":xi,"body-2-medium":vi,"body-2-medium-underline":Td,"body-2-semibold":Si,"label-1-medium":Ci,"label-1-semibold":Oi,"label-1-bold":Ei,"label-2-medium":wi,"label-2-semibold":Ai,"label-2-bold":Ri,"caption-1-medium":Ni,"caption-1-semibold":Ti,"caption-1-bold":_i,"caption-2-medium":Pi,"caption-2-semibold":Li,"caption-2-bold":Ii,"caption-3-medium":ki,"caption-3-semibold":Di,"caption-3-bold":Mi},Zm=["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 u,te=f(()=>{q();Q();u={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
4
|
-
Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)}});var b,_d=f(()=>{q();Q();te();b={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",u.contentErrorPrimary)}});var qm,Pd=f(()=>{q();Q();te();qm={iconSize:o.extend("--ft-checkbox-icon-size","",l.iconSize2),boxSize:o.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ft-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ft-checkbox-horizontal-gap","",l.spacing3),leftPadding:o.extend("--ft-checkbox-left-padding","",l.spacing2)}});var Ym,Ld=f(()=>{q();Q();te();Ym={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ft-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ft-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ft-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ft-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ft-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ft-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ft-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ft-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:o.extend("--ft-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:o.extend("--ft-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:o.extend("--ft-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:o.extend("--ft-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:o.extend("--ft-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:o.extend("--ft-table-data-cell-vertical-gap","",l.spacing1)}});var Qm,Id=f(()=>{q();Q();te();Qm={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)}});var Xm,kd=f(()=>{q();Q();te();Xm={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)}});var Jm,Dd=f(()=>{q();Q();te();Jm={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",l.colorBrand100)}});var ey,Md=f(()=>{q();Q();te();ey={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)}});var ty,$d=f(()=>{q();Q();te();ty={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",u.contentActionPrimary)}});var ry,Bd=f(()=>{q();Q();te();ry={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",u.contentGlobalSubtle)}});var oy,Fd=f(()=>{q();Q();te();oy={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",l.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",l.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var ny,Ud=f(()=>{q();Q();te();ny={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",l.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",l.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",l.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",l.spacing4)}});var ay,Wd=f(()=>{q();Q();ay={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",l.spacing6)}});var iy,Hd=f(()=>{q();Q();te();iy={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)}});var sy,zd=f(()=>{q();Q();te();sy={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",l.colorGray700)}});var cy,jd=f(()=>{q();Q();te();cy={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)}});var ly,Vd=f(()=>{q();Q();te();ly={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",u.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","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)}});var dy,Gd=f(()=>{q();Q();te();dy={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusM)}});var uy,Kd=f(()=>{q();Q();te();uy={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",l.shadowElevation02)}});var py,Zd=f(()=>{q();Q();te();py={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)}});var fy,qd=f(()=>{q();Q();te();fy={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)}});var hy,Yd=f(()=>{q();Q();te();hy={backgroundColor:o.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:o.extend("--ft-popover-gap","",l.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")}});var my,Qd=f(()=>{q();Q();te();my={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)}});var yy,Xd=f(()=>{q();Q();te();yy={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)}});var gy,Jd=f(()=>{q();Q();gy={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)}});var by,eu=f(()=>{q();Q();by={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)}});var xy,tu=f(()=>{q();Q();te();xy={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",l.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")}});var vy,ru=f(()=>{q();Q();te();vy={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)}});var Sy,ou=f(()=>{q();Q();te();Sy={color:o.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",l.spacing3)}});var Cy,nu=f(()=>{q();Q();te();Cy={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)}});var Oy,au=f(()=>{q();Q();te();Oy={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)}});var Ey,iu=f(()=>{q();Q();te();Ey={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",l.spacing4),gap:o.extend("--ft-reorderable-list-gap","",l.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",l.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",l.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)}});var su=f(()=>{Q();te();_d();Pd();Ld();Id();kd();Dd();Md();$d();Bd();Fd();Ud();Wd();Hd();zd();jd();Vd();Gd();Kd();Zd();qd();Yd();Qd();Xd();Jd();eu();tu();ru();ou();nu();au();iu()});function $i(t){return`ftds--family-${t}`}function Bi(t){return`ftds--size-${t}`}var sr,bt,cu=f(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(sr||(sr={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(bt||(bt={}))});var K=f(()=>{q();su();cu()});var Fi={};G(Fi,{DesignSystemFamily:()=>sr,DesignSystemSize:()=>bt,FtCssVariableFactory:()=>o,badge:()=>ty,banner:()=>ey,button:()=>b,chart:()=>gy,checkbox:()=>qm,chip:()=>Xm,chipChoice:()=>Qm,collapsible:()=>my,comboboxMultiSelect:()=>fy,comboboxSingleSelect:()=>py,drawer:()=>sy,floatingMenu:()=>uy,foundation:()=>l,link:()=>Jm,modal:()=>iy,notice:()=>xy,notification:()=>Cy,pageDesigner:()=>by,pageFooter:()=>ny,pageHeader:()=>oy,pageLayout:()=>ay,popover:()=>hy,radio:()=>Sy,reorderableList:()=>Ey,resolveFamilyClass:()=>$i,resolveSizeClass:()=>Bi,semantic:()=>u,setVariable:()=>E,switch_:()=>yy,table:()=>Ym,tabs:()=>cy,textArea:()=>dy,textInput:()=>ly,titleBreadcrumb:()=>ry,toggle:()=>vy,tooltip:()=>Oy,typographies:()=>_o,typographyBody1Medium:()=>gi,typographyBody1Regular:()=>yi,typographyBody1Semibold:()=>bi,typographyBody2Medium:()=>vi,typographyBody2MediumUnderline:()=>Td,typographyBody2Regular:()=>xi,typographyBody2Semibold:()=>Si,typographyCaption1Bold:()=>_i,typographyCaption1Medium:()=>Ni,typographyCaption1Semibold:()=>Ti,typographyCaption2Bold:()=>Ii,typographyCaption2Medium:()=>Pi,typographyCaption2Semibold:()=>Li,typographyCaption3Bold:()=>Mi,typographyCaption3Medium:()=>ki,typographyCaption3Semibold:()=>Di,typographyDisplay:()=>pi,typographyLabel1Bold:()=>Ei,typographyLabel1Medium:()=>Ci,typographyLabel1Semibold:()=>Oi,typographyLabel2Bold:()=>Ri,typographyLabel2Medium:()=>wi,typographyLabel2Semibold:()=>Ai,typographyTitle1:()=>fi,typographyTitle2:()=>hi,typographyTitle3:()=>mi,typographyVariants:()=>Zm});var On=f(()=>{"use strict";K()});var Ui={};G(Ui,{designSystemVariables:()=>D});var D,Wi=f(()=>{"use strict";On();D={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")}});function ji(t,e,r){return Mt(t,En(e,r))}function Lr(t,e){return typeof t=="function"?t(e):t}function $t(t){return t.split("-")[0]}function at(t){return t.split("-")[1]}function Vi(t){return t==="x"?"y":"x"}function Gi(t){return t==="y"?"height":"width"}function Ir(t){return["top","bottom"].includes($t(t))?"y":"x"}function Ki(t){return Vi(Ir(t))}function uu(t,e,r){r===void 0&&(r=!1);let n=at(t),a=Ki(t),i=Gi(a),s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Hi(s)),[s,Hi(s)]}function pu(t){return t.replace(/start|end/g,e=>Ay[e])}function Hi(t){return t.replace(/left|right|bottom|top/g,e=>wy[e])}function Ry(t){return{top:0,right:0,bottom:0,left:0,...t}}function fu(t){return typeof t!="number"?Ry(t):{top:t,right:t,bottom:t,left:t}}function cr(t){let{x:e,y:r,width:n,height:a}=t;return{width:n,height:a,top:r,left:e,right:e+n,bottom:r+a,x:e,y:r}}var du,lu,zi,En,Mt,wy,Ay,Zi=f(()=>{du=["top","right","bottom","left"],lu=["start","end"],zi=du.reduce((t,e)=>t.concat(e,e+"-"+lu[0],e+"-"+lu[1]),[]),En=Math.min,Mt=Math.max,wy={left:"right",right:"left",bottom:"top",top:"bottom"},Ay={start:"end",end:"start"}});function hu(t,e,r){let{reference:n,floating:a}=t,i=Ir(e),s=Ki(e),c=Gi(s),d=$t(e),p=i==="y",m=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,g=n[c]/2-a[c]/2,x;switch(d){case"top":x={x:m,y:n.y-a.height};break;case"bottom":x={x:m,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:h};break;case"left":x={x:n.x-a.width,y:h};break;default:x={x:n.x,y:n.y}}switch(at(e)){case"start":x[s]-=g*(r&&p?-1:1);break;case"end":x[s]+=g*(r&&p?-1:1);break}return x}async function wn(t,e){var r;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:c,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:m="viewport",elementContext:h="floating",altBoundary:g=!1,padding:x=0}=Lr(e,t),v=fu(x),_=c[g?h==="floating"?"reference":"floating":h],T=cr(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(_)))==null||r?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:p,rootBoundary:m,strategy:d})),I=h==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,A=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),S=await(i.isElement==null?void 0:i.isElement(A))?await(i.getScale==null?void 0:i.getScale(A))||{x:1,y:1}:{x:1,y:1},R=cr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:I,offsetParent:A,strategy:d}):I);return{top:(T.top-R.top+v.top)/S.y,bottom:(R.bottom-T.bottom+v.bottom)/S.y,left:(T.left-R.left+v.left)/S.x,right:(R.right-T.right+v.right)/S.x}}function Ny(t,e,r){return(t?[...r.filter(a=>at(a)===t),...r.filter(a=>at(a)!==t)]:r.filter(a=>$t(a)===a)).filter(a=>t?at(a)===t||(e?pu(a)!==a:!1):!0)}async function Ty(t,e){let{placement:r,platform:n,elements:a}=t,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=$t(r),c=at(r),d=Ir(r)==="y",p=["left","top"].includes(s)?-1:1,m=i&&d?-1:1,h=Lr(e,t),{mainAxis:g,crossAxis:x,alignmentAxis:v}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof v=="number"&&(x=c==="end"?v*-1:v),d?{x:x*m,y:g*p}:{x:g*p,y:x*m}}var mu,An,qi,Yi,Qi,Xi=f(()=>{Zi();Zi();mu=async(t,e,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,c=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:m,y:h}=hu(p,n,d),g=n,x={},v=0;for(let w=0;w<c.length;w++){let{name:_,fn:T}=c[w],{x:I,y:A,data:S,reset:R}=await T({x:m,y:h,initialPlacement:n,placement:g,strategy:a,middlewareData:x,rects:p,platform:s,elements:{reference:t,floating:e}});m=I??m,h=A??h,x={...x,[_]:{...x[_],...S}},R&&v<=50&&(v++,typeof R=="object"&&(R.placement&&(g=R.placement),R.rects&&(p=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):R.rects),{x:m,y:h}=hu(p,g,d)),w=-1)}return{x:m,y:h,placement:g,strategy:a,middlewareData:x}};An=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,a;let{rects:i,middlewareData:s,placement:c,platform:d,elements:p}=e,{crossAxis:m=!1,alignment:h,allowedPlacements:g=zi,autoAlignment:x=!0,...v}=Lr(t,e),w=h!==void 0||g===zi?Ny(h||null,x,g):g,_=await wn(e,v),T=((r=s.autoPlacement)==null?void 0:r.index)||0,I=w[T];if(I==null)return{};let A=uu(I,i,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(c!==I)return{reset:{placement:w[0]}};let S=[_[$t(I)],_[A[0]],_[A[1]]],R=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:I,overflows:S}],B=w[T+1];if(B)return{data:{index:T+1,overflows:R},reset:{placement:B}};let j=R.map(F=>{let y=at(F.placement);return[F.placement,y&&m?F.overflows.slice(0,2).reduce((C,$)=>C+$,0):F.overflows[0],F.overflows]}).sort((F,y)=>F[1]-y[1]),Z=((a=j.filter(F=>F[2].slice(0,at(F[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||j[0][0];return Z!==c?{data:{index:T+1,overflows:R},reset:{placement:Z}}:{}}}};qi=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:a,y:i,placement:s,middlewareData:c}=e,d=await Ty(e,t);return s===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},Yi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:c={fn:_=>{let{x:T,y:I}=_;return{x:T,y:I}}},...d}=Lr(t,e),p={x:r,y:n},m=await wn(e,d),h=Ir($t(a)),g=Vi(h),x=p[g],v=p[h];if(i){let _=g==="y"?"top":"left",T=g==="y"?"bottom":"right",I=x+m[_],A=x-m[T];x=ji(I,x,A)}if(s){let _=h==="y"?"top":"left",T=h==="y"?"bottom":"right",I=v+m[_],A=v-m[T];v=ji(I,v,A)}let w=c.fn({...e,[g]:x,[h]:v});return{...w,data:{x:w.x-r,y:w.y-n,enabled:{[g]:i,[h]:s}}}}}},Qi=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,n;let{placement:a,rects:i,platform:s,elements:c}=e,{apply:d=()=>{},...p}=Lr(t,e),m=await wn(e,p),h=$t(a),g=at(a),x=Ir(a)==="y",{width:v,height:w}=i.floating,_,T;h==="top"||h==="bottom"?(_=h,T=g===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(T=h,_=g==="end"?"top":"bottom");let I=w-m.top-m.bottom,A=v-m.left-m.right,S=En(w-m[_],I),R=En(v-m[T],A),B=!e.middlewareData.shift,j=S,X=R;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(X=A),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(j=I),B&&!g){let F=Mt(m.left,0),y=Mt(m.right,0),C=Mt(m.top,0),$=Mt(m.bottom,0);x?X=v-2*(F!==0||y!==0?F+y:Mt(m.left,m.right)):j=w-2*(C!==0||$!==0?C+$:Mt(m.top,m.bottom))}await d({...e,availableWidth:X,availableHeight:j});let Z=await s.getDimensions(c.floating);return v!==Z.width||w!==Z.height?{reset:{rects:!0}}:{}}}}});var Ji,kr,Po,xt,yu=f(()=>{Ji=Math.min,kr=Math.max,Po=Math.round,xt=t=>({x:t,y:t})});function vt(t){return bu(t)?(t.nodeName||"").toLowerCase():"#document"}function Le(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function St(t){var e;return(e=(bu(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function bu(t){return t instanceof Node||t instanceof Le(t).Node}function it(t){return t instanceof Element||t instanceof Le(t).Element}function Ye(t){return t instanceof HTMLElement||t instanceof Le(t).HTMLElement}function gu(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Le(t).ShadowRoot}function Dr(t){let{overflow:e,overflowX:r,overflowY:n,display:a}=Fe(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(a)}function xu(t){return["table","td","th"].includes(vt(t))}function Nn(t){let e=Tn(),r=Fe(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 vu(t){let e=lr(t);for(;Ye(e)&&!Lo(e);){if(Nn(e))return e;e=lr(e)}return null}function Tn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Lo(t){return["html","body","#document"].includes(vt(t))}function Fe(t){return Le(t).getComputedStyle(t)}function Io(t){return it(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function lr(t){if(vt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||gu(t)&&t.host||St(t);return gu(e)?e.host:e}function Su(t){let e=lr(t);return Lo(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ye(e)&&Dr(e)?e:Su(e)}function Rn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let a=Su(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),s=Le(a);return i?e.concat(s,s.visualViewport||[],Dr(a)?a:[],s.frameElement&&r?Rn(s.frameElement):[]):e.concat(a,Rn(a,[],r))}var Cu=f(()=>{});function wu(t){let e=Fe(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=Ye(t),i=a?t.offsetWidth:r,s=a?t.offsetHeight:n,c=Po(r)!==i||Po(n)!==s;return c&&(r=i,n=s),{width:r,height:n,$:c}}function Au(t){return it(t)?t:t.contextElement}function Mr(t){let e=Au(t);if(!Ye(e))return xt(1);let r=e.getBoundingClientRect(),{width:n,height:a,$:i}=wu(e),s=(i?Po(r.width):r.width)/n,c=(i?Po(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}function Ru(t){let e=Le(t);return!Tn()||!e.visualViewport?_y:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Py(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Le(t)?!1:e}function ko(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let a=t.getBoundingClientRect(),i=Au(t),s=xt(1);e&&(n?it(n)&&(s=Mr(n)):s=Mr(t));let c=Py(i,r,n)?Ru(i):xt(0),d=(a.left+c.x)/s.x,p=(a.top+c.y)/s.y,m=a.width/s.x,h=a.height/s.y;if(i){let g=Le(i),x=n&&it(n)?Le(n):n,v=g.frameElement;for(;v&&n&&x!==g;){let w=Mr(v),_=v.getBoundingClientRect(),T=Fe(v),I=_.left+(v.clientLeft+parseFloat(T.paddingLeft))*w.x,A=_.top+(v.clientTop+parseFloat(T.paddingTop))*w.y;d*=w.x,p*=w.y,m*=w.x,h*=w.y,d+=I,p+=A,v=Le(v).frameElement}}return cr({width:m,height:h,x:d,y:p})}function Ly(t){let{rect:e,offsetParent:r,strategy:n}=t,a=Ye(r),i=St(r);if(r===i)return e;let s={scrollLeft:0,scrollTop:0},c=xt(1),d=xt(0);if((a||!a&&n!=="fixed")&&((vt(r)!=="body"||Dr(i))&&(s=Io(r)),Ye(r))){let p=ko(r);c=Mr(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+d.x,y:e.y*c.y-s.scrollTop*c.y+d.y}}function Iy(t){return Array.from(t.getClientRects())}function Nu(t){return ko(St(t)).left+Io(t).scrollLeft}function ky(t){let e=St(t),r=Io(t),n=t.ownerDocument.body,a=kr(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=kr(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Nu(t),c=-r.scrollTop;return Fe(n).direction==="rtl"&&(s+=kr(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:c}}function Dy(t,e){let r=Le(t),n=St(t),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,c=0,d=0;if(a){i=a.width,s=a.height;let p=Tn();(!p||p&&e==="fixed")&&(c=a.offsetLeft,d=a.offsetTop)}return{width:i,height:s,x:c,y:d}}function My(t,e){let r=ko(t,!0,e==="fixed"),n=r.top+t.clientTop,a=r.left+t.clientLeft,i=Ye(t)?Mr(t):xt(1),s=t.clientWidth*i.x,c=t.clientHeight*i.y,d=a*i.x,p=n*i.y;return{width:s,height:c,x:d,y:p}}function Ou(t,e,r){let n;if(e==="viewport")n=Dy(t,r);else if(e==="document")n=ky(St(t));else if(it(e))n=My(e,r);else{let a=Ru(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return cr(n)}function Tu(t,e){let r=lr(t);return r===e||!it(r)||Lo(r)?!1:Fe(r).position==="fixed"||Tu(r,e)}function $y(t,e){let r=e.get(t);if(r)return r;let n=Rn(t,[],!1).filter(c=>it(c)&&vt(c)!=="body"),a=null,i=Fe(t).position==="fixed",s=i?lr(t):t;for(;it(s)&&!Lo(s);){let c=Fe(s),d=Nn(s);!d&&c.position==="fixed"&&(a=null),(i?!d&&!a:!d&&c.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Dr(s)&&!d&&Tu(t,s))?n=n.filter(m=>m!==s):a=c,s=lr(s)}return e.set(t,n),n}function By(t){let{element:e,boundary:r,rootBoundary:n,strategy:a}=t,s=[...r==="clippingAncestors"?$y(e,this._c):[].concat(r),n],c=s[0],d=s.reduce((p,m)=>{let h=Ou(e,m,a);return p.top=kr(h.top,p.top),p.right=Ji(h.right,p.right),p.bottom=Ji(h.bottom,p.bottom),p.left=kr(h.left,p.left),p},Ou(e,c,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Fy(t){return wu(t)}function Uy(t,e,r){let n=Ye(e),a=St(e),i=r==="fixed",s=ko(t,!0,i,e),c={scrollLeft:0,scrollTop:0},d=xt(0);if(n||!n&&!i)if((vt(e)!=="body"||Dr(a))&&(c=Io(e)),n){let p=ko(e,!0,i,e);d.x=p.x+e.clientLeft,d.y=p.y+e.clientTop}else a&&(d.x=Nu(a));return{x:s.left+c.scrollLeft-d.x,y:s.top+c.scrollTop-d.y,width:s.width,height:s.height}}function Eu(t,e){return!Ye(t)||Fe(t).position==="fixed"?null:e?e(t):t.offsetParent}function _u(t,e){let r=Le(t);if(!Ye(t))return r;let n=Eu(t,e);for(;n&&xu(n)&&Fe(n).position==="static";)n=Eu(n,e);return n&&(vt(n)==="html"||vt(n)==="body"&&Fe(n).position==="static"&&!Nn(n))?r:n||vu(t)||r}function Hy(t){return Fe(t).direction==="rtl"}var _y,Wy,$r,es,Pu=f(()=>{Xi();Xi();yu();Cu();_y=xt(0);Wy=async function(t){let{reference:e,floating:r,strategy:n}=t,a=this.getOffsetParent||_u,i=this.getDimensions;return{reference:Uy(e,await a(r),n),floating:{x:0,y:0,...await i(r)}}};$r={convertOffsetParentRelativeRectToViewportRelativeRect:Ly,getDocumentElement:St,getClippingRect:By,getOffsetParent:_u,getElementRects:Wy,getClientRects:Iy,getDimensions:Fy,getScale:Mr,isElement:it,isRTL:Hy},es=(t,e,r)=>{let n=new Map,a={platform:$r,...r},i={...a.platform,_c:n};return mu(t,e,{...a,platform:i})}});function rs(t){return zy(t)}function ts(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function zy(t){for(let e=t;e;e=ts(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=ts(t);e;e=ts(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 Lu=f(()=>{});var ns={};G(ns,{computeOffsetAutoPosition:()=>jy,computeOffsetPosition:()=>os});async function os(t,e,r){return es(t,e,{platform:{...$r,getOffsetParent:n=>$r.getOffsetParent(n,rs)},middleware:[Yi({crossAxis:!0}),An({allowedPlacements:[r]})]})}async function jy(t,e,r,n,a,i,s=4){return es(t,e,{placement:r,strategy:a,platform:{...$r,getOffsetParent:c=>$r.getOffsetParent(c,rs)},middleware:[qi(s),An({allowedPlacements:n}),Qi({apply({availableHeight:c,elements:d}){i?d.floating.style.maxHeight=`min(${Math.max(0,c)}px, var(${i}))`:d.floating.style.maxHeight=`${Math.max(0,c)}px`}})]})}var _n=f(()=>{"use strict";Pu();Lu()});var as={};G(as,{ScopedRegistryLitElement:()=>Do});var Do,Pn=f(()=>{"use strict";z();cn();Do=class extends yt{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return go(n,e.elementStyles),n}}});var ss={};G(ss,{shadowQuerySelector:()=>is,shadowQuerySelectorAll:()=>Vy});function is(t,e,...r){var n;let a=t.querySelector(e);for(let i of r)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function Vy(t,e,...r){let n=[...t.querySelectorAll(e)];for(let a of r)n=n.flatMap(i=>{var s,c;return[...(c=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&c!==void 0?c:[]]});return n}var Ln=f(()=>{"use strict"});var cs={};G(cs,{FtLitElement:()=>J});var Mo,Mu,Iu,ku,$u,Du,J,$o=f(()=>{"use strict";ne();Cn();xn();Pn();Ln();Mo=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Iu=Symbol("constructorPrototype"),ku=Symbol("constructorName"),$u=Symbol("exportpartsDebouncer"),Du=Symbol("dynamicDependenciesLoaded"),J=class extends Do{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Mu]=new Se(5),this[ku]=this.constructor.name,this[Iu]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ku]&&Object.setPrototypeOf(this,this[Iu])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Du]||(e[Du]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];r=is(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}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[$u].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,a,i,s,c;let d=g=>g!=null&&g.trim().length>0,p=e.filter(d).map(g=>g.trim());if(p.length===0){this.removeAttribute("exportparts");return}let m=new Set;for(let g of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],v=(c=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(w=>w.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...x,...v).filter(d).map(w=>w.trim()).forEach(w=>m.add(w))}if(m.size===0){this.removeAttribute("exportparts");return}let h=[...m.values()].flatMap(g=>p.map(x=>`${g}:${x}--${g}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};Mu=$u;Mo([O()],J.prototype,"exportpartsPrefix",void 0);Mo([we([])],J.prototype,"exportpartsPrefixes",void 0);Mo([O()],J.prototype,"customStylesheet",void 0);Mo([O()],J.prototype,"elementToFocus",void 0);Mo([le()],J.prototype,"useAdoptedStyleSheets",void 0)});var ds={};G(ds,{FtdsBase:()=>ls,toFtdsBase:()=>In});function In(t){class e extends t{constructor(){super(...arguments),this.size=bt.medium,this.family=sr.neutral}getDesignSystemBaseClasses(){return{[$i(this.family)]:!0,[Bi(this.size)]:!0}}}return Bu([O()],e.prototype,"size",void 0),Bu([O()],e.prototype,"family",void 0),e}var Bu,ls,us=f(()=>{"use strict";$o();ne();K();Bu=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i};ls=class extends In(J){}});var Fu={};var ps=f(()=>{"use strict"});var dr,Uu=f(()=>{dr=class t{constructor(e,r=!0,n=[],a=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=a}static matches(e,r){let n=typeof r=="string"?[r]:r,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return n.every(s=>a.call(e,s)?(i=!0,!1):!0),i}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 a=r.filter(i=>i.contains(n)).length>0;r.indexOf(n)===-1&&!a&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&r(a)}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 a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),i=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,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||r()})},a=>{a||r()})}forEachIframe(e,r,n,a=()=>{}){let i=e.querySelectorAll("iframe"),s=i.length,c=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(c)};s||d(),i.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,m=>{r(p)&&(c++,n(m)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let a=e.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,a){let i=!1,s=!1;return a.forEach((c,d)=>{c.val===n&&(i=d,s=c.handled)}),this.compareNodeIframe(e,r,n)?(i===!1&&!s?a.push({val:n,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,a)})})}iterateThroughNodes(e,r,n,a,i){let s=this.createIterator(r,e,a),c=[],d=[],p,m,h=()=>({prevNode:m,node:p}=this.getIteratorNode(s),p);for(;h();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(p,m,g,c),g=>{this.createInstanceOnIframe(g).forEachNode(e,x=>d.push(x),a)}),d.push(p);d.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(c,e,n,a),i()}forEachNode(e,r,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(c,d):d()})}}});var Bo,Wu=f(()=>{Uu();Bo=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new dr(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",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),a+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+a))}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,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?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"],a=[];return e.split("").forEach(i=>{n.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,s="";switch(i.forEach(c=>{s+=`|${this.escapeStr(c)}`}),a){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(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,a)=>a.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((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:c}=this.callNoMatchOnInvalidRanges(a,n);c&&(a.start=i,a.length=s-i,r.push(a),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,a,i=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),a=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-r>0&&a-n>0?i=!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:a,valid:i}}checkWhitespaceRanges(e,r,n){let a,i=!0,s=n.length,c=r-s,d=parseInt(e.start,10)-c;return d=d>s?s:d,a=d+parseInt(e.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:a,valid:i}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return dr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(r),s=i.splitText(n-r),c=document.createElement(a);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=i.textContent,i.parentNode.replaceChild(c,i),s}wrapRangeInMappedTextNode(e,r,n,a,i){e.nodes.every((s,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let p=r-s.start,m=(n>s.end?s.end:n)-s.start,h=e.value.substr(0,s.start),g=e.value.substr(m+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,m),e.value=h+g,e.nodes.forEach((x,v)=>{v>=c&&(e.nodes[v].start>0&&v!==c&&(e.nodes[v].start-=m),e.nodes[v].end-=m)}),n-=m,i(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[s]!=="";){if(!n(p[s],d))continue;let m=p.index;if(s!==0)for(let h=1;h<s;h++)m+=p[h].length;d=this.wrapRangeInTextNode(d,m,m+p[s].length),a(d.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let h=1;h<s;h++)p+=d[h].length;let m=p+d[s].length;this.wrapRangeInMappedTextNode(c,p,m,h=>n(d[s],h),(h,g)=>{e.lastIndex=g,a(h)})}i()})}wrapRangeFromIndex(e,r,n,a){this.getTextNodes(i=>{let s=i.value.length;e.forEach((c,d)=>{let{start:p,end:m,valid:h}=this.checkWhitespaceRanges(c,s,i.value);h&&this.wrapRangeInMappedTextNode(i,p,m,g=>r(g,c,i.value.substring(p,m),d),g=>{n(g,c)})}),a()})}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,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),i,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=p=>{let m=new RegExp(this.createRegExp(p),`gm${c}`),h=0;this.log(`Searching with expression "${m}"`),this[a](m,1,(g,x)=>this.opt.filter(x,p,n,h),g=>{h++,n++,this.opt.each(g)},()=>{h===0&&this.opt.noMatch(p),i[s-1]===p?this.opt.done(n):d(i[i.indexOf(p)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(i[0])}markRanges(e,r){this.opt=r;let n=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,c,d)=>this.opt.filter(i,s,c,d),(i,s)=>{n++,this.opt.each(i,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 a=dr.matches(n,r),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function fs(t){let e=new Bo(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var Hu=f(()=>{Wu()});var ms={};G(ms,{highlightHtml:()=>hs,highlightHtmlColorCssVariable:()=>zu,highlightHtmlStyles:()=>Ky});function hs(t,e,r){var n,a;let i=t.getAttribute("data-highlight-html-query");if((i??"")!==(e??"")){let s=new Gy(t);if(s.unmark(),e&&e.trim()){let c={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(c.each=p=>{for(let m in r.attributes)p.setAttribute(m,r.attributes[m])}),s.mark(e.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((a=e.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...c,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var Gy,zu,Ky,ys=f(()=>{"use strict";z();K();Hu();Gy=fs,zu=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ky=L`
|
|
1
|
+
"use strict";(()=>{var Cm=Object.create;var ka=Object.defineProperty;var Om=Object.getOwnPropertyDescriptor;var Em=Object.getOwnPropertyNames;var wm=Object.getPrototypeOf,Am=Object.prototype.hasOwnProperty;var f=(t,e)=>()=>(t&&(e=t(t=0)),e);var Rm=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),G=(t,e)=>{for(var r in e)ka(t,r,{get:e[r],enumerable:!0})},Nm=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Em(e))!Am.call(t,a)&&a!==r&&ka(t,a,{get:()=>e[a],enumerable:!(n=Om(e,a))||n.enumerable});return t};var Tm=(t,e,r)=>(r=t!=null?Cm(wm(t)):{},Nm(e||!t||!t.__esModule?ka(r,"default",{value:t,enumerable:!0}):r,t));var Gl=f(()=>{if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(A,S){if(A=A.toLowerCase(),this._getDefinition(A)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${A}" 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 R=S.prototype.attributeChangedCallback,F=new Set(S.observedAttributes||[]);g(S,F,R);let j={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:F};this._definitionsByTag.set(A,j),this._definitionsByClass.set(S,j);let X=r.call(n,A);X||(X=h(A),e.call(n,A,X)),this===window.customElements&&(s.set(S,j),j.standInClass=X);let Z=this._awaitingUpgrade.get(A);if(Z){this._awaitingUpgrade.delete(A);for(let y of Z)i.delete(y),v(y,j,!0)}let B=this._whenDefinedPromises.get(A);return B!==void 0&&(B.resolve(S),this._whenDefinedPromises.delete(A)),S}upgrade(){_.push(this),n.upgrade.apply(n,arguments),_.pop()}get(A){return this._definitionsByTag.get(A)?.elementClass}_getDefinition(A){return this._definitionsByTag.get(A)}whenDefined(A){let S=this._getDefinition(A);if(S!==void 0)return Promise.resolve(S.elementClass);let R=this._whenDefinedPromises.get(A);return R===void 0&&(R={},R.promise=new Promise(F=>R.resolve=F),this._whenDefinedPromises.set(A,R)),R.promise}_upgradeWhenDefined(A,S,R){let F=this._awaitingUpgrade.get(S);F||this._awaitingUpgrade.set(S,F=new Set),R?F.add(A):F.delete(A)}};let d;window.HTMLElement=function(){let S=d;if(S)return d=void 0,S;let R=s.get(this.constructor);if(!R)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(t,[],R.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),a.set(S,R),S},window.HTMLElement.prototype=t.prototype;let p=A=>A===document||A instanceof ShadowRoot,m=A=>{let S=A.getRootNode();if(!p(S)){let R=_[_.length-1];if(R instanceof CustomElementRegistry)return R;S=R.getRootNode(),p(S)||(S=c.get(S)?.getRootNode()||document)}return S.customElements},h=A=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let F=m(R)||window.customElements,j=F._getDefinition(A);return j?v(R,j):i.set(R,F),R}connectedCallback(){let R=a.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,A,!0)}disconnectedCallback(){let R=a.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,A,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=a.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=a.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=a.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=a.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},g=(A,S,R)=>{if(S.size===0||R===void 0)return;let F=A.prototype.setAttribute;F&&(A.prototype.setAttribute=function(Z,B){let y=Z.toLowerCase();if(S.has(y)){let C=this.getAttribute(y);F.call(this,y,B),R.call(this,y,C,B)}else F.call(this,y,B)});let j=A.prototype.removeAttribute;j&&(A.prototype.removeAttribute=function(Z){let B=Z.toLowerCase();if(S.has(B)){let y=this.getAttribute(B);j.call(this,B),R.call(this,B,y,null)}else j.call(this,B)});let X=A.prototype.toggleAttribute;X&&(A.prototype.toggleAttribute=function(Z,B){let y=Z.toLowerCase();if(S.has(y)){let C=this.getAttribute(y);X.call(this,y,B);let $=this.getAttribute(y);R.call(this,y,C,$)}else X.call(this,y,B)})},x=A=>{let S=Object.getPrototypeOf(A);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(A,window.HTMLElement):x(S)},v=(A,S,R=!1)=>{Object.setPrototypeOf(A,S.elementClass.prototype),a.set(A,S),d=A;try{new S.elementClass}catch{x(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(F=>{A.hasAttribute(F)&&S.attributeChangedCallback.call(A,F,null,A.getAttribute(F))}),R&&S.connectedCallback&&A.isConnected&&S.connectedCallback.call(A)},w=Element.prototype.attachShadow;Element.prototype.attachShadow=function(A){let S=w.apply(this,arguments);return A.customElements&&(S.customElements=A.customElements),S};let _=[document],T=(A,S,R=void 0)=>{let F=(R?Object.getPrototypeOf(R):A.prototype)[S];A.prototype[S]=function(){_.push(this);let j=F.apply(R||this,arguments);return j!==void 0&&c.set(j,this),_.pop(),j}};T(ShadowRoot,"createElement",document),T(ShadowRoot,"importNode",document),T(Element,"insertAdjacentHTML");let L=(A,S)=>{let R=Object.getOwnPropertyDescriptor(A.prototype,S);Object.defineProperty(A.prototype,S,{...R,set(F){_.push(this),R.set.call(this,F),_.pop()}})};if(L(Element,"innerHTML"),L(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let A=new WeakMap,S=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...Z){let B=S.call(this,...Z);return A.set(B,this),B},R.forEach(Z=>{let B=window.ElementInternals.prototype,y=B[Z];B[Z]=function(...C){let $=A.get(this);if(a.get($).formAssociated===!0)return y?.call(this,...C);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class F extends Array{constructor(B){super(...B),this._elements=B}get value(){return this._elements.find(B=>B.checked===!0)?.value||""}}class j{constructor(B){let y=new Map;B.forEach((C,$)=>{let ee=C.getAttribute("name"),se=y.get(ee)||[];this[+$]=C,se.push(C),y.set(ee,se)}),this.length=B.length,y.forEach((C,$)=>{C&&(C.length===1?this[$]=C[0]:this[$]=new F(C))})}namedItem(B){return this[B]}}let X=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let Z=X.get.call(this,[]),B=[];for(let y of Z){let C=a.get(y);(!C||C.formAssociated===!0)&&B.push(y)}return new j(B)}})}}});var Kl=f(()=>{"use strict";Gl();try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,a)=>{if(n!==null)try{e.bind(window.customElements)(r,n,a)}catch(i){console.info(r,n,a,i)}}}});var ln,vo,Da,Zl,Er,Jt,I,So,dn,un=f(()=>{ln=globalThis,vo=ln.ShadowRoot&&(ln.ShadyCSS===void 0||ln.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Da=Symbol(),Zl=new WeakMap,Er=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Da)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=Zl.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Zl.set(r,e))}return e}toString(){return this.cssText}},Jt=t=>new Er(typeof t=="string"?t:t+"",void 0,Da),I=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,a,i)=>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.")})(a)+t[i+1],t[0]);return new Er(r,t,Da)},So=(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"),a=ln.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}},dn=vo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Jt(r)})(t):t});var _m,Pm,Im,Lm,km,Dm,pn,ql,Mm,$m,Co,wr,Oo,Yl,et,Eo=f(()=>{un();un();({is:_m,defineProperty:Pm,getOwnPropertyDescriptor:Im,getOwnPropertyNames:Lm,getOwnPropertySymbols:km,getPrototypeOf:Dm}=Object),pn=globalThis,ql=pn.trustedTypes,Mm=ql?ql.emptyScript:"",$m=pn.reactiveElementPolyfillSupport,Co=(t,e)=>t,wr={toAttribute(t,e){switch(e){case Boolean:t=t?Mm: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}},Oo=(t,e)=>!_m(t,e),Yl={attribute:!0,type:String,converter:wr,reflect:!1,useDefault:!1,hasChanged:Oo};Symbol.metadata??=Symbol("metadata"),pn.litPropertyMetadata??=new WeakMap;et=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Yl){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,r);a!==void 0&&Pm(this.prototype,e,a)}}static getPropertyDescriptor(e,r,n){let{get:a,set:i}=Im(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get:a,set(s){let c=a?.call(this);i?.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Yl}static _$Ei(){if(this.hasOwnProperty(Co("elementProperties")))return;let e=Dm(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Co("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Co("properties"))){let r=this.properties,n=[...Lm(r),...km(r)];for(let a of n)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,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 a of n)r.unshift(dn(a))}else e!==void 0&&r.push(dn(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._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){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 So(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$ET(e,r){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:wr).toAttribute(r,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:wr;this._$Em=a,this[a]=s.fromAttribute(r,i.type)??this._$Ej?.get(a)??null,this._$Em=null}}requestUpdate(e,r,n){if(e!==void 0){let a=this.constructor,i=this[e];if(n??=a.getPropertyOptions(e),!((n.hasChanged??Oo)(i,r)||n.useDefault&&n.reflect&&i===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,n))))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:n,reflect:a,wrapped:i},s){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??r??this[e]),i!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(r=void 0),this._$AL.set(e,r)),a===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}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[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n){let{wrapped:s}=i,c=this[a];s!==!0||this._$AL.has(a)||c===void 0||this.C(a,void 0,i,c)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(e){}firstUpdated(e){}};et.elementStyles=[],et.shadowRootOptions={mode:"open"},et[Co("elementProperties")]=new Map,et[Co("finalized")]=new Map,$m?.({ReactiveElement:et}),(pn.reactiveElementVersions??=[]).push("2.1.0")});function ad(t,e){if(!Ua(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ql!==void 0?Ql.createHTML(e):e}function or(t,e,r=t,n){if(e===Ee)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=Ro(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=or(t,a._$AS(t,e.values),a,n)),e}var $a,fn,Ql,Fa,mt,Ba,Fm,rr,Ao,Ro,Ua,od,Ma,wo,Xl,Jl,er,ed,td,nd,Ha,M,Wa,za,Ee,W,rd,tr,id,No,hn,Ar,nr,mn,yn,gn,bn,ja,Bm,Va,qe=f(()=>{$a=globalThis,fn=$a.trustedTypes,Ql=fn?fn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Fa="$lit$",mt=`lit$${Math.random().toFixed(9).slice(2)}$`,Ba="?"+mt,Fm=`<${Ba}>`,rr=document,Ao=()=>rr.createComment(""),Ro=t=>t===null||typeof t!="object"&&typeof t!="function",Ua=Array.isArray,od=t=>Ua(t)||typeof t?.[Symbol.iterator]=="function",Ma=`[
|
|
2
|
+
\f\r]`,wo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Xl=/-->/g,Jl=/>/g,er=RegExp(`>|${Ma}(?:([^\\s"'>=/]+)(${Ma}*=${Ma}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),ed=/'/g,td=/"/g,nd=/^(?:script|style|textarea|title)$/i,Ha=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),M=Ha(1),Wa=Ha(2),za=Ha(3),Ee=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),rd=new WeakMap,tr=rr.createTreeWalker(rr,129);id=(t,e)=>{let r=t.length-1,n=[],a,i=e===2?"<svg>":e===3?"<math>":"",s=wo;for(let c=0;c<r;c++){let d=t[c],p,m,h=-1,g=0;for(;g<d.length&&(s.lastIndex=g,m=s.exec(d),m!==null);)g=s.lastIndex,s===wo?m[1]==="!--"?s=Xl:m[1]!==void 0?s=Jl:m[2]!==void 0?(nd.test(m[2])&&(a=RegExp("</"+m[2],"g")),s=er):m[3]!==void 0&&(s=er):s===er?m[0]===">"?(s=a??wo,h=-1):m[1]===void 0?h=-2:(h=s.lastIndex-m[2].length,p=m[1],s=m[3]===void 0?er:m[3]==='"'?td:ed):s===td||s===ed?s=er:s===Xl||s===Jl?s=wo:(s=er,a=void 0);let x=s===er&&t[c+1].startsWith("/>")?" ":"";i+=s===wo?d+Fm:h>=0?(n.push(p),d.slice(0,h)+Fa+d.slice(h)+mt+x):d+mt+(h===-2?c:x)}return[ad(t,i+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},No=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,c=e.length-1,d=this.parts,[p,m]=id(e,r);if(this.el=t.createElement(p,n),tr.currentNode=this.el.content,r===2||r===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=tr.nextNode())!==null&&d.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(Fa)){let g=m[s++],x=a.getAttribute(h).split(mt),v=/([.?@])?(.*)/.exec(g);d.push({type:1,index:i,name:v[2],strings:x,ctor:v[1]==="."?mn:v[1]==="?"?yn:v[1]==="@"?gn:nr}),a.removeAttribute(h)}else h.startsWith(mt)&&(d.push({type:6,index:i}),a.removeAttribute(h));if(nd.test(a.tagName)){let h=a.textContent.split(mt),g=h.length-1;if(g>0){a.textContent=fn?fn.emptyScript:"";for(let x=0;x<g;x++)a.append(h[x],Ao()),tr.nextNode(),d.push({type:2,index:++i});a.append(h[g],Ao())}}}else if(a.nodeType===8)if(a.data===Ba)d.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(mt,h+1))!==-1;)d.push({type:7,index:i}),h+=mt.length-1}i++}}static createElement(e,r){let n=rr.createElement("template");return n.innerHTML=e,n}};hn=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,a=(e?.creationScope??rr).importNode(r,!0);tr.currentNode=a;let i=tr.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new Ar(i,i.nextSibling,this,e):d.type===1?p=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(p=new bn(i,this,e)),this._$AV.push(p),d=n[++c]}s!==d?.index&&(i=tr.nextNode(),s++)}return tr.currentNode=rr,a}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++}},Ar=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.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=or(this,e,r),Ro(e)?e===W||e==null||e===""?(this._$AH!==W&&this._$AR(),this._$AH=W):e!==this._$AH&&e!==Ee&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):od(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==W&&Ro(this._$AH)?this._$AA.nextSibling.data=e:this.T(rr.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=No.createElement(ad(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new hn(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(e){let r=rd.get(e.strings);return r===void 0&&rd.set(e.strings,r=new No(e)),r}k(e){Ua(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of e)a===r.length?r.push(n=new t(this.O(Ao()),this.O(Ao()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$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))}},nr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,i){this.type=1,this._$AH=W,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=W}_$AI(e,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=or(this,e,r,0),s=!Ro(e)||e!==this._$AH&&e!==Ee,s&&(this._$AH=e);else{let c=e,d,p;for(e=i[0],d=0;d<i.length-1;d++)p=or(this,c[n+d],r,d),p===Ee&&(p=this._$AH[d]),s||=!Ro(p)||p!==this._$AH[d],p===W?e=W:e!==W&&(e+=(p??"")+i[d+1]),this._$AH[d]=p}s&&!a&&this.j(e)}j(e){e===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},mn=class extends nr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===W?void 0:e}},yn=class extends nr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==W)}},gn=class extends nr{constructor(e,r,n,a,i){super(e,r,n,a,i),this.type=5}_$AI(e,r=this){if((e=or(this,e,r,0)??W)===Ee)return;let n=this._$AH,a=e===W&&n!==W||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==W&&(n===W||a);a&&this.element.removeEventListener(this.name,this,n),i&&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)}},bn=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){or(this,e)}},ja={M:Fa,P:mt,A:Ba,C:1,L:id,R:hn,D:od,V:or,I:Ar,H:nr,N:yn,U:gn,B:mn,F:bn},Bm=$a.litHtmlPolyfillSupport;Bm?.(No,Ar),($a.litHtmlVersions??=[]).push("3.3.0");Va=(t,e,r)=>{let n=r?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=r?.renderBefore??null;n._$litPart$=a=new Ar(e.insertBefore(Ao(),i),i,void 0,r??{})}return a._$AI(t),a}});var Ga,yt,Um,Hm,sd=f(()=>{Eo();Eo();qe();qe();Ga=globalThis,yt=class extends et{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Va(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ee}};yt._$litElement$=!0,yt.finalized=!0,Ga.litElementHydrateSupport?.({LitElement:yt});Um=Ga.litElementPolyfillSupport;Um?.({LitElement:yt});Hm={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(Ga.litElementVersions??=[]).push("4.2.0")});var _b,cd=f(()=>{_b=!1});var Ka={};G(Ka,{CSSResult:()=>Er,LitElement:()=>yt,ReactiveElement:()=>et,_$LE:()=>Hm,_$LH:()=>ja,adoptStyles:()=>So,css:()=>I,defaultConverter:()=>wr,getCompatibleStyle:()=>dn,html:()=>M,isServer:()=>_b,mathml:()=>za,noChange:()=>Ee,notEqual:()=>Oo,nothing:()=>W,render:()=>Va,supportsAdoptingStyleSheets:()=>vo,svg:()=>Wa,unsafeCSS:()=>Jt});var z=f(()=>{Eo();qe();sd();cd()});var Za,ld=f(()=>{Za=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)}});function O(t){return(e,r)=>typeof r=="object"?dd(t,e,r):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,r)}var Wm,dd,qa=f(()=>{Eo();Wm={attribute:!0,type:String,converter:wr,reflect:!1,hasChanged:Oo},dd=(t=Wm,e,r)=>{let{kind:n,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),i.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,d,t)},init(c){return c!==void 0&&this.C(s,void 0,t,c),c}}}if(n==="setter"){let{name:s}=r;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)}});function le(t){return O({...t,state:!0,attribute:!1})}var ud=f(()=>{qa();});function Rr(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var pd=f(()=>{});var Ye,Nr=f(()=>{Ye=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r)});function be(t,e){return(r,n,a)=>{let i=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof n=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return Ye(r,n,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return Ye(r,n,{get(){return i(this)}})}}var fd=f(()=>{Nr();});function jm(t){return(e,r)=>Ye(e,r,{get(){return(this.renderRoot??(zm??=document.createDocumentFragment())).querySelectorAll(t)}})}var zm,hd=f(()=>{Nr();});function Vm(t){return(e,r)=>Ye(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}var md=f(()=>{Nr();});function Gm(t){return(e,r)=>{let{slot:n,selector:a}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ye(e,r,{get(){let s=this.renderRoot?.querySelector(i),c=s?.assignedElements(t)??[];return a===void 0?c:c.filter(d=>d.matches(a))}})}}var yd=f(()=>{Nr();});function Ya(t){return(e,r)=>{let{slot:n}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ye(e,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var gd=f(()=>{Nr();});var Qa={};G(Qa,{customElement:()=>Za,eventOptions:()=>Rr,property:()=>O,query:()=>be,queryAll:()=>jm,queryAssignedElements:()=>Gm,queryAssignedNodes:()=>Ya,queryAsync:()=>Vm,standardProperty:()=>dd,state:()=>le});var ne=f(()=>{ld();qa();ud();pd();fd();hd();md();yd();gd()});var It,Lt,tt,To=f(()=>{It={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Lt=t=>(...e)=>({_$litDirective$:t,values:e}),tt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}});var Km,bd,Tr,kt,Zm,xd,vd,xn,Sd=f(()=>{qe();({I:Km}=ja),bd=()=>document.createComment(""),Tr=(t,e,r)=>{let n=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(r===void 0){let i=n.insertBefore(bd(),a),s=n.insertBefore(bd(),a);r=new Km(i,s,t,t.options)}else{let i=r._$AB.nextSibling,s=r._$AM,c=s!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(i!==a||c){let d=r._$AA;for(;d!==i;){let p=d.nextSibling;n.insertBefore(d,a),d=p}}}return r},kt=(t,e,r=t)=>(t._$AI(e,r),t),Zm={},xd=(t,e=Zm)=>t._$AH=e,vd=t=>t._$AH,xn=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 Cd,_o,Od=f(()=>{qe();To();Sd();Cd=(t,e,r)=>{let n=new Map;for(let a=e;a<=r;a++)n.set(t[a],a);return n},_o=Lt(class extends tt{constructor(t){if(super(t),t.type!==It.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let a=[],i=[],s=0;for(let c of t)a[s]=n?n(c,s):s,i[s]=r(c,s),s++;return{values:i,keys:a}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,n]){let a=vd(t),{values:i,keys:s}=this.dt(e,r,n);if(!Array.isArray(a))return this.ut=s,i;let c=this.ut??=[],d=[],p,m,h=0,g=a.length-1,x=0,v=i.length-1;for(;h<=g&&x<=v;)if(a[h]===null)h++;else if(a[g]===null)g--;else if(c[h]===s[x])d[x]=kt(a[h],i[x]),h++,x++;else if(c[g]===s[v])d[v]=kt(a[g],i[v]),g--,v--;else if(c[h]===s[v])d[v]=kt(a[h],i[v]),Tr(t,d[v+1],a[h]),h++,v--;else if(c[g]===s[x])d[x]=kt(a[g],i[x]),Tr(t,a[h],a[g]),g--,x++;else if(p===void 0&&(p=Cd(s,x,v),m=Cd(c,h,g)),p.has(c[h]))if(p.has(c[g])){let w=m.get(s[x]),_=w!==void 0?a[w]:null;if(_===null){let T=Tr(t,a[h]);kt(T,i[x]),d[x]=T}else d[x]=kt(_,i[x]),Tr(t,a[h],_),a[w]=null;x++}else xn(a[g]),g--;else xn(a[h]),h++;for(;x<=v;){let w=Tr(t,d[v+1]);kt(w,i[x]),d[x++]=w}for(;h<=g;){let w=a[h++];w!==null&&xn(w)}return this.ut=s,xd(t,d),Ee}})});var Xa={};G(Xa,{repeat:()=>_o});var vn=f(()=>{Od()});var rt,Ed=f(()=>{qe();To();rt=Lt(class extends tt{constructor(t){if(super(t),t.type!==It.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.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.st)n in e||(r.remove(n),this.st.delete(n));for(let n in e){let a=!!e[n];a===this.st.has(n)||this.nt?.has(n)||(a?(r.add(n),this.st.add(n)):(r.remove(n),this.st.delete(n)))}return Ee}})});var Ja={};G(Ja,{classMap:()=>rt});var _r=f(()=>{Ed()});var wd,qm,Ym,Ad=f(()=>{qe();To();wd="important",qm=" !"+wd,Ym=Lt(class extends tt{constructor(t){if(super(t),t.type!==It.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.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let a=e[n];if(a!=null){this.ft.add(n);let i=typeof a=="string"&&a.endsWith(qm);n.includes("-")||i?r.setProperty(n,i?a.slice(0,-11):a,i?wd:""):r[n]=a}}return Ee}})});var ei={};G(ei,{styleMap:()=>Ym});var Rd=f(()=>{Ad()});var Pr,ar,Nd=f(()=>{qe();To();Pr=class extends tt{constructor(e){if(super(e),this.it=W,e.type!==It.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===W||e==null)return this._t=void 0,this.it=e;if(e===Ee)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Pr.directiveName="unsafeHTML",Pr.resultType=1;ar=Lt(Pr)});var ti={};G(ti,{UnsafeHTMLDirective:()=>Pr,unsafeHTML:()=>ar});var Po=f(()=>{Nd()});var ri={};G(ri,{CancelablePromise:()=>Ir,CanceledPromiseError:()=>ot,cancelable:()=>Lr});var ot,Ir,Lr,Sn=f(()=>{"use strict";ot=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Ir=class extends Promise{constructor(e){super((r,n)=>e(a=>{this.isCanceled?n(new ot("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?n(new ot("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Lr=t=>new Ir((e,r)=>t.then(e).catch(r))});var ii={};G(ii,{FtNotificationEvent:()=>oi,PostResizeEvent:()=>ai,PreResizeEvent:()=>ni,WithEventBus:()=>gt,withEventBus:()=>Td});function Td(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}var oi,ni,ai,gt,Io=f(()=>{"use strict";oi=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},ni=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ai=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};gt=class extends Td(Object){}});var si={};G(si,{CacheRegistry:()=>nt,ClearCacheEvent:()=>Lo});var Lo,nt,ci=f(()=>{"use strict";Sn();Io();Lo=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},nt=class extends gt{constructor(){super(...arguments),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(e=!0){let r=[];for(let n in this.content)this.clear(n,!1)!=null&&r.push(n);e&&r.length>0&&this.dispatchEvent(new Lo(r))}clear(e,r=!0){if(!this.finalContent.has(e))return this.forceClear(e),r&&this.dispatchEvent(new Lo([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Ir&&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 a=Lr(r());return this.content[e]=a,a.then(i=>(this.content[e]=i,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),i))}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 di={};G(di,{ClusteringHelper:()=>li});var li,ui=f(()=>{"use strict";li=class t{constructor(e,r,n,a){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e){var r,n,a,i,s;let c=((i=(n=(r=e.result)===null||r===void 0?void 0:r.map)!==null&&n!==void 0?n:(a=e.result)===null||a===void 0?void 0:a.document)!==null&&i!==void 0?i:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?t.flattenMetadata(c,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(c.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,n){if(Array.isArray(e))return e.map(i=>t.flattenMetadata(i,r,n)).filter(i=>i!=null);let a=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!a))if(a){let i=[],s=[];return e.hierarchicalValues.forEach(c=>{i.push(c.join(" > ")),r&&r>1&&c.length>=r?s.push(`... > ${c[c.length-1]}`):s.push(c.join(" > "))}),{key:e.key,label:e.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=e.values.join(", "),s=e.values.map(c=>n?n(c):c).join(", ");return{key:e.key,label:e.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,n="No value",a,i){var s,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:i}),p=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(e))===null||c===void 0?void 0:c.label;return this.allResults.map(h=>t.extractResultMetadata({result:h,key:e,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(h=>h??{key:e,label:p,value:void 0,displayValue:n}).filter(h=>h.value!=d?.value).filter((h,g,x)=>x.findIndex(v=>v.value===h.value)===g).map(h=>({result:this.findBestResultForMetadataValue(e,h.value),metadata:h})).sort((h,g)=>this.compareMetadata(h.metadata.value,g.metadata.value,e,r))}compareMetadata(e,r,n,a){if(e==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",c=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,a,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==r}),i=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,c=-1;for(let d of n){let p=this.countMatchingMetadata(d,i);if(p>c&&(c=p,s=d,p===i.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(n=>r.some(a=>a.key===n.key&&a.value===n.value)).length}}});var pi={};G(pi,{Debouncer:()=>Se});var Se,Cn=f(()=>{"use strict";Se=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 a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){a(c);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var hi={};G(hi,{dateReviver:()=>Xm,deepCopy:()=>ko,deepEqual:()=>Be,delay:()=>On,eventPathContainsMatchingElement:()=>ey,flatDeep:()=>Pd,getComposedPathTo:()=>fi,hasChanged:()=>Dt,last:()=>ty,minmax:()=>ir,parseDate:()=>Id,unslotText:()=>En,waitFor:()=>_d,waitUntil:()=>Qm});async function Qm(t,e=10,r=2e4){await _d(async()=>await t()||void 0,e,r)}async function _d(t,e=10,r=2e4){let n=await t(),a,i;for(a=i=performance.now();n==null&&(!r||i-a<r);)await On(e),n=await t(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Pd(t,e){return t.flatMap(r=>[r,...Pd(e(r),e)])}function Xm(...t){return(e,r)=>t.includes(e)?Id(r):r}function Id(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,a)=>r+n+":"+a),new Date(t)}function Jm(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,a;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Be(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(!Be(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();let i=s=>Object.keys(s).filter(c=>s[c]!=null);if(a=i(t),r=a.length,r!==i(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=r;n--!==0;){let s=a[n];if(!Be(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Be(t,e){try{return Jm(t,e)}catch{return!1}}function Dt(t,e){return!Be(t,e)}function ey(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let a of n){if(a===r)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function ir(t,e,r){return Math.min(Math.max(t,e),r)}function ty(t){return t[t.length-1]}function En(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>En(e)).join(""):t?.textContent||""}function fi(t){let e=[],r=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}function ko(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}var On,Mt=f(()=>{"use strict";On=t=>new Promise(e=>setTimeout(e,t))});var mi={};G(mi,{customElement:()=>V,isNumber:()=>Ld,jsonProperty:()=>we,optionalNumberProperty:()=>ry});function we(t,e){let r=()=>JSON.parse(JSON.stringify(t));return O({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Dt,...e??{}})}function ry(t){return O({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Ld(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Ld(t){return!isNaN(parseFloat(t))}var V,wn=f(()=>{"use strict";ne();Mt();V=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)}});function E(t,e){return bt(`${t.name}: ${e}`)}var bt,o,q=f(()=>{z();bt=t=>typeof t=="string"?Jt(t):t,o=class{static create(e,r,n,a){let i=c=>bt(c??a),s=I`var(${bt(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=c=>I`var(${bt(e)}, ${i(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,r,n,a){let i=c=>n.get(c??a),s=I`var(${bt(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=c=>I`var(${bt(e)}, ${i(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,r){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):bt(i??e.lastResortDefaultValue()),a=I`var(${bt(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=n,a.get=i=>I`var(${bt(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}}});var l,yi,gi,bi,xi,vi,Si,Ci,Oi,Ei,kd,wi,Ai,Ri,Ni,Ti,_i,Pi,Ii,Li,ki,Di,Mi,$i,Fi,Bi,Ui,Do,oy,Q=f(()=>{q();l={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(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"),opacity12:o.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},yi={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")},gi={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")},bi={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")},xi={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")},vi={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")},Si={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")},Ci={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")},Oi={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")},Ei={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")},kd={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")},wi={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")},Ai={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")},Ri={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")},Ni={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")},Ti={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")},_i={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")},Pi={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")},Ii={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")},Li={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")},ki={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")},Di={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")},Mi={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")},$i={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")},Fi={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")},Bi={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")},Ui={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")},Do={display:yi,"title-1":gi,"title-2":bi,"title-3":xi,"body-1-regular":vi,"body-1-medium":Si,"body-1-semibold":Ci,"body-2-regular":Oi,"body-2-medium":Ei,"body-2-medium-underline":kd,"body-2-semibold":wi,"label-1-medium":Ai,"label-1-semibold":Ri,"label-1-bold":Ni,"label-2-medium":Ti,"label-2-semibold":_i,"label-2-bold":Pi,"caption-1-medium":Ii,"caption-1-semibold":Li,"caption-1-bold":ki,"caption-2-medium":Di,"caption-2-semibold":Mi,"caption-2-bold":$i,"caption-3-medium":Fi,"caption-3-semibold":Bi,"caption-3-bold":Ui},oy=["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 u,te=f(()=>{q();Q();u={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
4
|
+
Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)}});var b,Dd=f(()=>{q();Q();te();b={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",u.contentErrorPrimary)}});var ny,Md=f(()=>{q();Q();te();ny={iconSize:o.extend("--ft-checkbox-icon-size","",l.iconSize2),boxSize:o.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ft-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ft-checkbox-horizontal-gap","",l.spacing3),leftPadding:o.extend("--ft-checkbox-left-padding","",l.spacing2)}});var ay,$d=f(()=>{q();Q();te();ay={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ft-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ft-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ft-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ft-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ft-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ft-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ft-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ft-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:o.extend("--ft-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:o.extend("--ft-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:o.extend("--ft-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:o.extend("--ft-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:o.extend("--ft-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:o.extend("--ft-table-data-cell-vertical-gap","",l.spacing1)}});var iy,Fd=f(()=>{q();Q();te();iy={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)}});var sy,Bd=f(()=>{q();Q();te();sy={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)}});var cy,Ud=f(()=>{q();Q();te();cy={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",l.colorBrand100)}});var ly,Hd=f(()=>{q();Q();te();ly={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)}});var dy,Wd=f(()=>{q();Q();te();dy={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",u.contentActionPrimary)}});var uy,zd=f(()=>{q();Q();te();uy={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",u.contentGlobalSubtle)}});var py,jd=f(()=>{q();Q();te();py={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",l.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",l.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var fy,Vd=f(()=>{q();Q();te();fy={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",l.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",l.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",l.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",l.spacing4)}});var hy,Gd=f(()=>{q();Q();hy={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",l.spacing6)}});var my,Kd=f(()=>{q();Q();te();my={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)}});var yy,Zd=f(()=>{q();Q();te();yy={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",l.colorGray700)}});var gy,qd=f(()=>{q();Q();te();gy={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)}});var by,Yd=f(()=>{q();Q();te();by={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",u.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","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)}});var xy,Qd=f(()=>{q();Q();te();xy={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusM)}});var vy,Xd=f(()=>{q();Q();te();vy={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",l.shadowElevation02)}});var Sy,Jd=f(()=>{q();Q();te();Sy={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)}});var Cy,eu=f(()=>{q();Q();te();Cy={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)}});var Oy,tu=f(()=>{q();Q();te();Oy={backgroundColor:o.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:o.extend("--ft-popover-gap","",l.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")}});var Ey,ru=f(()=>{q();Q();te();Ey={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)}});var wy,ou=f(()=>{q();Q();te();wy={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)}});var Ay,nu=f(()=>{q();Q();Ay={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)}});var Ry,au=f(()=>{q();Q();Ry={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)}});var Ny,iu=f(()=>{q();Q();te();Ny={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",l.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")}});var Ty,su=f(()=>{q();Q();te();Ty={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)}});var _y,cu=f(()=>{q();Q();te();_y={color:o.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",l.spacing3)}});var Py,lu=f(()=>{q();Q();te();Py={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)}});var Iy,du=f(()=>{q();Q();te();Iy={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)}});var Ly,uu=f(()=>{q();Q();te();Ly={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",l.spacing4),gap:o.extend("--ft-reorderable-list-gap","",l.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",l.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",l.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)}});var pu=f(()=>{Q();te();Dd();Md();$d();Fd();Bd();Ud();Hd();Wd();zd();jd();Vd();Gd();Kd();Zd();qd();Yd();Qd();Xd();Jd();eu();tu();ru();ou();nu();au();iu();su();cu();lu();du();uu()});function Hi(t){return`ftds--family-${t}`}function Wi(t){return`ftds--size-${t}`}var sr,xt,fu=f(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(sr||(sr={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(xt||(xt={}))});var K=f(()=>{q();pu();fu()});var zi={};G(zi,{DesignSystemFamily:()=>sr,DesignSystemSize:()=>xt,FtCssVariableFactory:()=>o,badge:()=>dy,banner:()=>ly,button:()=>b,chart:()=>Ay,checkbox:()=>ny,chip:()=>sy,chipChoice:()=>iy,collapsible:()=>Ey,comboboxMultiSelect:()=>Cy,comboboxSingleSelect:()=>Sy,drawer:()=>yy,floatingMenu:()=>vy,foundation:()=>l,link:()=>cy,modal:()=>my,notice:()=>Ny,notification:()=>Py,pageDesigner:()=>Ry,pageFooter:()=>fy,pageHeader:()=>py,pageLayout:()=>hy,popover:()=>Oy,radio:()=>_y,reorderableList:()=>Ly,resolveFamilyClass:()=>Hi,resolveSizeClass:()=>Wi,semantic:()=>u,setVariable:()=>E,switch_:()=>wy,table:()=>ay,tabs:()=>gy,textArea:()=>xy,textInput:()=>by,titleBreadcrumb:()=>uy,toggle:()=>Ty,tooltip:()=>Iy,typographies:()=>Do,typographyBody1Medium:()=>Si,typographyBody1Regular:()=>vi,typographyBody1Semibold:()=>Ci,typographyBody2Medium:()=>Ei,typographyBody2MediumUnderline:()=>kd,typographyBody2Regular:()=>Oi,typographyBody2Semibold:()=>wi,typographyCaption1Bold:()=>ki,typographyCaption1Medium:()=>Ii,typographyCaption1Semibold:()=>Li,typographyCaption2Bold:()=>$i,typographyCaption2Medium:()=>Di,typographyCaption2Semibold:()=>Mi,typographyCaption3Bold:()=>Ui,typographyCaption3Medium:()=>Fi,typographyCaption3Semibold:()=>Bi,typographyDisplay:()=>yi,typographyLabel1Bold:()=>Ni,typographyLabel1Medium:()=>Ai,typographyLabel1Semibold:()=>Ri,typographyLabel2Bold:()=>Pi,typographyLabel2Medium:()=>Ti,typographyLabel2Semibold:()=>_i,typographyTitle1:()=>gi,typographyTitle2:()=>bi,typographyTitle3:()=>xi,typographyVariants:()=>oy});var An=f(()=>{"use strict";K()});var ji={};G(ji,{designSystemVariables:()=>D});var D,Vi=f(()=>{"use strict";An();D={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")}});function Zi(t,e,r){return $t(t,Rn(e,r))}function kr(t,e){return typeof t=="function"?t(e):t}function Ft(t){return t.split("-")[0]}function at(t){return t.split("-")[1]}function qi(t){return t==="x"?"y":"x"}function Yi(t){return t==="y"?"height":"width"}function Dr(t){return["top","bottom"].includes(Ft(t))?"y":"x"}function Qi(t){return qi(Dr(t))}function yu(t,e,r){r===void 0&&(r=!1);let n=at(t),a=Qi(t),i=Yi(a),s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Gi(s)),[s,Gi(s)]}function gu(t){return t.replace(/start|end/g,e=>Dy[e])}function Gi(t){return t.replace(/left|right|bottom|top/g,e=>ky[e])}function My(t){return{top:0,right:0,bottom:0,left:0,...t}}function bu(t){return typeof t!="number"?My(t):{top:t,right:t,bottom:t,left:t}}function cr(t){let{x:e,y:r,width:n,height:a}=t;return{width:n,height:a,top:r,left:e,right:e+n,bottom:r+a,x:e,y:r}}var mu,hu,Ki,Rn,$t,ky,Dy,Xi=f(()=>{mu=["top","right","bottom","left"],hu=["start","end"],Ki=mu.reduce((t,e)=>t.concat(e,e+"-"+hu[0],e+"-"+hu[1]),[]),Rn=Math.min,$t=Math.max,ky={left:"right",right:"left",bottom:"top",top:"bottom"},Dy={start:"end",end:"start"}});function xu(t,e,r){let{reference:n,floating:a}=t,i=Dr(e),s=Qi(e),c=Yi(s),d=Ft(e),p=i==="y",m=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,g=n[c]/2-a[c]/2,x;switch(d){case"top":x={x:m,y:n.y-a.height};break;case"bottom":x={x:m,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:h};break;case"left":x={x:n.x-a.width,y:h};break;default:x={x:n.x,y:n.y}}switch(at(e)){case"start":x[s]-=g*(r&&p?-1:1);break;case"end":x[s]+=g*(r&&p?-1:1);break}return x}async function Nn(t,e){var r;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:c,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:m="viewport",elementContext:h="floating",altBoundary:g=!1,padding:x=0}=kr(e,t),v=bu(x),_=c[g?h==="floating"?"reference":"floating":h],T=cr(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(_)))==null||r?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:p,rootBoundary:m,strategy:d})),L=h==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,A=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),S=await(i.isElement==null?void 0:i.isElement(A))?await(i.getScale==null?void 0:i.getScale(A))||{x:1,y:1}:{x:1,y:1},R=cr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:L,offsetParent:A,strategy:d}):L);return{top:(T.top-R.top+v.top)/S.y,bottom:(R.bottom-T.bottom+v.bottom)/S.y,left:(T.left-R.left+v.left)/S.x,right:(R.right-T.right+v.right)/S.x}}function $y(t,e,r){return(t?[...r.filter(a=>at(a)===t),...r.filter(a=>at(a)!==t)]:r.filter(a=>Ft(a)===a)).filter(a=>t?at(a)===t||(e?gu(a)!==a:!1):!0)}async function Fy(t,e){let{placement:r,platform:n,elements:a}=t,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=Ft(r),c=at(r),d=Dr(r)==="y",p=["left","top"].includes(s)?-1:1,m=i&&d?-1:1,h=kr(e,t),{mainAxis:g,crossAxis:x,alignmentAxis:v}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof v=="number"&&(x=c==="end"?v*-1:v),d?{x:x*m,y:g*p}:{x:g*p,y:x*m}}var vu,Tn,Ji,es,ts,rs=f(()=>{Xi();Xi();vu=async(t,e,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,c=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:m,y:h}=xu(p,n,d),g=n,x={},v=0;for(let w=0;w<c.length;w++){let{name:_,fn:T}=c[w],{x:L,y:A,data:S,reset:R}=await T({x:m,y:h,initialPlacement:n,placement:g,strategy:a,middlewareData:x,rects:p,platform:s,elements:{reference:t,floating:e}});m=L??m,h=A??h,x={...x,[_]:{...x[_],...S}},R&&v<=50&&(v++,typeof R=="object"&&(R.placement&&(g=R.placement),R.rects&&(p=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):R.rects),{x:m,y:h}=xu(p,g,d)),w=-1)}return{x:m,y:h,placement:g,strategy:a,middlewareData:x}};Tn=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,a;let{rects:i,middlewareData:s,placement:c,platform:d,elements:p}=e,{crossAxis:m=!1,alignment:h,allowedPlacements:g=Ki,autoAlignment:x=!0,...v}=kr(t,e),w=h!==void 0||g===Ki?$y(h||null,x,g):g,_=await Nn(e,v),T=((r=s.autoPlacement)==null?void 0:r.index)||0,L=w[T];if(L==null)return{};let A=yu(L,i,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(c!==L)return{reset:{placement:w[0]}};let S=[_[Ft(L)],_[A[0]],_[A[1]]],R=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:S}],F=w[T+1];if(F)return{data:{index:T+1,overflows:R},reset:{placement:F}};let j=R.map(B=>{let y=at(B.placement);return[B.placement,y&&m?B.overflows.slice(0,2).reduce((C,$)=>C+$,0):B.overflows[0],B.overflows]}).sort((B,y)=>B[1]-y[1]),Z=((a=j.filter(B=>B[2].slice(0,at(B[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||j[0][0];return Z!==c?{data:{index:T+1,overflows:R},reset:{placement:Z}}:{}}}};Ji=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:a,y:i,placement:s,middlewareData:c}=e,d=await Fy(e,t);return s===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},es=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:c={fn:_=>{let{x:T,y:L}=_;return{x:T,y:L}}},...d}=kr(t,e),p={x:r,y:n},m=await Nn(e,d),h=Dr(Ft(a)),g=qi(h),x=p[g],v=p[h];if(i){let _=g==="y"?"top":"left",T=g==="y"?"bottom":"right",L=x+m[_],A=x-m[T];x=Zi(L,x,A)}if(s){let _=h==="y"?"top":"left",T=h==="y"?"bottom":"right",L=v+m[_],A=v-m[T];v=Zi(L,v,A)}let w=c.fn({...e,[g]:x,[h]:v});return{...w,data:{x:w.x-r,y:w.y-n,enabled:{[g]:i,[h]:s}}}}}},ts=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,n;let{placement:a,rects:i,platform:s,elements:c}=e,{apply:d=()=>{},...p}=kr(t,e),m=await Nn(e,p),h=Ft(a),g=at(a),x=Dr(a)==="y",{width:v,height:w}=i.floating,_,T;h==="top"||h==="bottom"?(_=h,T=g===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(T=h,_=g==="end"?"top":"bottom");let L=w-m.top-m.bottom,A=v-m.left-m.right,S=Rn(w-m[_],L),R=Rn(v-m[T],A),F=!e.middlewareData.shift,j=S,X=R;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(X=A),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(j=L),F&&!g){let B=$t(m.left,0),y=$t(m.right,0),C=$t(m.top,0),$=$t(m.bottom,0);x?X=v-2*(B!==0||y!==0?B+y:$t(m.left,m.right)):j=w-2*(C!==0||$!==0?C+$:$t(m.top,m.bottom))}await d({...e,availableWidth:X,availableHeight:j});let Z=await s.getDimensions(c.floating);return v!==Z.width||w!==Z.height?{reset:{rects:!0}}:{}}}}});var os,Mr,Mo,vt,Su=f(()=>{os=Math.min,Mr=Math.max,Mo=Math.round,vt=t=>({x:t,y:t})});function St(t){return Ou(t)?(t.nodeName||"").toLowerCase():"#document"}function Ie(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ct(t){var e;return(e=(Ou(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ou(t){return t instanceof Node||t instanceof Ie(t).Node}function it(t){return t instanceof Element||t instanceof Ie(t).Element}function Qe(t){return t instanceof HTMLElement||t instanceof Ie(t).HTMLElement}function Cu(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ie(t).ShadowRoot}function $r(t){let{overflow:e,overflowX:r,overflowY:n,display:a}=Ue(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(a)}function Eu(t){return["table","td","th"].includes(St(t))}function Pn(t){let e=In(),r=Ue(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function wu(t){let e=lr(t);for(;Qe(e)&&!$o(e);){if(Pn(e))return e;e=lr(e)}return null}function In(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function $o(t){return["html","body","#document"].includes(St(t))}function Ue(t){return Ie(t).getComputedStyle(t)}function Fo(t){return it(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function lr(t){if(St(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Cu(t)&&t.host||Ct(t);return Cu(e)?e.host:e}function Au(t){let e=lr(t);return $o(e)?t.ownerDocument?t.ownerDocument.body:t.body:Qe(e)&&$r(e)?e:Au(e)}function _n(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let a=Au(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),s=Ie(a);return i?e.concat(s,s.visualViewport||[],$r(a)?a:[],s.frameElement&&r?_n(s.frameElement):[]):e.concat(a,_n(a,[],r))}var Ru=f(()=>{});function _u(t){let e=Ue(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=Qe(t),i=a?t.offsetWidth:r,s=a?t.offsetHeight:n,c=Mo(r)!==i||Mo(n)!==s;return c&&(r=i,n=s),{width:r,height:n,$:c}}function Pu(t){return it(t)?t:t.contextElement}function Fr(t){let e=Pu(t);if(!Qe(e))return vt(1);let r=e.getBoundingClientRect(),{width:n,height:a,$:i}=_u(e),s=(i?Mo(r.width):r.width)/n,c=(i?Mo(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}function Iu(t){let e=Ie(t);return!In()||!e.visualViewport?By:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Uy(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Ie(t)?!1:e}function Bo(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let a=t.getBoundingClientRect(),i=Pu(t),s=vt(1);e&&(n?it(n)&&(s=Fr(n)):s=Fr(t));let c=Uy(i,r,n)?Iu(i):vt(0),d=(a.left+c.x)/s.x,p=(a.top+c.y)/s.y,m=a.width/s.x,h=a.height/s.y;if(i){let g=Ie(i),x=n&&it(n)?Ie(n):n,v=g.frameElement;for(;v&&n&&x!==g;){let w=Fr(v),_=v.getBoundingClientRect(),T=Ue(v),L=_.left+(v.clientLeft+parseFloat(T.paddingLeft))*w.x,A=_.top+(v.clientTop+parseFloat(T.paddingTop))*w.y;d*=w.x,p*=w.y,m*=w.x,h*=w.y,d+=L,p+=A,v=Ie(v).frameElement}}return cr({width:m,height:h,x:d,y:p})}function Hy(t){let{rect:e,offsetParent:r,strategy:n}=t,a=Qe(r),i=Ct(r);if(r===i)return e;let s={scrollLeft:0,scrollTop:0},c=vt(1),d=vt(0);if((a||!a&&n!=="fixed")&&((St(r)!=="body"||$r(i))&&(s=Fo(r)),Qe(r))){let p=Bo(r);c=Fr(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+d.x,y:e.y*c.y-s.scrollTop*c.y+d.y}}function Wy(t){return Array.from(t.getClientRects())}function Lu(t){return Bo(Ct(t)).left+Fo(t).scrollLeft}function zy(t){let e=Ct(t),r=Fo(t),n=t.ownerDocument.body,a=Mr(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Mr(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Lu(t),c=-r.scrollTop;return Ue(n).direction==="rtl"&&(s+=Mr(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:c}}function jy(t,e){let r=Ie(t),n=Ct(t),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,c=0,d=0;if(a){i=a.width,s=a.height;let p=In();(!p||p&&e==="fixed")&&(c=a.offsetLeft,d=a.offsetTop)}return{width:i,height:s,x:c,y:d}}function Vy(t,e){let r=Bo(t,!0,e==="fixed"),n=r.top+t.clientTop,a=r.left+t.clientLeft,i=Qe(t)?Fr(t):vt(1),s=t.clientWidth*i.x,c=t.clientHeight*i.y,d=a*i.x,p=n*i.y;return{width:s,height:c,x:d,y:p}}function Nu(t,e,r){let n;if(e==="viewport")n=jy(t,r);else if(e==="document")n=zy(Ct(t));else if(it(e))n=Vy(e,r);else{let a=Iu(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return cr(n)}function ku(t,e){let r=lr(t);return r===e||!it(r)||$o(r)?!1:Ue(r).position==="fixed"||ku(r,e)}function Gy(t,e){let r=e.get(t);if(r)return r;let n=_n(t,[],!1).filter(c=>it(c)&&St(c)!=="body"),a=null,i=Ue(t).position==="fixed",s=i?lr(t):t;for(;it(s)&&!$o(s);){let c=Ue(s),d=Pn(s);!d&&c.position==="fixed"&&(a=null),(i?!d&&!a:!d&&c.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||$r(s)&&!d&&ku(t,s))?n=n.filter(m=>m!==s):a=c,s=lr(s)}return e.set(t,n),n}function Ky(t){let{element:e,boundary:r,rootBoundary:n,strategy:a}=t,s=[...r==="clippingAncestors"?Gy(e,this._c):[].concat(r),n],c=s[0],d=s.reduce((p,m)=>{let h=Nu(e,m,a);return p.top=Mr(h.top,p.top),p.right=os(h.right,p.right),p.bottom=os(h.bottom,p.bottom),p.left=Mr(h.left,p.left),p},Nu(e,c,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Zy(t){return _u(t)}function qy(t,e,r){let n=Qe(e),a=Ct(e),i=r==="fixed",s=Bo(t,!0,i,e),c={scrollLeft:0,scrollTop:0},d=vt(0);if(n||!n&&!i)if((St(e)!=="body"||$r(a))&&(c=Fo(e)),n){let p=Bo(e,!0,i,e);d.x=p.x+e.clientLeft,d.y=p.y+e.clientTop}else a&&(d.x=Lu(a));return{x:s.left+c.scrollLeft-d.x,y:s.top+c.scrollTop-d.y,width:s.width,height:s.height}}function Tu(t,e){return!Qe(t)||Ue(t).position==="fixed"?null:e?e(t):t.offsetParent}function Du(t,e){let r=Ie(t);if(!Qe(t))return r;let n=Tu(t,e);for(;n&&Eu(n)&&Ue(n).position==="static";)n=Tu(n,e);return n&&(St(n)==="html"||St(n)==="body"&&Ue(n).position==="static"&&!Pn(n))?r:n||wu(t)||r}function Qy(t){return Ue(t).direction==="rtl"}var By,Yy,Br,ns,Mu=f(()=>{rs();rs();Su();Ru();By=vt(0);Yy=async function(t){let{reference:e,floating:r,strategy:n}=t,a=this.getOffsetParent||Du,i=this.getDimensions;return{reference:qy(e,await a(r),n),floating:{x:0,y:0,...await i(r)}}};Br={convertOffsetParentRelativeRectToViewportRelativeRect:Hy,getDocumentElement:Ct,getClippingRect:Ky,getOffsetParent:Du,getElementRects:Yy,getClientRects:Wy,getDimensions:Zy,getScale:Fr,isElement:it,isRTL:Qy},ns=(t,e,r)=>{let n=new Map,a={platform:Br,...r},i={...a.platform,_c:n};return vu(t,e,{...a,platform:i})}});function is(t){return Xy(t)}function as(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Xy(t){for(let e=t;e;e=as(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=as(t);e;e=as(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 $u=f(()=>{});var cs={};G(cs,{computeOffsetAutoPosition:()=>Jy,computeOffsetPosition:()=>ss});async function ss(t,e,r){return ns(t,e,{platform:{...Br,getOffsetParent:n=>Br.getOffsetParent(n,is)},middleware:[es({crossAxis:!0}),Tn({allowedPlacements:[r]})]})}async function Jy(t,e,r,n,a,i,s=4){return ns(t,e,{placement:r,strategy:a,platform:{...Br,getOffsetParent:c=>Br.getOffsetParent(c,is)},middleware:[Ji(s),Tn({allowedPlacements:n}),ts({apply({availableHeight:c,elements:d}){i?d.floating.style.maxHeight=`min(${Math.max(0,c)}px, var(${i}))`:d.floating.style.maxHeight=`${Math.max(0,c)}px`}})]})}var Ln=f(()=>{"use strict";Mu();$u()});var ls={};G(ls,{ScopedRegistryLitElement:()=>Uo});var Uo,kn=f(()=>{"use strict";z();un();Uo=class extends yt{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return So(n,e.elementStyles),n}}});var us={};G(us,{shadowQuerySelector:()=>ds,shadowQuerySelectorAll:()=>eg});function ds(t,e,...r){var n;let a=t.querySelector(e);for(let i of r)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function eg(t,e,...r){let n=[...t.querySelectorAll(e)];for(let a of r)n=n.flatMap(i=>{var s,c;return[...(c=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&c!==void 0?c:[]]});return n}var Dn=f(()=>{"use strict"});var ps={};G(ps,{FtLitElement:()=>J});var Ho,Hu,Fu,Bu,Wu,Uu,J,Wo=f(()=>{"use strict";ne();wn();Cn();kn();Dn();Ho=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Fu=Symbol("constructorPrototype"),Bu=Symbol("constructorName"),Wu=Symbol("exportpartsDebouncer"),Uu=Symbol("dynamicDependenciesLoaded"),J=class extends Uo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Hu]=new Se(5),this[Bu]=this.constructor.name,this[Fu]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Bu]&&Object.setPrototypeOf(this,this[Fu])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Uu]||(e[Uu]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];r=ds(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}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[Wu].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,a,i,s,c;let d=g=>g!=null&&g.trim().length>0,p=e.filter(d).map(g=>g.trim());if(p.length===0){this.removeAttribute("exportparts");return}let m=new Set;for(let g of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],v=(c=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(w=>w.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...x,...v).filter(d).map(w=>w.trim()).forEach(w=>m.add(w))}if(m.size===0){this.removeAttribute("exportparts");return}let h=[...m.values()].flatMap(g=>p.map(x=>`${g}:${x}--${g}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};Hu=Wu;Ho([O()],J.prototype,"exportpartsPrefix",void 0);Ho([we([])],J.prototype,"exportpartsPrefixes",void 0);Ho([O()],J.prototype,"customStylesheet",void 0);Ho([O()],J.prototype,"elementToFocus",void 0);Ho([le()],J.prototype,"useAdoptedStyleSheets",void 0)});var hs={};G(hs,{FtdsBase:()=>fs,toFtdsBase:()=>Mn});function Mn(t){class e extends t{constructor(){super(...arguments),this.size=xt.medium,this.family=sr.neutral}getDesignSystemBaseClasses(){return{[Hi(this.family)]:!0,[Wi(this.size)]:!0}}}return zu([O()],e.prototype,"size",void 0),zu([O()],e.prototype,"family",void 0),e}var zu,fs,ms=f(()=>{"use strict";Wo();ne();K();zu=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i};fs=class extends Mn(J){}});var ju={};var ys=f(()=>{"use strict"});var dr,Vu=f(()=>{dr=class t{constructor(e,r=!0,n=[],a=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=a}static matches(e,r){let n=typeof r=="string"?[r]:r,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return n.every(s=>a.call(e,s)?(i=!0,!1):!0),i}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 a=r.filter(i=>i.contains(n)).length>0;r.indexOf(n)===-1&&!a&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&r(a)}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 a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),i=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,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||r()})},a=>{a||r()})}forEachIframe(e,r,n,a=()=>{}){let i=e.querySelectorAll("iframe"),s=i.length,c=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(c)};s||d(),i.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,m=>{r(p)&&(c++,n(m)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let a=e.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,a){let i=!1,s=!1;return a.forEach((c,d)=>{c.val===n&&(i=d,s=c.handled)}),this.compareNodeIframe(e,r,n)?(i===!1&&!s?a.push({val:n,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,a)})})}iterateThroughNodes(e,r,n,a,i){let s=this.createIterator(r,e,a),c=[],d=[],p,m,h=()=>({prevNode:m,node:p}=this.getIteratorNode(s),p);for(;h();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(p,m,g,c),g=>{this.createInstanceOnIframe(g).forEachNode(e,x=>d.push(x),a)}),d.push(p);d.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(c,e,n,a),i()}forEachNode(e,r,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(c,d):d()})}}});var zo,Gu=f(()=>{Vu();zo=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 dr(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",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),a+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+a))}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,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?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"],a=[];return e.split("").forEach(i=>{n.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,s="";switch(i.forEach(c=>{s+=`|${this.escapeStr(c)}`}),a){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(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,a)=>a.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((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:c}=this.callNoMatchOnInvalidRanges(a,n);c&&(a.start=i,a.length=s-i,r.push(a),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,a,i=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),a=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-r>0&&a-n>0?i=!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:a,valid:i}}checkWhitespaceRanges(e,r,n){let a,i=!0,s=n.length,c=r-s,d=parseInt(e.start,10)-c;return d=d>s?s:d,a=d+parseInt(e.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:a,valid:i}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return dr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(r),s=i.splitText(n-r),c=document.createElement(a);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=i.textContent,i.parentNode.replaceChild(c,i),s}wrapRangeInMappedTextNode(e,r,n,a,i){e.nodes.every((s,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let p=r-s.start,m=(n>s.end?s.end:n)-s.start,h=e.value.substr(0,s.start),g=e.value.substr(m+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,m),e.value=h+g,e.nodes.forEach((x,v)=>{v>=c&&(e.nodes[v].start>0&&v!==c&&(e.nodes[v].start-=m),e.nodes[v].end-=m)}),n-=m,i(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[s]!=="";){if(!n(p[s],d))continue;let m=p.index;if(s!==0)for(let h=1;h<s;h++)m+=p[h].length;d=this.wrapRangeInTextNode(d,m,m+p[s].length),a(d.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let h=1;h<s;h++)p+=d[h].length;let m=p+d[s].length;this.wrapRangeInMappedTextNode(c,p,m,h=>n(d[s],h),(h,g)=>{e.lastIndex=g,a(h)})}i()})}wrapRangeFromIndex(e,r,n,a){this.getTextNodes(i=>{let s=i.value.length;e.forEach((c,d)=>{let{start:p,end:m,valid:h}=this.checkWhitespaceRanges(c,s,i.value);h&&this.wrapRangeInMappedTextNode(i,p,m,g=>r(g,c,i.value.substring(p,m),d),g=>{n(g,c)})}),a()})}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,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),i,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=p=>{let m=new RegExp(this.createRegExp(p),`gm${c}`),h=0;this.log(`Searching with expression "${m}"`),this[a](m,1,(g,x)=>this.opt.filter(x,p,n,h),g=>{h++,n++,this.opt.each(g)},()=>{h===0&&this.opt.noMatch(p),i[s-1]===p?this.opt.done(n):d(i[i.indexOf(p)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(i[0])}markRanges(e,r){this.opt=r;let n=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,c,d)=>this.opt.filter(i,s,c,d),(i,s)=>{n++,this.opt.each(i,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 a=dr.matches(n,r),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}}});function gs(t){let e=new zo(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 Ku=f(()=>{Gu()});var xs={};G(xs,{highlightHtml:()=>bs,highlightHtmlColorCssVariable:()=>Zu,highlightHtmlStyles:()=>rg});function bs(t,e,r){var n,a;let i=t.getAttribute("data-highlight-html-query");if((i??"")!==(e??"")){let s=new tg(t);if(s.unmark(),e&&e.trim()){let c={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(c.each=p=>{for(let m in r.attributes)p.setAttribute(m,r.attributes[m])}),s.mark(e.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((a=e.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...c,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var tg,Zu,rg,vs=f(()=>{"use strict";z();K();Ku();tg=gs,Zu=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),rg=I`
|
|
5
5
|
.highlight-html-match {
|
|
6
|
-
background: ${
|
|
6
|
+
background: ${Zu};
|
|
7
7
|
}
|
|
8
|
-
`});var
|
|
8
|
+
`});var Os={};G(Os,{noTextInputDefaultClearButton:()=>Cs,noTextSelect:()=>ur,safariEllipsisFix:()=>jo,wordWrap:()=>Ss});var ur,Ss,jo,Cs,Es=f(()=>{"use strict";z();ur=I`
|
|
9
9
|
.ft-no-text-select {
|
|
10
10
|
-webkit-touch-callout: none;
|
|
11
11
|
-webkit-user-select: none;
|
|
@@ -14,7 +14,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
14
14
|
-ms-user-select: none;
|
|
15
15
|
user-select: none;
|
|
16
16
|
}
|
|
17
|
-
`,
|
|
17
|
+
`,Ss=I`
|
|
18
18
|
.ft-word-wrap {
|
|
19
19
|
white-space: normal;
|
|
20
20
|
word-wrap: break-word;
|
|
@@ -26,7 +26,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
26
26
|
-webkit-hyphens: auto;
|
|
27
27
|
hyphens: auto
|
|
28
28
|
}
|
|
29
|
-
`,
|
|
29
|
+
`,jo=I`
|
|
30
30
|
.ft-safari-ellipsis-fix {
|
|
31
31
|
margin-right: 0;
|
|
32
32
|
|
|
@@ -37,15 +37,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
37
37
|
display: inline-block;
|
|
38
38
|
width: 0;
|
|
39
39
|
}
|
|
40
|
-
`,
|
|
40
|
+
`,Cs=I`
|
|
41
41
|
input::-webkit-search-cancel-button,
|
|
42
42
|
input::-webkit-search-decoration,
|
|
43
43
|
input::-webkit-search-results-button,
|
|
44
44
|
input::-webkit-search-results-decoration {
|
|
45
45
|
display: none;
|
|
46
46
|
}
|
|
47
|
-
`});var ju={};var Ss=f(()=>{"use strict"});var Cs={};G(Cs,{ParametrizedLabelResolver:()=>Uo});var Uo,Os=f(()=>{"use strict";Uo=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,a;e=this.resolvePluralKey(e,r);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return t.replaceParameters(i,...r)}static replaceParameters(e,...r){return r.forEach((n,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let a=`${String(e)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let n=a=>r?.includes("date")?e.toLocaleDateString(a):r?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}}});var Zy,re,qy,Vu=f(()=>{"use strict";Dt();ne();Zy=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},re=t=>{let e=t??{};return(r,n)=>{var a;let i={hasChanged:kt,attribute:!1,...e};O(i)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:c=>c[n],store:e.store})}},qy=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)}});var Wo,Es=f(()=>{"use strict";Wo=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(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}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}}});function pr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var kn=f(()=>{"use strict"});var Gu,Ku,Zu,Ho,Bt,fr,Ie,qu=f(()=>{"use strict";$o();kn();Ho=Symbol("internalReduxEventsUnsubscribers"),Bt=Symbol("internalStoresUnsubscribers"),fr=Symbol("internalStores"),Ie=class extends J{constructor(){super(...arguments),this[Gu]=new Map,this[Ku]=new Map,this[Zu]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[fr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[fr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[fr].get(e)}addStore(e,r){var n;r=(n=r??(pr(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[fr].set(r,e),this.subscribeToStore(r,e),this.updateFromStores()}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[fr].delete(r)}setupStores(){this.unsubscribeFromStores(),this[fr].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 a=this.getStore(e.store);a&&(e.store?this[Bt].has(e.store):this[Bt].size>0)&&(this[r]=e.selector(a.getState(),this))}})}subscribeToStore(e,r){var n;this[Bt].set(e,r.subscribe(()=>this.updateFromStores())),this[Ho].set(e,[]),pr(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||r.name===a.store)){let s=c=>this[i](c);r.addEventListener(a.eventName,s),this[Ho].get(e).push(()=>r.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Bt].forEach((e,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(e){var r;this[Bt].has(e)&&this[Bt].get(e)(),this[Bt].delete(e),(r=this[Ho].get(e))===null||r===void 0||r.forEach(n=>n()),this[Ho].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Gu=Bt,Ku=fr,Zu=Ho;Ie.reduxProperties=new Map;Ie.reduxReactiveProperties=new Set;Ie.reduxEventListeners=new Map});function je(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var a,i;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 Ct(t){return!!t&&!!t[de]}function Qe(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 a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===og}(t)||Array.isArray(t)||!!t[rp]||!!(!((e=t.constructor)===null||e===void 0)&&e[rp])||Is(t)||ks(t))}function hr(t,e,r){r===void 0&&(r=!1),Ur(t)===0?(r?Object.keys:Fr)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function Ur(t){var e=t[de];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Is(t)?2:ks(t)?3:0}function Br(t,e){return Ur(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Yy(t,e){return Ur(t)===2?t.get(e):t[e]}function op(t,e,r){var n=Ur(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function np(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Is(t){return tg&&t instanceof Map}function ks(t){return rg&&t instanceof Set}function Ft(t){return t.o||t.t}function Ds(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=sp(t);delete e[de];for(var r=Fr(e),n=0;n<r.length;n++){var a=r[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function Ms(t,e){return e===void 0&&(e=!1),$s(t)||Ct(t)||!Qe(t)||(Ur(t)>1&&(t.set=t.add=t.clear=t.delete=Qy),Object.freeze(t),e&&hr(t,function(r,n){return Ms(n,!0)},!0)),t}function Qy(){je(2)}function $s(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function st(t){var e=Ls[t];return e||je(18,t),e}function Xy(t,e){Ls[t]||(Ls[t]=e)}function Ts(){return jo}function ws(t,e){e&&(st("Patches"),t.u=[],t.s=[],t.v=e)}function Dn(t){_s(t),t.p.forEach(Jy),t.p=null}function _s(t){t===jo&&(jo=t.l)}function Yu(t){return jo={p:[],l:jo,h:t,m:!0,_:0}}function Jy(t){var e=t[de];e.i===0||e.i===1?e.j():e.g=!0}function As(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||st("ES5").S(e,t,n),n?(r[de].P&&(Dn(e),je(4)),Qe(t)&&(t=Mn(e,t),e.l||$n(e,t)),e.u&&st("Patches").M(r[de].t,t,e.u,e.s)):t=Mn(e,r,[]),Dn(e),e.u&&e.v(e.u,e.s),t!==ip?t:void 0}function Mn(t,e,r){if($s(e))return e;var n=e[de];if(!n)return hr(e,function(c,d){return Qu(t,n,e,c,d,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 a=n.i===4||n.i===5?n.o=Ds(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),hr(i,function(c,d){return Qu(t,n,a,c,d,r,s)}),$n(t,a,!1),r&&t.u&&st("Patches").N(n,r,t.u,t.s)}return n.o}function Qu(t,e,r,n,a,i,s){if(Ct(a)){var c=Mn(t,a,i&&e&&e.i!==3&&!Br(e.R,n)?i.concat(n):void 0);if(op(r,n,c),!Ct(c))return;t.m=!1}else s&&r.add(a);if(Qe(a)&&!$s(a)){if(!t.h.D&&t._<1)return;Mn(t,a),e&&e.A.l||$n(t,a)}}function $n(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Ms(e,r)}function Rs(t,e){var r=t[de];return(r?Ft(r):t)[e]}function Xu(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 Ut(t){t.P||(t.P=!0,t.l&&Ut(t.l))}function Ns(t){t.o||(t.o=Ds(t.t))}function Ps(t,e,r){var n=Is(e)?st("MapSet").F(e,r):ks(e)?st("MapSet").T(e,r):t.O?function(a,i){var s=Array.isArray(a),c={i:s?1:0,A:i?i.A:Ts(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=c,p=Vo;s&&(d=[c],p=zo);var m=Proxy.revocable(d,p),h=m.revoke,g=m.proxy;return c.k=g,c.j=h,g}(e,r):st("ES5").J(e,r);return(r?r.A:Ts()).p.push(n),n}function eg(t){return Ct(t)||je(22,t),function e(r){if(!Qe(r))return r;var n,a=r[de],i=Ur(r);if(a){if(!a.P&&(a.i<4||!st("ES5").K(a)))return a.t;a.I=!0,n=Ju(r,i),a.I=!1}else n=Ju(r,i);return hr(n,function(s,c){a&&Yy(a.t,s)===c||op(n,s,e(c))}),i===3?new Set(n):n}(t)}function Ju(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Ds(t)}function ap(){function t(s,c){var d=i[s];return d?d.enumerable=c:i[s]=d={configurable:!0,enumerable:c,get:function(){var p=this[de];return Vo.get(p,s)},set:function(p){var m=this[de];Vo.set(m,s,p)}},d}function e(s){for(var c=s.length-1;c>=0;c--){var d=s[c][de];if(!d.P)switch(d.i){case 5:n(d)&&Ut(d);break;case 4:r(d)&&Ut(d)}}}function r(s){for(var c=s.t,d=s.k,p=Fr(d),m=p.length-1;m>=0;m--){var h=p[m];if(h!==de){var g=c[h];if(g===void 0&&!Br(c,h))return!0;var x=d[h],v=x&&x[de];if(v?v.t!==g:!np(x,g))return!0}}var w=!!c[de];return p.length!==Fr(c).length+(w?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(c,c.length-1);if(d&&!d.get)return!0;for(var p=0;p<c.length;p++)if(!c.hasOwnProperty(p))return!0;return!1}function a(s){s.g&&je(3,JSON.stringify(Ft(s)))}var i={};Xy("ES5",{J:function(s,c){var d=Array.isArray(s),p=function(h,g){if(h){for(var x=Array(g.length),v=0;v<g.length;v++)Object.defineProperty(x,""+v,t(v,!0));return x}var w=sp(g);delete w[de];for(var _=Fr(w),T=0;T<_.length;T++){var I=_[T];w[I]=t(I,h||!!w[I].enumerable)}return Object.create(Object.getPrototypeOf(g),w)}(d,s),m={i:d?5:4,A:c?c.A:Ts(),P:!1,I:!1,R:{},l:c,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,de,{value:m,writable:!0}),p},S:function(s,c,d){d?Ct(c)&&c[de].A===s&&e(s.p):(s.u&&function p(m){if(m&&typeof m=="object"){var h=m[de];if(h){var g=h.t,x=h.k,v=h.R,w=h.i;if(w===4)hr(x,function(S){S!==de&&(g[S]!==void 0||Br(g,S)?v[S]||p(x[S]):(v[S]=!0,Ut(h)))}),hr(g,function(S){x[S]!==void 0||Br(x,S)||(v[S]=!1,Ut(h))});else if(w===5){if(n(h)&&(Ut(h),v.length=!0),x.length<g.length)for(var _=x.length;_<g.length;_++)v[_]=!1;else for(var T=g.length;T<x.length;T++)v[T]=!0;for(var I=Math.min(x.length,g.length),A=0;A<I;A++)x.hasOwnProperty(A)||(v[A]=!0),v[A]===void 0&&p(x[A])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var ep,jo,Bs,tg,rg,tp,ip,rp,de,og,Fr,sp,Ls,Vo,zo,ng,Ue,ag,TC,_C,PC,LC,IC,kC,Bn,Fn=f(()=>{Bs=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",tg=typeof Map<"u",rg=typeof Set<"u",tp=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ip=Bs?Symbol.for("immer-nothing"):((ep={})["immer-nothing"]=!0,ep),rp=Bs?Symbol.for("immer-draftable"):"__$immer_draftable",de=Bs?Symbol.for("immer-state"):"__$immer_state",og=""+Object.prototype.constructor,Fr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,sp=Object.getOwnPropertyDescriptors||function(t){var e={};return Fr(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Ls={},Vo={get:function(t,e){if(e===de)return t;var r=Ft(t);if(!Br(r,e))return function(a,i,s){var c,d=Xu(i,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(a.k):void 0}(t,r,e);var n=r[e];return t.I||!Qe(n)?n:n===Rs(t.t,e)?(Ns(t),t.o[e]=Ps(t.A.h,n,t)):n},has:function(t,e){return e in Ft(t)},ownKeys:function(t){return Reflect.ownKeys(Ft(t))},set:function(t,e,r){var n=Xu(Ft(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var a=Rs(Ft(t),e),i=a?.[de];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(np(r,a)&&(r!==void 0||Br(t.t,e)))return!0;Ns(t),Ut(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 Rs(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Ns(t),Ut(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Ft(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){je(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){je(12)}},zo={};hr(Vo,function(t,e){zo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),zo.deleteProperty=function(t,e){return zo.set.call(this,t,e,void 0)},zo.set=function(t,e,r){return Vo.set.call(this,t[0],e,r,t[0])};ng=function(){function t(r){var n=this;this.O=tp,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var c=i;i=a;var d=n;return function(w){var _=this;w===void 0&&(w=c);for(var T=arguments.length,I=Array(T>1?T-1:0),A=1;A<T;A++)I[A-1]=arguments[A];return d.produce(w,function(S){var R;return(R=i).call.apply(R,[_,S].concat(I))})}}var p;if(typeof i!="function"&&je(6),s!==void 0&&typeof s!="function"&&je(7),Qe(a)){var m=Yu(n),h=Ps(n,a,void 0),g=!0;try{p=i(h),g=!1}finally{g?Dn(m):_s(m)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(w){return ws(m,s),As(w,m)},function(w){throw Dn(m),w}):(ws(m,s),As(p,m))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===ip&&(p=void 0),n.D&&Ms(p,!0),s){var x=[],v=[];st("Patches").M(a,p,x,v),s(x,v)}return p}je(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(p){for(var m=arguments.length,h=Array(m>1?m-1:0),g=1;g<m;g++)h[g-1]=arguments[g];return n.produceWithPatches(p,function(x){return a.apply(void 0,[x].concat(h))})};var s,c,d=n.produce(a,i,function(p,m){s=p,c=m});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,c]}):[d,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Qe(r)||je(8),Ct(r)&&(r=eg(r));var n=Yu(this),a=Ps(this,r,void 0);return a[de].C=!0,_s(n),a},e.finishDraft=function(r,n){var a=r&&r[de],i=a.A;return ws(i,n),As(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!tp&&je(20),this.O=r},e.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var s=st("Patches").$;return Ct(r)?s(r,n):this.produce(r,function(c){return s(c,n)})},t}(),Ue=new ng,ag=Ue.produce,TC=Ue.produceWithPatches.bind(Ue),_C=Ue.setAutoFreeze.bind(Ue),PC=Ue.setUseProxies.bind(Ue),LC=Ue.applyPatches.bind(Ue),IC=Ue.createDraft.bind(Ue),kC=Ue.finishDraft.bind(Ue),Bn=ag});function mr(t){"@babel/helpers - typeof";return mr=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},mr(t)}var Fs=f(()=>{});function cp(t,e){if(mr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(mr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var lp=f(()=>{Fs()});function dp(t){var e=cp(t,"string");return mr(e)=="symbol"?e:e+""}var up=f(()=>{Fs();lp()});function pp(t,e,r){return(e=dp(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var fp=f(()=>{up()});function hp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Us(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?hp(Object(r),!0).forEach(function(n){pp(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var mp=f(()=>{fp()});function Ae(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 ig(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 Hs(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ae(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ae(1));return r(Hs)(t,e)}if(typeof t!="function")throw new Error(Ae(2));var a=t,i=e,s=[],c=s,d=!1;function p(){c===s&&(c=s.slice())}function m(){if(d)throw new Error(Ae(3));return i}function h(w){if(typeof w!="function")throw new Error(Ae(4));if(d)throw new Error(Ae(5));var _=!0;return p(),c.push(w),function(){if(_){if(d)throw new Error(Ae(6));_=!1,p();var I=c.indexOf(w);c.splice(I,1),s=null}}}function g(w){if(!ig(w))throw new Error(Ae(7));if(typeof w.type>"u")throw new Error(Ae(8));if(d)throw new Error(Ae(9));try{d=!0,i=a(i,w)}finally{d=!1}for(var _=s=c,T=0;T<_.length;T++){var I=_[T];I()}return w}function x(w){if(typeof w!="function")throw new Error(Ae(10));a=w,g({type:Un.REPLACE})}function v(){var w,_=h;return w={subscribe:function(I){if(typeof I!="object"||I===null)throw new Error(Ae(11));function A(){I.next&&I.next(m())}A();var S=_(A);return{unsubscribe:S}}},w[yp]=function(){return this},w}return g({type:Un.INIT}),n={dispatch:g,subscribe:h,getState:m,replaceReducer:x},n[yp]=v,n}function sg(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(Ae(12));if(typeof r(void 0,{type:Un.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ae(13))})}function gp(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(r[a]=t[a])}var i=Object.keys(r),s,c;try{sg(r)}catch(d){c=d}return function(p,m){if(p===void 0&&(p={}),c)throw c;if(0)var h;for(var g=!1,x={},v=0;v<i.length;v++){var w=i[v],_=r[w],T=p[w],I=_(T,m);if(typeof I>"u"){var A=m&&m.type;throw new Error(Ae(14))}x[w]=I,g=g||I!==T}return g=g||i.length!==Object.keys(p).length,g?x:p}}function Wr(){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,a){return function(){return n(a.apply(void 0,arguments))}})}function bp(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(Ae(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},c=e.map(function(d){return d(s)});return i=Wr.apply(void 0,c)(a.dispatch),Us(Us({},a),{},{dispatch:i})}}}var yp,Ws,Un,Wn=f(()=>{mp();yp=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ws=function(){return Math.random().toString(36).substring(7).split("").join(".")},Un={INIT:"@@redux/INIT"+Ws(),REPLACE:"@@redux/REPLACE"+Ws(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ws()}}});function xp(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(c){return typeof c=="function"?c(a,i,t):s(c)}}};return e}var vp,zs,Sp=f(()=>{vp=xp();vp.withExtraArgument=xp;zs=vp});function yg(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 Ks(t){return Qe(t)?Bn(t,function(){}):t}function xg(t){return typeof t=="boolean"}function vg(){return function(e){return Sg(e)}}function Sg(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,s=i===void 0?!0:i,c=new gg;if(r&&(xg(r)?c.push(zs):c.push(zs.withExtraArgument(r.extraArgument))),0){if(a)var d;if(s)var p}return c}function Rp(t){var e=vg(),r=t||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,s=i===void 0?e():i,c=r.devTools,d=c===void 0?!0:c,p=r.preloadedState,m=p===void 0?void 0:p,h=r.enhancers,g=h===void 0?void 0:h,x;if(typeof a=="function")x=a;else if(yg(a))x=gp(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=s;if(typeof v=="function"&&(v=v(e),!Vs&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Vs&&v.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var w=bp.apply(void 0,v),_=Wr;d&&(_=mg(Wt({trace:!Vs},typeof d=="object"&&d)));var T=new bg(w),I=T;Array.isArray(g)?I=Hr([w],g):typeof g=="function"&&(I=g(T));var A=_.apply(void 0,I);return Hs(x,m,A)}function Ht(t,e){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Wt(Wt({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.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 Np(t){var e={},r=[],n,a={addCase:function(i,s){var c=typeof i=="string"?i:i.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,r,n]}function Cg(t){return typeof t=="function"}function Og(t,e,r,n){r===void 0&&(r=[]);var a=typeof e=="function"?Np(e):[e,r,n],i=a[0],s=a[1],c=a[2],d;if(Cg(t))d=function(){return Ks(t())};else{var p=Ks(t);d=function(){return p}}function m(h,g){h===void 0&&(h=d());var x=Hr([i[g.type]],s.filter(function(v){var w=v.matcher;return w(g)}).map(function(v){var w=v.reducer;return w}));return x.filter(function(v){return!!v}).length===0&&(x=[c]),x.reduce(function(v,w){if(w)if(Ct(v)){var _=v,T=w(_,g);return T===void 0?v:T}else{if(Qe(v))return Bn(v,function(I){return w(I,g)});var T=w(v,g);if(T===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return T}return v},h)}return m.getInitialState=d,m}function Eg(t,e){return t+"/"+e}function Tp(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:Ks(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},s={},c={};a.forEach(function(m){var h=n[m],g=Eg(e,m),x,v;"reducer"in h?(x=h.reducer,v=h.prepare):x=h,i[m]=x,s[g]=x,c[m]=v?Ht(g,v):Ht(g)});function d(){var m=typeof t.extraReducers=="function"?Np(t.extraReducers):[t.extraReducers],h=m[0],g=h===void 0?{}:h,x=m[1],v=x===void 0?[]:x,w=m[2],_=w===void 0?void 0:w,T=Wt(Wt({},g),s);return Og(r,function(I){for(var A in T)I.addCase(A,T[A]);for(var S=0,R=v;S<R.length;S++){var B=R[S];I.addMatcher(B.matcher,B.reducer)}_&&I.addDefaultCase(_)})}var p;return{name:e,reducer:function(m,h){return p||(p=d()),p(m,h)},actions:c,caseReducers:i,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}function Tg(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function _g(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Ap,cg,Hr,lg,dg,ug,Cp,pg,fg,Op,Wt,js,hg,mg,XC,gg,bg,Vs,wg,Ag,Rg,Gs,Ep,Ng,rO,_p,Pp,Lp,oO,nO,aO,iO,Zs,sO,cO,lO,wp,dO,Pg,uO,Ip=f(()=>{Fn();Wn();Wn();Wn();Sp();Fn();Fn();Ap=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},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)}}(),cg=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(p){return function(m){return d([p,m])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=p[0]&2?a.return:p[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,p[1])).done)return i;switch(a=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=p;break;case 4:return r.label++,{value:p[1],done:!1};case 5:r.label++,a=p[1],p=[0];continue;case 7:p=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){r.label=p[1];break}if(p[0]===6&&r.label<i[1]){r.label=i[1],i=p;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(p);break}i[2]&&r.ops.pop(),r.trys.pop();continue}p=e.call(t,r)}catch(m){p=[6,m],a=0}finally{n=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Hr=function(t,e){for(var r=0,n=e.length,a=t.length;r<n;r++,a++)t[a]=e[r];return t},lg=Object.defineProperty,dg=Object.defineProperties,ug=Object.getOwnPropertyDescriptors,Cp=Object.getOwnPropertySymbols,pg=Object.prototype.hasOwnProperty,fg=Object.prototype.propertyIsEnumerable,Op=function(t,e,r){return e in t?lg(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Wt=function(t,e){for(var r in e||(e={}))pg.call(e,r)&&Op(t,r,e[r]);if(Cp)for(var n=0,a=Cp(e);n<a.length;n++){var r=a[n];fg.call(e,r)&&Op(t,r,e[r])}return t},js=function(t,e){return dg(t,ug(e))},hg=function(t,e,r){return new Promise(function(n,a){var i=function(d){try{c(r.next(d))}catch(p){a(p)}},s=function(d){try{c(r.throw(d))}catch(p){a(p)}},c=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};c((r=r.apply(t,e)).next())})},mg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Wr:Wr.apply(null,arguments)},XC=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};gg=function(t){Ap(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}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,Hr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Hr([void 0],r.concat(this))))},e}(Array),bg=function(t){Ap(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}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,Hr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Hr([void 0],r.concat(this))))},e}(Array);Vs=!0;wg="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Ag=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=wg[Math.random()*64|0];return e},Rg=["name","message","stack","code"],Gs=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Ep=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Ng=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Rg;r<n.length;r++){var a=n[r];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},rO=function(){function t(e,r,n){var a=Ht(e+"/fulfilled",function(m,h,g,x){return{payload:m,meta:js(Wt({},x||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),i=Ht(e+"/pending",function(m,h,g){return{payload:void 0,meta:js(Wt({},g||{}),{arg:h,requestId:m,requestStatus:"pending"})}}),s=Ht(e+"/rejected",function(m,h,g,x,v){return{payload:x,error:(n&&n.serializeError||Ng)(m||"Rejected"),meta:js(Wt({},v||{}),{arg:g,requestId:h,rejectedWithValue:!!x,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),c=!1,d=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function p(m){return function(h,g,x){var v=n?.idGenerator?n.idGenerator(m):Ag(),w=new d,_,T=!1;function I(S){_=S,w.abort()}var A=function(){return hg(this,null,function(){var S,R,B,j,X,Z,F;return cg(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),j=(S=n?.condition)==null?void 0:S.call(n,m,{getState:g,extra:x}),_g(j)?[4,j]:[3,2];case 1:j=y.sent(),y.label=2;case 2:if(j===!1||w.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return T=!0,X=new Promise(function(C,$){return w.signal.addEventListener("abort",function(){return $({name:"AbortError",message:_||"Aborted"})})}),h(i(v,m,(R=n?.getPendingMeta)==null?void 0:R.call(n,{requestId:v,arg:m},{getState:g,extra:x}))),[4,Promise.race([X,Promise.resolve(r(m,{dispatch:h,getState:g,extra:x,requestId:v,signal:w.signal,abort:I,rejectWithValue:function(C,$){return new Gs(C,$)},fulfillWithValue:function(C,$){return new Ep(C,$)}})).then(function(C){if(C instanceof Gs)throw C;return C instanceof Ep?a(C.payload,v,m,C.meta):a(C,v,m)})])];case 3:return B=y.sent(),[3,5];case 4:return Z=y.sent(),B=Z instanceof Gs?s(null,v,m,Z.payload,Z.meta):s(Z,v,m),[3,5];case 5:return F=n&&!n.dispatchConditionRejection&&s.match(B)&&B.meta.condition,F||h(B),[2,B]}})})}();return Object.assign(A,{abort:I,requestId:v,arg:m,unwrap:function(){return A.then(Tg)}})}}return Object.assign(p,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();_p="listener",Pp="completed",Lp="cancelled",oO="task-"+Lp,nO="task-"+Pp,aO=_p+"-"+Lp,iO=_p+"-"+Pp,Zs="listenerMiddleware",sO=Ht(Zs+"/add"),cO=Ht(Zs+"/removeAll"),lO=Ht(Zs+"/remove"),dO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(wp||(wp=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Pg=function(t){return function(e){setTimeout(e,t)}},uO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Pg(10);ap()});function Lg(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))pr(e)&&e.clear()}var Ot,kp=f(()=>{"use strict";Ip();kn();Es();No();window.ftReduxStores||(window.ftReduxStores={});Ot=class t extends ar{static get(e){var r;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(pr(i))return i;if(a==null)return;let s=Tp({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),c=Rp({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[a.name]=new t(s,c,a.eventBus)}constructor(e,r,n){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Wo;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,c)=>{let d=s,p=i[d];return p?(...m)=>{let h=p(...m.map(a));return this.reduxStore.dispatch(h),h}:m=>{this.setState({[d]:a(m)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});function zr(t,e,r){return new Hn(t,e,r).watch()}var Hn,Dp=f(()=>{"use strict";Dt();Hn=class{constructor(e,r,n){this.store=e,this.valueSelector=r,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);kt(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}}});var qs={};G(qs,{FtCommandQueue:()=>Wo,FtLitElementRedux:()=>Ie,FtReduxStore:()=>Ot,ReduxWatcher:()=>Hn,clearAllStores:()=>Lg,isFtReduxStore:()=>pr,redux:()=>re,reduxEventListener:()=>qy,reduxReactive:()=>Zy,watch:()=>zr});var zn=f(()=>{"use strict";Vu();Es();qu();kp();kn();Dp()});var Js={};G(Js,{scrollHelper:()=>Xs});var Ys,jn,Qs,Xs,ec=f(()=>{"use strict";Dt();jn=new Map,Qs=class{lock(e,r){if(r){let n=jn.get(r);if(n==null||n===e)return jn.set(r,e),r}}release(e,r){r&&jn.get(r)===e&&jn.delete(r)}findFirstScrollableParent(e){var r;let n,a;for(let i of li(e)){let s=i,c=this.elementCanScroll(s);if(c&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else c&&a==null&&(a=s)}return(r=n??a)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){var n,a;let i=0;for(;r&&r.offsetParent!==e.offsetParent;)i+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,e),i=a-n.clientHeight+e.clientHeight,s=a,c=ir(0,(s-n.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,c)*(i-s)+s;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Ys=window.FluidTopicsScrollHelper)!==null&&Ys!==void 0?Ys:new Qs;Xs=window.FluidTopicsScrollHelper});var $p=gm((zt,Mp)=>{var Vn=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Gn=function(){function t(){this.fetch=!1,this.DOMException=Vn.DOMException}return t.prototype=Vn,new t}();(function(t){var e=function(r){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function i(y){return y&&DataView.prototype.isPrototypeOf(y)}if(a.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(y){return y&&s.indexOf(Object.prototype.toString.call(y))>-1};function d(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function p(y){return typeof y!="string"&&(y=String(y)),y}function m(y){var C={next:function(){var $=y.shift();return{done:$===void 0,value:$}}};return a.iterable&&(C[Symbol.iterator]=function(){return C}),C}function h(y){this.map={},y instanceof h?y.forEach(function(C,$){this.append($,C)},this):Array.isArray(y)?y.forEach(function(C){if(C.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+C.length);this.append(C[0],C[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(C){this.append(C,y[C])},this)}h.prototype.append=function(y,C){y=d(y),C=p(C);var $=this.map[y];this.map[y]=$?$+", "+C:C},h.prototype.delete=function(y){delete this.map[d(y)]},h.prototype.get=function(y){return y=d(y),this.has(y)?this.map[y]:null},h.prototype.has=function(y){return this.map.hasOwnProperty(d(y))},h.prototype.set=function(y,C){this.map[d(y)]=p(C)},h.prototype.forEach=function(y,C){for(var $ in this.map)this.map.hasOwnProperty($)&&y.call(C,this.map[$],$,this)},h.prototype.keys=function(){var y=[];return this.forEach(function(C,$){y.push($)}),m(y)},h.prototype.values=function(){var y=[];return this.forEach(function(C){y.push(C)}),m(y)},h.prototype.entries=function(){var y=[];return this.forEach(function(C,$){y.push([$,C])}),m(y)},a.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function g(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function x(y){return new Promise(function(C,$){y.onload=function(){C(y.result)},y.onerror=function(){$(y.error)}})}function v(y){var C=new FileReader,$=x(C);return C.readAsArrayBuffer(y),$}function w(y){var C=new FileReader,$=x(C),ee=/charset=([A-Za-z0-9_-]+)/.exec(y.type),se=ee?ee[1]:"utf-8";return C.readAsText(y,se),$}function _(y){for(var C=new Uint8Array(y),$=new Array(C.length),ee=0;ee<C.length;ee++)$[ee]=String.fromCharCode(C[ee]);return $.join("")}function T(y){if(y.slice)return y.slice(0);var C=new Uint8Array(y.byteLength);return C.set(new Uint8Array(y)),C.buffer}function I(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:a.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:a.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():a.arrayBuffer&&a.blob&&i(y)?(this._bodyArrayBuffer=T(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||c(y))?this._bodyArrayBuffer=T(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var y=g(this);return y||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(a.blob)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return w(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(_(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(B)}),this.json=function(){return this.text().then(JSON.parse)},this}var A=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function S(y){var C=y.toUpperCase();return A.indexOf(C)>-1?C:y}function R(y,C){if(!(this instanceof R))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');C=C||{};var $=C.body;if(y instanceof R){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,C.headers||(this.headers=new h(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!$&&y._bodyInit!=null&&($=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=C.credentials||this.credentials||"same-origin",(C.headers||!this.headers)&&(this.headers=new h(C.headers)),this.method=S(C.method||this.method||"GET"),this.mode=C.mode||this.mode||null,this.signal=C.signal||this.signal||function(){if("AbortController"in n){var Y=new AbortController;return Y.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&$)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody($),(this.method==="GET"||this.method==="HEAD")&&(C.cache==="no-store"||C.cache==="no-cache")){var ee=/([?&])_=[^&]*/;if(ee.test(this.url))this.url=this.url.replace(ee,"$1_="+new Date().getTime());else{var se=/\?/;this.url+=(se.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}R.prototype.clone=function(){return new R(this,{body:this._bodyInit})};function B(y){var C=new FormData;return y.trim().split("&").forEach(function($){if($){var ee=$.split("="),se=ee.shift().replace(/\+/g," "),Y=ee.join("=").replace(/\+/g," ");C.append(decodeURIComponent(se),decodeURIComponent(Y))}}),C}function j(y){var C=new h,$=y.replace(/\r?\n[\t ]+/g," ");return $.split("\r").map(function(ee){return ee.indexOf(`
|
|
48
|
-
`)===0?ee.substr(1,ee.length):ee}).forEach(function(ee){var se=ee.split(":"),Y=se.shift().trim();if(Y){var nn=se.join(":").trim();try{C.append(Y,nn)}catch(Ta){console.warn("Response "+Ta.message)}}}),C}I.call(R.prototype);function X(y,C){if(!(this instanceof X))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(C||(C={}),this.type="default",this.status=C.status===void 0?200:C.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=C.statusText===void 0?"":""+C.statusText,this.headers=new h(C.headers),this.url=C.url||"",this._initBody(y)}I.call(X.prototype),X.prototype.clone=function(){return new X(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},X.error=function(){var y=new X(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var Z=[301,302,303,307,308];X.redirect=function(y,C){if(Z.indexOf(C)===-1)throw new RangeError("Invalid status code");return new X(null,{status:C,headers:{location:y}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(C,$){this.message=C,this.name=$;var ee=Error(C);this.stack=ee.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function F(y,C){return new Promise(function($,ee){var se=new R(y,C);if(se.signal&&se.signal.aborted)return ee(new r.DOMException("Aborted","AbortError"));var Y=new XMLHttpRequest;function nn(){Y.abort()}Y.onload=function(){var ve={statusText:Y.statusText,headers:j(Y.getAllResponseHeaders()||"")};se.url.indexOf("file://")===0&&(Y.status<200||Y.status>599)?ve.status=200:ve.status=Y.status,ve.url="responseURL"in Y?Y.responseURL:ve.headers.get("X-Request-URL");var Qt="response"in Y?Y.response:Y.responseText;setTimeout(function(){$(new X(Qt,ve))},0)},Y.onerror=function(){setTimeout(function(){ee(new TypeError("Network request failed"))},0)},Y.ontimeout=function(){setTimeout(function(){ee(new TypeError("Network request timed out"))},0)},Y.onabort=function(){setTimeout(function(){ee(new r.DOMException("Aborted","AbortError"))},0)};function Ta(ve){try{return ve===""&&n.location.href?n.location.href:ve}catch{return ve}}if(Y.open(se.method,Ta(se.url),!0),se.credentials==="include"?Y.withCredentials=!0:se.credentials==="omit"&&(Y.withCredentials=!1),"responseType"in Y&&(a.blob?Y.responseType="blob":a.arrayBuffer&&(Y.responseType="arraybuffer")),C&&typeof C.headers=="object"&&!(C.headers instanceof h||n.Headers&&C.headers instanceof n.Headers)){var Ul=[];Object.getOwnPropertyNames(C.headers).forEach(function(ve){Ul.push(d(ve)),Y.setRequestHeader(ve,p(C.headers[ve]))}),se.headers.forEach(function(ve,Qt){Ul.indexOf(Qt)===-1&&Y.setRequestHeader(Qt,ve)})}else se.headers.forEach(function(ve,Qt){Y.setRequestHeader(Qt,ve)});se.signal&&(se.signal.addEventListener("abort",nn),Y.onreadystatechange=function(){Y.readyState===4&&se.signal.removeEventListener("abort",nn)}),Y.send(typeof se._bodyInit>"u"?null:se._bodyInit)})}return F.polyfill=!0,n.fetch||(n.fetch=F,n.Headers=h,n.Request=R,n.Response=X),r.Headers=h,r.Request=R,r.Response=X,r.fetch=F,r}({})})(Gn);Gn.fetch.ponyfill=!0;delete Gn.fetch.polyfill;var jr=Vn.fetch?Vn:Gn;zt=jr.fetch;zt.default=jr.fetch;zt.fetch=jr.fetch;zt.Headers=jr.Headers;zt.Request=jr.Request;zt.Response=jr.Response;Mp.exports=zt});var tc=f(()=>{});var Bp,Fp,Vr,Up,Wp,Gr,Hp,zp,jp,Vp,Gp,Kp,Zp,qp,Yp,yr,Jp,Qp,Kn,Xp,Kr,ef,Xe,Zr,xe,rc=f(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Bp||(Bp={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Fp||(Fp={}));(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(Vr||(Vr={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Up||(Up={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Wp||(Wp={}));(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",t.GEN_AI__RATE="GEN_AI__RATE",t.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",t.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Gr||(Gr={}));(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"})(Hp||(Hp={}));(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"})(zp||(zp={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(jp||(jp={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Vp||(Vp={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Gp||(Gp={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Kp||(Kp={}));(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"})(Zp||(Zp={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(qp||(qp={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Yp||(Yp={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(yr||(yr={}));Jp=t=>Object.keys(yr).includes(t);(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Qp||(Qp={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Kn||(Kn={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Xp||(Xp={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Kr||(Kr={}));ef=t=>Object.keys(Kr).includes(t);(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Xe||(Xe={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(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.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_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.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(xe||(xe={}))});var tf,rf,of,nf=f(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(tf||(tf={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(rf||(rf={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(of||(of={}))});function af(t,e){return t===e||(Ig[t]??[]).some(r=>af(r,e))}function sf(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(n=>af(n,e))}var Ig,cf=f(()=>{rc();Ig={[xe.PERSONAL_BOOK_SHARE_USER]:[xe.PERSONAL_BOOK_USER],[xe.HTML_EXPORT_USER]:[xe.PERSONAL_BOOK_USER],[xe.PDF_EXPORT_USER]:[xe.PERSONAL_BOOK_USER],[xe.KHUB_ADMIN]:[xe.CONTENT_PUBLISHER],[xe.ADMIN]:[xe.KHUB_ADMIN,xe.USERS_ADMIN,xe.PORTAL_ADMIN],[xe.GENERATIVE_AI_EXPORT_USER]:[xe.GENERATIVE_AI_USER]}});var lf=f(()=>{});var kg,qr=f(()=>{kg=xm($p(),1);tc();rc();nf();cf();lf();tc()});var oc={};G(oc,{SearchPlaceConverter:()=>Yr,SearchPlaceQueryParams:()=>ae,isSearchPlaceQueryParams:()=>uf,serializeRequest:()=>Mg});function Dg(t){return`"${t}"`}function df(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Mg(t,e){return new Yr(t).serialize(e)}function uf(t){return $g.has(t)}var ae,$g,Yr,nc=f(()=>{"use strict";qr();Dt();(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page"})(ae||(ae={}));$g=new Set(Object.values(ae));Yr=class{constructor(e,r={},n=20,a=!1,i="en-US"){this.baseUrl=e,this.predefinedSorts=r,this.defaultPerPage=n,this.allLanguagesAllowed=a,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let n=r==null||r.trim().length===0,a=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=this.toURLSearchParams(e),a.toString()}toURLSearchParams(e,r=!1){var n,a,i,s,c,d,p,m,h,g,x,v;let w=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&w.append(ae.LOCALE,e.contentLocale):w.append(ae.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&w.append(ae.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&w.append(ae.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&w.append(ae.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((a=e.sort)===null||a===void 0?void 0:a.length)>0&&e.sort[0].key==="ft:lastEdition"&&w.append(ae.SORT,"last_update");let _=(s=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(S=>S.valueFilter))!==null&&s!==void 0?s:[];if(_.length>0){let S=_.map(R=>{var B,j;let X=((j=(B=R.valueFilter)===null||B===void 0?void 0:B.values)!==null&&j!==void 0?j:[]).map(Z=>this.escapeFilters(Z)).map(Z=>Dg(df(Z))).join("_");return`${R.key}~${X}`}).join("*");w.append(ae.VALUE_FILTERS,S)}let T=(d=(c=e.metadataFilters)===null||c===void 0?void 0:c.filter(S=>S.dateFilter))!==null&&d!==void 0?d:[];if(T.length>0){let S=T.map(R=>{var B;return`${R.key}~${(B=R.dateFilter)===null||B===void 0?void 0:B.type.toLowerCase()}`}).join("*");w.append(ae.DATE_FILTERS,S)}let I=(m=(p=e.metadataFilters)===null||p===void 0?void 0:p.filter(S=>S.rangeFilter))!==null&&m!==void 0?m:[];if(I.length>0){let S=I.map(R=>{var B,j;return`${R.key}~${(B=R.rangeFilter)===null||B===void 0?void 0:B.from}_${(j=R.rangeFilter)===null||j===void 0?void 0:j.to}`}).join("*");w.append(ae.RANGE_FILTERS,S)}let A=(h=e.otherQueryParams)!==null&&h!==void 0?h:{};for(let S in A)w.append(S,A[S]);return!((g=e.paging)===null||g===void 0)&&g.perPage&&((v=(x=e.paging)===null||x===void 0?void 0:x.perPage)!==null&&v!==void 0?v:this.defaultPerPage)!=this.defaultPerPage&&w.append(ae.PER_PAGE,String(e.paging.perPage)),encodeURI(w.toString()).replace(/#/g,"%23")}parse(e){var r;let n=e.split("?"),a=this.fromURLSearchParams(n.slice(1).join("?")),i=n[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(e){var r,n,a,i,s,c,d,p;try{e=decodeURI(e).replace(/%23/g,"#")}catch(T){console.warn("Could not decode search request query params, fallback on raw value",T)}let m=new URLSearchParams(e),h=m.get(ae.LOCALE)==="all"?void 0:m.get(ae.LOCALE),g=((r=m.get(ae.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),x=((n=m.get(ae.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),v=(a=m.get(ae.SCOPE))!==null&&a!==void 0?a:"default",w=+((i=m.get(ae.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),_={};for(let T of m.keys())uf(T)||(_[T]=m.get(T));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=m.get(ae.QUERY))!==null&&s!==void 0?s:"",scope:(c=this.scopeMapping[v])!==null&&c!==void 0?c:"DEFAULT",virtualField:Jp(g)?g:"EVERYWHERE",sort:(p=(d=this.predefinedSorts[x])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&p!==void 0?p:[],metadataFilters:this.parseCompatFilters(m),facets:[],paging:{page:1,perPage:ir(1,isNaN(w)?this.defaultPerPage:w,1e3)},otherQueryParams:_}}parseCompatFilters(e){var r,n,a,i,s,c;let d=[];return e.has(ae.FILTERS)&&(d=this.parseValueFilters((r=e.get(ae.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(ae.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=e.get(ae.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=e.get(ae.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(ae.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(ae.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(df).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Kr[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}superEscapeFilters(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replaceAll(n,a);return e}unescapeFilterValue(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replace(a,r);return e}parseLegacyPeriodFilter(e){if(ef(e))return[{key:"ft:lastEdition",dateFilter:{type:Kr[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}}});var ic={};G(ic,{toFtFormComponent:()=>ac});function ac(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[Zn].form}constructor(...a){super(a),this[Zn]=this.attachInternals(),this[Zn].role=e}setFormValue(a){this[Zn].setFormValue(a)}}return r}var Zn,sc=f(()=>{"use strict";Zn=Symbol("elementInternals")});var cc={};G(cc,{DateFormatter:()=>Qr});var Qr,qn=f(()=>{"use strict";Qr=class{static format(e,r,n,a){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,a)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}}});var dc={};G(dc,{ALL_KEYS_VALUE:()=>lc,SameWindowStorageEvent:()=>Xr});var lc,Xr,uc=f(()=>{"use strict";lc="__all__",Xr=class extends CustomEvent{constructor(e,r,n){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==lc}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Xr(r[0],n,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Xr(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new Xr(lc))}})});var fc={};G(fc,{FocusMainContentEvent:()=>pc});var pc,hc=f(()=>{"use strict";pc=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}}});var pf={};function Bg(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0)}function Fg(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}var mc=f(()=>{"use strict";window.FluidTopicsA11yHints={isKeyboardNavigation:!1};document.addEventListener("keydown",Bg);document.addEventListener("click",Fg)});var yc,gc,bc,xc,vc,Ug,k=f(()=>{"use strict";Hl();z();ne();gn();Nr();Cd();Ro();ni();bn();si();xn();Cn();Wi();No();_n();On();us();$o();ps();Dt();ys();vs();Ss();Os();zn();Pn();ec();Ln();nc();sc();qn();K();uc();hc();mc();hc();mc();ni();bn();si();qn();xn();Cn();Wi();No();_n();ec();On();us();sc();$o();ps();Dt();ys();vs();Ss();Os();zn();uc();Pn();Ln();nc();K();vc=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((bc=(gc=(yc=window.safari)===null||yc===void 0?void 0:yc.pushNotification)===null||gc===void 0?void 0:gc.toString())!==null&&bc!==void 0?bc:"")==="[object SafariRemoteNotification]",Ug="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(xc=window.ftGlobals)!==null&&xc!==void 0?xc:{lit:za,litDecorators:Ka,litRepeat:Za,litClassMap:qa,litStyleMap:Ya,litUnsafeHTML:Qa,wcUtils:{...oi,...Xa,...ii,...cc,...ci,...ui,...Ui,...ri,...ns,...fc,...pf,...Js,...Fi,...ds,...ic,...cs,...Fu,...di,...ms,...xs,...ju,...Cs,...qs,...dc,...as,...ss,...oc,isSafari:vc,isTouchScreen:Ug,setVariable:E}}});var ff,N,hf,mf,yf,gf,bf,gr=f(()=>{"use strict";z();k();ff=o.extend("--ft-ripple-color","",D.colorContent),N={color:ff,backgroundColor:o.extend("--ft-ripple-background-color","",ff),opacityContentOnSurfacePressed:o.external(D.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(D.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(D.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(D.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},hf=o.extend("--ft-ripple-color","",D.colorPrimary),mf={color:hf,backgroundColor:o.extend("--ft-ripple-background-color","",hf)},yf=o.extend("--ft-ripple-color","",D.colorSecondary),gf={color:yf,backgroundColor:o.extend("--ft-ripple-background-color","",yf)},bf=L`
|
|
47
|
+
`});var qu={};var ws=f(()=>{"use strict"});var As={};G(As,{ParametrizedLabelResolver:()=>Vo});var Vo,Rs=f(()=>{"use strict";Vo=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,a;e=this.resolvePluralKey(e,r);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return t.replaceParameters(i,...r)}static replaceParameters(e,...r){return r.forEach((n,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let a=`${String(e)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let n=a=>r?.includes("date")?e.toLocaleDateString(a):r?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}}});var og,re,ng,Yu=f(()=>{"use strict";Mt();ne();og=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},re=t=>{let e=t??{};return(r,n)=>{var a;let i={hasChanged:Dt,attribute:!1,...e};O(i)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:c=>c[n],store:e.store})}},ng=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)}});var Go,Ns=f(()=>{"use strict";Go=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(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}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}}});function pr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var $n=f(()=>{"use strict"});var Qu,Xu,Ju,Ko,Bt,fr,Le,ep=f(()=>{"use strict";Wo();$n();Ko=Symbol("internalReduxEventsUnsubscribers"),Bt=Symbol("internalStoresUnsubscribers"),fr=Symbol("internalStores"),Le=class extends J{constructor(){super(...arguments),this[Qu]=new Map,this[Xu]=new Map,this[Ju]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[fr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[fr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[fr].get(e)}addStore(e,r){var n;r=(n=r??(pr(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[fr].set(r,e),this.subscribeToStore(r,e),this.updateFromStores()}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[fr].delete(r)}setupStores(){this.unsubscribeFromStores(),this[fr].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 a=this.getStore(e.store);a&&(e.store?this[Bt].has(e.store):this[Bt].size>0)&&(this[r]=e.selector(a.getState(),this))}})}subscribeToStore(e,r){var n;this[Bt].set(e,r.subscribe(()=>this.updateFromStores())),this[Ko].set(e,[]),pr(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||r.name===a.store)){let s=c=>this[i](c);r.addEventListener(a.eventName,s),this[Ko].get(e).push(()=>r.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Bt].forEach((e,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(e){var r;this[Bt].has(e)&&this[Bt].get(e)(),this[Bt].delete(e),(r=this[Ko].get(e))===null||r===void 0||r.forEach(n=>n()),this[Ko].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Qu=Bt,Xu=fr,Ju=Ko;Le.reduxProperties=new Map;Le.reduxReactiveProperties=new Set;Le.reduxEventListeners=new Map});function Ve(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 a,i;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ot(t){return!!t&&!!t[de]}function Xe(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 a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===pg}(t)||Array.isArray(t)||!!t[sp]||!!(!((e=t.constructor)===null||e===void 0)&&e[sp])||$s(t)||Fs(t))}function hr(t,e,r){r===void 0&&(r=!1),Wr(t)===0?(r?Object.keys:Hr)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function Wr(t){var e=t[de];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:$s(t)?2:Fs(t)?3:0}function Ur(t,e){return Wr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function ag(t,e){return Wr(t)===2?t.get(e):t[e]}function cp(t,e,r){var n=Wr(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function lp(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function $s(t){return dg&&t instanceof Map}function Fs(t){return ug&&t instanceof Set}function Ut(t){return t.o||t.t}function Bs(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=pp(t);delete e[de];for(var r=Hr(e),n=0;n<r.length;n++){var a=r[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function Us(t,e){return e===void 0&&(e=!1),Hs(t)||Ot(t)||!Xe(t)||(Wr(t)>1&&(t.set=t.add=t.clear=t.delete=ig),Object.freeze(t),e&&hr(t,function(r,n){return Us(n,!0)},!0)),t}function ig(){Ve(2)}function Hs(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function st(t){var e=Ms[t];return e||Ve(18,t),e}function sg(t,e){Ms[t]||(Ms[t]=e)}function Ls(){return qo}function Ts(t,e){e&&(st("Patches"),t.u=[],t.s=[],t.v=e)}function Fn(t){ks(t),t.p.forEach(cg),t.p=null}function ks(t){t===qo&&(qo=t.l)}function tp(t){return qo={p:[],l:qo,h:t,m:!0,_:0}}function cg(t){var e=t[de];e.i===0||e.i===1?e.j():e.g=!0}function _s(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||st("ES5").S(e,t,n),n?(r[de].P&&(Fn(e),Ve(4)),Xe(t)&&(t=Bn(e,t),e.l||Un(e,t)),e.u&&st("Patches").M(r[de].t,t,e.u,e.s)):t=Bn(e,r,[]),Fn(e),e.u&&e.v(e.u,e.s),t!==up?t:void 0}function Bn(t,e,r){if(Hs(e))return e;var n=e[de];if(!n)return hr(e,function(c,d){return rp(t,n,e,c,d,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Un(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Bs(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),hr(i,function(c,d){return rp(t,n,a,c,d,r,s)}),Un(t,a,!1),r&&t.u&&st("Patches").N(n,r,t.u,t.s)}return n.o}function rp(t,e,r,n,a,i,s){if(Ot(a)){var c=Bn(t,a,i&&e&&e.i!==3&&!Ur(e.R,n)?i.concat(n):void 0);if(cp(r,n,c),!Ot(c))return;t.m=!1}else s&&r.add(a);if(Xe(a)&&!Hs(a)){if(!t.h.D&&t._<1)return;Bn(t,a),e&&e.A.l||Un(t,a)}}function Un(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Us(e,r)}function Ps(t,e){var r=t[de];return(r?Ut(r):t)[e]}function op(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 Ht(t){t.P||(t.P=!0,t.l&&Ht(t.l))}function Is(t){t.o||(t.o=Bs(t.t))}function Ds(t,e,r){var n=$s(e)?st("MapSet").F(e,r):Fs(e)?st("MapSet").T(e,r):t.O?function(a,i){var s=Array.isArray(a),c={i:s?1:0,A:i?i.A:Ls(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=c,p=Yo;s&&(d=[c],p=Zo);var m=Proxy.revocable(d,p),h=m.revoke,g=m.proxy;return c.k=g,c.j=h,g}(e,r):st("ES5").J(e,r);return(r?r.A:Ls()).p.push(n),n}function lg(t){return Ot(t)||Ve(22,t),function e(r){if(!Xe(r))return r;var n,a=r[de],i=Wr(r);if(a){if(!a.P&&(a.i<4||!st("ES5").K(a)))return a.t;a.I=!0,n=np(r,i),a.I=!1}else n=np(r,i);return hr(n,function(s,c){a&&ag(a.t,s)===c||cp(n,s,e(c))}),i===3?new Set(n):n}(t)}function np(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Bs(t)}function dp(){function t(s,c){var d=i[s];return d?d.enumerable=c:i[s]=d={configurable:!0,enumerable:c,get:function(){var p=this[de];return Yo.get(p,s)},set:function(p){var m=this[de];Yo.set(m,s,p)}},d}function e(s){for(var c=s.length-1;c>=0;c--){var d=s[c][de];if(!d.P)switch(d.i){case 5:n(d)&&Ht(d);break;case 4:r(d)&&Ht(d)}}}function r(s){for(var c=s.t,d=s.k,p=Hr(d),m=p.length-1;m>=0;m--){var h=p[m];if(h!==de){var g=c[h];if(g===void 0&&!Ur(c,h))return!0;var x=d[h],v=x&&x[de];if(v?v.t!==g:!lp(x,g))return!0}}var w=!!c[de];return p.length!==Hr(c).length+(w?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(c,c.length-1);if(d&&!d.get)return!0;for(var p=0;p<c.length;p++)if(!c.hasOwnProperty(p))return!0;return!1}function a(s){s.g&&Ve(3,JSON.stringify(Ut(s)))}var i={};sg("ES5",{J:function(s,c){var d=Array.isArray(s),p=function(h,g){if(h){for(var x=Array(g.length),v=0;v<g.length;v++)Object.defineProperty(x,""+v,t(v,!0));return x}var w=pp(g);delete w[de];for(var _=Hr(w),T=0;T<_.length;T++){var L=_[T];w[L]=t(L,h||!!w[L].enumerable)}return Object.create(Object.getPrototypeOf(g),w)}(d,s),m={i:d?5:4,A:c?c.A:Ls(),P:!1,I:!1,R:{},l:c,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,de,{value:m,writable:!0}),p},S:function(s,c,d){d?Ot(c)&&c[de].A===s&&e(s.p):(s.u&&function p(m){if(m&&typeof m=="object"){var h=m[de];if(h){var g=h.t,x=h.k,v=h.R,w=h.i;if(w===4)hr(x,function(S){S!==de&&(g[S]!==void 0||Ur(g,S)?v[S]||p(x[S]):(v[S]=!0,Ht(h)))}),hr(g,function(S){x[S]!==void 0||Ur(x,S)||(v[S]=!1,Ht(h))});else if(w===5){if(n(h)&&(Ht(h),v.length=!0),x.length<g.length)for(var _=x.length;_<g.length;_++)v[_]=!1;else for(var T=g.length;T<x.length;T++)v[T]=!0;for(var L=Math.min(x.length,g.length),A=0;A<L;A++)x.hasOwnProperty(A)||(v[A]=!0),v[A]===void 0&&p(x[A])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var ap,qo,Ws,dg,ug,ip,up,sp,de,pg,Hr,pp,Ms,Yo,Zo,fg,He,hg,FC,BC,UC,HC,WC,zC,Hn,Wn=f(()=>{Ws=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",dg=typeof Map<"u",ug=typeof Set<"u",ip=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",up=Ws?Symbol.for("immer-nothing"):((ap={})["immer-nothing"]=!0,ap),sp=Ws?Symbol.for("immer-draftable"):"__$immer_draftable",de=Ws?Symbol.for("immer-state"):"__$immer_state",pg=""+Object.prototype.constructor,Hr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,pp=Object.getOwnPropertyDescriptors||function(t){var e={};return Hr(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Ms={},Yo={get:function(t,e){if(e===de)return t;var r=Ut(t);if(!Ur(r,e))return function(a,i,s){var c,d=op(i,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(a.k):void 0}(t,r,e);var n=r[e];return t.I||!Xe(n)?n:n===Ps(t.t,e)?(Is(t),t.o[e]=Ds(t.A.h,n,t)):n},has:function(t,e){return e in Ut(t)},ownKeys:function(t){return Reflect.ownKeys(Ut(t))},set:function(t,e,r){var n=op(Ut(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var a=Ps(Ut(t),e),i=a?.[de];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(lp(r,a)&&(r!==void 0||Ur(t.t,e)))return!0;Is(t),Ht(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,Is(t),Ht(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Ut(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){Ve(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ve(12)}},Zo={};hr(Yo,function(t,e){Zo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Zo.deleteProperty=function(t,e){return Zo.set.call(this,t,e,void 0)},Zo.set=function(t,e,r){return Yo.set.call(this,t[0],e,r,t[0])};fg=function(){function t(r){var n=this;this.O=ip,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var c=i;i=a;var d=n;return function(w){var _=this;w===void 0&&(w=c);for(var T=arguments.length,L=Array(T>1?T-1:0),A=1;A<T;A++)L[A-1]=arguments[A];return d.produce(w,function(S){var R;return(R=i).call.apply(R,[_,S].concat(L))})}}var p;if(typeof i!="function"&&Ve(6),s!==void 0&&typeof s!="function"&&Ve(7),Xe(a)){var m=tp(n),h=Ds(n,a,void 0),g=!0;try{p=i(h),g=!1}finally{g?Fn(m):ks(m)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(w){return Ts(m,s),_s(w,m)},function(w){throw Fn(m),w}):(Ts(m,s),_s(p,m))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===up&&(p=void 0),n.D&&Us(p,!0),s){var x=[],v=[];st("Patches").M(a,p,x,v),s(x,v)}return p}Ve(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(p){for(var m=arguments.length,h=Array(m>1?m-1:0),g=1;g<m;g++)h[g-1]=arguments[g];return n.produceWithPatches(p,function(x){return a.apply(void 0,[x].concat(h))})};var s,c,d=n.produce(a,i,function(p,m){s=p,c=m});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,c]}):[d,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Xe(r)||Ve(8),Ot(r)&&(r=lg(r));var n=tp(this),a=Ds(this,r,void 0);return a[de].C=!0,ks(n),a},e.finishDraft=function(r,n){var a=r&&r[de],i=a.A;return Ts(i,n),_s(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!ip&&Ve(20),this.O=r},e.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var s=st("Patches").$;return Ot(r)?s(r,n):this.produce(r,function(c){return s(c,n)})},t}(),He=new fg,hg=He.produce,FC=He.produceWithPatches.bind(He),BC=He.setAutoFreeze.bind(He),UC=He.setUseProxies.bind(He),HC=He.applyPatches.bind(He),WC=He.createDraft.bind(He),zC=He.finishDraft.bind(He),Hn=hg});function mr(t){"@babel/helpers - typeof";return mr=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},mr(t)}var zs=f(()=>{});function fp(t,e){if(mr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(mr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var hp=f(()=>{zs()});function mp(t){var e=fp(t,"string");return mr(e)=="symbol"?e:e+""}var yp=f(()=>{zs();hp()});function gp(t,e,r){return(e=mp(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var bp=f(()=>{yp()});function xp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function js(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?xp(Object(r),!0).forEach(function(n){gp(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var vp=f(()=>{bp()});function Ae(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 mg(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 Gs(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ae(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ae(1));return r(Gs)(t,e)}if(typeof t!="function")throw new Error(Ae(2));var a=t,i=e,s=[],c=s,d=!1;function p(){c===s&&(c=s.slice())}function m(){if(d)throw new Error(Ae(3));return i}function h(w){if(typeof w!="function")throw new Error(Ae(4));if(d)throw new Error(Ae(5));var _=!0;return p(),c.push(w),function(){if(_){if(d)throw new Error(Ae(6));_=!1,p();var L=c.indexOf(w);c.splice(L,1),s=null}}}function g(w){if(!mg(w))throw new Error(Ae(7));if(typeof w.type>"u")throw new Error(Ae(8));if(d)throw new Error(Ae(9));try{d=!0,i=a(i,w)}finally{d=!1}for(var _=s=c,T=0;T<_.length;T++){var L=_[T];L()}return w}function x(w){if(typeof w!="function")throw new Error(Ae(10));a=w,g({type:zn.REPLACE})}function v(){var w,_=h;return w={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(Ae(11));function A(){L.next&&L.next(m())}A();var S=_(A);return{unsubscribe:S}}},w[Sp]=function(){return this},w}return g({type:zn.INIT}),n={dispatch:g,subscribe:h,getState:m,replaceReducer:x},n[Sp]=v,n}function yg(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:zn.INIT});if(typeof n>"u")throw new Error(Ae(12));if(typeof r(void 0,{type:zn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ae(13))})}function Cp(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(r[a]=t[a])}var i=Object.keys(r),s,c;try{yg(r)}catch(d){c=d}return function(p,m){if(p===void 0&&(p={}),c)throw c;if(0)var h;for(var g=!1,x={},v=0;v<i.length;v++){var w=i[v],_=r[w],T=p[w],L=_(T,m);if(typeof L>"u"){var A=m&&m.type;throw new Error(Ae(14))}x[w]=L,g=g||L!==T}return g=g||i.length!==Object.keys(p).length,g?x:p}}function zr(){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,a){return function(){return n(a.apply(void 0,arguments))}})}function Op(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(Ae(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},c=e.map(function(d){return d(s)});return i=zr.apply(void 0,c)(a.dispatch),js(js({},a),{},{dispatch:i})}}}var Sp,Vs,zn,jn=f(()=>{vp();Sp=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Vs=function(){return Math.random().toString(36).substring(7).split("").join(".")},zn={INIT:"@@redux/INIT"+Vs(),REPLACE:"@@redux/REPLACE"+Vs(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Vs()}}});function Ep(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(c){return typeof c=="function"?c(a,i,t):s(c)}}};return e}var wp,Ks,Ap=f(()=>{wp=Ep();wp.withExtraArgument=Ep;Ks=wp});function wg(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 Qs(t){return Xe(t)?Hn(t,function(){}):t}function Ng(t){return typeof t=="boolean"}function Tg(){return function(e){return _g(e)}}function _g(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,s=i===void 0?!0:i,c=new Ag;if(r&&(Ng(r)?c.push(Ks):c.push(Ks.withExtraArgument(r.extraArgument))),0){if(a)var d;if(s)var p}return c}function Ip(t){var e=Tg(),r=t||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,s=i===void 0?e():i,c=r.devTools,d=c===void 0?!0:c,p=r.preloadedState,m=p===void 0?void 0:p,h=r.enhancers,g=h===void 0?void 0:h,x;if(typeof a=="function")x=a;else if(wg(a))x=Cp(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=s;if(typeof v=="function"&&(v=v(e),!qs&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!qs&&v.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var w=Op.apply(void 0,v),_=zr;d&&(_=Eg(Wt({trace:!qs},typeof d=="object"&&d)));var T=new Rg(w),L=T;Array.isArray(g)?L=jr([w],g):typeof g=="function"&&(L=g(T));var A=_.apply(void 0,L);return Gs(x,m,A)}function zt(t,e){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Wt(Wt({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.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 Lp(t){var e={},r=[],n,a={addCase:function(i,s){var c=typeof i=="string"?i:i.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,r,n]}function Pg(t){return typeof t=="function"}function Ig(t,e,r,n){r===void 0&&(r=[]);var a=typeof e=="function"?Lp(e):[e,r,n],i=a[0],s=a[1],c=a[2],d;if(Pg(t))d=function(){return Qs(t())};else{var p=Qs(t);d=function(){return p}}function m(h,g){h===void 0&&(h=d());var x=jr([i[g.type]],s.filter(function(v){var w=v.matcher;return w(g)}).map(function(v){var w=v.reducer;return w}));return x.filter(function(v){return!!v}).length===0&&(x=[c]),x.reduce(function(v,w){if(w)if(Ot(v)){var _=v,T=w(_,g);return T===void 0?v:T}else{if(Xe(v))return Hn(v,function(L){return w(L,g)});var T=w(v,g);if(T===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return T}return v},h)}return m.getInitialState=d,m}function Lg(t,e){return t+"/"+e}function kp(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:Qs(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},s={},c={};a.forEach(function(m){var h=n[m],g=Lg(e,m),x,v;"reducer"in h?(x=h.reducer,v=h.prepare):x=h,i[m]=x,s[g]=x,c[m]=v?zt(g,v):zt(g)});function d(){var m=typeof t.extraReducers=="function"?Lp(t.extraReducers):[t.extraReducers],h=m[0],g=h===void 0?{}:h,x=m[1],v=x===void 0?[]:x,w=m[2],_=w===void 0?void 0:w,T=Wt(Wt({},g),s);return Ig(r,function(L){for(var A in T)L.addCase(A,T[A]);for(var S=0,R=v;S<R.length;S++){var F=R[S];L.addMatcher(F.matcher,F.reducer)}_&&L.addDefaultCase(_)})}var p;return{name:e,reducer:function(m,h){return p||(p=d()),p(m,h)},actions:c,caseReducers:i,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}function Fg(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Bg(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Pp,gg,jr,bg,xg,vg,Rp,Sg,Cg,Np,Wt,Zs,Og,Eg,sO,Ag,Rg,qs,kg,Dg,Mg,Ys,Tp,$g,uO,Dp,Mp,$p,pO,fO,hO,mO,Xs,yO,gO,bO,_p,xO,Ug,vO,Fp=f(()=>{Wn();jn();jn();jn();Ap();Wn();Wn();Pp=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},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)}}(),gg=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(p){return function(m){return d([p,m])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=p[0]&2?a.return:p[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,p[1])).done)return i;switch(a=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=p;break;case 4:return r.label++,{value:p[1],done:!1};case 5:r.label++,a=p[1],p=[0];continue;case 7:p=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){r.label=p[1];break}if(p[0]===6&&r.label<i[1]){r.label=i[1],i=p;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(p);break}i[2]&&r.ops.pop(),r.trys.pop();continue}p=e.call(t,r)}catch(m){p=[6,m],a=0}finally{n=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},jr=function(t,e){for(var r=0,n=e.length,a=t.length;r<n;r++,a++)t[a]=e[r];return t},bg=Object.defineProperty,xg=Object.defineProperties,vg=Object.getOwnPropertyDescriptors,Rp=Object.getOwnPropertySymbols,Sg=Object.prototype.hasOwnProperty,Cg=Object.prototype.propertyIsEnumerable,Np=function(t,e,r){return e in t?bg(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Wt=function(t,e){for(var r in e||(e={}))Sg.call(e,r)&&Np(t,r,e[r]);if(Rp)for(var n=0,a=Rp(e);n<a.length;n++){var r=a[n];Cg.call(e,r)&&Np(t,r,e[r])}return t},Zs=function(t,e){return xg(t,vg(e))},Og=function(t,e,r){return new Promise(function(n,a){var i=function(d){try{c(r.next(d))}catch(p){a(p)}},s=function(d){try{c(r.throw(d))}catch(p){a(p)}},c=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};c((r=r.apply(t,e)).next())})},Eg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?zr:zr.apply(null,arguments)},sO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};Ag=function(t){Pp(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}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,jr([void 0],r[0].concat(this)))):new(e.bind.apply(e,jr([void 0],r.concat(this))))},e}(Array),Rg=function(t){Pp(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}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,jr([void 0],r[0].concat(this)))):new(e.bind.apply(e,jr([void 0],r.concat(this))))},e}(Array);qs=!0;kg="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Dg=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=kg[Math.random()*64|0];return e},Mg=["name","message","stack","code"],Ys=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Tp=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),$g=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Mg;r<n.length;r++){var a=n[r];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},uO=function(){function t(e,r,n){var a=zt(e+"/fulfilled",function(m,h,g,x){return{payload:m,meta:Zs(Wt({},x||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),i=zt(e+"/pending",function(m,h,g){return{payload:void 0,meta:Zs(Wt({},g||{}),{arg:h,requestId:m,requestStatus:"pending"})}}),s=zt(e+"/rejected",function(m,h,g,x,v){return{payload:x,error:(n&&n.serializeError||$g)(m||"Rejected"),meta:Zs(Wt({},v||{}),{arg:g,requestId:h,rejectedWithValue:!!x,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),c=!1,d=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function p(m){return function(h,g,x){var v=n?.idGenerator?n.idGenerator(m):Dg(),w=new d,_,T=!1;function L(S){_=S,w.abort()}var A=function(){return Og(this,null,function(){var S,R,F,j,X,Z,B;return gg(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),j=(S=n?.condition)==null?void 0:S.call(n,m,{getState:g,extra:x}),Bg(j)?[4,j]:[3,2];case 1:j=y.sent(),y.label=2;case 2:if(j===!1||w.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return T=!0,X=new Promise(function(C,$){return w.signal.addEventListener("abort",function(){return $({name:"AbortError",message:_||"Aborted"})})}),h(i(v,m,(R=n?.getPendingMeta)==null?void 0:R.call(n,{requestId:v,arg:m},{getState:g,extra:x}))),[4,Promise.race([X,Promise.resolve(r(m,{dispatch:h,getState:g,extra:x,requestId:v,signal:w.signal,abort:L,rejectWithValue:function(C,$){return new Ys(C,$)},fulfillWithValue:function(C,$){return new Tp(C,$)}})).then(function(C){if(C instanceof Ys)throw C;return C instanceof Tp?a(C.payload,v,m,C.meta):a(C,v,m)})])];case 3:return F=y.sent(),[3,5];case 4:return Z=y.sent(),F=Z instanceof Ys?s(null,v,m,Z.payload,Z.meta):s(Z,v,m),[3,5];case 5:return B=n&&!n.dispatchConditionRejection&&s.match(F)&&F.meta.condition,B||h(F),[2,F]}})})}();return Object.assign(A,{abort:L,requestId:v,arg:m,unwrap:function(){return A.then(Fg)}})}}return Object.assign(p,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();Dp="listener",Mp="completed",$p="cancelled",pO="task-"+$p,fO="task-"+Mp,hO=Dp+"-"+$p,mO=Dp+"-"+Mp,Xs="listenerMiddleware",yO=zt(Xs+"/add"),gO=zt(Xs+"/removeAll"),bO=zt(Xs+"/remove"),xO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(_p||(_p=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Ug=function(t){return function(e){setTimeout(e,t)}},vO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Ug(10);dp()});function Hg(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))pr(e)&&e.clear()}var Et,Bp=f(()=>{"use strict";Fp();$n();Ns();Io();window.ftReduxStores||(window.ftReduxStores={});Et=class t extends gt{static get(e){var r;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(pr(i))return i;if(a==null)return;let s=kp({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),c=Ip({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[a.name]=new t(s,c,a.eventBus)}constructor(e,r,n){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Go;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,c)=>{let d=s,p=i[d];return p?(...m)=>{let h=p(...m.map(a));return this.reduxStore.dispatch(h),h}:m=>{this.setState({[d]:a(m)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});function Vr(t,e,r){return new Vn(t,e,r).watch()}var Vn,Up=f(()=>{"use strict";Mt();Vn=class{constructor(e,r,n){this.store=e,this.valueSelector=r,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);Dt(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}}});var Js={};G(Js,{FtCommandQueue:()=>Go,FtLitElementRedux:()=>Le,FtReduxStore:()=>Et,ReduxWatcher:()=>Vn,clearAllStores:()=>Hg,isFtReduxStore:()=>pr,redux:()=>re,reduxEventListener:()=>ng,reduxReactive:()=>og,watch:()=>Vr});var Gn=f(()=>{"use strict";Yu();Ns();ep();Bp();$n();Up()});var oc={};G(oc,{scrollHelper:()=>rc});var ec,Kn,tc,rc,nc=f(()=>{"use strict";Mt();Kn=new Map,tc=class{lock(e,r){if(r){let n=Kn.get(r);if(n==null||n===e)return Kn.set(r,e),r}}release(e,r){r&&Kn.get(r)===e&&Kn.delete(r)}findFirstScrollableParent(e){var r;let n,a;for(let i of fi(e)){let s=i,c=this.elementCanScroll(s);if(c&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else c&&a==null&&(a=s)}return(r=n??a)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){var n,a;let i=0;for(;r&&r.offsetParent!==e.offsetParent;)i+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return i+((a=r?.offsetTop)!==null&&a!==void 0?a:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,e),i=a-n.clientHeight+e.clientHeight,s=a,c=ir(0,(s-n.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(r?.position,c)*(i-s)+s;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(ec=window.FluidTopicsScrollHelper)!==null&&ec!==void 0?ec:new tc;rc=window.FluidTopicsScrollHelper});var Wp=Rm((jt,Hp)=>{var Zn=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,qn=function(){function t(){this.fetch=!1,this.DOMException=Zn.DOMException}return t.prototype=Zn,new t}();(function(t){var e=function(r){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function i(y){return y&&DataView.prototype.isPrototypeOf(y)}if(a.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(y){return y&&s.indexOf(Object.prototype.toString.call(y))>-1};function d(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function p(y){return typeof y!="string"&&(y=String(y)),y}function m(y){var C={next:function(){var $=y.shift();return{done:$===void 0,value:$}}};return a.iterable&&(C[Symbol.iterator]=function(){return C}),C}function h(y){this.map={},y instanceof h?y.forEach(function(C,$){this.append($,C)},this):Array.isArray(y)?y.forEach(function(C){if(C.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+C.length);this.append(C[0],C[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(C){this.append(C,y[C])},this)}h.prototype.append=function(y,C){y=d(y),C=p(C);var $=this.map[y];this.map[y]=$?$+", "+C:C},h.prototype.delete=function(y){delete this.map[d(y)]},h.prototype.get=function(y){return y=d(y),this.has(y)?this.map[y]:null},h.prototype.has=function(y){return this.map.hasOwnProperty(d(y))},h.prototype.set=function(y,C){this.map[d(y)]=p(C)},h.prototype.forEach=function(y,C){for(var $ in this.map)this.map.hasOwnProperty($)&&y.call(C,this.map[$],$,this)},h.prototype.keys=function(){var y=[];return this.forEach(function(C,$){y.push($)}),m(y)},h.prototype.values=function(){var y=[];return this.forEach(function(C){y.push(C)}),m(y)},h.prototype.entries=function(){var y=[];return this.forEach(function(C,$){y.push([$,C])}),m(y)},a.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function g(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function x(y){return new Promise(function(C,$){y.onload=function(){C(y.result)},y.onerror=function(){$(y.error)}})}function v(y){var C=new FileReader,$=x(C);return C.readAsArrayBuffer(y),$}function w(y){var C=new FileReader,$=x(C),ee=/charset=([A-Za-z0-9_-]+)/.exec(y.type),se=ee?ee[1]:"utf-8";return C.readAsText(y,se),$}function _(y){for(var C=new Uint8Array(y),$=new Array(C.length),ee=0;ee<C.length;ee++)$[ee]=String.fromCharCode(C[ee]);return $.join("")}function T(y){if(y.slice)return y.slice(0);var C=new Uint8Array(y.byteLength);return C.set(new Uint8Array(y)),C.buffer}function L(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:a.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:a.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():a.arrayBuffer&&a.blob&&i(y)?(this._bodyArrayBuffer=T(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||c(y))?this._bodyArrayBuffer=T(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var y=g(this);return y||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(a.blob)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return w(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(_(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(F)}),this.json=function(){return this.text().then(JSON.parse)},this}var A=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function S(y){var C=y.toUpperCase();return A.indexOf(C)>-1?C:y}function R(y,C){if(!(this instanceof R))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');C=C||{};var $=C.body;if(y instanceof R){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,C.headers||(this.headers=new h(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!$&&y._bodyInit!=null&&($=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=C.credentials||this.credentials||"same-origin",(C.headers||!this.headers)&&(this.headers=new h(C.headers)),this.method=S(C.method||this.method||"GET"),this.mode=C.mode||this.mode||null,this.signal=C.signal||this.signal||function(){if("AbortController"in n){var Y=new AbortController;return Y.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&$)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody($),(this.method==="GET"||this.method==="HEAD")&&(C.cache==="no-store"||C.cache==="no-cache")){var ee=/([?&])_=[^&]*/;if(ee.test(this.url))this.url=this.url.replace(ee,"$1_="+new Date().getTime());else{var se=/\?/;this.url+=(se.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}R.prototype.clone=function(){return new R(this,{body:this._bodyInit})};function F(y){var C=new FormData;return y.trim().split("&").forEach(function($){if($){var ee=$.split("="),se=ee.shift().replace(/\+/g," "),Y=ee.join("=").replace(/\+/g," ");C.append(decodeURIComponent(se),decodeURIComponent(Y))}}),C}function j(y){var C=new h,$=y.replace(/\r?\n[\t ]+/g," ");return $.split("\r").map(function(ee){return ee.indexOf(`
|
|
48
|
+
`)===0?ee.substr(1,ee.length):ee}).forEach(function(ee){var se=ee.split(":"),Y=se.shift().trim();if(Y){var cn=se.join(":").trim();try{C.append(Y,cn)}catch(La){console.warn("Response "+La.message)}}}),C}L.call(R.prototype);function X(y,C){if(!(this instanceof X))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(C||(C={}),this.type="default",this.status=C.status===void 0?200:C.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=C.statusText===void 0?"":""+C.statusText,this.headers=new h(C.headers),this.url=C.url||"",this._initBody(y)}L.call(X.prototype),X.prototype.clone=function(){return new X(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},X.error=function(){var y=new X(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var Z=[301,302,303,307,308];X.redirect=function(y,C){if(Z.indexOf(C)===-1)throw new RangeError("Invalid status code");return new X(null,{status:C,headers:{location:y}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(C,$){this.message=C,this.name=$;var ee=Error(C);this.stack=ee.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function B(y,C){return new Promise(function($,ee){var se=new R(y,C);if(se.signal&&se.signal.aborted)return ee(new r.DOMException("Aborted","AbortError"));var Y=new XMLHttpRequest;function cn(){Y.abort()}Y.onload=function(){var ve={statusText:Y.statusText,headers:j(Y.getAllResponseHeaders()||"")};se.url.indexOf("file://")===0&&(Y.status<200||Y.status>599)?ve.status=200:ve.status=Y.status,ve.url="responseURL"in Y?Y.responseURL:ve.headers.get("X-Request-URL");var Xt="response"in Y?Y.response:Y.responseText;setTimeout(function(){$(new X(Xt,ve))},0)},Y.onerror=function(){setTimeout(function(){ee(new TypeError("Network request failed"))},0)},Y.ontimeout=function(){setTimeout(function(){ee(new TypeError("Network request timed out"))},0)},Y.onabort=function(){setTimeout(function(){ee(new r.DOMException("Aborted","AbortError"))},0)};function La(ve){try{return ve===""&&n.location.href?n.location.href:ve}catch{return ve}}if(Y.open(se.method,La(se.url),!0),se.credentials==="include"?Y.withCredentials=!0:se.credentials==="omit"&&(Y.withCredentials=!1),"responseType"in Y&&(a.blob?Y.responseType="blob":a.arrayBuffer&&(Y.responseType="arraybuffer")),C&&typeof C.headers=="object"&&!(C.headers instanceof h||n.Headers&&C.headers instanceof n.Headers)){var Vl=[];Object.getOwnPropertyNames(C.headers).forEach(function(ve){Vl.push(d(ve)),Y.setRequestHeader(ve,p(C.headers[ve]))}),se.headers.forEach(function(ve,Xt){Vl.indexOf(Xt)===-1&&Y.setRequestHeader(Xt,ve)})}else se.headers.forEach(function(ve,Xt){Y.setRequestHeader(Xt,ve)});se.signal&&(se.signal.addEventListener("abort",cn),Y.onreadystatechange=function(){Y.readyState===4&&se.signal.removeEventListener("abort",cn)}),Y.send(typeof se._bodyInit>"u"?null:se._bodyInit)})}return B.polyfill=!0,n.fetch||(n.fetch=B,n.Headers=h,n.Request=R,n.Response=X),r.Headers=h,r.Request=R,r.Response=X,r.fetch=B,r}({})})(qn);qn.fetch.ponyfill=!0;delete qn.fetch.polyfill;var Gr=Zn.fetch?Zn:qn;jt=Gr.fetch;jt.default=Gr.fetch;jt.fetch=Gr.fetch;jt.Headers=Gr.Headers;jt.Request=Gr.Request;jt.Response=Gr.Response;Hp.exports=jt});var ac=f(()=>{});var zp,jp,Kr,Vp,Gp,yr,Kp,Zp,qp,Yp,Qp,Xp,Jp,ef,tf,gr,nf,rf,Yn,of,Zr,af,Ge,qr,xe,ic=f(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(zp||(zp={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(jp||(jp={}));(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(Kr||(Kr={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Vp||(Vp={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Gp||(Gp={}));(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",t.GEN_AI__RATE="GEN_AI__RATE",t.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",t.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_CONTEXT_MENU="SEARCH_RESULT__OPEN_CONTEXT_MENU",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(yr||(yr={}));(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"})(Kp||(Kp={}));(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"})(Zp||(Zp={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(qp||(qp={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Yp||(Yp={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Qp||(Qp={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Xp||(Xp={}));(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"})(Jp||(Jp={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(ef||(ef={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(tf||(tf={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(gr||(gr={}));nf=t=>Object.keys(gr).includes(t);(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(rf||(rf={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Yn||(Yn={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(of||(of={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Zr||(Zr={}));af=t=>Object.keys(Zr).includes(t);(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Ge||(Ge={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(qr||(qr={}));(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.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_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.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(xe||(xe={}))});var sf,cf,lf,df=f(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(sf||(sf={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(cf||(cf={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(lf||(lf={}))});function uf(t,e){return t===e||(Wg[t]??[]).some(r=>uf(r,e))}function pf(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(n=>uf(n,e))}var Wg,ff=f(()=>{ic();Wg={[xe.PERSONAL_BOOK_SHARE_USER]:[xe.PERSONAL_BOOK_USER],[xe.HTML_EXPORT_USER]:[xe.PERSONAL_BOOK_USER],[xe.PDF_EXPORT_USER]:[xe.PERSONAL_BOOK_USER],[xe.KHUB_ADMIN]:[xe.CONTENT_PUBLISHER],[xe.ADMIN]:[xe.KHUB_ADMIN,xe.USERS_ADMIN,xe.PORTAL_ADMIN],[xe.GENERATIVE_AI_EXPORT_USER]:[xe.GENERATIVE_AI_USER]}});var hf=f(()=>{});var zg,Yr=f(()=>{zg=Tm(Wp(),1);ac();ic();df();ff();hf();ac()});var sc={};G(sc,{SearchPlaceConverter:()=>Qr,SearchPlaceQueryParams:()=>ae,isSearchPlaceQueryParams:()=>yf,serializeRequest:()=>Vg});function jg(t){return`"${t}"`}function mf(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Vg(t,e){return new Qr(t).serialize(e)}function yf(t){return Gg.has(t)}var ae,Gg,Qr,cc=f(()=>{"use strict";Yr();Mt();(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page"})(ae||(ae={}));Gg=new Set(Object.values(ae));Qr=class{constructor(e,r={},n=20,a=!1,i="en-US"){this.baseUrl=e,this.predefinedSorts=r,this.defaultPerPage=n,this.allLanguagesAllowed=a,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let n=r==null||r.trim().length===0,a=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=this.toURLSearchParams(e),a.toString()}toURLSearchParams(e,r=!1){var n,a,i,s,c,d,p,m,h,g,x,v;let w=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&w.append(ae.LOCALE,e.contentLocale):w.append(ae.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&w.append(ae.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&w.append(ae.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&w.append(ae.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((a=e.sort)===null||a===void 0?void 0:a.length)>0&&e.sort[0].key==="ft:lastEdition"&&w.append(ae.SORT,"last_update");let _=(s=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(S=>S.valueFilter))!==null&&s!==void 0?s:[];if(_.length>0){let S=_.map(R=>{var F,j;let X=((j=(F=R.valueFilter)===null||F===void 0?void 0:F.values)!==null&&j!==void 0?j:[]).map(Z=>this.escapeFilters(Z)).map(Z=>jg(mf(Z))).join("_");return`${R.key}~${X}`}).join("*");w.append(ae.VALUE_FILTERS,S)}let T=(d=(c=e.metadataFilters)===null||c===void 0?void 0:c.filter(S=>S.dateFilter))!==null&&d!==void 0?d:[];if(T.length>0){let S=T.map(R=>{var F;return`${R.key}~${(F=R.dateFilter)===null||F===void 0?void 0:F.type.toLowerCase()}`}).join("*");w.append(ae.DATE_FILTERS,S)}let L=(m=(p=e.metadataFilters)===null||p===void 0?void 0:p.filter(S=>S.rangeFilter))!==null&&m!==void 0?m:[];if(L.length>0){let S=L.map(R=>{var F,j;return`${R.key}~${(F=R.rangeFilter)===null||F===void 0?void 0:F.from}_${(j=R.rangeFilter)===null||j===void 0?void 0:j.to}`}).join("*");w.append(ae.RANGE_FILTERS,S)}let A=(h=e.otherQueryParams)!==null&&h!==void 0?h:{};for(let S in A)w.append(S,A[S]);return!((g=e.paging)===null||g===void 0)&&g.perPage&&((v=(x=e.paging)===null||x===void 0?void 0:x.perPage)!==null&&v!==void 0?v:this.defaultPerPage)!=this.defaultPerPage&&w.append(ae.PER_PAGE,String(e.paging.perPage)),encodeURI(w.toString()).replace(/#/g,"%23")}parse(e){var r;let n=e.split("?"),a=this.fromURLSearchParams(n.slice(1).join("?")),i=n[0].split("/search/")[1];return i==null?a:{...a,scope:(r=this.scopeMapping[i])!==null&&r!==void 0?r:a.scope}}fromURLSearchParams(e){var r,n,a,i,s,c,d,p;try{e=decodeURI(e).replace(/%23/g,"#")}catch(T){console.warn("Could not decode search request query params, fallback on raw value",T)}let m=new URLSearchParams(e),h=m.get(ae.LOCALE)==="all"?void 0:m.get(ae.LOCALE),g=((r=m.get(ae.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),x=((n=m.get(ae.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),v=(a=m.get(ae.SCOPE))!==null&&a!==void 0?a:"default",w=+((i=m.get(ae.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),_={};for(let T of m.keys())yf(T)||(_[T]=m.get(T));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=m.get(ae.QUERY))!==null&&s!==void 0?s:"",scope:(c=this.scopeMapping[v])!==null&&c!==void 0?c:"DEFAULT",virtualField:nf(g)?g:"EVERYWHERE",sort:(p=(d=this.predefinedSorts[x])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&p!==void 0?p:[],metadataFilters:this.parseCompatFilters(m),facets:[],paging:{page:1,perPage:ir(1,isNaN(w)?this.defaultPerPage:w,1e3)},otherQueryParams:_}}parseCompatFilters(e){var r,n,a,i,s,c;let d=[];return e.has(ae.FILTERS)&&(d=this.parseValueFilters((r=e.get(ae.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(ae.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=e.get(ae.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=e.get(ae.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(ae.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(ae.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(mf).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Zr[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}superEscapeFilters(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replaceAll(n,a);return e}unescapeFilterValue(e){for(let[r,n,a]of this.filtersEscapeMapping)e=e.replace(a,r);return e}parseLegacyPeriodFilter(e){if(af(e))return[{key:"ft:lastEdition",dateFilter:{type:Zr[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}}});var dc={};G(dc,{toFtFormComponent:()=>lc});function lc(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[Qn].form}constructor(...a){super(a),this[Qn]=this.attachInternals(),this[Qn].role=e}setFormValue(a){this[Qn].setFormValue(a)}}return r}var Qn,uc=f(()=>{"use strict";Qn=Symbol("elementInternals")});var pc={};G(pc,{DateFormatter:()=>Xr});var Xr,Xn=f(()=>{"use strict";Xr=class{static format(e,r,n,a){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,a)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}}});var hc={};G(hc,{ALL_KEYS_VALUE:()=>fc,SameWindowStorageEvent:()=>Jr});var fc,Jr,mc=f(()=>{"use strict";fc="__all__",Jr=class extends CustomEvent{constructor(e,r,n){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==fc}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Jr(r[0],n,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Jr(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new Jr(fc))}})});var gc={};G(gc,{FocusMainContentEvent:()=>yc});var yc,bc=f(()=>{"use strict";yc=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}}});var gf={};function Kg(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0)}function Zg(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}var xc=f(()=>{"use strict";window.FluidTopicsA11yHints={isKeyboardNavigation:!1};document.addEventListener("keydown",Kg);document.addEventListener("click",Zg)});var vc,Sc,Cc,Oc,Ec,qg,k=f(()=>{"use strict";Kl();z();ne();vn();_r();Rd();Po();ci();Sn();ui();Cn();wn();Vi();Io();Ln();An();ms();Wo();ys();Mt();vs();Es();ws();Rs();Gn();kn();nc();Dn();cc();uc();Xn();K();mc();bc();xc();bc();xc();ci();Sn();ui();Xn();Cn();wn();Vi();Io();Ln();nc();An();ms();uc();Wo();ys();Mt();vs();Es();ws();Rs();Gn();mc();kn();Dn();cc();K();Ec=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Cc=(Sc=(vc=window.safari)===null||vc===void 0?void 0:vc.pushNotification)===null||Sc===void 0?void 0:Sc.toString())!==null&&Cc!==void 0?Cc:"")==="[object SafariRemoteNotification]",qg="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Oc=window.ftGlobals)!==null&&Oc!==void 0?Oc:{lit:Ka,litDecorators:Qa,litRepeat:Xa,litClassMap:Ja,litStyleMap:ei,litUnsafeHTML:ti,wcUtils:{...si,...ri,...di,...pc,...pi,...mi,...ji,...ii,...cs,...gc,...gf,...oc,...zi,...hs,...dc,...ps,...ju,...hi,...xs,...Os,...qu,...As,...Js,...hc,...ls,...us,...sc,isSafari:Ec,isTouchScreen:qg,setVariable:E}}});var bf,N,xf,vf,Sf,Cf,Of,br=f(()=>{"use strict";z();k();bf=o.extend("--ft-ripple-color","",D.colorContent),N={color:bf,backgroundColor:o.extend("--ft-ripple-background-color","",bf),opacityContentOnSurfacePressed:o.external(D.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(D.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(D.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(D.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},xf=o.extend("--ft-ripple-color","",D.colorPrimary),vf={color:xf,backgroundColor:o.extend("--ft-ripple-background-color","",xf)},Sf=o.extend("--ft-ripple-color","",D.colorSecondary),Cf={color:Sf,backgroundColor:o.extend("--ft-ripple-background-color","",Sf)},Of=I`
|
|
49
49
|
:host {
|
|
50
50
|
display: contents;
|
|
51
51
|
}
|
|
@@ -100,19 +100,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
103
|
-
background-color: ${
|
|
103
|
+
background-color: ${Cf.backgroundColor};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
107
|
-
background-color: ${
|
|
107
|
+
background-color: ${Cf.color};
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
111
|
-
background-color: ${
|
|
111
|
+
background-color: ${vf.backgroundColor};
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
115
|
-
background-color: ${
|
|
115
|
+
background-color: ${vf.color};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
.ft-ripple .ft-ripple--background {
|
|
@@ -157,8 +157,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
157
157
|
opacity: ${N.opacityContentOnSurfacePressed};
|
|
158
158
|
transform: translate(-50%, -50%) scale(1);
|
|
159
159
|
}
|
|
160
|
-
`});function
|
|
161
|
-
.ft-typography--${
|
|
160
|
+
`});function wf(t){let e=Do[t];return I`
|
|
161
|
+
.ft-typography--${Jt(t)} {
|
|
162
162
|
font-family: ${e.fontFamily};
|
|
163
163
|
font-size: ${e.fontSize};
|
|
164
164
|
font-weight: ${e.fontWeight};
|
|
@@ -166,17 +166,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
166
166
|
line-height: ${e.lineHeight};
|
|
167
167
|
text-transform: ${e.textCase};
|
|
168
168
|
}
|
|
169
|
-
`}var
|
|
169
|
+
`}var Af=f(()=>{"use strict";z();K()});var Rf,wt,U,eo,to,ro,oo,no,ao,io,so,co,ct,Nf,Tf,_f,Pf,If,Jn,Lf,kf,Df,Mf,$f,Ff,ea=f(()=>{"use strict";z();k();K();Af();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();Rf=o.extend("--ft-typography-font-family","",D.titleFont),wt=o.extend("--ft-typography-font-family","",D.contentFont),U={fontFamily:wt,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")},eo={fontFamily:o.extend("--ft-typography-title-font-family","",Rf),fontSize:o.extend("--ft-typography-title-font-size","",U.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",U.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",U.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",U.textTransform,"inherit")},to={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Rf),fontSize:o.extend("--ft-typography-title-dense-font-size","",U.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",U.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",U.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",U.textTransform,"inherit")},ro={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",wt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",U.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",U.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",U.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",U.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",U.textTransform,"inherit")},oo={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",wt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",U.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",U.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",U.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",U.textTransform,"inherit")},no={fontFamily:o.extend("--ft-typography-body1-font-family","",wt),fontSize:o.extend("--ft-typography-body1-font-size","",U.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",U.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",U.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",U.textTransform,"inherit")},ao={fontFamily:o.extend("--ft-typography-body2-font-family","",wt),fontSize:o.extend("--ft-typography-body2-font-size","",U.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",U.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",U.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",U.textTransform,"inherit")},io={fontFamily:o.extend("--ft-typography-caption-font-family","",wt),fontSize:o.extend("--ft-typography-caption-font-size","",U.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",U.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",U.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",U.textTransform,"inherit")},so={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",wt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",U.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",U.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",U.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",U.textTransform,"inherit")},co={fontFamily:o.extend("--ft-typography-overline-font-family","",wt),fontSize:o.extend("--ft-typography-overline-font-size","",U.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",U.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",U.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",U.textTransform,"uppercase")},ct={fontFamily:o.extend("--ft-typography-button-font-family","",wt),fontSize:o.extend("--ft-typography-button-font-size","",U.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",U.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",U.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",U.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",U.textTransform,"uppercase")},Nf=I`
|
|
170
170
|
.ft-typography--title {
|
|
171
|
-
font-family: ${Jr.fontFamily};
|
|
172
|
-
font-size: ${Jr.fontSize};
|
|
173
|
-
font-weight: ${Jr.fontWeight};
|
|
174
|
-
letter-spacing: ${Jr.letterSpacing};
|
|
175
|
-
line-height: ${Jr.lineHeight};
|
|
176
|
-
text-transform: ${Jr.textTransform};
|
|
177
|
-
}
|
|
178
|
-
`,Ef=L`
|
|
179
|
-
.ft-typography--title-dense {
|
|
180
171
|
font-family: ${eo.fontFamily};
|
|
181
172
|
font-size: ${eo.fontSize};
|
|
182
173
|
font-weight: ${eo.fontWeight};
|
|
@@ -184,8 +175,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
184
175
|
line-height: ${eo.lineHeight};
|
|
185
176
|
text-transform: ${eo.textTransform};
|
|
186
177
|
}
|
|
187
|
-
`,
|
|
188
|
-
.ft-typography--
|
|
178
|
+
`,Tf=I`
|
|
179
|
+
.ft-typography--title-dense {
|
|
189
180
|
font-family: ${to.fontFamily};
|
|
190
181
|
font-size: ${to.fontSize};
|
|
191
182
|
font-weight: ${to.fontWeight};
|
|
@@ -193,8 +184,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
193
184
|
line-height: ${to.lineHeight};
|
|
194
185
|
text-transform: ${to.textTransform};
|
|
195
186
|
}
|
|
196
|
-
`,
|
|
197
|
-
.ft-typography--
|
|
187
|
+
`,_f=I`
|
|
188
|
+
.ft-typography--subtitle1 {
|
|
198
189
|
font-family: ${ro.fontFamily};
|
|
199
190
|
font-size: ${ro.fontSize};
|
|
200
191
|
font-weight: ${ro.fontWeight};
|
|
@@ -202,9 +193,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
202
193
|
line-height: ${ro.lineHeight};
|
|
203
194
|
text-transform: ${ro.textTransform};
|
|
204
195
|
}
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
.ft-typography--body1 {
|
|
196
|
+
`,Pf=I`
|
|
197
|
+
.ft-typography--subtitle2 {
|
|
208
198
|
font-family: ${oo.fontFamily};
|
|
209
199
|
font-size: ${oo.fontSize};
|
|
210
200
|
font-weight: ${oo.fontWeight};
|
|
@@ -212,8 +202,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
212
202
|
line-height: ${oo.lineHeight};
|
|
213
203
|
text-transform: ${oo.textTransform};
|
|
214
204
|
}
|
|
215
|
-
|
|
216
|
-
|
|
205
|
+
|
|
206
|
+
`,If=I`
|
|
207
|
+
.ft-typography--body1 {
|
|
217
208
|
font-family: ${no.fontFamily};
|
|
218
209
|
font-size: ${no.fontSize};
|
|
219
210
|
font-weight: ${no.fontWeight};
|
|
@@ -221,8 +212,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
221
212
|
line-height: ${no.lineHeight};
|
|
222
213
|
text-transform: ${no.textTransform};
|
|
223
214
|
}
|
|
224
|
-
`,
|
|
225
|
-
.ft-typography--
|
|
215
|
+
`,Jn=I`
|
|
216
|
+
.ft-typography--body2 {
|
|
226
217
|
font-family: ${ao.fontFamily};
|
|
227
218
|
font-size: ${ao.fontSize};
|
|
228
219
|
font-weight: ${ao.fontWeight};
|
|
@@ -230,8 +221,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
230
221
|
line-height: ${ao.lineHeight};
|
|
231
222
|
text-transform: ${ao.textTransform};
|
|
232
223
|
}
|
|
233
|
-
`,
|
|
234
|
-
.ft-typography--
|
|
224
|
+
`,Lf=I`
|
|
225
|
+
.ft-typography--caption {
|
|
235
226
|
font-family: ${io.fontFamily};
|
|
236
227
|
font-size: ${io.fontSize};
|
|
237
228
|
font-weight: ${io.fontWeight};
|
|
@@ -239,8 +230,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
239
230
|
line-height: ${io.lineHeight};
|
|
240
231
|
text-transform: ${io.textTransform};
|
|
241
232
|
}
|
|
242
|
-
`,
|
|
243
|
-
.ft-typography--
|
|
233
|
+
`,kf=I`
|
|
234
|
+
.ft-typography--breadcrumb {
|
|
244
235
|
font-family: ${so.fontFamily};
|
|
245
236
|
font-size: ${so.fontSize};
|
|
246
237
|
font-weight: ${so.fontWeight};
|
|
@@ -248,7 +239,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
248
239
|
line-height: ${so.lineHeight};
|
|
249
240
|
text-transform: ${so.textTransform};
|
|
250
241
|
}
|
|
251
|
-
`,
|
|
242
|
+
`,Df=I`
|
|
243
|
+
.ft-typography--overline {
|
|
244
|
+
font-family: ${co.fontFamily};
|
|
245
|
+
font-size: ${co.fontSize};
|
|
246
|
+
font-weight: ${co.fontWeight};
|
|
247
|
+
letter-spacing: ${co.letterSpacing};
|
|
248
|
+
line-height: ${co.lineHeight};
|
|
249
|
+
text-transform: ${co.textTransform};
|
|
250
|
+
}
|
|
251
|
+
`,Mf=I`
|
|
252
252
|
.ft-typography--button {
|
|
253
253
|
font-family: ${ct.fontFamily};
|
|
254
254
|
font-size: ${ct.fontSize};
|
|
@@ -257,11 +257,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
257
257
|
line-height: ${ct.lineHeight};
|
|
258
258
|
text-transform: ${ct.textTransform};
|
|
259
259
|
}
|
|
260
|
-
|
|
260
|
+
`,$f=I`
|
|
261
261
|
.ft-typography {
|
|
262
262
|
vertical-align: inherit;
|
|
263
263
|
}
|
|
264
|
-
`,
|
|
264
|
+
`,Ff=[Object.keys(Do).map(t=>wf(t))]});var ue,Bf,Qo=f(()=>{"use strict";z();k();ue={color:o.extend("--ft-loader-color","",D.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},Bf=I`
|
|
265
265
|
:host {
|
|
266
266
|
line-height: 0;
|
|
267
267
|
}
|
|
@@ -330,7 +330,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
330
330
|
transform: translate(calc(0.35 * ${ue.size}), 0);
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
|
-
`});var _e,
|
|
333
|
+
`});var _e,Uf,Xo=f(()=>{"use strict";z();k();_e={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")},Uf=[I`
|
|
334
334
|
:host, i.ft-icon {
|
|
335
335
|
display: inline-flex;
|
|
336
336
|
align-items: center;
|
|
@@ -378,7 +378,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
378
378
|
.ft-icon--material {
|
|
379
379
|
font-family: ${_e.materialFontFamily}, "Material Icons", sans-serif;
|
|
380
380
|
}
|
|
381
|
-
`,ur]});var
|
|
381
|
+
`,ur]});var Hf,he,Wf,wc,lt,zf,Ac=f(()=>{"use strict";z();k();br();ea();Qo();Xo();Hf=o.extend("--ft-button-color","",D.colorPrimary),he={backgroundColor:o.extend("--ft-button-background-color","",D.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",D.borderRadiusL),color:Hf,fontSize:o.extend("--ft-button-font-size","",ct.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",Hf),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(D.colorOpacityDisabled,"Design system")},Wf=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",D.colorOnPrimary)),wc={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",D.colorPrimary)),color:Wf,rippleColor:o.extend("--ft-button-primary-ripple-color","",Wf)},lt={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",D.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")},zf=[I`
|
|
382
382
|
:host {
|
|
383
383
|
display: inline-block;
|
|
384
384
|
max-width: 100%;
|
|
@@ -464,9 +464,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
464
464
|
}
|
|
465
465
|
|
|
466
466
|
.ft-button.ft-button--primary {
|
|
467
|
-
background-color: ${
|
|
468
|
-
--ft-button-internal-color: ${
|
|
469
|
-
${E(N.color,
|
|
467
|
+
background-color: ${wc.backgroundColor};
|
|
468
|
+
--ft-button-internal-color: ${wc.color};
|
|
469
|
+
${E(N.color,wc.rippleColor)};
|
|
470
470
|
}
|
|
471
471
|
|
|
472
472
|
.ft-button:focus {
|
|
@@ -515,7 +515,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
515
515
|
${E(ue.size,he.iconSize)};
|
|
516
516
|
${E(ue.color,"var(--ft-button-internal-color)")};
|
|
517
517
|
}
|
|
518
|
-
`,ur]});var ke,ce,
|
|
518
|
+
`,ur]});var ke,ce,Rc=f(()=>{"use strict";z();ne();_r();k();br();ke=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ce=class extends J{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 Se(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 Se(10),this.moveRipple=e=>{var r,n;let{x:a,y:i}=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(a!=null?a-s.x:s.width/2),this.originY=Math.round(i!=null?i-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`
|
|
519
519
|
<style>
|
|
520
520
|
.ft-ripple .ft-ripple--effect {
|
|
521
521
|
left: ${this.originX}px;
|
|
@@ -526,15 +526,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
526
526
|
<div class="ft-ripple--background"></div>
|
|
527
527
|
<div class="ft-ripple--effect"></div>
|
|
528
528
|
</div>
|
|
529
|
-
`}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)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>d=>{c.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",a,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",i,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",a,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",i,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,a,i;return r.x!=null?{x:a,y:i}=r:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}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()}};ce.elementDefinitions={};ce.styles=
|
|
530
|
-
<${
|
|
529
|
+
`}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)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>d=>{c.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",a,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",i,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",a,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",i,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,a,i;return r.x!=null?{x:a,y:i}=r:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}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()}};ce.elementDefinitions={};ce.styles=Of;ke([O({type:Boolean})],ce.prototype,"primary",void 0);ke([O({type:Boolean})],ce.prototype,"secondary",void 0);ke([O({type:Boolean})],ce.prototype,"unbounded",void 0);ke([O({type:Boolean})],ce.prototype,"activated",void 0);ke([O({type:Boolean})],ce.prototype,"selected",void 0);ke([O({type:Boolean})],ce.prototype,"disabled",void 0);ke([le()],ce.prototype,"hovered",void 0);ke([le()],ce.prototype,"focused",void 0);ke([le()],ce.prototype,"pressed",void 0);ke([le()],ce.prototype,"rippling",void 0);ke([le()],ce.prototype,"originX",void 0);ke([le()],ce.prototype,"originY",void 0);ke([be(".ft-ripple")],ce.prototype,"ripple",void 0);ke([be(".ft-ripple--effect")],ce.prototype,"rippleEffect",void 0)});var jf=f(()=>{"use strict"});var ta=f(()=>{"use strict";k();Rc();Rc();br();jf();V("ft-ripple")(ce)});var Gf,Yg,Nc,Vf,Tc,_c,Ww,zw,Kf=f(()=>{qe();Gf=Symbol.for(""),Yg=t=>{if(t?.r===Gf)return t?._$litStatic$},Nc=t=>({_$litStatic$:t,r:Gf}),Vf=new Map,Tc=t=>(e,...r)=>{let n=r.length,a,i,s=[],c=[],d,p=0,m=!1;for(;p<n;){for(d=e[p];p<n&&(i=r[p],(a=Yg(i))!==void 0);)d+=a+e[++p],m=!0;p!==n&&c.push(i),s.push(d),p++}if(p===n&&s.push(e[n]),m){let h=s.join("$$lit$$");(e=Vf.get(h))===void 0&&(s.raw=s,Vf.set(h,e=s)),r=c}return t(e,...r)},_c=Tc(M),Ww=Tc(Wa),zw=Tc(za)});var Zf=f(()=>{Kf()});var Vt,ra=f(()=>{"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"})(Vt||(Vt={}))});var qf,ge,Pc=f(()=>{"use strict";Zf();ne();k();ra();ea();qf=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ge=class extends J{constructor(){super(...arguments),this.variant=Vt.body1}render(){return this.element?_c`
|
|
530
|
+
<${Nc(this.element)}
|
|
531
531
|
part="text"
|
|
532
532
|
class="ft-typography ft-typography--${this.variant}">
|
|
533
533
|
<slot></slot>
|
|
534
|
-
</${
|
|
535
|
-
`:
|
|
534
|
+
</${Nc(this.element)}>
|
|
535
|
+
`:_c`
|
|
536
536
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
537
|
-
`}};ge.styles=[
|
|
537
|
+
`}};ge.styles=[Nf,Tf,_f,Pf,If,Jn,Lf,kf,Df,Mf,$f,...Ff];qf([O()],ge.prototype,"element",void 0);qf([O()],ge.prototype,"variant",void 0)});var At=f(()=>{"use strict";k();Pc();Pc();ea();ra();V("ft-typography")(ge)});var Gt,Yf,Ic=f(()=>{"use strict";z();k();Gt={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(D.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},Yf=I`
|
|
538
538
|
.ft-tooltip--container {
|
|
539
539
|
display: block;
|
|
540
540
|
}
|
|
@@ -549,21 +549,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
549
549
|
box-sizing: border-box;
|
|
550
550
|
overflow: hidden;
|
|
551
551
|
width: max-content;
|
|
552
|
-
max-width: ${
|
|
552
|
+
max-width: ${Gt.maxWidth};
|
|
553
553
|
text-align: center;
|
|
554
|
-
padding: ${
|
|
555
|
-
z-index: ${
|
|
554
|
+
padding: ${Gt.distance};
|
|
555
|
+
z-index: ${Gt.zIndex};
|
|
556
556
|
}
|
|
557
557
|
|
|
558
558
|
.ft-tooltip--content {
|
|
559
559
|
padding: 4px 8px;
|
|
560
|
-
border-radius: ${
|
|
561
|
-
background-color: ${
|
|
562
|
-
color: ${
|
|
560
|
+
border-radius: ${Gt.borderRadiusS};
|
|
561
|
+
background-color: ${Gt.backgroundColor};
|
|
562
|
+
color: ${Gt.color};
|
|
563
563
|
position: relative;
|
|
564
564
|
word-break: break-word;
|
|
565
565
|
}
|
|
566
|
-
`});var De,me,
|
|
566
|
+
`});var De,me,Lc=f(()=>{"use strict";z();ne();k();At();Ic();Ln();De=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},me=class extends J{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 Se,this.revealDebouncer=new Se}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return M`
|
|
567
567
|
<div part="container"
|
|
568
568
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
569
569
|
@mouseenter=${this.onHover}
|
|
@@ -581,24 +581,24 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
581
581
|
</div>
|
|
582
582
|
</div>
|
|
583
583
|
</div>
|
|
584
|
-
`}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)}async showTemporaryText(e,r){let n=this.manual;this.manual=!0;let a=this.text;this.text=e,await this.show(r),this.text=a,this.manual=n}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="",os(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))}};me.elementDefinitions={"ft-typography":ge};me.styles=Vf;De([O()],me.prototype,"text",void 0);De([O({type:Boolean})],me.prototype,"manual",void 0);De([O({type:Boolean})],me.prototype,"inline",void 0);De([O({type:Number})],me.prototype,"delay",void 0);De([O()],me.prototype,"position",void 0);De([Ga()],me.prototype,"slotNodes",void 0);De([be(".ft-tooltip--container")],me.prototype,"container",void 0);De([be(".ft-tooltip")],me.prototype,"tooltip",void 0);De([be(".ft-tooltip--content")],me.prototype,"tooltipContent",void 0);De([le()],me.prototype,"visible",void 0);De([wr({passive:!0})],me.prototype,"onTouch",null);De([wr({passive:!0})],me.prototype,"onHover",null);De([wr({passive:!0})],me.prototype,"onOut",null);De([wr({passive:!0})],me.prototype,"onClick",null)});var Gf=f(()=>{"use strict"});var _c=f(()=>{"use strict";k();Tc();Tc();Nc();Gf();V("ft-tooltip")(me)});function Kf(t,e){var r,n,a,i;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,c]=(((r=Hg.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(i=(a=(n=Pc.get(c))!==null&&n!==void 0?n:Pc.get(e))!==null&&a!==void 0?a:Pc.get(s))!==null&&i!==void 0?i:P.UNKNOWN}var Gt,P,Pc,Hg,fA,Lc=f(()=>{"use strict";(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.EYE="",t.SHARE="󨃱",t.MOBILE_SMALL="",t.SPARKLES="",t.HAND_SOLID=""})(Gt||(Gt={}));(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(P||(P={}));Pc=new Map([...["abw"].map(t=>[t,P.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,P.AUDIO]),...["avi"].map(t=>[t,P.AVI]),...["chm","xhs"].map(t=>[t,P.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,P.CODE]),...["csv"].map(t=>[t,P.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,P.DITA]),...["epub"].map(t=>[t,P.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,P.EXCEL]),...["flac"].map(t=>[t,P.FLAC]),...["gif"].map(t=>[t,P.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,P.GZIP]),...["html","htm","xhtml"].map(t=>[t,P.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,P.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,P.JPEG]),...["json"].map(t=>[t,P.JSON]),...["m4a","m4p"].map(t=>[t,P.M4A]),...["mov","qt"].map(t=>[t,P.MOV]),...["mp3"].map(t=>[t,P.MP3]),...["mp4","m4v"].map(t=>[t,P.MP4]),...["ogg","oga"].map(t=>[t,P.OGG]),...["pdf","ps"].map(t=>[t,P.PDF]),...["png"].map(t=>[t,P.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,P.POWERPOINT]),...["rar"].map(t=>[t,P.RAR]),...["stp"].map(t=>[t,P.STP]),...["txt","rtf","md","mdown"].map(t=>[t,P.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,P.VIDEO]),...["wav"].map(t=>[t,P.WAV]),...["wma"].map(t=>[t,P.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,P.WORD]),...["xml","xsl","rdf"].map(t=>[t,P.XML]),...["yaml","yml","x-yaml"].map(t=>[t,P.YAML]),...["zip"].map(t=>[t,P.ZIP])]),Hg=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"]]);fA={[P.ABW]:"#91ABC6",[P.AUDIO]:"#1795E3",[P.AVI]:"#E63324",[P.CHM]:"#71C3EB",[P.CODE]:"#71C3EB",[P.CSV]:"#1F7345",[P.DITA]:"#71C3EB",[P.EPUB]:"#85B926",[P.EXCEL]:"#1F7345",[P.FLAC]:"#1795E3",[P.GIF]:"#59B031",[P.GZIP]:"#F8AB36",[P.HTML]:"#71C3EB",[P.IMAGE]:"#59B031",[P.JPEG]:"#59B031",[P.JSON]:"#71C3EB",[P.M4A]:"#1795E3",[P.MOV]:"#E63324",[P.MP3]:"#1795E3",[P.MP4]:"#E63324",[P.OGG]:"#1795E3",[P.PDF]:"#E44948",[P.PNG]:"#59B031",[P.POWERPOINT]:"#B54A2B",[P.RAR]:"#F8AB36",[P.STP]:"#3764B1",[P.TEXT]:"#3162AB",[P.UNKNOWN]:"#999999",[P.VIDEO]:"#E63324",[P.WAV]:"#1795E3",[P.WMA]:"#1795E3",[P.WORD]:"#3162AB",[P.XML]:"#71C3EB",[P.YAML]:"#71C3EB",[P.ZIP]:"#F8AB36"}});var We,Ic=f(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(We||(We={}))});var Zo,Pe,kc=f(()=>{"use strict";z();ne();k();Ro();Lc();Ko();Ic();Zo=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Pe=class extends J{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=H}render(){let e=this.variant&&Object.values(We).includes(this.variant)?this.variant:We.fluid_topics,r=e!==We.material||!!this.value;return M`
|
|
584
|
+
`}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)}async showTemporaryText(e,r){let n=this.manual;this.manual=!0;let a=this.text;this.text=e,await this.show(r),this.text=a,this.manual=n}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="",ss(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))}};me.elementDefinitions={"ft-typography":ge};me.styles=Yf;De([O()],me.prototype,"text",void 0);De([O({type:Boolean})],me.prototype,"manual",void 0);De([O({type:Boolean})],me.prototype,"inline",void 0);De([O({type:Number})],me.prototype,"delay",void 0);De([O()],me.prototype,"position",void 0);De([Ya()],me.prototype,"slotNodes",void 0);De([be(".ft-tooltip--container")],me.prototype,"container",void 0);De([be(".ft-tooltip")],me.prototype,"tooltip",void 0);De([be(".ft-tooltip--content")],me.prototype,"tooltipContent",void 0);De([le()],me.prototype,"visible",void 0);De([Rr({passive:!0})],me.prototype,"onTouch",null);De([Rr({passive:!0})],me.prototype,"onHover",null);De([Rr({passive:!0})],me.prototype,"onOut",null);De([Rr({passive:!0})],me.prototype,"onClick",null)});var Qf=f(()=>{"use strict"});var kc=f(()=>{"use strict";k();Lc();Lc();Ic();Qf();V("ft-tooltip")(me)});function Xf(t,e){var r,n,a,i;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,c]=(((r=Qg.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(i=(a=(n=Dc.get(c))!==null&&n!==void 0?n:Dc.get(e))!==null&&a!==void 0?a:Dc.get(s))!==null&&i!==void 0?i:P.UNKNOWN}var Kt,P,Dc,Qg,CA,Mc=f(()=>{"use strict";(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.EYE="",t.SHARE="󨃱",t.MOBILE_SMALL="",t.SPARKLES="",t.HAND_SOLID=""})(Kt||(Kt={}));(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(P||(P={}));Dc=new Map([...["abw"].map(t=>[t,P.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,P.AUDIO]),...["avi"].map(t=>[t,P.AVI]),...["chm","xhs"].map(t=>[t,P.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,P.CODE]),...["csv"].map(t=>[t,P.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,P.DITA]),...["epub"].map(t=>[t,P.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,P.EXCEL]),...["flac"].map(t=>[t,P.FLAC]),...["gif"].map(t=>[t,P.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,P.GZIP]),...["html","htm","xhtml"].map(t=>[t,P.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,P.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,P.JPEG]),...["json"].map(t=>[t,P.JSON]),...["m4a","m4p"].map(t=>[t,P.M4A]),...["mov","qt"].map(t=>[t,P.MOV]),...["mp3"].map(t=>[t,P.MP3]),...["mp4","m4v"].map(t=>[t,P.MP4]),...["ogg","oga"].map(t=>[t,P.OGG]),...["pdf","ps"].map(t=>[t,P.PDF]),...["png"].map(t=>[t,P.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,P.POWERPOINT]),...["rar"].map(t=>[t,P.RAR]),...["stp"].map(t=>[t,P.STP]),...["txt","rtf","md","mdown"].map(t=>[t,P.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,P.VIDEO]),...["wav"].map(t=>[t,P.WAV]),...["wma"].map(t=>[t,P.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,P.WORD]),...["xml","xsl","rdf"].map(t=>[t,P.XML]),...["yaml","yml","x-yaml"].map(t=>[t,P.YAML]),...["zip"].map(t=>[t,P.ZIP])]),Qg=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"]]);CA={[P.ABW]:"#91ABC6",[P.AUDIO]:"#1795E3",[P.AVI]:"#E63324",[P.CHM]:"#71C3EB",[P.CODE]:"#71C3EB",[P.CSV]:"#1F7345",[P.DITA]:"#71C3EB",[P.EPUB]:"#85B926",[P.EXCEL]:"#1F7345",[P.FLAC]:"#1795E3",[P.GIF]:"#59B031",[P.GZIP]:"#F8AB36",[P.HTML]:"#71C3EB",[P.IMAGE]:"#59B031",[P.JPEG]:"#59B031",[P.JSON]:"#71C3EB",[P.M4A]:"#1795E3",[P.MOV]:"#E63324",[P.MP3]:"#1795E3",[P.MP4]:"#E63324",[P.OGG]:"#1795E3",[P.PDF]:"#E44948",[P.PNG]:"#59B031",[P.POWERPOINT]:"#B54A2B",[P.RAR]:"#F8AB36",[P.STP]:"#3764B1",[P.TEXT]:"#3162AB",[P.UNKNOWN]:"#999999",[P.VIDEO]:"#E63324",[P.WAV]:"#1795E3",[P.WMA]:"#1795E3",[P.WORD]:"#3162AB",[P.XML]:"#71C3EB",[P.YAML]:"#71C3EB",[P.ZIP]:"#F8AB36"}});var We,$c=f(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(We||(We={}))});var Jo,Pe,Fc=f(()=>{"use strict";z();ne();k();Po();Mc();Xo();$c();Jo=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Pe=class extends J{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=W}render(){let e=this.variant&&Object.values(We).includes(this.variant)?this.variant:We.fluid_topics,r=e!==We.material||!!this.value;return M`
|
|
585
585
|
<i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
|
|
586
|
-
${
|
|
586
|
+
${ar(this.resolvedIcon)}
|
|
587
587
|
<slot ?hidden=${r}></slot>
|
|
588
588
|
</i>
|
|
589
|
-
`}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 We.file_format:this.resolvedIcon=(e=P[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case We.material:this.resolvedIcon=this.value||
|
|
589
|
+
`}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 We.file_format:this.resolvedIcon=(e=P[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case We.material:this.resolvedIcon=this.value||W;break;default:this.resolvedIcon=(r=Kt[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Pe.elementDefinitions={};Pe.styles=Uf;Jo([O()],Pe.prototype,"variant",void 0);Jo([O()],Pe.prototype,"value",void 0);Jo([O({reflect:!0,attribute:"aria-hidden"})],Pe.prototype,"ariaHidden",void 0);Jo([le()],Pe.prototype,"resolvedIcon",void 0);Jo([be("slot")],Pe.prototype,"slottedContent",void 0)});var oa=f(()=>{"use strict";k();Fc();Xo();$c();Fc();Mc();V("ft-icon")(Pe)});var xr,Bc=f(()=>{"use strict";z();k();Qo();xr=class extends J{render(){return M`
|
|
590
590
|
<div class="ft-loader">
|
|
591
591
|
<div></div>
|
|
592
592
|
<div></div>
|
|
593
593
|
<div></div>
|
|
594
594
|
<div></div>
|
|
595
595
|
</div>
|
|
596
|
-
`}};
|
|
596
|
+
`}};xr.styles=Bf});var Jf=f(()=>{"use strict"});var eh=f(()=>{"use strict";k();Bc();Qo();Jf();Bc();V("ft-loader")(xr)});var Ce,pe,Uc=f(()=>{"use strict";k();ta();kc();At();oa();eh();z();_r();ne();Ce=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},pe=class extends lc(J,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,n;let a=M`
|
|
597
597
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
598
598
|
<ft-typography part="label"
|
|
599
599
|
variant=${this.typographyVariant}
|
|
600
600
|
element="span"
|
|
601
|
-
class="ft-button--label ${
|
|
601
|
+
class="ft-button--label ${Ec?"ft-safari-ellipsis-fix":""}"
|
|
602
602
|
?hidden=${!this.hasTextContent()}>
|
|
603
603
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
604
604
|
</ft-typography>
|
|
@@ -630,7 +630,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
630
630
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
631
631
|
`:M`
|
|
632
632
|
<slot part="icon" name="icon"></slot>
|
|
633
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}showTemporaryTooltip(e,r){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return
|
|
633
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}showTemporaryTooltip(e,r){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return En(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};pe.elementDefinitions={"ft-ripple":ce,"ft-tooltip":me,"ft-typography":ge,"ft-icon":Pe,"ft-loader":xr};Ce([O()],pe.prototype,"href",void 0);Ce([O()],pe.prototype,"target",void 0);Ce([O({type:String,reflect:!0})],pe.prototype,"role",void 0);Ce([O()],pe.prototype,"type",void 0);Ce([O({type:Boolean})],pe.prototype,"disabled",void 0);Ce([O()],pe.prototype,"label",void 0);Ce([O()],pe.prototype,"icon",void 0);Ce([O()],pe.prototype,"iconVariant",void 0);Ce([O({type:Boolean})],pe.prototype,"trailingIcon",void 0);Ce([O({type:Boolean})],pe.prototype,"loading",void 0);Ce([O({attribute:"aria-label"})],pe.prototype,"ariaLabel",void 0);Ce([O()],pe.prototype,"tooltipPosition",void 0);Ce([O({type:Boolean})],pe.prototype,"hideTooltip",void 0);Ce([O({type:Boolean})],pe.prototype,"forceTooltip",void 0);Ce([be(".ft-button")],pe.prototype,"button",void 0);Ce([be(".ft-button--label slot")],pe.prototype,"slottedContent",void 0);Ce([be("[part=tooltip]")],pe.prototype,"tooltip",void 0)});var na,ze,Hc=f(()=>{"use strict";ne();k();Ac();Uc();na=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ze=class extends pe{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"}};ze.styles=[jo,zf];na([O({type:Boolean})],ze.prototype,"primary",void 0);na([O({type:Boolean})],ze.prototype,"outlined",void 0);na([O({type:Boolean})],ze.prototype,"dense",void 0);na([O({type:Boolean})],ze.prototype,"round",void 0)});var th,Wc=f(()=>{"use strict";z();k();br();Qo();Xo();K();K();th=[I`
|
|
634
634
|
:host {
|
|
635
635
|
display: inline-block;
|
|
636
636
|
max-width: 100%;
|
|
@@ -1096,7 +1096,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1096
1096
|
.ftds--size-small.ft-button--icon-only {
|
|
1097
1097
|
width: ${b.smallIconOnlyWidth};
|
|
1098
1098
|
}
|
|
1099
|
-
`,ur]});var
|
|
1099
|
+
`,ur]});var aa,Rt,zc=f(()=>{"use strict";Uc();ne();ra();k();Wc();K();oa();aa=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Rt=class extends Mn(pe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=sr.brand,this.iconVariant=We.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 xt.large:return Vt.body2medium;case xt.medium:return Vt.caption1medium;case xt.small:return Vt.caption2medium}}};Rt.styles=[jo,th];aa([O({type:Boolean})],Rt.prototype,"primary",void 0);aa([O({type:Boolean})],Rt.prototype,"secondary",void 0);aa([O({type:Boolean})],Rt.prototype,"tertiary",void 0);aa([O({type:Boolean})],Rt.prototype,"round",void 0)});var rh=f(()=>{"use strict"});var oh=f(()=>{"use strict"});var ia=f(()=>{"use strict";k();Hc();zc();Hc();Ac();rh();zc();Wc();oh();V("ft-button")(ze);V("ftds-button")(Rt)});var ie,jc,en=f(()=>{"use strict";z();k();ia();kc();ie={height:o.create("--ft-search-input-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-input-border-radius","",D.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","",D.colorSurface),colorOnSurface:o.extend("--ft-search-input-color","",D.colorOnSurface),colorOnSurfaceMedium:o.extend("--ft-search-input-placeholder-color","",D.colorOnSurfaceMedium),colorOutline:o.extend("--ft-search-input-outline-color","",D.colorOutline),elevation02:o.extend("--ft-search-input-elevation","",D.elevation02),focusOutlineColor:o.extend("--ft-search-input-focused-outline-color","",D.colorPrimary),buttonColor:o.extend("--ft-search-input-button-color","",D.colorPrimary),buttonRippleColor:o.extend("--ft-search-input-button-ripple-color","",D.colorPrimary)},jc=I`
|
|
1100
1100
|
* {
|
|
1101
1101
|
box-sizing: border-box;
|
|
1102
1102
|
${E(he.color,ie.buttonColor)};
|
|
@@ -1154,7 +1154,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1154
1154
|
align-items: center;
|
|
1155
1155
|
height: 100%;
|
|
1156
1156
|
|
|
1157
|
-
${E(
|
|
1157
|
+
${E(Gt.zIndex,`calc(${ie.floatingZIndex} + 1)`)};
|
|
1158
1158
|
}
|
|
1159
1159
|
|
|
1160
1160
|
.ft-search-input > ft-button,
|
|
@@ -1180,15 +1180,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1180
1180
|
height: 20px;
|
|
1181
1181
|
border-right: 1px solid ${ie.colorOutline};
|
|
1182
1182
|
}
|
|
1183
|
-
`});var
|
|
1183
|
+
`});var sa,Vc,ca=f(()=>{"use strict";z();k();sa={highlightBackgroundColor:o.create("--ft-sra-highlight-background-color","","COLOR","transparent")},Vc=I`
|
|
1184
1184
|
.kwicmatch {
|
|
1185
1185
|
font-weight: 700;
|
|
1186
|
-
background-color: ${
|
|
1186
|
+
background-color: ${sa.highlightBackgroundColor};
|
|
1187
1187
|
}
|
|
1188
|
-
`});var
|
|
1188
|
+
`});var la,Gc,da=f(()=>{"use strict";z();k();la={highlightBackgroundColor:o.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Gc=I`
|
|
1189
1189
|
.kwicmatch {
|
|
1190
1190
|
font-weight: 700;
|
|
1191
|
-
background-color: ${
|
|
1191
|
+
background-color: ${la.highlightBackgroundColor};
|
|
1192
1192
|
}
|
|
1193
1193
|
|
|
1194
1194
|
a {
|
|
@@ -1199,18 +1199,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1199
1199
|
a:focus {
|
|
1200
1200
|
outline: revert;
|
|
1201
1201
|
}
|
|
1202
|
-
`});var
|
|
1203
|
-
`});var
|
|
1204
|
-
`});var
|
|
1202
|
+
`});var ih,Kc=f(()=>{"use strict";z();ih=I`
|
|
1203
|
+
`});var sh,Zc=f(()=>{"use strict";z();sh=I`
|
|
1204
|
+
`});var Xg,qc,Jg,H,Ke=f(()=>{"use strict";k();Xg="ft-app-info",qc=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},Jg={session:(t,e)=>{Be(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>H.dispatchEvent(new qc(e.payload)),0))}},H=Et.get({name:Xg,reducers:Jg,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}})});var vr,ua=f(()=>{"use strict";Ke();vr=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=H.getState(),a=e??n;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let a=H.subscribe(()=>{n=t.get(e),n&&(a(),r(n))})}})}}});var lo,Yc=f(()=>{"use strict";ua();lo=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:vr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):vr.await()}}});var dt,tn=f(()=>{"use strict";k();Yc();dt=class extends lo{constructor(e=!0,r){var n;super(r);let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new nt,this.cache=e?a.commonCache:new nt}clearCache(){this.cache.clearAll()}}});var ch,eb,pa,uo,fa,Qc=f(()=>{"use strict";Ke();k();tn();eb=Symbol("clearAfterUnitTest"),pa=class extends dt{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[ch]=()=>{this.defaultMessages={},this.cache=new nt,this.listeners={}},this.currentUiLocale=H.getState().uiLocale,H.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=H.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var n;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let a={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};Be(this.defaultMessages[e],a)||(this.defaultMessages[e]=a,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,n;return this.fetchContext(e),(n=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,r){let n=e.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(e,r,...n){var a;let i=e.toLowerCase(),s=this.resolveContext(i);return new Vo((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(r,...n)}async fetchContext(e){let r=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e))}catch(a){!(a instanceof ot)&&r&&console.error(a)}return r&&await this.notify(e),n}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 a;return(a=this.listeners[e])===null||a===void 0?void 0:a.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=>On(0).then(()=>r()).catch(()=>null)))}};ch=eb;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends pa{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends pa{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});uo=window.FluidTopicsI18nService,fa=window.FluidTopicsCustomI18nService});var Ne,ye,Xc=f(()=>{"use strict";z();ne();k();Zc();Ke();Qc();ua();Ne=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ye=class extends J{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=()=>vr.get(),this.messageContexts=[],this.cache=new nt,this.cleanSessionDebouncer=new Se}render(){return M`
|
|
1205
1205
|
<slot></slot>
|
|
1206
|
-
`}update(e){var r,n,a,i,s;super.update(e),e.has("baseUrl")&&(W.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&W.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&W.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&W.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&W.actions.noCustom(this.noCustom),e.has("editorMode")&&W.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&W.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&W.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(c=>lo.addContext(c)),e.has("openExternalDocumentInNewTab")&&W.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&W.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&W.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(W.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),W.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),W.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}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 updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};ye.elementDefinitions={};ye.styles=rh;Ne([O()],ye.prototype,"baseUrl",void 0);Ne([O()],ye.prototype,"apiIntegrationIdentifier",void 0);Ne([O()],ye.prototype,"uiLocale",void 0);Ne([we(null)],ye.prototype,"availableUiLocales",void 0);Ne([we(null)],ye.prototype,"metadataConfiguration",void 0);Ne([O({type:Boolean})],ye.prototype,"editorMode",void 0);Ne([O({type:Boolean})],ye.prototype,"noCustom",void 0);Ne([O({type:Boolean})],ye.prototype,"openExternalDocumentInNewTab",void 0);Ne([O({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ye.prototype,"noCustomComponent",void 0);Ne([O({type:Boolean})],ye.prototype,"withManualResources",void 0);Ne([O({type:Boolean})],ye.prototype,"navigatorOnline",void 0);Ne([O({type:Boolean})],ye.prototype,"forcedOffline",void 0);Ne([O({type:Object})],ye.prototype,"apiProvider",void 0);Ne([we([])],ye.prototype,"messageContexts",void 0);Ne([we(void 0)],ye.prototype,"session",void 0);Ne([le()],ye.prototype,"localesConfiguration",void 0)});var nh=f(()=>{"use strict";ne();zn();qn();Ve()});var ua,qc=f(()=>{"use strict";Ve();qr();Yo();ua=class extends dt{async listMySearches(){let{session:e}=W.getState();return sf(e,xe.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var pa,Yc=f(()=>{"use strict";Ve();Yo();pa=class extends dt{async listMyBookmarks(){let e=W.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var Gg,fa,Qc,ah,Xc=f(()=>{"use strict";k();qc();Yc();Ve();Gg="ft-user-assets",fa=Ot.get({name:Gg,initialState:{savedSearches:void 0,bookmarks:void 0}}),Qc=class{constructor(){this.currentSession=W.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new pa,this.savedSearchesService=new ua,W.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=W.getState();qe((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(),fa.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),fa.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();fa.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;fa.actions.bookmarks(r)}}},ah=new Qc});var Jc,ih=f(()=>{"use strict";Ve();Jc=class{addCommand(e,r=!1){W.commands.add(e,r)}consumeCommand(e){return W.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Jc});var el,sh=f(()=>{"use strict";k();el=class{highlightHtml(e,r,n){hs(e,r,n)}};window.FluidTopicsHighlightHtmlService=new el});var tl,ch=f(()=>{"use strict";k();Ve();tl=class{isDate(e){var r,n,a,i;return(i=(a=((n=(r=W.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(e,r){var n,a,i;return Qr.format(e,(n=r?.locale)!==null&&n!==void 0?n:W.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new tl});var Rt,rl=f(()=>{"use strict";k();Ve();Rt=class{static get(e,r){var n,a,i,s;let c=W.getState(),{lang:d,region:p}=(a=(n=c.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new Yr(c.baseUrl,(s=(i=window.FluidTopicsClientConfiguration)===null||i===void 0?void 0:i.predefinedSorts)!==null&&s!==void 0?s:{},e??20,c.searchInAllLanguagesAllowed,r??`${d}-${p}`)}}});var ha,lh=f(()=>{"use strict";Gc();ha=class extends co{async sendDocumentStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send document.start_display event"),console.debug(r)})}async sendTopicStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send topic.start_display event"),console.debug(r)})}async sendKhubSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send khub.search event"),console.debug(r)})}async sendDocumentSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send document.search event"),console.debug(r)})}async sendSearchPageSelectEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send search_page.select event"),console.debug(r)})}}});var ol,dh=f(()=>{"use strict";rl();ol=class{urlToSearchRequest(e){return Rt.get().parse(e)}searchRequestToUrl(e){return Rt.get().serialize(e)}};window.FluidTopicsUrlService=new ol});var uh=f(()=>{"use strict";Yc();ca();ih();Kc();Yo();sh();qc();ch();rl();lh();dh()});var ph=f(()=>{"use strict"});var Nt=f(()=>{"use strict";k();Zc();nh();Ve();Xc();uh();jc();ph();Zc();V("ft-app-context")(ye)});function fh(t){return t.match(/^[\w-]+\.[\w-]+$/)}var hh=f(()=>{"use strict";Qo();k()});function Ge(t){var e,r;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?da:lo}i18n(i){var s;this.hasI18nContext(i.context)||this.addI18nContext(i.context,void 0,i.custom);let c=(s=i.args)!==null&&s!==void 0?s:i.argsProvider?i.argsProvider(this):[];return this.getI18nService(i.custom).resolveMessage(i.context,i.key,...c)}customI18n(i,s){if(fh(i)){let[c,d]=i.split(".");return this.i18n({custom:!0,context:c,key:d,...s})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((s,c,d)=>i.has(c)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((s,c,d)=>{var p;return((p=d?.context)===null||p===void 0?void 0:p.toLowerCase())===i}),this.updateI18nProperties(s=>s.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var s,c;let d=this,p=(m,h,g)=>g?.context&&g.key&&i(m,h,g)?{...g,message:this.i18n({context:g.context,key:g.key,...m})}:g;(s=this[mh])===null||s===void 0||s.forEach((m,h)=>d[h]=p(m,h,d[h])),(c=this[yh])===null||c===void 0||c.forEach((m,h)=>{var g;return d[h]=(g=d[h])===null||g===void 0?void 0:g.map(x=>p(m,h,x))})}updateI18nProperties(i){var s;(s=this[bh])===null||s===void 0||s.forEach((c,d)=>{i(c,d)&&(this[d]=this.i18n(c))})}addI18nMessages(i,s,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,s,c)}addI18nContext(i,s,c){let d=(typeof i=="string"?i:i.name).toLowerCase();c=typeof i=="string"?c:i.custom,this[ma].set(d,{isCustomContext:c}),this[Xo].has(d)||this[Xo].set(d,this.getI18nService(c).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(c).prepareContext(d,s)}hasI18nContext(i){return this[ma].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[ma].forEach((i,s)=>this.addI18nContext(s,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Xo].forEach(i=>i()),this[Xo].clear()}}return e=ma,r=Xo,Kg([O({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var Kg,mh,yh,bh,ma,Xo,gh,ya,Qo=f(()=>{"use strict";k();Nt();ne();hh();Kg=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},mh=Symbol("i18nAttributes"),yh=Symbol("i18nListAttributes"),bh=Symbol("i18nProperties"),ma=Symbol("i18nContexts"),Xo=Symbol("i18nUnsubs");gh=class extends Ge(J){},ya=class extends Ge(Ie){}});var Jo,Je,nl=f(()=>{"use strict";z();ne();k();zc();Qo();Nt();Jo=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Je=class extends ya{constructor(){super(),this.editorMode=!1,this.addStore(W)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":H:M`
|
|
1206
|
+
`}update(e){var r,n,a,i,s;super.update(e),e.has("baseUrl")&&(H.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&H.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&H.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&H.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&H.actions.noCustom(this.noCustom),e.has("editorMode")&&H.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&H.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&H.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(c=>uo.addContext(c)),e.has("openExternalDocumentInNewTab")&&H.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&H.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&H.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(H.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),H.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),H.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}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 updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};ye.elementDefinitions={};ye.styles=sh;Ne([O()],ye.prototype,"baseUrl",void 0);Ne([O()],ye.prototype,"apiIntegrationIdentifier",void 0);Ne([O()],ye.prototype,"uiLocale",void 0);Ne([we(null)],ye.prototype,"availableUiLocales",void 0);Ne([we(null)],ye.prototype,"metadataConfiguration",void 0);Ne([O({type:Boolean})],ye.prototype,"editorMode",void 0);Ne([O({type:Boolean})],ye.prototype,"noCustom",void 0);Ne([O({type:Boolean})],ye.prototype,"openExternalDocumentInNewTab",void 0);Ne([O({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ye.prototype,"noCustomComponent",void 0);Ne([O({type:Boolean})],ye.prototype,"withManualResources",void 0);Ne([O({type:Boolean})],ye.prototype,"navigatorOnline",void 0);Ne([O({type:Boolean})],ye.prototype,"forcedOffline",void 0);Ne([O({type:Object})],ye.prototype,"apiProvider",void 0);Ne([we([])],ye.prototype,"messageContexts",void 0);Ne([we(void 0)],ye.prototype,"session",void 0);Ne([le()],ye.prototype,"localesConfiguration",void 0)});var lh=f(()=>{"use strict";ne();Gn();Xn();Ke()});var ha,Jc=f(()=>{"use strict";Ke();Yr();tn();ha=class extends dt{async listMySearches(){let{session:e}=H.getState();return pf(e,xe.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var ma,el=f(()=>{"use strict";Ke();tn();ma=class extends dt{async listMyBookmarks(){let e=H.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var tb,ya,tl,dh,rl=f(()=>{"use strict";k();Jc();el();Ke();tb="ft-user-assets",ya=Et.get({name:tb,initialState:{savedSearches:void 0,bookmarks:void 0}}),tl=class{constructor(){this.currentSession=H.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ma,this.savedSearchesService=new ha,H.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=H.getState();Be((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(),ya.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),ya.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();ya.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;ya.actions.bookmarks(r)}}},dh=new tl});var ol,uh=f(()=>{"use strict";Ke();ol=class{addCommand(e,r=!1){H.commands.add(e,r)}consumeCommand(e){return H.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new ol});var nl,ph=f(()=>{"use strict";k();nl=class{highlightHtml(e,r,n){bs(e,r,n)}};window.FluidTopicsHighlightHtmlService=new nl});var al,fh=f(()=>{"use strict";k();Ke();al=class{isDate(e){var r,n,a,i;return(i=(a=((n=(r=H.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(e,r){var n,a,i;return Xr.format(e,(n=r?.locale)!==null&&n!==void 0?n:H.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new al});var Nt,il=f(()=>{"use strict";k();Ke();Nt=class{static get(e,r){var n,a,i,s;let c=H.getState(),{lang:d,region:p}=(a=(n=c.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new Qr(c.baseUrl,(s=(i=window.FluidTopicsClientConfiguration)===null||i===void 0?void 0:i.predefinedSorts)!==null&&s!==void 0?s:{},e??20,c.searchInAllLanguagesAllowed,r??`${d}-${p}`)}}});var ga,hh=f(()=>{"use strict";Yc();ga=class extends lo{async sendDocumentStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send document.start_display event"),console.debug(r)})}async sendTopicStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send topic.start_display event"),console.debug(r)})}async sendKhubSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send khub.search event"),console.debug(r)})}async sendDocumentSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send document.search event"),console.debug(r)})}async sendSearchPageSelectEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send search_page.select event"),console.debug(r)})}async sendSearchResultOpenContextMenuEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send search_result.open_context_menu event"),console.debug(r)})}}});var sl,mh=f(()=>{"use strict";il();sl=class{urlToSearchRequest(e){return Nt.get().parse(e)}searchRequestToUrl(e){return Nt.get().serialize(e)}};window.FluidTopicsUrlService=new sl});var Sr,yh=f(()=>{"use strict";Sr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Sr.eventName="change"});var cl,gh,bh=f(()=>{"use strict";cl=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},gh=new cl});var ba,xh=f(()=>{"use strict";k();yh();bh();ba=class t extends gt{static build(){return new t(window.history,gh,()=>window.location,!1)}constructor(e,r,n,a){var i,s;super(),this.history=e,this.historyStorage=r,this.windowLocation=n,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(i=e.state)===null||i===void 0?void 0:i.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(e,r=!1){let n=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),Be(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Sr(this.currentItem())),0)}installProxies(){let e=r=>(n,a,[i,s,c])=>{let d=r(),p={...d===this.currentIndex?this.currentState:void 0,...i,index:d,href:typeof c=="string"?c:(c??this.windowLocation()).href};n.apply(a,[p,s,c]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e,r=!1){var n,a,i;let s={...this.buildCurrentState(),...e,index:this.currentIndex,title:(n=e?.title)!==null&&n!==void 0?n:this.currentState.title},c=r?(a=e?.majorState)!==null&&a!==void 0?a:this.currentState.majorState:(i=this.currentState.majorState)!==null&&i!==void 0?i:e?.majorState;c!=null&&(s.majorState=c),this.setCurrentState(s)}addHistoryChangeListener(e){this.addEventListener(Sr.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Sr.eventName,e)}currentItem(){return ko(this.currentState)}back(){let e=this.previousMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return ko(this.states[this.previousMajorPosition()])}previousMajorPosition(){let e=this.currentIndex;for(;e>0&&!this.isMajorState(e);)e--;return this.previousExistingPosition(e)}forward(){let e=this.nextMajorPosition();e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){return ko(this.states[this.nextMajorPosition()])}nextMajorPosition(){let e=this.currentIndex;do e++;while(e<this.states.length&&!this.isMajorState(e));do e++;while(e<this.states.length&&!this.isMajorState(e));return this.previousExistingPosition(e)}previousExistingPosition(e){let r=e;do r--;while(r>0&&!this.hasState(r));return r}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isMajorState(e){var r,n;return this.hasState(e)&&((n=(r=this.states[e])===null||r===void 0?void 0:r.majorState)!==null&&n!==void 0?n:!0)}}});var vh=f(()=>{"use strict";xh();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=ba.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)})});var Sh=f(()=>{"use strict";el();ua();uh();Qc();tn();ph();Jc();fh();il();hh();mh();vh()});var Ch=f(()=>{"use strict"});var Tt=f(()=>{"use strict";k();Xc();lh();Ke();rl();Sh();Zc();Ch();Xc();V("ft-app-context")(ye)});function Oh(t){return t.match(/^[\w-]+\.[\w-]+$/)}var Eh=f(()=>{"use strict";rn();k()});function Ze(t){var e,r;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?fa:uo}i18n(i){var s;this.hasI18nContext(i.context)||this.addI18nContext(i.context,void 0,i.custom);let c=(s=i.args)!==null&&s!==void 0?s:i.argsProvider?i.argsProvider(this):[];return this.getI18nService(i.custom).resolveMessage(i.context,i.key,...c)}customI18n(i,s){if(Oh(i)){let[c,d]=i.split(".");return this.i18n({custom:!0,context:c,key:d,...s})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((s,c,d)=>i.has(c)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((s,c,d)=>{var p;return((p=d?.context)===null||p===void 0?void 0:p.toLowerCase())===i}),this.updateI18nProperties(s=>s.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var s,c;let d=this,p=(m,h,g)=>g?.context&&g.key&&i(m,h,g)?{...g,message:this.i18n({context:g.context,key:g.key,...m})}:g;(s=this[wh])===null||s===void 0||s.forEach((m,h)=>d[h]=p(m,h,d[h])),(c=this[Ah])===null||c===void 0||c.forEach((m,h)=>{var g;return d[h]=(g=d[h])===null||g===void 0?void 0:g.map(x=>p(m,h,x))})}updateI18nProperties(i){var s;(s=this[Nh])===null||s===void 0||s.forEach((c,d)=>{i(c,d)&&(this[d]=this.i18n(c))})}addI18nMessages(i,s,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,s,c)}addI18nContext(i,s,c){let d=(typeof i=="string"?i:i.name).toLowerCase();c=typeof i=="string"?c:i.custom,this[xa].set(d,{isCustomContext:c}),this[on].has(d)||this[on].set(d,this.getI18nService(c).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(c).prepareContext(d,s)}hasI18nContext(i){return this[xa].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[xa].forEach((i,s)=>this.addI18nContext(s,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[on].forEach(i=>i()),this[on].clear()}}return e=xa,r=on,rb([O({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var rb,wh,Ah,Nh,xa,on,Rh,va,rn=f(()=>{"use strict";k();Tt();ne();Eh();rb=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},wh=Symbol("i18nAttributes"),Ah=Symbol("i18nListAttributes"),Nh=Symbol("i18nProperties"),xa=Symbol("i18nContexts"),on=Symbol("i18nUnsubs");Rh=class extends Ze(J){},va=class extends Ze(Le){}});var nn,Je,ll=f(()=>{"use strict";z();ne();k();Kc();rn();Tt();nn=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Je=class extends va{constructor(){super(),this.editorMode=!1,this.addStore(H)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":W:M`
|
|
1207
1207
|
<span class="ft-i18n">
|
|
1208
1208
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
1209
1209
|
</span>
|
|
1210
|
-
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Je.elementDefinitions={};Je.styles=
|
|
1211
|
-
`});var Th=f(()=>{"use strict"});var Qg,_h,Ph=f(()=>{"use strict";k();Qg={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)=>{var r;let n=+((r=e.payload)!==null&&r!==void 0?r:20);t.request.paging.perPage=isNaN(n)?20:ir(1,n,1e3)},setPageNumber:(t,e)=>{t.request.paging.page=isNaN(e.payload)?1:Math.max(1,e.payload)},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.metadataFilters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setOtherQueryParams:(t,e)=>{t.request.otherQueryParams=e.payload},setRequestClusterSortCriterion:(t,e)=>{var r;t.request.clusterSortCriterions=(r=e.payload)!==null&&r!==void 0?r:[]}},_h=t=>Ot.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:"",paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,suggestResults:void 0},reducers:Qg})});var va,Lh=f(()=>{"use strict";Nt();va=class extends dt{constructor(e){super(!0,e),this.sortObjectFields=(r,n)=>typeof n!="object"||n==null||Array.isArray(n)?n:Object.fromEntries(Object.entries(n).sort(([a],[i])=>a.localeCompare(i)))}async launchSearch(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((n,a)=>n.id.localeCompare(a.id))};return this.cache.get("search-"+this.hash(r),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(r),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}sortFilters(e){return e.map(r=>r.valueFilter==null?r:{...r,valueFilter:{...r.valueFilter,values:[...r.valueFilter.values].sort((n,a)=>n.localeCompare(a))}}).sort((r,n)=>r.key.localeCompare(n.key))}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0))}}});var Ih,en,fo,pl=f(()=>{"use strict";k();Ph();qr();Lh();Ih=t=>t.request.virtualField===yr.TITLE_ONLY&&t.request.scope===Zr.DOCUMENTS,en=class t extends Event{constructor(){super(t.eventName)}};en.eventName="search-context-clear-all-filters";fo=class t{static build(e,r){return new t(_h(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new Se(10),this.searchDebouncer=new Se(100),this.launchSearch=n=>this.searchDebouncer.run(()=>this.fetchSearchData(n??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=n=>({...n.request,facets:this.facetIds.map(a=>({id:a}))}),this.suggestDebouncer=new Se(300),this.launchSuggest=n=>this.suggestDebouncer.run(()=>this.fetchSuggestData(n??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=n=>({input:n.liveQuery,metadataFilters:n.request.metadataFilters,sort:n.request.sort,contentLocale:n.request.contentLocale,scope:n.request.scope}),this.service=r??new va,this.service.cache.addEventListener("clear-cache",n=>{n.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=zr(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=zr(e,this.buildSuggestRequest,this.launchSuggest)}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1)}setContentLocale(e){var r;let n=(r=this.store.getState().locales)!==null&&r!==void 0?r:[],a=this.store.getState().request.contentLocale;if(e!=a){if(n.length>0){let i=s=>n.some(c=>c.lang==s);i(e)||(e=i(a)?a:n[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([])}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e)}setPageSize(e){this.store.actions.setPageSize(e)}setPageNumber(e){this.store.actions.setPageNumber(e)}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}setFilters(e){let r=e.filter(n=>!n.valueFilter||n.valueFilter.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(yr.TITLE_ONLY),this.store.actions.setRequestScope(Zr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(yr.EVERYWHERE),this.store.actions.setRequestScope(Zr.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return Ih(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new en)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,r){let n=this.facetIds.filter(a=>a!=e);r&&n.push(r),this.facetIds=n}get facetIds(){var e;let r=this.store.getState().request;return[...new Set([...r.facets.map(n=>n.id),...((e=r.metadataFilters)!==null&&e!==void 0?e:[]).map(n=>n.key)])]}set facetIds(e){let n=[...new Set(e)].map(a=>({id:a}));this.store.actions.setRequestFacets(n)}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let n=this.store.getState().request.metadataFilters,a={key:e,valueFilter:{values:r,negative:!1}},i=[...n.filter(s=>!s.valueFilter),...n.filter(s=>s.valueFilter&&s.key!==a.key),a];this.setFilters(i)}setDateFilter(e,r){let n=this.store.getState().request.metadataFilters,a={key:e,dateFilter:{type:r}},i=[...n.filter(s=>!s.dateFilter),...n.filter(s=>s.dateFilter&&s.key!==a.key),a];this.setFilters(i)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,n=[...r.filter(a=>!a.dateFilter),...r.filter(a=>a.dateFilter&&a.key!==e)];this.setFilters(n)}setRangeFilter(e,r,n){let a=this.store.getState().request.metadataFilters,i={key:e,rangeFilter:{from:r,to:n}},s=[...a.filter(c=>!c.rangeFilter),...a.filter(c=>c.rangeFilter&&c.key!==i.key),i];this.setFilters(s)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,n=[...r.filter(a=>!a.rangeFilter),...r.filter(a=>a.rangeFilter&&a.key!==e)];this.setFilters(n)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1)}setScope(e){this.store.actions.setRequestScope(e)}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var r,n,a,i;try{if((r=this.cancelableSearch)===null||r===void 0||r.cancel(),this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=Pr(this.service.launchSearch(e));let s=await this.cancelableSearch;if(s.paging.currentPage<=1)this.store.actions.results(s.results),this.store.actions.facets(s.facets),this.store.actions.spellcheck(s.spellcheck);else{let c=((n=this.store.getState().results)!==null&&n!==void 0?n:[]).concat(s.results);this.store.actions.results(c),this.store.commands.clear(/^focus-result-/),this.store.commands.add({type:`focus-result-${(s.paging.currentPage-1)*((a=e.paging.perPage)!==null&&a!==void 0?a:20)+1}`})}this.store.actions.paging(s.paging)}}catch(s){s instanceof ot||(console.error(s),(i=this.errorHandler)===null||i===void 0||i.call(this,s))}}async fetchSuggestData(e){var r;try{(r=this.cancelableSuggest)===null||r===void 0||r.cancel(),this.cancelableSuggest=Pr(this.service.launchSuggest(e));let n=await this.cancelableSuggest;this.store.actions.suggestResults(n.suggestions)}catch(n){!(n instanceof ot)&&this.errorHandler&&this.errorHandler(n)}}clear(){this.store.clear()}clearResults(){this.store.actions.paging(void 0),this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});function eb(t){class e extends t{setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[fl]=0,this[kh]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[fl]>Jg?window.clearInterval(this[kh]):(this[fl]++,this.dispatchEvent(new hl))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Xg([le()],e.prototype,"stateManager",void 0),e}var Xg,hl,kh,fl,Jg,$e,Kt=f(()=>{"use strict";k();ne();Th();pl();Xg=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},hl=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},kh=Symbol("registerInterval"),fl=Symbol("registerAttempts"),Jg=40;$e=class extends eb(Ie){}});function tn(t){return t.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function rn(t){var e;return t.dateFilter?{key:t.key,type:"DATE",dateValue:t.dateFilter.type}:t.rangeFilter?{key:t.key,type:"RANGE",from:t.rangeFilter.from,to:t.rangeFilter.to}:{key:t.key,values:(e=t.valueFilter)===null||e===void 0?void 0:e.values}}var ml=f(()=>{"use strict"});var Sa,Dh=f(()=>{"use strict";k();qr();Nt();ml();Sa=class{constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.enableAnalyticsEvents=!0,this.appName=void 0,this.appVersion=void 0,this.publication=void 0,this.sendEvent=n=>{if(!this.canSendEvent()||!n)return;let a=this.store.getState().request;this.publication==null?this.sendKhubSearchEvent(a,n):this.sendDocumentSearchEvent(a,n)},this.eventsService=r??new ha,this.resultsWatcher=zr(e,n=>n.results,this.sendEvent)}setEnableAnalyticsEvents(e){this.enableAnalyticsEvents=e}setAppName(e){this.appName=e}setAppVersion(e){this.appVersion=e}setDocumentSearch(e){this.publication=e}canSendEvent(){if(this.appName==null||this.appVersion==null)return console.debug("ft-search-context.eventManager is not initialized. No events will be sent!"),!1;let{editorMode:e}=W.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,r){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Gr.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:tn(e.metadataFilters),facets:e.metadataFilters.map(a=>rn(a))}};this.eventsService.sendKhubSearchEvent(n)}sendDocumentSearchEvent(e,r){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Gr.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:tn(e.metadataFilters),facets:e.metadataFilters.map(a=>rn(a))},publication:this.publication};this.eventsService.sendDocumentSearchEvent(n)}sendResultClickedEvent(e,r){if(!this.canSendEvent())return;let n=this.store.getState().request,a;e.type==Xe.TOPIC&&(a={tocId:e.topic.tocId,title:e.topic.title});let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Gr.SEARCH_PAGE__SELECT,searchQuery:{terms:n.query,searchType:n.virtualField,lastUpdate:tn(n.metadataFilters),facets:n.metadataFilters.map(s=>rn(s))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:a},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchPageSelectEvent(i)}convertDocument(e){switch(e.type){case Xe.MAP:return{id:e.map.mapId,title:e.map.title,type:Vr.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case Xe.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:Vr.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case Xe.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:Vr.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var r,n,a,i,s;return(i=(n=(r=e.map)===null||r===void 0?void 0:r.originUrl)!==null&&n!==void 0?n:(a=e.topic)===null||a===void 0?void 0:a.originUrl)!==null&&i!==void 0?i:(s=e.document)===null||s===void 0?void 0:s.originUrl}}});var Te,Ca,Oa,Ea,fe,yl=f(()=>{"use strict";z();ne();k();ul();Kt();Nt();Xc();Dh();Te=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Ca=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Oa=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Ea=class extends CustomEvent{constructor(e,r,n){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:n}})}},fe=class extends Ie{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=fo.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}get eventManager(){return this._eventManager==null&&(this._eventManager=new Sa(this.stateManager.store)),this._eventManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.otherQueryParams={},this.addStore(W)}render(){return M`
|
|
1212
|
-
<slot @register-ft-search-component=${this.registerComponent} @ft-search-result-click="${this.onResultClicked}"
|
|
1213
|
-
|
|
1210
|
+
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Je.elementDefinitions={};Je.styles=ih;nn([re()],Je.prototype,"editorMode",void 0);nn([O()],Je.prototype,"context",void 0);nn([O()],Je.prototype,"key",void 0);nn([we([])],Je.prototype,"args",void 0);nn([O()],Je.prototype,"defaultMessage",void 0)});var ut,Th=f(()=>{"use strict";Tt();ut=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?fa:uo}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return s=>({context:this.name,key:i,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)})}}});var _h=f(()=>{"use strict";rn()});var Ph=f(()=>{"use strict"});var pt=f(()=>{"use strict";k();ll();Th();rn();_h();Kc();Ph();ll();V("ft-i18n")(Je)});var kh,Dh=f(()=>{qe();kh=t=>t??W});var Mh=f(()=>{Dh()});function $h(t){var e,r,n,a,i;return((a=(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&&a!==void 0?a:(i=t.document)===null||i===void 0?void 0:i.openMode)===Yn.EXTERNAL}function Ca(t){var e,r,n,a,i;if($h(t))return(a=(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&&a!==void 0?a:(i=t.document)===null||i===void 0?void 0:i.originUrl;switch(t.type){case Ge.MAP:return t.map.readerUrl;case Ge.DOCUMENT:return t.document.viewerUrl;case Ge.TOPIC:return t.topic.readerUrl}return""}function Fh(t,e){return kh(e&&$h(t)?"_blank":void 0)}var pl=f(()=>{"use strict";Yr();Mh()});var fo,ho,hl=f(()=>{"use strict";fo=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}},ho=class extends CustomEvent{constructor(e,r){super("ft-search-result-open-context-menu",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var ab,ml,yl=f(()=>{"use strict";z();ab={},ml=I`
|
|
1211
|
+
`});var Bh=f(()=>{"use strict"});var ib,Uh,Hh=f(()=>{"use strict";k();ib={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)=>{var r;let n=+((r=e.payload)!==null&&r!==void 0?r:20);t.request.paging.perPage=isNaN(n)?20:ir(1,n,1e3)},setPageNumber:(t,e)=>{t.request.paging.page=isNaN(e.payload)?1:Math.max(1,e.payload)},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.metadataFilters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setOtherQueryParams:(t,e)=>{t.request.otherQueryParams=e.payload},setRequestClusterSortCriterion:(t,e)=>{var r;t.request.clusterSortCriterions=(r=e.payload)!==null&&r!==void 0?r:[]}},Uh=t=>Et.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:"",paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,suggestResults:void 0},reducers:ib})});var Ea,Wh=f(()=>{"use strict";Tt();Ea=class extends dt{constructor(e){super(!0,e),this.sortObjectFields=(r,n)=>typeof n!="object"||n==null||Array.isArray(n)?n:Object.fromEntries(Object.entries(n).sort(([a],[i])=>a.localeCompare(i)))}async launchSearch(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((n,a)=>n.id.localeCompare(a.id))};return this.cache.get("search-"+this.hash(r),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(r),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}sortFilters(e){return e.map(r=>r.valueFilter==null?r:{...r,valueFilter:{...r.valueFilter,values:[...r.valueFilter.values].sort((n,a)=>n.localeCompare(a))}}).sort((r,n)=>r.key.localeCompare(n.key))}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0))}}});var zh,an,mo,gl=f(()=>{"use strict";k();Hh();Yr();Wh();zh=t=>t.request.virtualField===gr.TITLE_ONLY&&t.request.scope===qr.DOCUMENTS,an=class t extends Event{constructor(){super(t.eventName)}};an.eventName="search-context-clear-all-filters";mo=class t{static build(e,r){return new t(Uh(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new Se(10),this.searchDebouncer=new Se(100),this.launchSearch=n=>this.searchDebouncer.run(()=>this.fetchSearchData(n??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=n=>({...n.request,facets:this.facetIds.map(a=>({id:a}))}),this.suggestDebouncer=new Se(300),this.launchSuggest=n=>this.suggestDebouncer.run(()=>this.fetchSuggestData(n??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=n=>({input:n.liveQuery,metadataFilters:n.request.metadataFilters,sort:n.request.sort,contentLocale:n.request.contentLocale,scope:n.request.scope}),this.service=r??new Ea,this.service.cache.addEventListener("clear-cache",n=>{n.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=Vr(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=Vr(e,this.buildSuggestRequest,this.launchSuggest)}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1)}setContentLocale(e){var r;let n=(r=this.store.getState().locales)!==null&&r!==void 0?r:[],a=this.store.getState().request.contentLocale;if(e!=a){if(n.length>0){let i=s=>n.some(c=>c.lang==s);i(e)||(e=i(a)?a:n[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([])}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e)}setPageSize(e){this.store.actions.setPageSize(e)}setPageNumber(e){this.store.actions.setPageNumber(e)}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}setFilters(e){let r=e.filter(n=>!n.valueFilter||n.valueFilter.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(gr.TITLE_ONLY),this.store.actions.setRequestScope(qr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(gr.EVERYWHERE),this.store.actions.setRequestScope(qr.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return zh(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new an)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,r){let n=this.facetIds.filter(a=>a!=e);r&&n.push(r),this.facetIds=n}get facetIds(){var e;let r=this.store.getState().request;return[...new Set([...r.facets.map(n=>n.id),...((e=r.metadataFilters)!==null&&e!==void 0?e:[]).map(n=>n.key)])]}set facetIds(e){let n=[...new Set(e)].map(a=>({id:a}));this.store.actions.setRequestFacets(n)}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let n=this.store.getState().request.metadataFilters,a={key:e,valueFilter:{values:r,negative:!1}},i=[...n.filter(s=>!s.valueFilter),...n.filter(s=>s.valueFilter&&s.key!==a.key),a];this.setFilters(i)}setDateFilter(e,r){let n=this.store.getState().request.metadataFilters,a={key:e,dateFilter:{type:r}},i=[...n.filter(s=>!s.dateFilter),...n.filter(s=>s.dateFilter&&s.key!==a.key),a];this.setFilters(i)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,n=[...r.filter(a=>!a.dateFilter),...r.filter(a=>a.dateFilter&&a.key!==e)];this.setFilters(n)}setRangeFilter(e,r,n){let a=this.store.getState().request.metadataFilters,i={key:e,rangeFilter:{from:r,to:n}},s=[...a.filter(c=>!c.rangeFilter),...a.filter(c=>c.rangeFilter&&c.key!==i.key),i];this.setFilters(s)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,n=[...r.filter(a=>!a.rangeFilter),...r.filter(a=>a.rangeFilter&&a.key!==e)];this.setFilters(n)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1)}setScope(e){this.store.actions.setRequestScope(e)}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var r,n,a,i;try{if((r=this.cancelableSearch)===null||r===void 0||r.cancel(),this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=Lr(this.service.launchSearch(e));let s=await this.cancelableSearch;if(s.paging.currentPage<=1)this.store.actions.results(s.results),this.store.actions.facets(s.facets),this.store.actions.spellcheck(s.spellcheck);else{let c=((n=this.store.getState().results)!==null&&n!==void 0?n:[]).concat(s.results);this.store.actions.results(c),this.store.commands.clear(/^focus-result-/),this.store.commands.add({type:`focus-result-${(s.paging.currentPage-1)*((a=e.paging.perPage)!==null&&a!==void 0?a:20)+1}`})}this.store.actions.paging(s.paging)}}catch(s){s instanceof ot||(console.error(s),(i=this.errorHandler)===null||i===void 0||i.call(this,s))}}async fetchSuggestData(e){var r;try{(r=this.cancelableSuggest)===null||r===void 0||r.cancel(),this.cancelableSuggest=Lr(this.service.launchSuggest(e));let n=await this.cancelableSuggest;this.store.actions.suggestResults(n.suggestions)}catch(n){!(n instanceof ot)&&this.errorHandler&&this.errorHandler(n)}}clear(){this.store.clear()}clearResults(){this.store.actions.paging(void 0),this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});function lb(t){class e extends t{setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[bl]=0,this[jh]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[bl]>cb?window.clearInterval(this[jh]):(this[bl]++,this.dispatchEvent(new xl))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return sb([le()],e.prototype,"stateManager",void 0),e}var sb,xl,jh,bl,cb,$e,Zt=f(()=>{"use strict";k();ne();Bh();gl();sb=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},xl=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},jh=Symbol("registerInterval"),bl=Symbol("registerAttempts"),cb=40;$e=class extends lb(Le){}});function yo(t){return t.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function go(t){var e;return t.dateFilter?{key:t.key,type:"DATE",dateValue:t.dateFilter.type}:t.rangeFilter?{key:t.key,type:"RANGE",from:t.rangeFilter.from,to:t.rangeFilter.to}:{key:t.key,values:(e=t.valueFilter)===null||e===void 0?void 0:e.values}}var vl=f(()=>{"use strict"});var wa,Vh=f(()=>{"use strict";k();Yr();Tt();vl();wa=class{constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.enableAnalyticsEvents=!0,this.appName=void 0,this.appVersion=void 0,this.publication=void 0,this.sendEvent=n=>{if(!this.canSendEvent()||!n)return;let a=this.store.getState().request;this.publication==null?this.sendKhubSearchEvent(a,n):this.sendDocumentSearchEvent(a,n)},this.eventsService=r??new ga,this.resultsWatcher=Vr(e,n=>n.results,this.sendEvent)}setEnableAnalyticsEvents(e){this.enableAnalyticsEvents=e}setAppName(e){this.appName=e}setAppVersion(e){this.appVersion=e}setDocumentSearch(e){this.publication=e}canSendEvent(){if(this.appName==null||this.appVersion==null)return console.debug("ft-search-context.eventManager is not initialized. No events will be sent!"),!1;let{editorMode:e}=H.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,r){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:yr.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:yo(e.metadataFilters),facets:e.metadataFilters.map(a=>go(a))}};this.eventsService.sendKhubSearchEvent(n)}sendDocumentSearchEvent(e,r){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:yr.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:yo(e.metadataFilters),facets:e.metadataFilters.map(a=>go(a))},publication:this.publication};this.eventsService.sendDocumentSearchEvent(n)}sendResultClickedEvent(e,r){if(!this.canSendEvent())return;let n=this.store.getState().request,a;e.type==Ge.TOPIC&&(a={tocId:e.topic.tocId,title:e.topic.title});let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:yr.SEARCH_PAGE__SELECT,searchQuery:{terms:n.query,searchType:n.virtualField,lastUpdate:yo(n.metadataFilters),facets:n.metadataFilters.map(s=>go(s))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:a},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchPageSelectEvent(i)}sendResultContextMenuOpenedEvent(e,r){if(!this.canSendEvent())return;let n=this.store.getState().request,a;e.type==Ge.TOPIC&&(a={tocId:e.topic.tocId,title:e.topic.title});let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:yr.SEARCH_RESULT__OPEN_CONTEXT_MENU,searchQuery:{terms:n.query,searchType:n.virtualField,lastUpdate:yo(n.metadataFilters),facets:n.metadataFilters.map(s=>go(s))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:a},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchResultOpenContextMenuEvent(i)}convertDocument(e){switch(e.type){case Ge.MAP:return{id:e.map.mapId,title:e.map.title,type:Kr.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case Ge.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:Kr.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case Ge.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:Kr.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var r,n,a,i,s;return(i=(n=(r=e.map)===null||r===void 0?void 0:r.originUrl)!==null&&n!==void 0?n:(a=e.topic)===null||a===void 0?void 0:a.originUrl)!==null&&i!==void 0?i:(s=e.document)===null||s===void 0?void 0:s.originUrl}}});var Te,Aa,Ra,Na,fe,Sl=f(()=>{"use strict";z();ne();k();yl();Zt();Tt();rl();Vh();Te=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Aa=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Ra=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Na=class extends CustomEvent{constructor(e,r,n){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:n}})}},fe=class extends Le{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=mo.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}get eventManager(){return this._eventManager==null&&(this._eventManager=new wa(this.stateManager.store)),this._eventManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.otherQueryParams={},this.addStore(H)}render(){return M`
|
|
1212
|
+
<slot @register-ft-search-component=${this.registerComponent} @ft-search-result-click="${this.onResultClicked}"
|
|
1213
|
+
@ft-search-result-open-context-menu=${this.onResultContextMenuOpened}></slot>
|
|
1214
|
+
`}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.forceContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Ra(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Na(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 Aa(e))}reloadSavedSearches(){dh.clearMySearches()}clear(){this.stateManager.clear()}onResultClicked(e){this.eventManager.sendResultClickedEvent(e.detail.result,e.detail.rank)}onResultContextMenuOpened(e){this.eventManager.sendResultContextMenuOpenedEvent(e.detail.result,e.detail.rank)}};fe.elementDefinitions={};fe.styles=ml;Te([re({store:H.name})],fe.prototype,"session",void 0);Te([O()],fe.prototype,"query",void 0);Te([O()],fe.prototype,"contentLocale",void 0);Te([O({type:Number})],fe.prototype,"pageSize",void 0);Te([O({type:Boolean})],fe.prototype,"searchInDocumentTitlesOnly",void 0);Te([O()],fe.prototype,"scope",void 0);Te([O()],fe.prototype,"virtualField",void 0);Te([O({type:Boolean})],fe.prototype,"ignoreEmptyQuery",void 0);Te([re({store:H.name})],fe.prototype,"openExternalDocumentInNewTab",void 0);Te([we([])],fe.prototype,"filters",void 0);Te([we([])],fe.prototype,"sort",void 0);Te([we({})],fe.prototype,"otherQueryParams",void 0);Te([re({store:"search"})],fe.prototype,"request",void 0);Te([re({store:"search"})],fe.prototype,"paging",void 0);Te([re({store:"search",selector:t=>t.spellcheck})],fe.prototype,"autocorrect",void 0);Te([O({attribute:!1})],fe.prototype,"searchServiceProvider",void 0)});var Gh=f(()=>{"use strict"});var Kh={};G(Kh,{ClearAllFiltersEvent:()=>an,FtSearchContext:()=>fe,FtSearchContextCssVariables:()=>ab,FtSearchStateManager:()=>mo,LoadErrorEvent:()=>Aa,SearchRequestChangeEvent:()=>Ra,SearchResultsChangeEvent:()=>Na,convertMetadataFilterToAnalyticsFacet:()=>go,getAnalyticsLastUpdate:()=>yo,searchInDocumentTitlesOnlySelector:()=>zh,styles:()=>ml});var Zh=f(()=>{"use strict";k();Sl();yl();Gh();Sl();gl();vl();V("ft-search-context")(fe)});var sn,qh=f(()=>{"use strict";pt();sn=ut.build("designedSearchInput")});var Yh,Qh=f(()=>{"use strict";z();en();Yh=I`
|
|
1214
1215
|
* {
|
|
1215
1216
|
box-sizing: border-box;
|
|
1216
1217
|
}
|
|
@@ -1252,11 +1253,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1252
1253
|
flex-grow: 1;
|
|
1253
1254
|
flex-shrink: 1;
|
|
1254
1255
|
}
|
|
1255
|
-
`});var
|
|
1256
|
+
`});var Ta,Cl,_t,Xh=f(()=>{"use strict";k();z();ne();Qh();vn();oa();ta();At();Zt();Tt();Ta=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Cl=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},_t=class extends $e{render(){let e=Nt.get();return M`
|
|
1256
1257
|
<div class="ft-search-input-suggestion ft-word-wrap"
|
|
1257
1258
|
part="container"
|
|
1258
1259
|
@keydown=${r=>this.onSuggestKeyDown(r)}>
|
|
1259
|
-
${
|
|
1260
|
+
${_o(this.suggestResults||[],r=>r.value,r=>this.renderSuggestion(r,e))}
|
|
1260
1261
|
</div>
|
|
1261
1262
|
`}renderSuggestion(e,r){let n=M`
|
|
1262
1263
|
<ft-ripple></ft-ripple>
|
|
@@ -1278,16 +1279,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1278
1279
|
@click=${()=>this.onSuggestSelected(e.value)}>
|
|
1279
1280
|
${n}
|
|
1280
1281
|
</div>
|
|
1281
|
-
`}onSuggestKeyDown(e){var r,n,a,i,s,c;switch(e.key){case"ArrowUp":(a=(n=(r=this.getFocusedSuggestionElement())===null||r===void 0?void 0:r.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||a===void 0||a.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(c=(s=(i=this.getFocusedSuggestionElement())===null||i===void 0?void 0:i.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||c===void 0||c.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),e.target.click())}onSuggestSelected(e){this.dispatchEvent(new
|
|
1282
|
+
`}onSuggestKeyDown(e){var r,n,a,i,s,c;switch(e.key){case"ArrowUp":(a=(n=(r=this.getFocusedSuggestionElement())===null||r===void 0?void 0:r.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||a===void 0||a.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(c=(s=(i=this.getFocusedSuggestionElement())===null||i===void 0?void 0:i.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||c===void 0||c.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),e.target.click())}onSuggestSelected(e){this.dispatchEvent(new Cl(e))}getIcon(e){let r=e.type==="DOCUMENT"?We.file_format:We.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?Kt.BOOK:Kt.ARTICLE;break;case"DOCUMENT":n=Xf(e.mimeType,e.filenameExtension);break;case"TOPIC":n=Kt.TOPICS;break}return M`
|
|
1282
1283
|
<ft-icon .variant="${r}" .value="${n}" part="suggestion-icon"></ft-icon>
|
|
1283
|
-
`}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()}};
|
|
1284
|
+
`}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()}};_t.elementDefinitions={"ft-ripple":ce,"ft-typography":ge,"ft-icon":Pe};_t.styles=[Ss,Yh];Ta([re()],_t.prototype,"request",void 0);Ta([re()],_t.prototype,"suggestResults",void 0);Ta([O()],_t.prototype,"launchSearchPath",void 0);_t=Ta([Za("ft-search-input-suggestion")],_t)});var ft,Oe,Ol=f(()=>{"use strict";z();k();en();Zt();pt();qh();ne();_r();Xh();ia();At();Tt();ft=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Oe=class extends Ze($e){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.addI18nContext(sn)}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},a={...this.request,query:this.liveQuery},i=this.useCustomSearchPath?this.launchSearchPath:void 0,s=Nt.get().serializeToCurrentPageIfPossible(a,i);return M`
|
|
1284
1285
|
<div class="${rt(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
|
|
1285
1286
|
<div class="ft-search-input--input-container" part="input-container" tabindex="-1">
|
|
1286
1287
|
<div class="ft-search-input--input-outline" part="input-outline">
|
|
1287
1288
|
<input class="ft-search-input--input ft-typography--body2"
|
|
1288
1289
|
part="input"
|
|
1289
1290
|
type="search"
|
|
1290
|
-
placeholder="${
|
|
1291
|
+
placeholder="${sn.messages.placeholder()}"
|
|
1291
1292
|
.value="${this.liveQuery}"
|
|
1292
1293
|
@input=${c=>this.onInput(c)}
|
|
1293
1294
|
@keydown=${c=>this.onSearchBarKeyDown(c)}
|
|
@@ -1306,7 +1307,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1306
1307
|
part="clear-query"
|
|
1307
1308
|
icon="close"
|
|
1308
1309
|
round dense
|
|
1309
|
-
label="${
|
|
1310
|
+
label="${sn.messages.clearButton()}"
|
|
1310
1311
|
@click=${()=>this.onClearInput()}
|
|
1311
1312
|
></ft-button>
|
|
1312
1313
|
<div class="ft-search-input--separator"></div>
|
|
@@ -1315,64 +1316,65 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1315
1316
|
part="launch-search-in-input"
|
|
1316
1317
|
icon="search"
|
|
1317
1318
|
round dense
|
|
1318
|
-
label="${
|
|
1319
|
+
label="${sn.messages.searchButton()}"
|
|
1319
1320
|
href="${this.useCustomSearchPath?s:""}"
|
|
1320
1321
|
@click=${()=>this.launchSearch(this.liveQuery)}
|
|
1321
1322
|
></ft-button>
|
|
1322
1323
|
</div>
|
|
1323
1324
|
</div>
|
|
1324
|
-
`}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.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break;default:break}}onInput(e){var r;(r=this.stateManager)===null||r===void 0||r.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear?this.launchSearch(""):
|
|
1325
|
-
`});var
|
|
1325
|
+
`}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.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break;default:break}}onInput(e){var r;(r=this.stateManager)===null||r===void 0||r.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear?this.launchSearch(""):W,this.input.focus()}launchSearch(e){var r;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(r=this.stateManager)===null||r===void 0||r.setQuery(e)}onSuggestionSelected(e){var r;(r=this.input)===null||r===void 0||r.focus(),this.launchSearch(e.detail)}};Oe.elementDefinitions={"ft-search-input-suggestion":_t,"ft-button":ze};Oe.styles=[Jn,Cs,jc];ft([re()],Oe.prototype,"request",void 0);ft([re()],Oe.prototype,"liveQuery",void 0);ft([re()],Oe.prototype,"suggestResults",void 0);ft([le()],Oe.prototype,"forceCloseSuggestion",void 0);ft([O()],Oe.prototype,"launchSearchPath",void 0);ft([O({type:Boolean})],Oe.prototype,"useCustomSearchPath",void 0);ft([O({type:Boolean})],Oe.prototype,"triggerSearchOnClear",void 0);ft([be(".ft-search-input--input")],Oe.prototype,"input",void 0);ft([be("ft-search-input-suggestion")],Oe.prototype,"suggestion",void 0);ft([be('[part="launch-search-in-input"]')],Oe.prototype,"launchSearchButton",void 0)});var Jh=f(()=>{"use strict"});var em={};G(em,{FtSearchInput:()=>Oe,FtSearchInputCssVariables:()=>ie,styles:()=>jc});var tm=f(()=>{"use strict";k();Ol();en();Jh();Ol();V("ft-search-input")(Oe)});var db,El,wl=f(()=>{"use strict";z();db={},El=I`
|
|
1326
|
+
`});var Al,rm=f(()=>{"use strict";pt();Al=ut.fromGwt("designedActionBlockAriaLabels")});var om,Pt,Rl=f(()=>{"use strict";z();k();wl();ia();Zt();pt();rm();om=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Pt=class extends Ze($e){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(Al)}render(){return this.isLastPage?W:M`
|
|
1326
1327
|
<ft-button @click="${this.loadMore}">
|
|
1327
|
-
${
|
|
1328
|
+
${Al.messages.searchPageLoadMore()}
|
|
1328
1329
|
</ft-button>
|
|
1329
|
-
`}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};
|
|
1330
|
-
<ft-typography variant="body1" part="text">${
|
|
1330
|
+
`}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Pt.elementDefinitions={"ft-button":ze};Pt.styles=El;om([re({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}})],Pt.prototype,"currentPage",void 0);om([re({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}})],Pt.prototype,"isLastPage",void 0)});var nm=f(()=>{"use strict"});var am={};G(am,{FtSearchLoadMoreButton:()=>Pt,FtSearchLoadMoreButtonCssVariables:()=>db,styles:()=>El});var im=f(()=>{"use strict";k();Rl();wl();nm();Rl();V("ft-search-load-more-button")(Pt)});function ub(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(a){this.resultStateManager=a}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Nl]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Nl]):this.dispatchEvent(new Tl)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Nl,_a([O({attribute:!1})],r.prototype,"cluster",void 0),_a([O({attribute:!1})],r.prototype,"result",void 0),_a([O({attribute:!1,type:Number})],r.prototype,"rank",void 0),_a([O({attribute:!1,type:Boolean})],r.prototype,"openResultInNewTab",void 0),r}var _a,Tl,Nl,bo,_l=f(()=>{"use strict";Zt();ne();_a=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Tl=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Nl=Symbol("registerInterval");bo=class extends ub($e){}});var Cr,Pl=f(()=>{"use strict";z();_l();ca();Po();At();Cr=class extends bo{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?M`
|
|
1331
|
+
<ft-typography variant="body1" part="text">${ar(e)}</ft-typography>
|
|
1331
1332
|
`:M`
|
|
1332
1333
|
<style>
|
|
1333
1334
|
:host {
|
|
1334
1335
|
display: none !important;
|
|
1335
1336
|
}
|
|
1336
1337
|
</style>
|
|
1337
|
-
`}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};
|
|
1338
|
-
<a href="${
|
|
1338
|
+
`}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(r=>r.setAttribute("part","kwicmatch"))}};Cr.elementDefinitions={"ft-typography":ge};Cr.styles=Vc});var sm=f(()=>{"use strict"});var cm={};G(cm,{FtSearchResultAbstract:()=>Cr,FtSearchResultAbstractCssVariables:()=>sa,styles:()=>Vc});var Il=f(()=>{"use strict";k();Pl();ca();sm();Pl();V("ft-search-result-abstract")(Cr)});var pb,qt,Ll=f(()=>{"use strict";z();ne();_l();da();At();Po();pl();hl();pb=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},qt=class extends bo{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():M`
|
|
1339
|
+
<a href="${Ca(this.result)}"
|
|
1339
1340
|
@click=${this.onResultClick}
|
|
1340
1341
|
@auxclick=${r=>this.onAuxClick(r)}
|
|
1341
|
-
|
|
1342
|
+
@contextmenu=${this.onContextMenu}
|
|
1343
|
+
target="${Fh(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
|
|
1342
1344
|
part="link">
|
|
1343
1345
|
${this.renderTitle()}
|
|
1344
1346
|
</a>
|
|
1345
|
-
`:
|
|
1346
|
-
<ft-typography variant="title" part="text">${
|
|
1347
|
-
`}onResultClick(){this.dispatchEvent(new
|
|
1347
|
+
`:W}onAuxClick(e){e.button==1&&this.onResultClick()}renderTitle(){return M`
|
|
1348
|
+
<ft-typography variant="title" part="text">${ar(this.selectTitle(this.result))}</ft-typography>
|
|
1349
|
+
`}onResultClick(){this.dispatchEvent(new fo(this.result,this.rank))}onContextMenu(){this.dispatchEvent(new ho(this.result,this.rank))}selectTitle(e){switch(e.type){case"MAP":return e.map.htmlTitle;case"DOCUMENT":return e.document.htmlTitle;case"TOPIC":return e.topic.htmlTitle}return""}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(n=>n.setAttribute("part","kwicmatch")),!this.withoutLink&&e.has("rank")&&this.rank!=null&&(!((r=this.stateManager)===null||r===void 0)&&r.store.commands.consume(`focus-result-${this.rank}`))&&(this.elementToFocus={selector:"a"})}};qt.elementDefinitions={"ft-typography":ge};qt.styles=Gc;pb([O({type:Boolean})],qt.prototype,"withoutLink",void 0)});var lm=f(()=>{"use strict"});var dm={};G(dm,{FtSearchResultTitle:()=>qt,FtSearchResultTitleCssVariables:()=>la,styles:()=>Gc});var kl=f(()=>{"use strict";k();Ll();da();lm();Ll();V("ft-search-result-title")(qt)});var fb,Dl,Ml=f(()=>{"use strict";z();fb={},Dl=I`
|
|
1348
1350
|
[part="no-results-message"] {
|
|
1349
1351
|
text-align: center;
|
|
1350
1352
|
padding: 12px;
|
|
1351
1353
|
}
|
|
1352
|
-
`});var
|
|
1354
|
+
`});var um,$l=f(()=>{"use strict";z();um=I`
|
|
1353
1355
|
a {
|
|
1354
1356
|
color: inherit;
|
|
1355
1357
|
text-decoration: inherit;
|
|
1356
1358
|
}
|
|
1357
|
-
`});var
|
|
1359
|
+
`});var Pa,pm=f(()=>{"use strict";Pa=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])}updateOpenResultInNewTab(e){this.openResultInNewTab=e}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,e.openResultInNewTab=this.openResultInNewTab}}});var Ia,Fl,ht,Bl=f(()=>{"use strict";z();ne();k();$l();pm();Ia=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Fl=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},ht=class extends J{constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new Pa(e=>this.onResultSelected(e))}render(){return M`
|
|
1358
1360
|
<slot @register-ft-search-result-component=${this.registerComponent}></slot>
|
|
1359
|
-
`}onResultSelected(e){this.result=e,this.dispatchEvent(new
|
|
1361
|
+
`}onResultSelected(e){this.result=e,this.dispatchEvent(new Fl(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),e.has("openResultInNewTab")&&this.stateManager.updateOpenResultInNewTab(this.openResultInNewTab)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};ht.elementDefinitions={};ht.styles=um;Ia([O({attribute:!1})],ht.prototype,"cluster",void 0);Ia([O({attribute:!1,type:Boolean})],ht.prototype,"openResultInNewTab",void 0);Ia([le()],ht.prototype,"result",void 0);Ia([O()],ht.prototype,"index",void 0)});var fm=f(()=>{"use strict"});var hm=f(()=>{"use strict";k();Bl();$l();fm();Bl();V("ft-search-result-context")(ht)});var xo,mm,Ul=f(()=>{"use strict";pt();xo=ut.build("searchResultsNumber"),mm={results:"{0} results","results[\\=1]":"1 result"}});var Or,je,Hl=f(()=>{"use strict";z();vn();ne();k();Ml();Zt();hm();kl();Il();pt();Ul();Or=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},je=class extends Ze($e){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>M`
|
|
1360
1362
|
<ft-search-result-title></ft-search-result-title>
|
|
1361
1363
|
<ft-search-result-abstract></ft-search-result-abstract>
|
|
1362
|
-
`,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(
|
|
1363
|
-
<ft-typography part="no-results-message" variant="body1">${
|
|
1364
|
-
`;let e=this.buildClusters();return
|
|
1364
|
+
`,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(xo)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return M`
|
|
1365
|
+
<ft-typography part="no-results-message" variant="body1">${xo.messages.results(0)}</ft-typography>
|
|
1366
|
+
`;let e=this.buildClusters();return _o(e,r=>r.id,(r,n)=>{var a;return M`
|
|
1365
1367
|
<ft-search-result-context .cluster=${r} index="${n}"
|
|
1366
1368
|
@ft-search-result-cluster-change="${i=>this.onClusterChange(r.id,i.detail)}">
|
|
1367
1369
|
${this.renderResult((a=this.selectedResultByCluster[r.id])!==null&&a!==void 0?a:r.entries[0],n)}
|
|
1368
1370
|
</ft-search-result-context>
|
|
1369
|
-
`})}update(e){var r;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager")&&this.clusterSortCriterion)&&((r=this.stateManager)===null||r===void 0||r.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var r;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let n=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelector("ft-search-result-context");n&&
|
|
1371
|
+
`})}update(e){var r;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager")&&this.clusterSortCriterion)&&((r=this.stateManager)===null||r===void 0||r.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var r;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let n=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelector("ft-search-result-context");n&&rc.scrollIntoViewIfPossible(n,{position:1,behavior:"smooth"})}}onClusterChange(e,r){this.selectedResultByCluster[e]=r}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,r;return(r=(e=this.results)===null||e===void 0?void 0:e.map(n=>({id:this.clusterId(n.entries[0]),entries:n.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var e,r,n;let a=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(i=>i.entries.map(s=>({id:this.clusterId(s),entries:[s]}))))!==null&&r!==void 0?r:[];return this.paging&&this.paging.page===1?a.slice(0,(n=this.paging.perPage)!==null&&n!==void 0?n:20):a}clusterId(e){var r,n,a,i,s;return(i=(n=(r=e.map)===null||r===void 0?void 0:r.mapId)!==null&&n!==void 0?n:(a=e.topic)===null||a===void 0?void 0:a.tocId)!==null&&i!==void 0?i:(s=e.document)===null||s===void 0?void 0:s.documentId}};je.styles=Dl;Or([O({type:String,attribute:"cluster-policy"})],je.prototype,"clusterPolicy",void 0);Or([O({type:Boolean})],je.prototype,"displayNoResultsMessage",void 0);Or([O({attribute:!1})],je.prototype,"renderResult",void 0);Or([we([])],je.prototype,"clusterSortCriterion",void 0);Or([re({selector:t=>({...t.request,paging:void 0})})],je.prototype,"requestWithoutPaging",void 0);Or([re({selector:t=>t.request.paging})],je.prototype,"paging",void 0);Or([re()],je.prototype,"results",void 0)});var ym=f(()=>{"use strict"});var gm={};G(gm,{FtSearchResults:()=>je,FtSearchResultsCssVariables:()=>fb,styles:()=>Dl});var bm=f(()=>{"use strict";k();Hl();Ml();ym();Hl();V("ft-search-results")(je)});var hb,Wl,zl=f(()=>{"use strict";z();hb={},Wl=I`
|
|
1370
1372
|
|
|
1371
|
-
`});var
|
|
1373
|
+
`});var mb,Yt,jl=f(()=>{"use strict";z();k();zl();Zt();pt();Ul();At();mb=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Yt=class extends Ze($e){constructor(){super(),this.addI18nContext(xo,mm)}render(){return this.paging==null?W:M`
|
|
1372
1374
|
<ft-typography variant="body1">
|
|
1373
|
-
${
|
|
1375
|
+
${xo.messages.results(this.paging.totalClustersCount)}
|
|
1374
1376
|
</ft-typography>
|
|
1375
|
-
`}};
|
|
1377
|
+
`}};Yt.elementDefinitions={"ft-typography":ge};Yt.styles=Wl;mb([re()],Yt.prototype,"paging",void 0)});var xm=f(()=>{"use strict"});var vm={};G(vm,{FtSearchResultsNumber:()=>Yt,FtSearchResultsNumberCssVariables:()=>hb,styles:()=>Wl});var Sm=f(()=>{"use strict";k();jl();zl();xm();jl();V("ft-search-results-number")(Yt)});k();z();k();z();k();z();k();br();var oe={padding:o.create("--ft-card-padding","","SIZE","12px"),borderRadius:o.extend("--ft-card-border-radius","",D.borderRadiusM),borderStyle:o.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:o.extend("--ft-card-border-color","",D.colorOutline),hoverBorderColor:o.extend("--ft-card-hover-border-color","",D.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","",D.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","",D.colorPrimary),selectedBorderRadius:o.extend("--ft-card-selected-border-radius","",D.borderRadiusM),colorSurface:o.extend("--ft-card-background-color","",D.colorSurface),colorOnSurfaceMedium:o.extend("--ft-card-content-color","",D.colorOnSurfaceMedium),colorOnSurfaceHigh:o.extend("--ft-card-title-color","",D.colorOnSurfaceHigh),elevation02:o.extend("--ft-card-elevation","",D.elevation02),elevation04:o.extend("--ft-card-selected-elevation","",D.elevation04)},Ef=I`
|
|
1376
1378
|
:host {
|
|
1377
1379
|
display: block;
|
|
1378
1380
|
}
|
|
@@ -1461,7 +1463,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1461
1463
|
#action {
|
|
1462
1464
|
grid-area: actions;
|
|
1463
1465
|
}
|
|
1464
|
-
`;
|
|
1466
|
+
`;en();ca();br();da();var Re={searchFieldBackgroundColor:o.extend("--ft-rsid-search-field-background-color","",D.colorSurface),searchFieldBorderColor:o.extend("--ft-rsid-search-field-border-color","",D.colorOutline),searchFieldTextColor:o.extend("--ft-rsid-search-field-text-color","",D.colorOnSurface),searchFieldBorderRadius:o.extend("--ft-rsid-search-field-border-radius","",D.borderRadiusS),searchButtonColor:o.extend("--ft-rsid-search-field-button-color","",D.colorPrimary),resultsNumberColor:o.extend("--ft-rsid-results-number-color","",D.colorOnSurfaceMedium),resultBackgroundColor:o.extend("--ft-rsid-result-background-color","",D.colorSurface),resultBorderColor:o.extend("--ft-rsid-result-border-color","",D.colorOutline),resultBorderRadius:o.extend("--ft-rsid-result-border-radius","",D.borderRadiusS),resultTitleTextColor:o.extend("--ft-rsid-result-title-text-color","",D.colorOnSurface),resultBreadcrumbTextColor:o.extend("--ft-rsid-result-breadcrumb-text-color","",D.colorOnSurfaceMedium),resultContentTextColor:o.extend("--ft-rsid-result-content-text-color","",D.colorOnSurface),resultHighlightBackgroundColor:o.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:o.extend("--ft-rsid-result-hover-background-color","",D.colorPrimary),resultHoverBorderColor:o.extend("--ft-rsid-result-hover-border-color","",D.colorPrimary)},nh=I`
|
|
1465
1467
|
.ft-search-in-doc--container {
|
|
1466
1468
|
display: flex;
|
|
1467
1469
|
flex-direction: column;
|
|
@@ -1487,7 +1489,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1487
1489
|
ft-search-load-more-button {
|
|
1488
1490
|
margin: auto;
|
|
1489
1491
|
}
|
|
1490
|
-
`,
|
|
1492
|
+
`,ah=I`
|
|
1491
1493
|
ft-card {
|
|
1492
1494
|
margin-bottom: 8px;
|
|
1493
1495
|
${E(oe.elevation04,"none")};
|
|
@@ -1501,7 +1503,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1501
1503
|
|
|
1502
1504
|
ft-search-result-title {
|
|
1503
1505
|
color: ${Re.resultTitleTextColor};
|
|
1504
|
-
${E(
|
|
1506
|
+
${E(la.highlightBackgroundColor,Re.resultHighlightBackgroundColor)};
|
|
1505
1507
|
}
|
|
1506
1508
|
|
|
1507
1509
|
.breadcrumb {
|
|
@@ -1510,7 +1512,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1510
1512
|
|
|
1511
1513
|
ft-search-result-abstract {
|
|
1512
1514
|
color: ${Re.resultContentTextColor};
|
|
1513
|
-
${E(
|
|
1515
|
+
${E(sa.highlightBackgroundColor,Re.resultHighlightBackgroundColor)};
|
|
1514
1516
|
}
|
|
1515
1517
|
|
|
1516
1518
|
ft-card:hover {
|
|
@@ -1528,11 +1530,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1528
1530
|
text-decoration: none;
|
|
1529
1531
|
color: inherit;
|
|
1530
1532
|
}
|
|
1531
|
-
`;pt();k();ne();var
|
|
1533
|
+
`;pt();k();ne();var Ih;(function(t){t.clusteringHelperCreated="clustering-helper-created",t.mapAttachmentsUpdate="map-attachments-update"})(Ih||(Ih={}));var Lh;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Lh||(Lh={}));var ob=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ul=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},dl=Symbol("registerInterval");function nb(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[dl]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[dl]):this.dispatchEvent(new ul)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=dl,ob([le()],r.prototype,"stateManager",void 0),r}var Sa=class extends nb(Le){};ne();pl();var Oa=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};pt();var fl=ut.build("designedReaderSearchInDocument");k();z();ne();k();ta();At();_r();var po=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Me=class extends J{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1,this.noContent=!1,this.oneLineHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader,"no-content":this.noContent,"one-line-header":this.oneLineHeader};return M`
|
|
1532
1534
|
<div id="container" part="container" class=${rt(e)}>
|
|
1533
1535
|
${this.clickable?M`
|
|
1534
1536
|
<ft-ripple primary ?selected=${this.selected}></ft-ripple>
|
|
1535
|
-
`:
|
|
1537
|
+
`:W}
|
|
1536
1538
|
<div id="header" part="header">
|
|
1537
1539
|
<ft-typography class="title" element="span" variant="title">${this.title}</ft-typography>
|
|
1538
1540
|
<slot name="header"></slot>
|
|
@@ -1546,35 +1548,37 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1546
1548
|
</ft-typography>
|
|
1547
1549
|
</div>
|
|
1548
1550
|
</div>
|
|
1549
|
-
`}};Me.elementDefinitions={"ft-ripple":ce,"ft-typography":ge};Me.styles=
|
|
1550
|
-
<style> ${
|
|
1551
|
-
<a href="${
|
|
1551
|
+
`}};Me.elementDefinitions={"ft-ripple":ce,"ft-typography":ge};Me.styles=Ef;po([O()],Me.prototype,"title",void 0);po([O({type:Boolean})],Me.prototype,"clickable",void 0);po([O({type:Boolean})],Me.prototype,"selected",void 0);po([O({type:Boolean})],Me.prototype,"noHeader",void 0);po([O({type:Boolean})],Me.prototype,"noContent",void 0);po([O({type:Boolean})],Me.prototype,"oneLineHeader",void 0);V("ft-card")(Me);hl();var Qt=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Fe=class t extends Ze(Sa){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.userHasDoneManualAction=!1,this.uniqueId="search-in-document-"+(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.addI18nContext(fl)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var n;return M`
|
|
1552
|
+
<style> ${ah}</style>
|
|
1553
|
+
<a href="${Ca(e)}" @click="${()=>this.onLinkClick(e,r)}"
|
|
1554
|
+
@auxclick="${a=>this.onAuxClick(a,e,r)}"
|
|
1555
|
+
@contextmenu="${()=>this.onContextMenu(e,r)}">
|
|
1552
1556
|
<ft-card clickable noheader>
|
|
1553
1557
|
<div class="result-container">
|
|
1554
|
-
${this.hideResultTitle?
|
|
1558
|
+
${this.hideResultTitle?W:M`
|
|
1555
1559
|
<ft-search-result-title withoutLink="true"></ft-search-result-title>`}
|
|
1556
|
-
${this.hideResultBreadcrumb?
|
|
1560
|
+
${this.hideResultBreadcrumb?W:M`
|
|
1557
1561
|
<ft-typography class="breadcrumb" variant="caption">${(n=e.topic)===null||n===void 0?void 0:n.breadcrumb.join(" > ")}</ft-typography>
|
|
1558
1562
|
`}
|
|
1559
|
-
${this.hideResultAbstract?
|
|
1563
|
+
${this.hideResultAbstract?W:M`
|
|
1560
1564
|
<ft-search-result-abstract></ft-search-result-abstract>
|
|
1561
1565
|
`}
|
|
1562
1566
|
</div>
|
|
1563
1567
|
</ft-card>
|
|
1564
1568
|
</a>
|
|
1565
|
-
`}onAuxClick(e,r,n){e.button==1&&this.onLinkClick(r,n)}render(){return this.map?M`
|
|
1569
|
+
`}onAuxClick(e,r,n){e.button==1&&this.onLinkClick(r,n)}onContextMenu(e,r){this.dispatchEvent(new ho(e,r))}render(){return this.map?M`
|
|
1566
1570
|
<ft-search-context id="${this.uniqueId}"
|
|
1567
1571
|
contentLocale="${this.map.lang}"
|
|
1568
1572
|
query="${this.searchInDocumentQuery}"
|
|
1569
1573
|
.filters=${this.filters}
|
|
1570
1574
|
scope="ALL_TOPICS"
|
|
1571
1575
|
ignoreEmptyQuery
|
|
1572
|
-
@ft-search-results-change=${e=>{var r,n;this.userHasDoneManualAction&&(this.dispatchEvent(new
|
|
1576
|
+
@ft-search-results-change=${e=>{var r,n;this.userHasDoneManualAction&&(this.dispatchEvent(new Oa({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)}}>
|
|
1573
1577
|
<div class="ft-search-in-doc--container">
|
|
1574
|
-
<ft-search-input placeholder=${
|
|
1578
|
+
<ft-search-input placeholder=${fl.messages.placeholder()}
|
|
1575
1579
|
?triggerSearchOnClear=${this.emptyResultOnClear}
|
|
1576
1580
|
@change="${e=>{var r;this.userHasDoneManualAction=!0,(r=this.stateManager)===null||r===void 0||r.setSearchInDocumentQuery(e.detail)}}"></ft-search-input>
|
|
1577
|
-
${this.hideResultsNumber?
|
|
1581
|
+
${this.hideResultsNumber?W:M`
|
|
1578
1582
|
<ft-search-results-number></ft-search-results-number>
|
|
1579
1583
|
`}
|
|
1580
1584
|
<ft-search-results ?displayNoResultsMessage=${this.hideResultsNumber}
|
|
@@ -1586,7 +1590,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1586
1590
|
</slot>
|
|
1587
1591
|
</div>
|
|
1588
1592
|
</ft-search-context>
|
|
1589
|
-
`:
|
|
1593
|
+
`:W}update(e){super.update(e),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,r){this.dispatchEvent(new fo(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(Zh(),Kh)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(tm(),em)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(im(),am)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(Il(),cm)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(kl(),dm)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(bm(),gm)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(Sm(),vm)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};Fe.elementDefinitions={"ft-card":Me};Fe.styles=nh;Qt([re()],Fe.prototype,"map",void 0);Qt([re()],Fe.prototype,"searchInDocumentQuery",void 0);Qt([be("ft-search-results")],Fe.prototype,"searchResults",void 0);Qt([O({type:Boolean})],Fe.prototype,"hideResultTitle",void 0);Qt([O({type:Boolean})],Fe.prototype,"hideResultBreadcrumb",void 0);Qt([O({type:Boolean})],Fe.prototype,"hideResultAbstract",void 0);Qt([O({type:Boolean})],Fe.prototype,"hideResultsNumber",void 0);Qt([O({type:Boolean})],Fe.prototype,"emptyResultOnClear",void 0);V("ft-reader-search-in-document")(Fe);})();
|
|
1590
1594
|
/*! Bundled license information:
|
|
1591
1595
|
|
|
1592
1596
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|