@fluid-topics/ft-reader-toc 1.3.3 → 1.3.4

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.
@@ -1216,7 +1216,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1216
1216
  `;var lt=class extends Cs.FtLitElement{render(){return Os.html`
1217
1217
  `}};lt.elementDefinitions={};lt.styles=Ss;(0,Es.customElement)("ft-skeleton")(lt);var pl=v(L());var Ro=v(H()),No=v(te()),To=v(L());var ws=v(H());var As=ws.css`
1218
1218
  `;var wo=v(L());var nl=v(L());var Is=v(H()),Se=v(te()),De=v(L());var Rs=v(H());var Ns=Rs.css`
1219
- `;var eo=v(L()),Jl="ft-app-info",Qr=class e extends CustomEvent{constructor(r){super(e.eventName,{detail:r})}};Qr.eventName="authentication-change";var Ql={session:(e,r)=>{(0,eo.deepEqual)(e.session,r.payload)||(e.session=r.payload,setTimeout(()=>P.dispatchEvent(new Qr(r.payload)),0))}},P=eo.FtReduxStore.get({name:Jl,reducers:Ql,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 Ge=v(L());var ln=v(L());var Rt=class e{static get(r){let{baseUrl:o,apiIntegrationIdentifier:n}=P.getState(),a=r??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(r){return new Promise(o=>{let n=e.get(r);if(n)o(n);else{let a=P.subscribe(()=>{n=e.get(r),n&&(a(),o(n))})}})}};var Or=class{constructor(r){this.overrideApi=r}get api(){var r;return(r=this.overrideApi)!==null&&r!==void 0?r:Rt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Rt.await()}};var dt=class extends Or{constructor(r=!0,o){var n;super(o);let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new ln.CacheRegistry,this.cache=r?a.commonCache:new ln.CacheRegistry}clearCache(){this.cache.clearAll()}};var Ts,ed=Symbol("clearAfterUnitTest"),to=class extends dt{constructor(r){super(),this.messageContextProvider=r,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ts]=()=>{this.defaultMessages={},this.cache=new Ge.CacheRegistry,this.listeners={}},this.currentUiLocale=P.getState().uiLocale,P.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:r}=P.getState();this.currentUiLocale!==r&&(this.currentUiLocale=r,this.cache.clearAll(),this.notifyAll())}addContext(r){let o=r.name.toLowerCase();this.cache.setFinal(o,r),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(r,o){var n;if(r=r.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[r])!==null&&n!==void 0?n:{},...o};(0,Ge.deepEqual)(this.defaultMessages[r],a)||(this.defaultMessages[r]=a,await this.notify(r))}return this.fetchContext(r)}resolveContext(r){var o,n;return this.fetchContext(r),(n=(o=this.cache.getNow(r))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(r,o){let n=r.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(r,o,...n){var a;let i=r.toLowerCase(),c=this.resolveContext(i);return new Ge.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},c).resolve(o,...n)}async fetchContext(r){let o=!this.cache.has(r),n;try{n=await this.cache.get(r,()=>this.messageContextProvider(this.currentUiLocale,r))}catch(a){!(a instanceof Ge.CanceledPromiseError)&&o&&console.error(a)}return o&&await this.notify(r),n}subscribe(r,o){var n;return r=r.toLowerCase(),this.listeners[r]=(n=this.listeners[r])!==null&&n!==void 0?n:new Set,this.listeners[r].add(o),()=>{var a;return(a=this.listeners[r])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(r=>this.notify(r)))}async notify(r){this.listeners[r]!=null&&await Promise.all([...this.listeners[r].values()].map(o=>(0,Ge.delay)(0).then(()=>o()).catch(()=>null)))}};Ts=ed;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends to{constructor(){super(async(e,r)=>(await this.awaitApi).getFluidTopicsMessageContext(e,r))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends to{constructor(){super(async(e,r)=>(await this.awaitApi).getCustomMessageContext(e,r))}});var Yt=window.FluidTopicsI18nService,ro=window.FluidTopicsCustomI18nService;var de=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},J=class extends De.FtLitElement{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=()=>Rt.get(),this.messageContexts=[],this.cache=new De.CacheRegistry,this.cleanSessionDebouncer=new De.Debouncer}render(){return Is.html`
1219
+ `;var eo=v(L()),Jl="ft-app-info",Qr=class e extends CustomEvent{constructor(r){super(e.eventName,{detail:r})}};Qr.eventName="authentication-change";var Ql={session:(e,r)=>{(0,eo.deepEqual)(e.session,r.payload)||(e.session=r.payload,setTimeout(()=>P.dispatchEvent(new Qr(r.payload)),0))}},P=eo.FtReduxStore.get({name:Jl,reducers:Ql,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 Ge=v(L());var ln=v(L());var Rt=class e{static get(r){let{baseUrl:o,apiIntegrationIdentifier:n}=P.getState(),a=r??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(r){return new Promise(o=>{let n=e.get(r);if(n)o(n);else{let a=P.subscribe(()=>{n=e.get(r),n&&(a(),o(n))})}})}};var Or=class{constructor(r){this.overrideApi=r}get api(){var r;return(r=this.overrideApi)!==null&&r!==void 0?r:Rt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Rt.await()}};var dt=class extends Or{constructor(r=!0,o){var n;super(o);let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new ln.CacheRegistry,this.cache=r?a.commonCache:new ln.CacheRegistry}clearCache(){this.cache.clearAll()}};var Ts,ed=Symbol("clearAfterUnitTest"),to=class extends dt{constructor(r){super(),this.messageContextProvider=r,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ts]=()=>{this.defaultMessages={},this.cache=new Ge.CacheRegistry,this.listeners={}},this.currentUiLocale=P.getState().uiLocale,P.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:r}=P.getState();this.currentUiLocale!==r&&(this.currentUiLocale=r,this.cache.clearAll(),this.notifyAll())}addContext(r){let o=r.name.toLowerCase();this.cache.setFinal(o,r),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(r,o){var n;if(r=r.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[r])!==null&&n!==void 0?n:{},...o};(0,Ge.deepEqual)(this.defaultMessages[r],a)||(this.defaultMessages[r]=a,await this.notify(r))}return this.fetchContext(r)}resolveContext(r){var o,n;return this.fetchContext(r),(n=(o=this.cache.getNow(r))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(r,o){let n=r.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(r,o,...n){var a;let i=r.toLowerCase(),c=this.resolveContext(i);return new Ge.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},c).resolve(o,...n)}async fetchContext(r){let o=!this.cache.has(r),n;try{n=await this.cache.get(r,()=>this.messageContextProvider(this.currentUiLocale,r)),o&&await this.notify(r)}catch(a){!(a instanceof Ge.CanceledPromiseError)&&o&&console.error(a)}return n}subscribe(r,o){var n;return r=r.toLowerCase(),this.listeners[r]=(n=this.listeners[r])!==null&&n!==void 0?n:new Set,this.listeners[r].add(o),()=>{var a;return(a=this.listeners[r])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(r=>this.notify(r)))}async notify(r){this.listeners[r]!=null&&await Promise.all([...this.listeners[r].values()].map(o=>(0,Ge.delay)(0).then(()=>o()).catch(()=>null)))}};Ts=ed;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends to{constructor(){super(async(e,r)=>(await this.awaitApi).getFluidTopicsMessageContext(e,r))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends to{constructor(){super(async(e,r)=>(await this.awaitApi).getCustomMessageContext(e,r))}});var Yt=window.FluidTopicsI18nService,ro=window.FluidTopicsCustomI18nService;var de=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},J=class extends De.FtLitElement{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=()=>Rt.get(),this.messageContexts=[],this.cache=new De.CacheRegistry,this.cleanSessionDebouncer=new De.Debouncer}render(){return Is.html`
1220
1220
  <slot></slot>
1221
1221
  `}update(r){var o,n,a,i,c;super.update(r),r.has("baseUrl")&&(P.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),r.has("apiIntegrationIdentifier")&&P.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),r.has("uiLocale")&&P.actions.uiLocale(this.uiLocale),r.has("metadataConfiguration")&&P.actions.metadataConfiguration(this.metadataConfiguration),r.has("noCustom")&&P.actions.noCustom(this.noCustom),r.has("editorMode")&&P.actions.editorMode(this.editorMode),r.has("noCustomComponent")&&P.actions.noCustomComponent(this.noCustomComponent),r.has("session")&&P.actions.session(this.session),r.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(d=>Yt.addContext(d)),r.has("openExternalDocumentInNewTab")&&P.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),r.has("navigatorOnline")&&P.actions.navigatorOnline(this.navigatorOnline),r.has("forcedOffline")&&P.actions.forcedOffline(this.forcedOffline),r.has("localesConfiguration")&&(P.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),P.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),P.actions.searchInAllLanguagesAllowed((c=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&c!==void 0?c:!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 r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},r.idleTimeoutInMillis),r})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};J.elementDefinitions={};J.styles=Ns;de([(0,Se.property)()],J.prototype,"baseUrl",void 0);de([(0,Se.property)()],J.prototype,"apiIntegrationIdentifier",void 0);de([(0,Se.property)()],J.prototype,"uiLocale",void 0);de([(0,De.jsonProperty)(null)],J.prototype,"availableUiLocales",void 0);de([(0,De.jsonProperty)(null)],J.prototype,"metadataConfiguration",void 0);de([(0,Se.property)({type:Boolean})],J.prototype,"editorMode",void 0);de([(0,Se.property)({type:Boolean})],J.prototype,"noCustom",void 0);de([(0,Se.property)({type:Boolean})],J.prototype,"openExternalDocumentInNewTab",void 0);de([(0,Se.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],J.prototype,"noCustomComponent",void 0);de([(0,Se.property)({type:Boolean})],J.prototype,"withManualResources",void 0);de([(0,Se.property)({type:Boolean})],J.prototype,"navigatorOnline",void 0);de([(0,Se.property)({type:Boolean})],J.prototype,"forcedOffline",void 0);de([(0,Se.property)({type:Object})],J.prototype,"apiProvider",void 0);de([(0,De.jsonProperty)([])],J.prototype,"messageContexts",void 0);de([(0,De.jsonProperty)(void 0)],J.prototype,"session",void 0);de([(0,Se.state)()],J.prototype,"localesConfiguration",void 0);var Hd=v(te());function td(e,r){if(e===r)return!0;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return!1;var o,n,a;if(Array.isArray(e)){if(o=e.length,o!=r.length)return!1;for(n=o;n--!==0;)if(!oo(e[n],r[n]))return!1;return!0}if(e instanceof Map&&r instanceof Map){if(e.size!==r.size)return!1;for(n of e.entries())if(!r.has(n[0]))return!1;for(n of e.entries())if(!oo(n[1],r.get(n[0])))return!1;return!0}if(e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(n of e.entries())if(!r.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();let i=c=>Object.keys(c).filter(d=>c[d]!=null);if(a=i(e),o=a.length,o!==i(r).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(r,a[n]))return!1;for(n=o;n--!==0;){let c=a[n];if(!oo(e[c],r[c]))return!1}return!0}return e!==e&&r!==r||e==null&&r==null}function oo(e,r){try{return td(e,r)}catch{return!1}}function no(e,r){return!oo(e,r)}var rd=v(te(),1);var ao=class{constructor(){this.queue=[]}add(r,o=!1){o&&this.clear(r.type),this.queue.push(r)}consume(r){let o=this.queue.find(n=>n.type===r);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(r){typeof r=="string"?this.queue=this.queue.filter(o=>o.type!==r):this.queue=this.queue.filter(o=>!r.test(o.type))}};var Xt=v(te(),1);var Ls=v(te(),1);function _s(e,r){let o=()=>JSON.parse(JSON.stringify(e));return(0,Ls.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:no,...r??{}})}var io=class{constructor(r=0){this.timeout=r,this.callbacks=[]}run(r,o){return this.callbacks=[r],this.debounce(o)}queue(r,o){return this.callbacks.push(r),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(r){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),r??this.timeout),this.promise}async runCallbacks(){var r,o;let n=[...this.callbacks];this.callbacks=[];let a=(r=this.rejectPromise)!==null&&r!==void 0?r:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(d){a(d);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 ks=v(H(),1);var so=globalThis,od=so.ShadowRoot&&(so.ShadyCSS===void 0||so.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,kb=Symbol();var Ps=(e,r)=>{if(od)e.adoptedStyleSheets=r.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of r){let n=document.createElement("style"),a=so.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var co=class extends ks.LitElement{createRenderRoot(){let r=this.constructor;r.elementDefinitions&&!r.registry&&(r.registry=new CustomElementRegistry,Object.entries(r.elementDefinitions).forEach(([a,i])=>r.registry.define(a,i)));let o={...r.shadowRootOptions,customElements:r.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Ps(n,r.elementStyles),n}};function Ds(e,r,...o){var n;let a=e.querySelector(r);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var Cr=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},$s,Bs=Symbol("constructorPrototype"),Us=Symbol("constructorName"),Ws=Symbol("exportpartsDebouncer"),Ms=Symbol("dynamicDependenciesLoaded"),Qe=class extends co{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[$s]=new io(5),this[Us]=this.constructor.name,this[Bs]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Us]&&Object.setPrototypeOf(this,this[Bs])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let r=this.constructor;r[Ms]||(r[Ms]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(r){super.updated(r),this.updateComplete.then(()=>{this.contentAvailableCallback(r),this.focusElementToFocus(r),this.applyCustomStylesheet(r),this.scheduleExportpartsUpdate()})}contentAvailableCallback(r){}focusElementToFocus(r){if(r.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];o=Ds(this.shadowRoot,...i)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(r){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(r.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 r,o,n;(!((r=this.exportpartsPrefix)===null||r===void 0)&&r.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Ws].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(r){var o,n,a,i,c,d;let p=g=>g!=null&&g.trim().length>0,u=r.filter(p).map(g=>g.trim());if(u.length===0){this.removeAttribute("exportparts");return}let m=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],x=(d=(c=g.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(C=>C.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...S,...x).filter(p).map(C=>C.trim()).forEach(C=>m.add(C))}if(m.size===0){this.removeAttribute("exportparts");return}let h=[...m.values()].flatMap(g=>u.map(S=>`${g}:${S}--${g}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};$s=Ws;Cr([(0,Xt.property)()],Qe.prototype,"exportpartsPrefix",void 0);Cr([_s([])],Qe.prototype,"exportpartsPrefixes",void 0);Cr([(0,Xt.property)()],Qe.prototype,"customStylesheet",void 0);Cr([(0,Xt.property)()],Qe.prototype,"elementToFocus",void 0);Cr([(0,Xt.state)()],Qe.prototype,"useAdoptedStyleSheets",void 0);function Er(e){var r;return(r=e?.isFtReduxStore)!==null&&r!==void 0?r:!1}var Hs,Fs,zs,wr=Symbol("internalReduxEventsUnsubscribers"),pt=Symbol("internalStoresUnsubscribers"),Nt=Symbol("internalStores"),Ar=class extends Qe{constructor(){super(...arguments),this[Hs]=new Map,this[Fs]=new Map,this[zs]=new Map}get reduxConstructor(){return this.constructor}update(r){super.update(r),[...this.reduxConstructor.reduxReactiveProperties].some(o=>r.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Nt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Nt].values()][0]}getStore(r){return r==null?this.getUnnamedStore():this[Nt].get(r)}addStore(r,o){var n;o=(n=o??(Er(r)?r.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[Nt].set(o,r),this.subscribeToStore(o,r),this.updateFromStores()}removeStore(r){let o=typeof r=="string"?r:r.name;this.unsubscribeFromStore(o),this[Nt].delete(o)}setupStores(){this.unsubscribeFromStores(),this[Nt].forEach((r,o)=>this.subscribeToStore(o,r)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((r,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(r.store);a&&(r.store?this[pt].has(r.store):this[pt].size>0)&&(this[o]=r.selector(a.getState(),this))}})}subscribeToStore(r,o){var n;this[pt].set(r,o.subscribe(()=>this.updateFromStores())),this[wr].set(r,[]),Er(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let c=d=>this[i](d);o.addEventListener(a.eventName,c),this[wr].get(r).push(()=>o.removeEventListener(a.eventName,c))}})),this.onStoreAvailable(r)}unsubscribeFromStores(){this[pt].forEach((r,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(r){var o;this[pt].has(r)&&this[pt].get(r)(),this[pt].delete(r),(o=this[wr].get(r))===null||o===void 0||o.forEach(n=>n()),this[wr].delete(r)}onStoreAvailable(r){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Hs=pt,Fs=Nt,zs=wr;Ar.reduxProperties=new Map;Ar.reduxReactiveProperties=new Set;Ar.reduxEventListeners=new Map;function Te(e){for(var r=arguments.length,o=Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function et(e){return!!e&&!!e[Z]}function Be(e){var r;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===pd}(e)||Array.isArray(e)||!!e[Ys]||!!(!((r=e.constructor)===null||r===void 0)&&r[Ys])||bn(e)||xn(e))}function Tt(e,r,o){o===void 0&&(o=!1),er(e)===0?(o?Object.keys:Qt)(e).forEach(function(n){o&&typeof n=="symbol"||r(n,e[n],e)}):e.forEach(function(n,a){return r(a,n,e)})}function er(e){var r=e[Z];return r?r.i>3?r.i-4:r.i:Array.isArray(e)?1:bn(e)?2:xn(e)?3:0}function Jt(e,r){return er(e)===2?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function nd(e,r){return er(e)===2?e.get(r):e[r]}function Xs(e,r,o){var n=er(e);n===2?e.set(r,o):n===3?e.add(o):e[r]=o}function Js(e,r){return e===r?e!==0||1/e==1/r:e!=e&&r!=r}function bn(e){return ld&&e instanceof Map}function xn(e){return dd&&e instanceof Set}function ut(e){return e.o||e.t}function vn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var r=tc(e);delete r[Z];for(var o=Qt(r),n=0;n<o.length;n++){var a=o[n],i=r[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(r[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),r)}function Sn(e,r){return r===void 0&&(r=!1),On(e)||et(e)||!Be(e)||(er(e)>1&&(e.set=e.add=e.clear=e.delete=ad),Object.freeze(e),r&&Tt(e,function(o,n){return Sn(n,!0)},!0)),e}function ad(){Te(2)}function On(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function je(e){var r=gn[e];return r||Te(18,e),r}function id(e,r){gn[e]||(gn[e]=r)}function hn(){return Nr}function dn(e,r){r&&(je("Patches"),e.u=[],e.s=[],e.v=r)}function lo(e){yn(e),e.p.forEach(sd),e.p=null}function yn(e){e===Nr&&(Nr=e.l)}function Gs(e){return Nr={p:[],l:Nr,h:e,m:!0,_:0}}function sd(e){var r=e[Z];r.i===0||r.i===1?r.j():r.g=!0}function pn(e,r){r._=r.p.length;var o=r.p[0],n=e!==void 0&&e!==o;return r.h.O||je("ES5").S(r,e,n),n?(o[Z].P&&(lo(r),Te(4)),Be(e)&&(e=po(r,e),r.l||uo(r,e)),r.u&&je("Patches").M(o[Z].t,e,r.u,r.s)):e=po(r,o,[]),lo(r),r.u&&r.v(r.u,r.s),e!==ec?e:void 0}function po(e,r,o){if(On(r))return r;var n=r[Z];if(!n)return Tt(r,function(d,p){return js(e,n,r,d,p,o)},!0),r;if(n.A!==e)return r;if(!n.P)return uo(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=vn(n.k):n.o,i=a,c=!1;n.i===3&&(i=new Set(a),a.clear(),c=!0),Tt(i,function(d,p){return js(e,n,a,d,p,o,c)}),uo(e,a,!1),o&&e.u&&je("Patches").N(n,o,e.u,e.s)}return n.o}function js(e,r,o,n,a,i,c){if(et(a)){var d=po(e,a,i&&r&&r.i!==3&&!Jt(r.R,n)?i.concat(n):void 0);if(Xs(o,n,d),!et(d))return;e.m=!1}else c&&o.add(a);if(Be(a)&&!On(a)){if(!e.h.D&&e._<1)return;po(e,a),r&&r.A.l||uo(e,a)}}function uo(e,r,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Sn(r,o)}function un(e,r){var o=e[Z];return(o?ut(o):e)[r]}function Vs(e,r){if(r in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,r);if(n)return n;o=Object.getPrototypeOf(o)}}function ft(e){e.P||(e.P=!0,e.l&&ft(e.l))}function fn(e){e.o||(e.o=vn(e.t))}function mn(e,r,o){var n=bn(r)?je("MapSet").F(r,o):xn(r)?je("MapSet").T(r,o):e.O?function(a,i){var c=Array.isArray(a),d={i:c?1:0,A:i?i.A:hn(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=d,u=Tr;c&&(p=[d],u=Rr);var m=Proxy.revocable(p,u),h=m.revoke,g=m.proxy;return d.k=g,d.j=h,g}(r,o):je("ES5").J(r,o);return(o?o.A:hn()).p.push(n),n}function cd(e){return et(e)||Te(22,e),function r(o){if(!Be(o))return o;var n,a=o[Z],i=er(o);if(a){if(!a.P&&(a.i<4||!je("ES5").K(a)))return a.t;a.I=!0,n=Ks(o,i),a.I=!1}else n=Ks(o,i);return Tt(n,function(c,d){a&&nd(a.t,c)===d||Xs(n,c,r(d))}),i===3?new Set(n):n}(e)}function Ks(e,r){switch(r){case 2:return new Map(e);case 3:return Array.from(e)}return vn(e)}function Qs(){function e(c,d){var p=i[c];return p?p.enumerable=d:i[c]=p={configurable:!0,enumerable:d,get:function(){var u=this[Z];return Tr.get(u,c)},set:function(u){var m=this[Z];Tr.set(m,c,u)}},p}function r(c){for(var d=c.length-1;d>=0;d--){var p=c[d][Z];if(!p.P)switch(p.i){case 5:n(p)&&ft(p);break;case 4:o(p)&&ft(p)}}}function o(c){for(var d=c.t,p=c.k,u=Qt(p),m=u.length-1;m>=0;m--){var h=u[m];if(h!==Z){var g=d[h];if(g===void 0&&!Jt(d,h))return!0;var S=p[h],x=S&&S[Z];if(x?x.t!==g:!Js(S,g))return!0}}var C=!!d[Z];return u.length!==Qt(d).length+(C?0:1)}function n(c){var d=c.k;if(d.length!==c.t.length)return!0;var p=Object.getOwnPropertyDescriptor(d,d.length-1);if(p&&!p.get)return!0;for(var u=0;u<d.length;u++)if(!d.hasOwnProperty(u))return!0;return!1}function a(c){c.g&&Te(3,JSON.stringify(ut(c)))}var i={};id("ES5",{J:function(c,d){var p=Array.isArray(c),u=function(h,g){if(h){for(var S=Array(g.length),x=0;x<g.length;x++)Object.defineProperty(S,""+x,e(x,!0));return S}var C=tc(g);delete C[Z];for(var I=Qt(C),R=0;R<I.length;R++){var N=I[R];C[N]=e(N,h||!!C[N].enumerable)}return Object.create(Object.getPrototypeOf(g),C)}(p,c),m={i:p?5:4,A:d?d.A:hn(),P:!1,I:!1,R:{},l:d,t:c,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,Z,{value:m,writable:!0}),u},S:function(c,d,p){p?et(d)&&d[Z].A===c&&r(c.p):(c.u&&function u(m){if(m&&typeof m=="object"){var h=m[Z];if(h){var g=h.t,S=h.k,x=h.R,C=h.i;if(C===4)Tt(S,function(B){B!==Z&&(g[B]!==void 0||Jt(g,B)?x[B]||u(S[B]):(x[B]=!0,ft(h)))}),Tt(g,function(B){S[B]!==void 0||Jt(S,B)||(x[B]=!1,ft(h))});else if(C===5){if(n(h)&&(ft(h),x.length=!0),S.length<g.length)for(var I=S.length;I<g.length;I++)x[I]=!1;else for(var R=g.length;R<S.length;R++)x[R]=!0;for(var N=Math.min(S.length,g.length),k=0;k<N;k++)S.hasOwnProperty(k)||(x[k]=!0),x[k]===void 0&&u(S[k])}}}}(c.p[0]),r(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var Zs,Nr,Cn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",ld=typeof Map<"u",dd=typeof Set<"u",qs=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ec=Cn?Symbol.for("immer-nothing"):((Zs={})["immer-nothing"]=!0,Zs),Ys=Cn?Symbol.for("immer-draftable"):"__$immer_draftable",Z=Cn?Symbol.for("immer-state"):"__$immer_state";var pd=""+Object.prototype.constructor,Qt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,tc=Object.getOwnPropertyDescriptors||function(e){var r={};return Qt(e).forEach(function(o){r[o]=Object.getOwnPropertyDescriptor(e,o)}),r},gn={},Tr={get:function(e,r){if(r===Z)return e;var o=ut(e);if(!Jt(o,r))return function(a,i,c){var d,p=Vs(i,c);return p?"value"in p?p.value:(d=p.get)===null||d===void 0?void 0:d.call(a.k):void 0}(e,o,r);var n=o[r];return e.I||!Be(n)?n:n===un(e.t,r)?(fn(e),e.o[r]=mn(e.A.h,n,e)):n},has:function(e,r){return r in ut(e)},ownKeys:function(e){return Reflect.ownKeys(ut(e))},set:function(e,r,o){var n=Vs(ut(e),r);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=un(ut(e),r),i=a?.[Z];if(i&&i.t===o)return e.o[r]=o,e.R[r]=!1,!0;if(Js(o,a)&&(o!==void 0||Jt(e.t,r)))return!0;fn(e),ft(e)}return e.o[r]===o&&(o!==void 0||r in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[r])||(e.o[r]=o,e.R[r]=!0),!0},deleteProperty:function(e,r){return un(e.t,r)!==void 0||r in e.t?(e.R[r]=!1,fn(e),ft(e)):delete e.R[r],e.o&&delete e.o[r],!0},getOwnPropertyDescriptor:function(e,r){var o=ut(e),n=Reflect.getOwnPropertyDescriptor(o,r);return n&&{writable:!0,configurable:e.i!==1||r!=="length",enumerable:n.enumerable,value:o[r]}},defineProperty:function(){Te(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Te(12)}},Rr={};Tt(Tr,function(e,r){Rr[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}}),Rr.deleteProperty=function(e,r){return Rr.set.call(this,e,r,void 0)},Rr.set=function(e,r,o){return Tr.set.call(this,e[0],r,o,e[0])};var ud=function(){function e(o){var n=this;this.O=qs,this.D=!0,this.produce=function(a,i,c){if(typeof a=="function"&&typeof i!="function"){var d=i;i=a;var p=n;return function(C){var I=this;C===void 0&&(C=d);for(var R=arguments.length,N=Array(R>1?R-1:0),k=1;k<R;k++)N[k-1]=arguments[k];return p.produce(C,function(B){var U;return(U=i).call.apply(U,[I,B].concat(N))})}}var u;if(typeof i!="function"&&Te(6),c!==void 0&&typeof c!="function"&&Te(7),Be(a)){var m=Gs(n),h=mn(n,a,void 0),g=!0;try{u=i(h),g=!1}finally{g?lo(m):yn(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(C){return dn(m,c),pn(C,m)},function(C){throw lo(m),C}):(dn(m,c),pn(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===ec&&(u=void 0),n.D&&Sn(u,!0),c){var S=[],x=[];je("Patches").M(a,u,S,x),c(S,x)}return u}Te(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){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(u,function(S){return a.apply(void 0,[S].concat(h))})};var c,d,p=n.produce(a,i,function(u,m){c=u,d=m});return typeof Promise<"u"&&p instanceof Promise?p.then(function(u){return[u,c,d]}):[p,c,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var r=e.prototype;return r.createDraft=function(o){Be(o)||Te(8),et(o)&&(o=cd(o));var n=Gs(this),a=mn(this,o,void 0);return a[Z].C=!0,yn(n),a},r.finishDraft=function(o,n){var a=o&&o[Z],i=a.A;return dn(i,n),pn(void 0,i)},r.setAutoFreeze=function(o){this.D=o},r.setUseProxies=function(o){o&&!qs&&Te(20),this.O=o},r.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var c=je("Patches").$;return et(o)?c(o,n):this.produce(o,function(d){return c(d,n)})},e}(),Re=new ud,fd=Re.produce,Zb=Re.produceWithPatches.bind(Re),qb=Re.setAutoFreeze.bind(Re),Yb=Re.setUseProxies.bind(Re),Xb=Re.applyPatches.bind(Re),Jb=Re.createDraft.bind(Re),Qb=Re.finishDraft.bind(Re),fo=fd;function It(e){"@babel/helpers - typeof";return It=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},It(e)}function rc(e,r){if(It(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,r||"default");if(It(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function oc(e){var r=rc(e,"string");return It(r)=="symbol"?r:r+""}function nc(e,r,o){return(r=oc(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}function ac(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function En(e){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{};r%2?ac(Object(o),!0).forEach(function(n){nc(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ac(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function pe(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var ic=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),wn=function(){return Math.random().toString(36).substring(7).split("").join(".")},ho={INIT:"@@redux/INIT"+wn(),REPLACE:"@@redux/REPLACE"+wn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+wn()}};function hd(e){if(typeof e!="object"||e===null)return!1;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r}function An(e,r,o){var n;if(typeof r=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(pe(0));if(typeof r=="function"&&typeof o>"u"&&(o=r,r=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(pe(1));return o(An)(e,r)}if(typeof e!="function")throw new Error(pe(2));var a=e,i=r,c=[],d=c,p=!1;function u(){d===c&&(d=c.slice())}function m(){if(p)throw new Error(pe(3));return i}function h(C){if(typeof C!="function")throw new Error(pe(4));if(p)throw new Error(pe(5));var I=!0;return u(),d.push(C),function(){if(I){if(p)throw new Error(pe(6));I=!1,u();var N=d.indexOf(C);d.splice(N,1),c=null}}}function g(C){if(!hd(C))throw new Error(pe(7));if(typeof C.type>"u")throw new Error(pe(8));if(p)throw new Error(pe(9));try{p=!0,i=a(i,C)}finally{p=!1}for(var I=c=d,R=0;R<I.length;R++){var N=I[R];N()}return C}function S(C){if(typeof C!="function")throw new Error(pe(10));a=C,g({type:ho.REPLACE})}function x(){var C,I=h;return C={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(pe(11));function k(){N.next&&N.next(m())}k();var B=I(k);return{unsubscribe:B}}},C[ic]=function(){return this},C}return g({type:ho.INIT}),n={dispatch:g,subscribe:h,getState:m,replaceReducer:S},n[ic]=x,n}function yd(e){Object.keys(e).forEach(function(r){var o=e[r],n=o(void 0,{type:ho.INIT});if(typeof n>"u")throw new Error(pe(12));if(typeof o(void 0,{type:ho.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(pe(13))})}function sc(e){for(var r=Object.keys(e),o={},n=0;n<r.length;n++){var a=r[n];typeof e[a]=="function"&&(o[a]=e[a])}var i=Object.keys(o),c,d;try{yd(o)}catch(p){d=p}return function(u,m){if(u===void 0&&(u={}),d)throw d;if(0)var h;for(var g=!1,S={},x=0;x<i.length;x++){var C=i[x],I=o[C],R=u[C],N=I(R,m);if(typeof N>"u"){var k=m&&m.type;throw new Error(pe(14))}S[C]=N,g=g||N!==R}return g=g||i.length!==Object.keys(u).length,g?S:u}}function tr(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return r.length===0?function(n){return n}:r.length===1?r[0]:r.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function cc(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(pe(15))},c={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},d=r.map(function(p){return p(c)});return i=tr.apply(void 0,d)(a.dispatch),En(En({},a),{},{dispatch:i})}}}function lc(e){var r=function(n){var a=n.dispatch,i=n.getState;return function(c){return function(d){return typeof d=="function"?d(a,i,e):c(d)}}};return r}var dc=lc();dc.withExtraArgument=lc;var Rn=dc;var yc=function(){var e=function(r,o){return e=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])},e(r,o)};return function(r,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(r,o);function n(){this.constructor=r}r.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),md=function(e,r){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,c;return c={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function d(u){return function(m){return p([u,m])}}function p(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=r.call(e,o)}catch(m){u=[6,m],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},rr=function(e,r){for(var o=0,n=r.length,a=e.length;o<n;o++,a++)e[a]=r[o];return e},gd=Object.defineProperty,bd=Object.defineProperties,xd=Object.getOwnPropertyDescriptors,pc=Object.getOwnPropertySymbols,vd=Object.prototype.hasOwnProperty,Sd=Object.prototype.propertyIsEnumerable,uc=function(e,r,o){return r in e?gd(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o},ht=function(e,r){for(var o in r||(r={}))vd.call(r,o)&&uc(e,o,r[o]);if(pc)for(var n=0,a=pc(r);n<a.length;n++){var o=a[n];Sd.call(r,o)&&uc(e,o,r[o])}return e},Nn=function(e,r){return bd(e,xd(r))},Od=function(e,r,o){return new Promise(function(n,a){var i=function(p){try{d(o.next(p))}catch(u){a(u)}},c=function(p){try{d(o.throw(p))}catch(u){a(u)}},d=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(i,c)};d((o=o.apply(e,r)).next())})};var Cd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?tr:tr.apply(null,arguments)},gx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Ed(e){if(typeof e!="object"||e===null)return!1;var r=Object.getPrototypeOf(e);if(r===null)return!0;for(var o=r;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return r===o}var wd=function(e){yc(r,e);function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,r.prototype),a}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},r.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(r.bind.apply(r,rr([void 0],o[0].concat(this)))):new(r.bind.apply(r,rr([void 0],o.concat(this))))},r}(Array),Ad=function(e){yc(r,e);function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,r.prototype),a}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},r.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(r.bind.apply(r,rr([void 0],o[0].concat(this)))):new(r.bind.apply(r,rr([void 0],o.concat(this))))},r}(Array);function Ln(e){return Be(e)?fo(e,function(){}):e}function Rd(e){return typeof e=="boolean"}function Nd(){return function(r){return Td(r)}}function Td(e){e===void 0&&(e={});var r=e.thunk,o=r===void 0?!0:r,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,c=i===void 0?!0:i,d=new wd;if(o&&(Rd(o)?d.push(Rn):d.push(Rn.withExtraArgument(o.extraArgument))),0){if(a)var p;if(c)var u}return d}var Tn=!0;function mc(e){var r=Nd(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,c=i===void 0?r():i,d=o.devTools,p=d===void 0?!0:d,u=o.preloadedState,m=u===void 0?void 0:u,h=o.enhancers,g=h===void 0?void 0:h,S;if(typeof a=="function")S=a;else if(Ed(a))S=sc(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 x=c;if(typeof x=="function"&&(x=x(r),!Tn&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Tn&&x.some(function(B){return typeof B!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=cc.apply(void 0,x),I=tr;p&&(I=Cd(ht({trace:!Tn},typeof p=="object"&&p)));var R=new Ad(C),N=R;Array.isArray(g)?N=rr([C],g):typeof g=="function"&&(N=g(R));var k=I.apply(void 0,N);return An(S,m,k)}function yt(e,r){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(r){var i=r.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return ht(ht({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function gc(e){var r={},o=[],n,a={addCase:function(i,c){var d=typeof i=="string"?i:i.type;if(d in r)throw new Error("addCase cannot be called with two reducers for the same action type");return r[d]=c,a},addMatcher:function(i,c){return o.push({matcher:i,reducer:c}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[r,o,n]}function Id(e){return typeof e=="function"}function Ld(e,r,o,n){o===void 0&&(o=[]);var a=typeof r=="function"?gc(r):[r,o,n],i=a[0],c=a[1],d=a[2],p;if(Id(e))p=function(){return Ln(e())};else{var u=Ln(e);p=function(){return u}}function m(h,g){h===void 0&&(h=p());var S=rr([i[g.type]],c.filter(function(x){var C=x.matcher;return C(g)}).map(function(x){var C=x.reducer;return C}));return S.filter(function(x){return!!x}).length===0&&(S=[d]),S.reduce(function(x,C){if(C)if(et(x)){var I=x,R=C(I,g);return R===void 0?x:R}else{if(Be(x))return fo(x,function(N){return C(N,g)});var R=C(x,g);if(R===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return x},h)}return m.getInitialState=p,m}function _d(e,r){return e+"/"+r}function bc(e){var r=e.name;if(!r)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Ln(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},c={},d={};a.forEach(function(m){var h=n[m],g=_d(r,m),S,x;"reducer"in h?(S=h.reducer,x=h.prepare):S=h,i[m]=S,c[g]=S,d[m]=x?yt(g,x):yt(g)});function p(){var m=typeof e.extraReducers=="function"?gc(e.extraReducers):[e.extraReducers],h=m[0],g=h===void 0?{}:h,S=m[1],x=S===void 0?[]:S,C=m[2],I=C===void 0?void 0:C,R=ht(ht({},g),c);return Ld(o,function(N){for(var k in R)N.addCase(k,R[k]);for(var B=0,U=x;B<U.length;B++){var ye=U[B];N.addMatcher(ye.matcher,ye.reducer)}I&&N.addDefaultCase(I)})}var u;return{name:r,reducer:function(m,h){return u||(u=p()),u(m,h)},actions:d,caseReducers:i,getInitialState:function(){return u||(u=p()),u.getInitialState()}}}var Pd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",kd=function(e){e===void 0&&(e=21);for(var r="",o=e;o--;)r+=Pd[Math.random()*64|0];return r},Dd=["name","message","stack","code"],In=function(){function e(r,o){this.payload=r,this.meta=o}return e}(),fc=function(){function e(r,o){this.payload=r,this.meta=o}return e}(),Bd=function(e){if(typeof e=="object"&&e!==null){for(var r={},o=0,n=Dd;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(r[a]=e[a])}return r}return{message:String(e)}},Sx=function(){function e(r,o,n){var a=yt(r+"/fulfilled",function(m,h,g,S){return{payload:m,meta:Nn(ht({},S||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),i=yt(r+"/pending",function(m,h,g){return{payload:void 0,meta:Nn(ht({},g||{}),{arg:h,requestId:m,requestStatus:"pending"})}}),c=yt(r+"/rejected",function(m,h,g,S,x){return{payload:S,error:(n&&n.serializeError||Bd)(m||"Rejected"),meta:Nn(ht({},x||{}),{arg:g,requestId:h,rejectedWithValue:!!S,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),d=!1,p=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 u(m){return function(h,g,S){var x=n?.idGenerator?n.idGenerator(m):kd(),C=new p,I,R=!1;function N(B){I=B,C.abort()}var k=function(){return Od(this,null,function(){var B,U,ye,$e,ue,We,ie;return md(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),$e=(B=n?.condition)==null?void 0:B.call(n,m,{getState:g,extra:S}),Md($e)?[4,$e]:[3,2];case 1:$e=y.sent(),y.label=2;case 2:if($e===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,ue=new Promise(function(b,_){return C.signal.addEventListener("abort",function(){return _({name:"AbortError",message:I||"Aborted"})})}),h(i(x,m,(U=n?.getPendingMeta)==null?void 0:U.call(n,{requestId:x,arg:m},{getState:g,extra:S}))),[4,Promise.race([ue,Promise.resolve(o(m,{dispatch:h,getState:g,extra:S,requestId:x,signal:C.signal,abort:N,rejectWithValue:function(b,_){return new In(b,_)},fulfillWithValue:function(b,_){return new fc(b,_)}})).then(function(b){if(b instanceof In)throw b;return b instanceof fc?a(b.payload,x,m,b.meta):a(b,x,m)})])];case 3:return ye=y.sent(),[3,5];case 4:return We=y.sent(),ye=We instanceof In?c(null,x,m,We.payload,We.meta):c(We,x,m),[3,5];case 5:return ie=n&&!n.dispatchConditionRejection&&c.match(ye)&&ye.meta.condition,ie||h(ye),[2,ye]}})})}();return Object.assign(k,{abort:N,requestId:x,arg:m,unwrap:function(){return k.then(Ud)}})}}return Object.assign(u,{pending:i,rejected:c,fulfilled:a,typePrefix:r})}return e.withTypes=function(){return e},e}();function Ud(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Md(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var xc="listener",vc="completed",Sc="cancelled",Ox="task-"+Sc,Cx="task-"+vc,Ex=xc+"-"+Sc,wx=xc+"-"+vc;var _n="listenerMiddleware";var Ax=yt(_n+"/add"),Rx=yt(_n+"/removeAll"),Nx=yt(_n+"/remove");var hc,Tx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(hc||(hc=Promise.resolve())).then(e).catch(function(r){return setTimeout(function(){throw r},0)})},$d=function(e){return function(r){setTimeout(r,e)}},Ix=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:$d(10);Qs();function Wd(e,r){return class extends e{constructor(){super(...arguments),this.eventBus=r??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}var yo=class extends Wd(Object){};window.ftReduxStores||(window.ftReduxStores={});var Oc=class e extends yo{static get(r){var o;let n=typeof r=="string"?r:r.name,a=typeof r=="string"?void 0:r,i=window.ftReduxStores[n];if(Er(i))return i;if(a==null)return;let c=bc({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),d=mc({reducer:(p,u)=>u.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...u.overwrites}:c.reducer(p,u)});return window.ftReduxStores[a.name]=new e(c,d,a.eventBus)}constructor(r,o,n){super(),this.reduxSlice=r,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new ao;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,c,d)=>{let p=c,u=i[p];return u?(...m)=>{let h=u(...m.map(a));return this.reduxStore.dispatch(h),h}:m=>{this.setState({[p]:a(m)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(r){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(r).join("_"),overwrites:r})}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(r){throw new Error("Not implemented yet.")}subscribe(r){return this.reduxStore.subscribe(r)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var So=v(L());var zd=v(Ec(),1);var wc;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(wc||(wc={}));var Ac;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Ac||(Ac={}));var Rc;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})(Rc||(Rc={}));var Nc;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})(Nc||(Nc={}));var Tc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Tc||(Tc={}));var Ic;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Ic||(Ic={}));var Lc;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",e.GEN_AI__RATE="GEN_AI__RATE",e.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",e.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(Lc||(Lc={}));var _c;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(_c||(_c={}));var Pc;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(Pc||(Pc={}));var kc;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(kc||(kc={}));var Dc;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Dc||(Dc={}));var Bc;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Bc||(Bc={}));var Uc;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Uc||(Uc={}));var Mc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Mc||(Mc={}));var $c;(function(e){e.ASC="ASC",e.DESC="DESC"})($c||($c={}));var Wc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Wc||(Wc={}));var Hc;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Hc||(Hc={}));var Fc;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Fc||(Fc={}));var zc;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(zc||(zc={}));var Gc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Gc||(Gc={}));var jc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(jc||(jc={}));var Vc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Vc||(Vc={}));var Kc;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Kc||(Kc={}));var ne;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(ne||(ne={}));var Zc;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Zc||(Zc={}));var qc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(qc||(qc={}));var Yc;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Yc||(Yc={}));var Xc;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Xc||(Xc={}));var Fd={[ne.PERSONAL_BOOK_SHARE_USER]:[ne.PERSONAL_BOOK_USER],[ne.HTML_EXPORT_USER]:[ne.PERSONAL_BOOK_USER],[ne.PDF_EXPORT_USER]:[ne.PERSONAL_BOOK_USER],[ne.KHUB_ADMIN]:[ne.CONTENT_PUBLISHER],[ne.ADMIN]:[ne.KHUB_ADMIN,ne.USERS_ADMIN,ne.PORTAL_ADMIN],[ne.GENERATIVE_AI_EXPORT_USER]:[ne.GENERATIVE_AI_USER]};function Jc(e,r){return e===r||(Fd[e]??[]).some(o=>Jc(o,r))}function Qc(e,r){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(n=>Jc(n,r))}var bo=class extends dt{async listMySearches(){let{session:r}=P.getState();return Qc(r,ne.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(r.profile.userId),5*60*1e3):[]}};var xo=class extends dt{async listMyBookmarks(){let r=P.getState().session;return r?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(r.profile.userId),5*60*1e3):[]}};var Gd="ft-user-assets",vo=So.FtReduxStore.get({name:Gd,initialState:{savedSearches:void 0,bookmarks:void 0}}),Pn=class{constructor(){this.currentSession=P.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new xo,this.savedSearchesService=new bo,P.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var r;let{session:o}=P.getState();(0,So.deepEqual)((r=this.currentSession)===null||r===void 0?void 0:r.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),vo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),vo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let r=await this.savedSearchesService.listMySearches();vo.actions.savedSearches(r)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var r;if(this.bookmarksAreUsed){let o=!((r=this.currentSession)===null||r===void 0)&&r.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;vo.actions.bookmarks(o)}}},Av=new Pn;var kn=class{addCommand(r,o=!1){P.commands.add(r,o)}consumeCommand(r){return P.commands.consume(r)}};window.FluidTopicsAppInfoStoreService=new kn;var el=v(L()),Dn=class{highlightHtml(r,o,n){(0,el.highlightHtml)(r,o,n)}};window.FluidTopicsHighlightHtmlService=new Dn;var tl=v(L());var Bn=class{isDate(r){var o,n,a,i;return(i=(a=((n=(o=P.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===r))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(r,o){var n,a,i;return tl.DateFormatter.format(r,(n=o?.locale)!==null&&n!==void 0?n:P.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new Bn;var rl=v(L());var Ir=class{static get(r,o){var n,a,i,c;let d=P.getState(),{lang:p,region:u}=(a=(n=d.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new rl.SearchPlaceConverter(d.baseUrl,(c=(i=window.FluidTopicsClientConfiguration)===null||i===void 0?void 0:i.predefinedSorts)!==null&&c!==void 0?c:{},r??20,d.searchInAllLanguagesAllowed,o??`${p}-${u}`)}};var Un=class{urlToSearchRequest(r){return Ir.get().parse(r)}searchRequestToUrl(r){return Ir.get().serialize(r)}};window.FluidTopicsUrlService=new Un;var gt=v(L());var Lt=class e extends CustomEvent{constructor(r){super(e.eventName,{detail:{currentItem:r}})}};Lt.eventName="change";var Mn=class{itemName(r){return`fluid-topics-history-item-${r}`}get(r){let o=sessionStorage.getItem(this.itemName(r));return o?JSON.parse(o):void 0}set(r,o){sessionStorage.setItem(this.itemName(r),JSON.stringify(o))}},ol=new Mn;var Oo=class e extends gt.WithEventBus{static build(){return new e(window.history,ol,()=>window.location,!1)}constructor(r,o,n,a){var i,c;super(),this.history=r,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=r.pushState,this.realReplaceState=r.replaceState,this.initialIndex=(c=(i=r.state)===null||i===void 0?void 0:i.index)!==null&&c!==void 0?c:r.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(r,o=!1){let n=o&&this.currentIndex===r.index-1;this.currentState={...this.buildCurrentState(),...r},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),(0,gt.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Lt(this.currentItem())),0)}installProxies(){let r=o=>(n,a,[i,c,d])=>{let p=o(),u={...p===this.currentIndex?this.currentState:void 0,...i,index:p,href:typeof d=="string"?d:(d??this.windowLocation()).href};n.apply(a,[u,c,d]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:r(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:r(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",r=>this.setCurrentState(r.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(r){for(let o=this.history.length-1;o>=0;o--)r?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(r){var o;let n={...this.buildCurrentState(),...r,index:this.currentIndex,title:(o=r?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(r){this.addEventListener(Lt.eventName,r)}removeHistoryChangeListener(r){this.removeEventListener(Lt.eventName,r)}currentItem(){return(0,gt.deepCopy)(this.currentState)}back(){let r=this.previousDifferentMajorPosition();r>=0?this.history.go(r-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,gt.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let r=this.currentIndex>0?this.currentIndex-1:0;for(;r>0&&!this.isDifferentMajorState(r);)r--;return r}forward(){let r=this.nextMajorPosition();r&&r<this.states.length?this.history.go(r-this.currentIndex):this.history.forward()}forwardItem(){let r=this.nextMajorPosition();if(r)return(0,gt.deepCopy)(this.states[r])}nextMajorPosition(){let r=this.currentIndex;if(!(r>=this.states.length)){do r++;while(r<this.states.length&&!this.isDifferentMajorState(r));return this.getHigherPositionInTheSameState(r)}}getHigherPositionInTheSameState(r){var o;let n=(o=this.states[r])===null||o===void 0?void 0:o.majorStateId;if(!n)return r;let a=r,i=r+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,n);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var r,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(r=this.history.state)===null||r===void 0?void 0:r.title)!==null&&o!==void 0?o:document.title}}hasState(r){return this.states[r]!=null}isDifferentMajorState(r,o){var n;if(!this.hasState(r))return!1;let a=o??this.currentState.majorStateId,i=(n=this.states[r])===null||n===void 0?void 0:n.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Oo.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});(0,nl.customElement)("ft-app-context")(J);var ll=v(te());var jd=v(L());function al(e){return e.match(/^[\w-]+\.[\w-]+$/)}var Vd=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},il=Symbol("i18nAttributes"),sl=Symbol("i18nListAttributes"),dl=Symbol("i18nProperties"),Co=Symbol("i18nContexts"),Lr=Symbol("i18nUnsubs");function Ao(e){var r,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[r]=new Map,this[o]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?ro:Yt}i18n(i){var c;this.hasI18nContext(i.context)||this.addI18nContext(i.context,void 0,i.custom);let d=(c=i.args)!==null&&c!==void 0?c:i.argsProvider?i.argsProvider(this):[];return this.getI18nService(i.custom).resolveMessage(i.context,i.key,...d)}customI18n(i,c){if(al(i)){let[d,p]=i.split(".");return this.i18n({custom:!0,context:d,key:p,...c})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((c,d,p)=>i.has(d)||typeof c.argsProvider=="function"),this.updateI18nProperties(c=>typeof c.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((c,d,p)=>{var u;return((u=p?.context)===null||u===void 0?void 0:u.toLowerCase())===i}),this.updateI18nProperties(c=>c.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var c,d;let p=this,u=(m,h,g)=>g?.context&&g.key&&i(m,h,g)?{...g,message:this.i18n({context:g.context,key:g.key,...m})}:g;(c=this[il])===null||c===void 0||c.forEach((m,h)=>p[h]=u(m,h,p[h])),(d=this[sl])===null||d===void 0||d.forEach((m,h)=>{var g;return p[h]=(g=p[h])===null||g===void 0?void 0:g.map(S=>u(m,h,S))})}updateI18nProperties(i){var c;(c=this[dl])===null||c===void 0||c.forEach((d,p)=>{i(d,p)&&(this[p]=this.i18n(d))})}addI18nMessages(i,c,d){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,c,d)}addI18nContext(i,c,d){let p=(typeof i=="string"?i:i.name).toLowerCase();d=typeof i=="string"?d:i.custom,this[Co].set(p,{isCustomContext:d}),this[Lr].has(p)||this[Lr].set(p,this.getI18nService(d).subscribe(p,()=>this.onI18nUpdate(p))),this.getI18nService(d).prepareContext(p,c)}hasI18nContext(i){return this[Co].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Co].forEach((i,c)=>this.addI18nContext(c,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Lr].forEach(i=>i()),this[Lr].clear()}}return r=Co,o=Lr,Vd([(0,ll.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var cl=class extends Ao(wo.FtLitElement){},Eo=class extends Ao(wo.FtLitElementRedux){};var _r=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Ue=class extends Eo{constructor(){super(),this.editorMode=!1,this.addStore(P)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Ro.nothing:Ro.html`
1222
1222
  <span class="ft-i18n">
@@ -1,7 +1,7 @@
1
1
  "use strict";(()=>{var Vc=Object.create;var Zo=Object.defineProperty;var Kc=Object.getOwnPropertyDescriptor;var Zc=Object.getOwnPropertyNames;var qc=Object.getPrototypeOf,Yc=Object.prototype.hasOwnProperty;var Xc=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Z=(t,e)=>{for(var o in e)Zo(t,o,{get:e[o],enumerable:!0})},Jc=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Zc(e))!Yc.call(t,a)&&a!==o&&Zo(t,a,{get:()=>e[a],enumerable:!(n=Kc(e,a))||n.enumerable});return t};var Qc=(t,e,o)=>(o=t!=null?Vc(qc(t)):{},Jc(e||!t||!t.__esModule?Zo(o,"default",{value:t,enumerable:!0}):o,t));var gl=Xc((mt,ml)=>{var _o=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Lo=function(){function t(){this.fetch=!1,this.DOMException=_o.DOMException}return t.prototype=_o,new t}();(function(t){var e=function(o){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 u(y){return typeof y!="string"&&(y=String(y)),y}function h(y){var v={next:function(){var P=y.shift();return{done:P===void 0,value:P}}};return a.iterable&&(v[Symbol.iterator]=function(){return v}),v}function f(y){this.map={},y instanceof f?y.forEach(function(v,P){this.append(P,v)},this):Array.isArray(y)?y.forEach(function(v){if(v.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+v.length);this.append(v[0],v[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(v){this.append(v,y[v])},this)}f.prototype.append=function(y,v){y=d(y),v=u(v);var P=this.map[y];this.map[y]=P?P+", "+v:v},f.prototype.delete=function(y){delete this.map[d(y)]},f.prototype.get=function(y){return y=d(y),this.has(y)?this.map[y]:null},f.prototype.has=function(y){return this.map.hasOwnProperty(d(y))},f.prototype.set=function(y,v){this.map[d(y)]=u(v)},f.prototype.forEach=function(y,v){for(var P in this.map)this.map.hasOwnProperty(P)&&y.call(v,this.map[P],P,this)},f.prototype.keys=function(){var y=[];return this.forEach(function(v,P){y.push(P)}),h(y)},f.prototype.values=function(){var y=[];return this.forEach(function(v){y.push(v)}),h(y)},f.prototype.entries=function(){var y=[];return this.forEach(function(v,P){y.push([P,v])}),h(y)},a.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function m(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function b(y){return new Promise(function(v,P){y.onload=function(){v(y.result)},y.onerror=function(){P(y.error)}})}function x(y){var v=new FileReader,P=b(v);return v.readAsArrayBuffer(y),P}function S(y){var v=new FileReader,P=b(v),K=/charset=([A-Za-z0-9_-]+)/.exec(y.type),X=K?K[1]:"utf-8";return v.readAsText(y,X),P}function T(y){for(var v=new Uint8Array(y),P=new Array(v.length),K=0;K<v.length;K++)P[K]=String.fromCharCode(v[K]);return P.join("")}function R(y){if(y.slice)return y.slice(0);var v=new Uint8Array(y.byteLength);return v.set(new Uint8Array(y)),v.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=R(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||c(y))?this._bodyArrayBuffer=R(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=m(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=m(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(x);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=m(this);if(y)return y;if(this._bodyBlob)return S(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(T(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(k)}),this.json=function(){return this.text().then(JSON.parse)},this}var C=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function E(y){var v=y.toUpperCase();return C.indexOf(v)>-1?v:y}function O(y,v){if(!(this instanceof O))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');v=v||{};var P=v.body;if(y instanceof O){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,v.headers||(this.headers=new f(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!P&&y._bodyInit!=null&&(P=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new f(v.headers)),this.method=E(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal||function(){if("AbortController"in n){var H=new AbortController;return H.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&P)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(P),(this.method==="GET"||this.method==="HEAD")&&(v.cache==="no-store"||v.cache==="no-cache")){var K=/([?&])_=[^&]*/;if(K.test(this.url))this.url=this.url.replace(K,"$1_="+new Date().getTime());else{var X=/\?/;this.url+=(X.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}O.prototype.clone=function(){return new O(this,{body:this._bodyInit})};function k(y){var v=new FormData;return y.trim().split("&").forEach(function(P){if(P){var K=P.split("="),X=K.shift().replace(/\+/g," "),H=K.join("=").replace(/\+/g," ");v.append(decodeURIComponent(X),decodeURIComponent(H))}}),v}function $(y){var v=new f,P=y.replace(/\r?\n[\t ]+/g," ");return P.split("\r").map(function(K){return K.indexOf(`
2
2
  `)===0?K.substr(1,K.length):K}).forEach(function(K){var X=K.split(":"),H=X.shift().trim();if(H){var to=X.join(":").trim();try{v.append(H,to)}catch(Ko){console.warn("Response "+Ko.message)}}}),v}L.call(O.prototype);function F(y,v){if(!(this instanceof F))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(v||(v={}),this.type="default",this.status=v.status===void 0?200:v.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=v.statusText===void 0?"":""+v.statusText,this.headers=new f(v.headers),this.url=v.url||"",this._initBody(y)}L.call(F.prototype),F.prototype.clone=function(){return new F(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},F.error=function(){var y=new F(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var z=[301,302,303,307,308];F.redirect=function(y,v){if(z.indexOf(v)===-1)throw new RangeError("Invalid status code");return new F(null,{status:v,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(v,P){this.message=v,this.name=P;var K=Error(v);this.stack=K.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function I(y,v){return new Promise(function(P,K){var X=new O(y,v);if(X.signal&&X.signal.aborted)return K(new o.DOMException("Aborted","AbortError"));var H=new XMLHttpRequest;function to(){H.abort()}H.onload=function(){var ce={statusText:H.statusText,headers:$(H.getAllResponseHeaders()||"")};X.url.indexOf("file://")===0&&(H.status<200||H.status>599)?ce.status=200:ce.status=H.status,ce.url="responseURL"in H?H.responseURL:ce.headers.get("X-Request-URL");var St="response"in H?H.response:H.responseText;setTimeout(function(){P(new F(St,ce))},0)},H.onerror=function(){setTimeout(function(){K(new TypeError("Network request failed"))},0)},H.ontimeout=function(){setTimeout(function(){K(new TypeError("Network request timed out"))},0)},H.onabort=function(){setTimeout(function(){K(new o.DOMException("Aborted","AbortError"))},0)};function Ko(ce){try{return ce===""&&n.location.href?n.location.href:ce}catch{return ce}}if(H.open(X.method,Ko(X.url),!0),X.credentials==="include"?H.withCredentials=!0:X.credentials==="omit"&&(H.withCredentials=!1),"responseType"in H&&(a.blob?H.responseType="blob":a.arrayBuffer&&(H.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof f||n.Headers&&v.headers instanceof n.Headers)){var ki=[];Object.getOwnPropertyNames(v.headers).forEach(function(ce){ki.push(d(ce)),H.setRequestHeader(ce,u(v.headers[ce]))}),X.headers.forEach(function(ce,St){ki.indexOf(St)===-1&&H.setRequestHeader(St,ce)})}else X.headers.forEach(function(ce,St){H.setRequestHeader(St,ce)});X.signal&&(X.signal.addEventListener("abort",to),H.onreadystatechange=function(){H.readyState===4&&X.signal.removeEventListener("abort",to)}),H.send(typeof X._bodyInit>"u"?null:X._bodyInit)})}return I.polyfill=!0,n.fetch||(n.fetch=I,n.Headers=f,n.Request=O,n.Response=F),o.Headers=f,o.Request=O,o.Response=F,o.fetch=I,o}({})})(Lo);Lo.fetch.ponyfill=!0;delete Lo.fetch.polyfill;var ar=_o.fetch?_o:Lo;mt=ar.fetch;mt.default=ar.fetch;mt.fetch=ar.fetch;mt.Headers=ar.Headers;mt.Request=ar.Request;mt.Response=ar.Response;ml.exports=mt});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,o=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(C,E){if(C=C.toLowerCase(),this._getDefinition(C)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${C}" has already been used with this registry`);if(this._definitionsByClass.get(E)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let O=E.prototype.attributeChangedCallback,k=new Set(E.observedAttributes||[]);m(E,k,O);let $={elementClass:E,connectedCallback:E.prototype.connectedCallback,disconnectedCallback:E.prototype.disconnectedCallback,adoptedCallback:E.prototype.adoptedCallback,attributeChangedCallback:O,formAssociated:E.formAssociated,formAssociatedCallback:E.prototype.formAssociatedCallback,formDisabledCallback:E.prototype.formDisabledCallback,formResetCallback:E.prototype.formResetCallback,formStateRestoreCallback:E.prototype.formStateRestoreCallback,observedAttributes:k};this._definitionsByTag.set(C,$),this._definitionsByClass.set(E,$);let F=o.call(n,C);F||(F=f(C),e.call(n,C,F)),this===window.customElements&&(s.set(E,$),$.standInClass=F);let z=this._awaitingUpgrade.get(C);if(z){this._awaitingUpgrade.delete(C);for(let y of z)i.delete(y),x(y,$,!0)}let I=this._whenDefinedPromises.get(C);return I!==void 0&&(I.resolve(E),this._whenDefinedPromises.delete(C)),E}upgrade(){T.push(this),n.upgrade.apply(n,arguments),T.pop()}get(C){return this._definitionsByTag.get(C)?.elementClass}_getDefinition(C){return this._definitionsByTag.get(C)}whenDefined(C){let E=this._getDefinition(C);if(E!==void 0)return Promise.resolve(E.elementClass);let O=this._whenDefinedPromises.get(C);return O===void 0&&(O={},O.promise=new Promise(k=>O.resolve=k),this._whenDefinedPromises.set(C,O)),O.promise}_upgradeWhenDefined(C,E,O){let k=this._awaitingUpgrade.get(E);k||this._awaitingUpgrade.set(E,k=new Set),O?k.add(C):k.delete(C)}};let d;window.HTMLElement=function(){let E=d;if(E)return d=void 0,E;let O=s.get(this.constructor);if(!O)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return E=Reflect.construct(t,[],O.standInClass),Object.setPrototypeOf(E,this.constructor.prototype),a.set(E,O),E},window.HTMLElement.prototype=t.prototype;let u=C=>C===document||C instanceof ShadowRoot,h=C=>{let E=C.getRootNode();if(!u(E)){let O=T[T.length-1];if(O instanceof CustomElementRegistry)return O;E=O.getRootNode(),u(E)||(E=c.get(E)?.getRootNode()||document)}return E.customElements},f=C=>class{static get formAssociated(){return!0}constructor(){let O=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(O,HTMLElement.prototype);let k=h(O)||window.customElements,$=k._getDefinition(C);return $?x(O,$):i.set(O,k),O}connectedCallback(){let O=a.get(this);O?O.connectedCallback&&O.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,C,!0)}disconnectedCallback(){let O=a.get(this);O?O.disconnectedCallback&&O.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,C,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let O=a.get(this);O&&O.formAssociated&&O?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let O=a.get(this);O?.formAssociated&&O?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let O=a.get(this);O?.formAssociated&&O?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let O=a.get(this);O?.formAssociated&&O?.formStateRestoreCallback?.apply(this,arguments)}},m=(C,E,O)=>{if(E.size===0||O===void 0)return;let k=C.prototype.setAttribute;k&&(C.prototype.setAttribute=function(z,I){let y=z.toLowerCase();if(E.has(y)){let v=this.getAttribute(y);k.call(this,y,I),O.call(this,y,v,I)}else k.call(this,y,I)});let $=C.prototype.removeAttribute;$&&(C.prototype.removeAttribute=function(z){let I=z.toLowerCase();if(E.has(I)){let y=this.getAttribute(I);$.call(this,I),O.call(this,I,y,null)}else $.call(this,I)});let F=C.prototype.toggleAttribute;F&&(C.prototype.toggleAttribute=function(z,I){let y=z.toLowerCase();if(E.has(y)){let v=this.getAttribute(y);F.call(this,y,I);let P=this.getAttribute(y);O.call(this,y,v,P)}else F.call(this,y,I)})},b=C=>{let E=Object.getPrototypeOf(C);if(E!==window.HTMLElement)return E===t?Object.setPrototypeOf(C,window.HTMLElement):b(E)},x=(C,E,O=!1)=>{Object.setPrototypeOf(C,E.elementClass.prototype),a.set(C,E),d=C;try{new E.elementClass}catch{b(E.elementClass),new E.elementClass}E.attributeChangedCallback&&E.observedAttributes.forEach(k=>{C.hasAttribute(k)&&E.attributeChangedCallback.call(C,k,null,C.getAttribute(k))}),O&&E.connectedCallback&&C.isConnected&&E.connectedCallback.call(C)},S=Element.prototype.attachShadow;Element.prototype.attachShadow=function(C){let E=S.apply(this,arguments);return C.customElements&&(E.customElements=C.customElements),E};let T=[document],R=(C,E,O=void 0)=>{let k=(O?Object.getPrototypeOf(O):C.prototype)[E];C.prototype[E]=function(){T.push(this);let $=k.apply(O||this,arguments);return $!==void 0&&c.set($,this),T.pop(),$}};R(ShadowRoot,"createElement",document),R(ShadowRoot,"importNode",document),R(Element,"insertAdjacentHTML");let L=(C,E)=>{let O=Object.getOwnPropertyDescriptor(C.prototype,E);Object.defineProperty(C.prototype,E,{...O,set(k){T.push(this),O.set.call(this,k),T.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 C=new WeakMap,E=HTMLElement.prototype.attachInternals,O=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...z){let I=E.call(this,...z);return C.set(I,this),I},O.forEach(z=>{let I=window.ElementInternals.prototype,y=I[z];I[z]=function(...v){let P=C.get(this);if(a.get(P).formAssociated===!0)return y?.call(this,...v);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class k extends Array{constructor(I){super(...I),this._elements=I}get value(){return this._elements.find(I=>I.checked===!0)?.value||""}}class ${constructor(I){let y=new Map;I.forEach((v,P)=>{let K=v.getAttribute("name"),X=y.get(K)||[];this[+P]=v,X.push(v),y.set(K,X)}),this.length=I.length,y.forEach((v,P)=>{v&&(v.length===1?this[P]=v[0]:this[P]=new k(v))})}namedItem(I){return this[I]}}let F=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let z=F.get.call(this,[]),I=[];for(let y of z){let v=a.get(y);(!v||v.formAssociated===!0)&&I.push(y)}return new $(I)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,a)=>{if(n!==null)try{e.bind(window.customElements)(o,n,a)}catch(i){console.info(o,n,a,i)}}}var ln={};Z(ln,{CSSResult:()=>Ht,LitElement:()=>qe,ReactiveElement:()=>$e,_$LE:()=>pd,_$LH:()=>nn,adoptStyles:()=>Cr,css:()=>D,defaultConverter:()=>zt,getCompatibleStyle:()=>oo,html:()=>U,isServer:()=>qu,mathml:()=>on,noChange:()=>pe,notEqual:()=>wr,nothing:()=>j,render:()=>an,supportsAdoptingStyleSheets:()=>Or,svg:()=>rn,unsafeCSS:()=>Ot});var ro=globalThis,Or=ro.ShadowRoot&&(ro.ShadyCSS===void 0||ro.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,qo=Symbol(),Di=new WeakMap,Ht=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==qo)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(Or&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=Di.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Di.set(o,e))}return e}toString(){return this.cssText}},Ot=t=>new Ht(typeof t=="string"?t:t+"",void 0,qo),D=(t,...e)=>{let o=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 Ht(o,t,qo)},Cr=(t,e)=>{if(Or)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),a=ro.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,t.appendChild(n)}},oo=Or?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return Ot(o)})(t):t;var{is:ed,defineProperty:td,getOwnPropertyDescriptor:rd,getOwnPropertyNames:od,getOwnPropertySymbols:nd,getPrototypeOf:ad}=Object,no=globalThis,Mi=no.trustedTypes,id=Mi?Mi.emptyScript:"",sd=no.reactiveElementPolyfillSupport,Er=(t,e)=>t,zt={toAttribute(t,e){switch(e){case Boolean:t=t?id:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},wr=(t,e)=>!ed(t,e),$i={attribute:!0,type:String,converter:zt,reflect:!1,useDefault:!1,hasChanged:wr};Symbol.metadata??=Symbol("metadata"),no.litPropertyMetadata??=new WeakMap;var $e=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,o=$i){if(o.state&&(o.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((o=Object.create(o)).wrapped=!0),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,o);a!==void 0&&td(this.prototype,e,a)}}static getPropertyDescriptor(e,o,n){let{get:a,set:i}=rd(this.prototype,e)??{get(){return this[o]},set(s){this[o]=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)??$i}static _$Ei(){if(this.hasOwnProperty(Er("elementProperties")))return;let e=ad(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Er("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Er("properties"))){let o=this.properties,n=[...od(o),...nd(o)];for(let a of n)this.createProperty(a,o[a])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,a]of o)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let a=this._$Eu(o,n);a!==void 0&&this._$Eh.set(a,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)o.unshift(oo(a))}else e!==void 0&&o.push(oo(e));return o}static _$Eu(e,o){let n=o.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,o=this.constructor.elementProperties;for(let n of o.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 Cr(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,o,n){this._$AK(e,n)}_$ET(e,o){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:zt).toAttribute(o,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,o){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:zt;this._$Em=a,this[a]=s.fromAttribute(o,i.type)??this._$Ej?.get(a)??null,this._$Em=null}}requestUpdate(e,o,n){if(e!==void 0){let a=this.constructor,i=this[e];if(n??=a.getPropertyOptions(e),!((n.hasChanged??wr)(i,o)||n.useDefault&&n.reflect&&i===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,n))))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,o,{useDefault:n,reflect:a,wrapped:i},s){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??o??this[e]),i!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(o=void 0),this._$AL.set(e,o)),a===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}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,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$EO?.forEach(o=>o.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(o=>this._$ET(o,this[o])),this._$EM()}updated(e){}firstUpdated(e){}};$e.elementStyles=[],$e.shadowRootOptions={mode:"open"},$e[Er("elementProperties")]=new Map,$e[Er("finalized")]=new Map,sd?.({ReactiveElement:$e}),(no.reactiveElementVersions??=[]).push("2.1.0");var Xo=globalThis,ao=Xo.trustedTypes,Bi=ao?ao.createPolicy("lit-html",{createHTML:t=>t}):void 0,Jo="$lit$",Ze=`lit$${Math.random().toFixed(9).slice(2)}$`,Qo="?"+Ze,ld=`<${Qo}>`,wt=document,Rr=()=>wt.createComment(""),Nr=t=>t===null||typeof t!="object"&&typeof t!="function",en=Array.isArray,ji=t=>en(t)||typeof t?.[Symbol.iterator]=="function",Yo=`[
3
3
  \f\r]`,Ar=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ui=/-->/g,Fi=/>/g,Ct=RegExp(`>|${Yo}(?:([^\\s"'>=/]+)(${Yo}*=${Yo}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Wi=/'/g,Hi=/"/g,Gi=/^(?:script|style|textarea|title)$/i,tn=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),U=tn(1),rn=tn(2),on=tn(3),pe=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),zi=new WeakMap,Et=wt.createTreeWalker(wt,129);function Vi(t,e){if(!en(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Bi!==void 0?Bi.createHTML(e):e}var Ki=(t,e)=>{let o=t.length-1,n=[],a,i=e===2?"<svg>":e===3?"<math>":"",s=Ar;for(let c=0;c<o;c++){let d=t[c],u,h,f=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===Ar?h[1]==="!--"?s=Ui:h[1]!==void 0?s=Fi:h[2]!==void 0?(Gi.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Ct):h[3]!==void 0&&(s=Ct):s===Ct?h[0]===">"?(s=a??Ar,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?Ct:h[3]==='"'?Hi:Wi):s===Hi||s===Wi?s=Ct:s===Ui||s===Fi?s=Ar:(s=Ct,a=void 0);let b=s===Ct&&t[c+1].startsWith("/>")?" ":"";i+=s===Ar?d+ld:f>=0?(n.push(u),d.slice(0,f)+Jo+d.slice(f)+Ze+b):d+Ze+(f===-2?c:b)}return[Vi(t,i+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Tr=class t{constructor({strings:e,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,c=e.length-1,d=this.parts,[u,h]=Ki(e,o);if(this.el=t.createElement(u,n),Et.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=Et.nextNode())!==null&&d.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(Jo)){let m=h[s++],b=a.getAttribute(f).split(Ze),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:i,name:x[2],strings:b,ctor:x[1]==="."?so:x[1]==="?"?lo:x[1]==="@"?co:Rt}),a.removeAttribute(f)}else f.startsWith(Ze)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(Gi.test(a.tagName)){let f=a.textContent.split(Ze),m=f.length-1;if(m>0){a.textContent=ao?ao.emptyScript:"";for(let b=0;b<m;b++)a.append(f[b],Rr()),Et.nextNode(),d.push({type:2,index:++i});a.append(f[m],Rr())}}}else if(a.nodeType===8)if(a.data===Qo)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(Ze,f+1))!==-1;)d.push({type:7,index:i}),f+=Ze.length-1}i++}}static createElement(e,o){let n=wt.createElement("template");return n.innerHTML=e,n}};function At(t,e,o=t,n){if(e===pe)return e;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=Nr(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,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(e=At(t,a._$AS(t,e.values),a,n)),e}var io=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,a=(e?.creationScope??wt).importNode(o,!0);Et.currentNode=a;let i=Et.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new jt(i,i.nextSibling,this,e):d.type===1?u=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(u=new po(i,this,e)),this._$AV.push(u),d=n[++c]}s!==d?.index&&(i=Et.nextNode(),s++)}return Et.currentNode=wt,a}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},jt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,a){this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=At(this,e,o),Nr(e)?e===j||e==null||e===""?(this._$AH!==j&&this._$AR(),this._$AH=j):e!==this._$AH&&e!==pe&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):ji(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!==j&&Nr(this._$AH)?this._$AA.nextSibling.data=e:this.T(wt.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Tr.createElement(Vi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new io(a,this),s=i.u(this.options);i.p(o),this.T(s),this._$AH=i}}_$AC(e){let o=zi.get(e.strings);return o===void 0&&zi.set(e.strings,o=new Tr(e)),o}k(e){en(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of e)a===o.length?o.push(n=new t(this.O(Rr()),this.O(Rr()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Rt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,a,i){this.type=1,this._$AH=j,this._$AN=void 0,this.element=e,this.name=o,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=j}_$AI(e,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=At(this,e,o,0),s=!Nr(e)||e!==this._$AH&&e!==pe,s&&(this._$AH=e);else{let c=e,d,u;for(e=i[0],d=0;d<i.length-1;d++)u=At(this,c[n+d],o,d),u===pe&&(u=this._$AH[d]),s||=!Nr(u)||u!==this._$AH[d],u===j?e=j:e!==j&&(e+=(u??"")+i[d+1]),this._$AH[d]=u}s&&!a&&this.j(e)}j(e){e===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},so=class extends Rt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===j?void 0:e}},lo=class extends Rt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==j)}},co=class extends Rt{constructor(e,o,n,a,i){super(e,o,n,a,i),this.type=5}_$AI(e,o=this){if((e=At(this,e,o,0)??j)===pe)return;let n=this._$AH,a=e===j&&n!==j||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==j&&(n===j||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)}},po=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){At(this,e)}},nn={M:Jo,P:Ze,A:Qo,C:1,L:Ki,R:io,D:ji,V:At,I:jt,H:Rt,N:lo,U:co,B:so,F:po},cd=Xo.litHtmlPolyfillSupport;cd?.(Tr,jt),(Xo.litHtmlVersions??=[]).push("3.3.0");var an=(t,e,o)=>{let n=o?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=o?.renderBefore??null;n._$litPart$=a=new jt(e.insertBefore(Rr(),i),i,void 0,o??{})}return a._$AI(t),a};var sn=globalThis,qe=class extends $e{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=an(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return pe}};qe._$litElement$=!0,qe.finalized=!0,sn.litElementHydrateSupport?.({LitElement:qe});var dd=sn.litElementPolyfillSupport;dd?.({LitElement:qe});var pd={_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL};(sn.litElementVersions??=[]).push("4.2.0");var qu=!1;var dn={};Z(dn,{customElement:()=>ud,eventOptions:()=>Gt,property:()=>w,query:()=>ue,queryAll:()=>yd,queryAssignedElements:()=>gd,queryAssignedNodes:()=>cn,queryAsync:()=>md,standardProperty:()=>Zi,state:()=>Q});var ud=t=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var fd={attribute:!0,type:String,converter:zt,reflect:!1,hasChanged:wr},Zi=(t=fd,e,o)=>{let{kind:n,metadata:a}=o,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(o.name,t),n==="accessor"){let{name:s}=o;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}=o;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)};function w(t){return(e,o)=>typeof o=="object"?Zi(t,e,o):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,o)}function Q(t){return w({...t,state:!0,attribute:!1})}function Gt(t){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,t)}}var Le=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,o),o);function ue(t,e){return(o,n,a)=>{let i=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof n=="object"?o:a??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return Le(o,n,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return Le(o,n,{get(){return i(this)}})}}var hd;function yd(t){return(e,o)=>Le(e,o,{get(){return(this.renderRoot??(hd??=document.createDocumentFragment())).querySelectorAll(t)}})}function md(t){return(e,o)=>Le(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function gd(t){return(e,o)=>{let{slot:n,selector:a}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Le(e,o,{get(){let s=this.renderRoot?.querySelector(i),c=s?.assignedElements(t)??[];return a===void 0?c:c.filter(d=>d.matches(a))}})}}function cn(t){return(e,o)=>{let{slot:n}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Le(e,o,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var pn={};Z(pn,{repeat:()=>_r});var at={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},it=t=>(...e)=>({_$litDirective$:t,values:e}),Be=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,n){this._$Ct=e,this._$AM=o,this._$Ci=n}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{I:bd}=nn;var qi=()=>document.createComment(""),Vt=(t,e,o)=>{let n=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(o===void 0){let i=n.insertBefore(qi(),a),s=n.insertBefore(qi(),a);o=new bd(i,s,t,t.options)}else{let i=o._$AB.nextSibling,s=o._$AM,c=s!==t;if(c){let d;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(d=t._$AU)!==s._$AU&&o._$AP(d)}if(i!==a||c){let d=o._$AA;for(;d!==i;){let u=d.nextSibling;n.insertBefore(d,a),d=u}}}return o},st=(t,e,o=t)=>(t._$AI(e,o),t),xd={},Yi=(t,e=xd)=>t._$AH=e,Xi=t=>t._$AH,uo=t=>{t._$AP?.(!1,!0);let e=t._$AA,o=t._$AB.nextSibling;for(;e!==o;){let n=e.nextSibling;e.remove(),e=n}};var Ji=(t,e,o)=>{let n=new Map;for(let a=e;a<=o;a++)n.set(t[a],a);return n},_r=it(class extends Be{constructor(t){if(super(t),t.type!==at.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,o){let n;o===void 0?o=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]=o(c,s),s++;return{values:i,keys:a}}render(t,e,o){return this.dt(t,e,o).values}update(t,[e,o,n]){let a=Xi(t),{values:i,keys:s}=this.dt(e,o,n);if(!Array.isArray(a))return this.ut=s,i;let c=this.ut??=[],d=[],u,h,f=0,m=a.length-1,b=0,x=i.length-1;for(;f<=m&&b<=x;)if(a[f]===null)f++;else if(a[m]===null)m--;else if(c[f]===s[b])d[b]=st(a[f],i[b]),f++,b++;else if(c[m]===s[x])d[x]=st(a[m],i[x]),m--,x--;else if(c[f]===s[x])d[x]=st(a[f],i[x]),Vt(t,d[x+1],a[f]),f++,x--;else if(c[m]===s[b])d[b]=st(a[m],i[b]),Vt(t,a[f],a[m]),m--,b++;else if(u===void 0&&(u=Ji(s,b,x),h=Ji(c,f,m)),u.has(c[f]))if(u.has(c[m])){let S=h.get(s[b]),T=S!==void 0?a[S]:null;if(T===null){let R=Vt(t,a[f]);st(R,i[b]),d[b]=R}else d[b]=st(T,i[b]),Vt(t,a[f],T),a[S]=null;b++}else uo(a[m]),m--;else uo(a[f]),f++;for(;b<=x;){let S=Vt(t,d[x+1]);st(S,i[b]),d[b++]=S}for(;f<=m;){let S=a[f++];S!==null&&uo(S)}return this.ut=s,Yi(t,d),pe}});var un={};Z(un,{classMap:()=>Ue});var Ue=it(class extends Be{constructor(t){if(super(t),t.type!==at.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 o=t.element.classList;for(let n of this.st)n in e||(o.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?(o.add(n),this.st.add(n)):(o.remove(n),this.st.delete(n)))}return pe}});var hn={};Z(hn,{styleMap:()=>fn});var Qi="important",vd=" !"+Qi,fn=it(class extends Be{constructor(t){if(super(t),t.type!==at.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,o)=>{let n=t[o];return n==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:o}=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("-")?o.removeProperty(n):o[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(vd);n.includes("-")||i?o.setProperty(n,i?a.slice(0,-11):a,i?Qi:""):o[n]=a}}return pe}});var mn={};Z(mn,{UnsafeHTMLDirective:()=>Kt,unsafeHTML:()=>yn});var Kt=class extends Be{constructor(e){if(super(e),this.it=j,e.type!==at.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===j||e==null)return this._t=void 0,this.it=e;if(e===pe)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 o=[e];return o.raw=o,this._t={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Kt.directiveName="unsafeHTML",Kt.resultType=1;var yn=it(Kt);var Cn={};Z(Cn,{CacheRegistry:()=>Fe,ClearCacheEvent:()=>Lr});var bn={};Z(bn,{CancelablePromise:()=>fo,CanceledPromiseError:()=>Nt,cancelable:()=>gn});var Nt=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},fo=class extends Promise{constructor(e){super((o,n)=>e(a=>{this.isCanceled?n(new Nt("Promise has been canceled",a)):o(a)},a=>{this.isCanceled?n(new Nt("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},gn=t=>new fo((e,o)=>t.then(e).catch(o));var On={};Z(On,{FtNotificationEvent:()=>xn,PostResizeEvent:()=>Sn,PreResizeEvent:()=>vn,WithEventBus:()=>Ye,withEventBus:()=>es});var xn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},vn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Sn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function es(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}var Ye=class extends es(Object){};var Lr=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Fe=class extends Ye{constructor(){super(...arguments),this.content={}}register(e,o,n=!1){var a;let i=this.content[e],s=(a=i?.status)!==null&&a!==void 0?a:"REGISTERED";this.content[e]={...i,loader:o,final:n,status:s}}registerFinal(e,o){this.forceClear(e),this.register(e,o,!0)}clearAll(e=!0){let o=[];for(let n in this.content)this.clear(n,!1)!=null&&o.push(n);return e&&o.length>0&&this.dispatchEvent(new Lr(o)),o}clear(e,o=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),o&&this.dispatchEvent(new Lr([e])),e}forceClear(e){var o;let n=this.content[e];n&&(this.clearClearTimeout(e),(o=n.promise)===null||o===void 0||o.cancel(),this.content[e]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(e){var o,n,a;((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout)!=null&&(window.clearTimeout((n=this.content[e])===null||n===void 0?void 0:n.clearTimeout),(a=this.content[e])===null||a===void 0||delete a.clearTimeout)}set(e,o,n=!1){this.forceClear(e);let a=async()=>o,i="RESOLVED";this.content[e]={loader:a,final:n,status:i,value:o}}setFinal(e,o){return this.set(e,o,!0)}async get(e,o,n){if(!this.isRegistered(e)){if(!o)throw new Error("Unknown cache key "+e);this.register(e,o)}let a=this.content[e];switch(a.status){case"ERROR":throw a.error;case"LOADING":return a.promise;case"RESOLVED":return a.value;case"REGISTERED":return o=o??a.loader,a.status="LOADING",a.promise=gn(o()),a.promise.then(i=>(a.status="RESOLVED",a.value=i,n!=null&&(this.clearClearTimeout(e),a.clearTimeout=window.setTimeout(()=>this.clear(e),n)),i)).catch(i=>{var s;throw!((s=a.promise)===null||s===void 0)&&s.isCanceled||(a.status="ERROR",a.error=i),i})}}isRegistered(e){return this.content[e]!=null}getNow(e){var o;return(o=this.content[e])===null||o===void 0?void 0:o.value}has(e){var o,n;return((o=this.content[e])===null||o===void 0?void 0:o.status)==="RESOLVED"||((n=this.content[e])===null||n===void 0?void 0:n.status)==="LOADING"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var o;return((o=this.content[e])===null||o===void 0?void 0:o.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var An={};Z(An,{ClusteringHelper:()=>wn,formatHierarchicalValues:()=>En});function En(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var wn=class t{constructor(e,o,n,a){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e){var o,n,a,i,s;let c=((i=(n=(o=e.result)===null||o===void 0?void 0:o.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,o,n){if(Array.isArray(e))return e.map(i=>t.flattenMetadata(i,o,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(En(c)),s.push(En(c,o))}),{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,o,n="No value",a,i){var s,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:i}),u=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(e))===null||c===void 0?void 0:c.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(f=>f??{key:e,label:u,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,m,b)=>b.findIndex(x=>x.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,e,o))}compareMetadata(e,o,n,a){if(e==null)return-1;if(o==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(o,a,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(d=>{var u;return((u=t.extractResultMetadata({result:d,key:e}))===null||u===void 0?void 0:u.value)==o}),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 u=this.countMatchingMetadata(d,i);if(u>c&&(c=u,s=d,u===i.length))break}return s}countMatchingMetadata(e,o){return t.extractResultMetadata({result:e}).filter(n=>o.some(a=>a.key===n.key&&a.value===n.value)).length}};var Rn={};Z(Rn,{Debouncer:()=>ye});var ye=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>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 _n={};Z(_n,{customElement:()=>J,isNumber:()=>ns,jsonProperty:()=>We,optionalNumberProperty:()=>Rd});var Tn={};Z(Tn,{dateReviver:()=>Od,deepCopy:()=>Pr,deepEqual:()=>Ce,delay:()=>ho,eventPathContainsMatchingElement:()=>Ed,flatDeep:()=>rs,getComposedPathTo:()=>Nn,hasChanged:()=>Te,last:()=>wd,minmax:()=>Ir,parseDate:()=>os,randomId:()=>Ad,unslotText:()=>yo,waitFor:()=>ts,waitUntil:()=>Sd});var ho=t=>new Promise(e=>setTimeout(e,t));async function Sd(t,e=10,o=2e4){await ts(async()=>await t()||void 0,e,o)}async function ts(t,e=10,o=2e4){let n=await t(),a,i;for(a=i=performance.now();n==null&&(!o||i-a<o);)await ho(e),n=await t(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function rs(t,e){return t.flatMap(o=>[o,...rs(e(o),e)])}function Od(...t){return(e,o)=>t.includes(e)?os(o):o}function os(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,o,n,a)=>o+n+":"+a),new Date(t)}function Cd(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,n,a;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!Ce(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(!Ce(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),o=a.length,o!==i(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=o;n--!==0;){let s=a[n];if(!Ce(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Ce(t,e){try{return Cd(t,e)}catch{return!1}}function Te(t,e){return!Ce(t,e)}function Ed(t,e,o=window.document.body){if(e.length>0){let n=t.composedPath();for(let a of n){if(a===o)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function Ir(t,e,o){return Math.min(Math.max(t,e),o)}function wd(t){return t[t.length-1]}function yo(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>yo(e)).join(""):t?.textContent||""}function Nn(t){let e=[],o=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",o),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",o),e}function Pr(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function Ad(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}var J=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function We(t,e){let o=()=>JSON.parse(JSON.stringify(t));return w({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Te,...e??{}})}function Rd(t){return w({type:Object,converter:{fromAttribute:e=>{if(e!=null)return ns(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function ns(t){return!isNaN(parseFloat(t))}var aa={};Z(aa,{designSystemVariables:()=>W});var na={};Z(na,{DesignSystemFamily:()=>Tt,DesignSystemSize:()=>Xe,FtCssVariableFactory:()=>r,badge:()=>Dd,banner:()=>kd,button:()=>g,chart:()=>Xd,checkbox:()=>Td,chip:()=>Id,chipChoice:()=>Ld,collapsible:()=>qd,comboboxMultiSelect:()=>Kd,comboboxSingleSelect:()=>Vd,drawer:()=>Wd,floatingMenu:()=>Gd,foundation:()=>l,link:()=>Pd,modal:()=>Fd,notice:()=>Qd,notification:()=>rp,pageDesigner:()=>Jd,pageFooter:()=>Bd,pageHeader:()=>$d,pageLayout:()=>Ud,popover:()=>Zd,radio:()=>tp,reorderableList:()=>np,resolveFamilyClass:()=>ra,resolveSizeClass:()=>oa,semantic:()=>p,setVariable:()=>A,switch_:()=>Yd,table:()=>_d,tabs:()=>Hd,textArea:()=>jd,textInput:()=>zd,titleBreadcrumb:()=>Md,toggle:()=>ep,tooltip:()=>op,treeList:()=>ap,typographies:()=>kr,typographyBody1Medium:()=>Mn,typographyBody1Regular:()=>Dn,typographyBody1Semibold:()=>$n,typographyBody2Medium:()=>Un,typographyBody2MediumUnderline:()=>as,typographyBody2Regular:()=>Bn,typographyBody2Semibold:()=>Fn,typographyCaption1Bold:()=>qn,typographyCaption1Medium:()=>Kn,typographyCaption1Semibold:()=>Zn,typographyCaption2Bold:()=>Jn,typographyCaption2Medium:()=>Yn,typographyCaption2Semibold:()=>Xn,typographyCaption3Bold:()=>ta,typographyCaption3Medium:()=>Qn,typographyCaption3Semibold:()=>ea,typographyDisplay:()=>Ln,typographyLabel1Bold:()=>zn,typographyLabel1Medium:()=>Wn,typographyLabel1Semibold:()=>Hn,typographyLabel2Bold:()=>Vn,typographyLabel2Medium:()=>jn,typographyLabel2Semibold:()=>Gn,typographyTitle1:()=>In,typographyTitle2:()=>Pn,typographyTitle3:()=>kn,typographyVariants:()=>Nd});var lt=t=>typeof t=="string"?Ot(t):t,r=class{static create(e,o,n,a){let i=c=>lt(c??a),s=D`var(${lt(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.set=c=>A(s,c??i(a)),s.get=c=>D`var(${lt(e)}, ${i(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,o,n,a){let i=c=>n.get(c??a),s=D`var(${lt(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.set=c=>A(s,c??i(a)),s.get=c=>D`var(${lt(e)}, ${i(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,o){let n=i=>e.defaultCssValue(i),a=D`var(${lt(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=o,a.defaultCssValue=n,a.set=i=>e.set(i),a.get=i=>D`var(${lt(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.breadcrumb(),a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function A(t,e){return lt(`${t.name}: ${e}`)}var l={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Ln={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},In={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Pn={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},kn={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Dn={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Mn={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},$n={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Bn={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Un={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},as={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Fn={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Wn={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Hn={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},zn={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},jn={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Gn={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Vn={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Kn={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Zn={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},qn={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Yn={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Xn={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Jn={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Qn={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ea={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},ta={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},kr={display:Ln,"title-1":In,"title-2":Pn,"title-3":kn,"body-1-regular":Dn,"body-1-medium":Mn,"body-1-semibold":$n,"body-2-regular":Bn,"body-2-medium":Un,"body-2-medium-underline":as,"body-2-semibold":Fn,"label-1-medium":Wn,"label-1-semibold":Hn,"label-1-bold":zn,"label-2-medium":jn,"label-2-semibold":Gn,"label-2-bold":Vn,"caption-1-medium":Kn,"caption-1-semibold":Zn,"caption-1-bold":qn,"caption-2-medium":Yn,"caption-2-semibold":Xn,"caption-2-bold":Jn,"caption-3-medium":Qn,"caption-3-semibold":ea,"caption-3-bold":ta},Nd=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var p={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Wi=/'/g,Hi=/"/g,Gi=/^(?:script|style|textarea|title)$/i,tn=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),U=tn(1),rn=tn(2),on=tn(3),pe=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),zi=new WeakMap,Et=wt.createTreeWalker(wt,129);function Vi(t,e){if(!en(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Bi!==void 0?Bi.createHTML(e):e}var Ki=(t,e)=>{let o=t.length-1,n=[],a,i=e===2?"<svg>":e===3?"<math>":"",s=Ar;for(let c=0;c<o;c++){let d=t[c],u,h,f=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===Ar?h[1]==="!--"?s=Ui:h[1]!==void 0?s=Fi:h[2]!==void 0?(Gi.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Ct):h[3]!==void 0&&(s=Ct):s===Ct?h[0]===">"?(s=a??Ar,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?Ct:h[3]==='"'?Hi:Wi):s===Hi||s===Wi?s=Ct:s===Ui||s===Fi?s=Ar:(s=Ct,a=void 0);let b=s===Ct&&t[c+1].startsWith("/>")?" ":"";i+=s===Ar?d+ld:f>=0?(n.push(u),d.slice(0,f)+Jo+d.slice(f)+Ze+b):d+Ze+(f===-2?c:b)}return[Vi(t,i+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Tr=class t{constructor({strings:e,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,c=e.length-1,d=this.parts,[u,h]=Ki(e,o);if(this.el=t.createElement(u,n),Et.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=Et.nextNode())!==null&&d.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(Jo)){let m=h[s++],b=a.getAttribute(f).split(Ze),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:i,name:x[2],strings:b,ctor:x[1]==="."?so:x[1]==="?"?lo:x[1]==="@"?co:Rt}),a.removeAttribute(f)}else f.startsWith(Ze)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(Gi.test(a.tagName)){let f=a.textContent.split(Ze),m=f.length-1;if(m>0){a.textContent=ao?ao.emptyScript:"";for(let b=0;b<m;b++)a.append(f[b],Rr()),Et.nextNode(),d.push({type:2,index:++i});a.append(f[m],Rr())}}}else if(a.nodeType===8)if(a.data===Qo)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(Ze,f+1))!==-1;)d.push({type:7,index:i}),f+=Ze.length-1}i++}}static createElement(e,o){let n=wt.createElement("template");return n.innerHTML=e,n}};function At(t,e,o=t,n){if(e===pe)return e;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=Nr(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,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(e=At(t,a._$AS(t,e.values),a,n)),e}var io=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,a=(e?.creationScope??wt).importNode(o,!0);Et.currentNode=a;let i=Et.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new jt(i,i.nextSibling,this,e):d.type===1?u=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(u=new po(i,this,e)),this._$AV.push(u),d=n[++c]}s!==d?.index&&(i=Et.nextNode(),s++)}return Et.currentNode=wt,a}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},jt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,a){this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=At(this,e,o),Nr(e)?e===j||e==null||e===""?(this._$AH!==j&&this._$AR(),this._$AH=j):e!==this._$AH&&e!==pe&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):ji(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!==j&&Nr(this._$AH)?this._$AA.nextSibling.data=e:this.T(wt.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Tr.createElement(Vi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new io(a,this),s=i.u(this.options);i.p(o),this.T(s),this._$AH=i}}_$AC(e){let o=zi.get(e.strings);return o===void 0&&zi.set(e.strings,o=new Tr(e)),o}k(e){en(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of e)a===o.length?o.push(n=new t(this.O(Rr()),this.O(Rr()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Rt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,a,i){this.type=1,this._$AH=j,this._$AN=void 0,this.element=e,this.name=o,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=j}_$AI(e,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=At(this,e,o,0),s=!Nr(e)||e!==this._$AH&&e!==pe,s&&(this._$AH=e);else{let c=e,d,u;for(e=i[0],d=0;d<i.length-1;d++)u=At(this,c[n+d],o,d),u===pe&&(u=this._$AH[d]),s||=!Nr(u)||u!==this._$AH[d],u===j?e=j:e!==j&&(e+=(u??"")+i[d+1]),this._$AH[d]=u}s&&!a&&this.j(e)}j(e){e===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},so=class extends Rt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===j?void 0:e}},lo=class extends Rt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==j)}},co=class extends Rt{constructor(e,o,n,a,i){super(e,o,n,a,i),this.type=5}_$AI(e,o=this){if((e=At(this,e,o,0)??j)===pe)return;let n=this._$AH,a=e===j&&n!==j||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==j&&(n===j||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)}},po=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){At(this,e)}},nn={M:Jo,P:Ze,A:Qo,C:1,L:Ki,R:io,D:ji,V:At,I:jt,H:Rt,N:lo,U:co,B:so,F:po},cd=Xo.litHtmlPolyfillSupport;cd?.(Tr,jt),(Xo.litHtmlVersions??=[]).push("3.3.0");var an=(t,e,o)=>{let n=o?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=o?.renderBefore??null;n._$litPart$=a=new jt(e.insertBefore(Rr(),i),i,void 0,o??{})}return a._$AI(t),a};var sn=globalThis,qe=class extends $e{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=an(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return pe}};qe._$litElement$=!0,qe.finalized=!0,sn.litElementHydrateSupport?.({LitElement:qe});var dd=sn.litElementPolyfillSupport;dd?.({LitElement:qe});var pd={_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL};(sn.litElementVersions??=[]).push("4.2.0");var qu=!1;var dn={};Z(dn,{customElement:()=>ud,eventOptions:()=>Gt,property:()=>w,query:()=>ue,queryAll:()=>yd,queryAssignedElements:()=>gd,queryAssignedNodes:()=>cn,queryAsync:()=>md,standardProperty:()=>Zi,state:()=>Q});var ud=t=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var fd={attribute:!0,type:String,converter:zt,reflect:!1,hasChanged:wr},Zi=(t=fd,e,o)=>{let{kind:n,metadata:a}=o,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(o.name,t),n==="accessor"){let{name:s}=o;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}=o;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)};function w(t){return(e,o)=>typeof o=="object"?Zi(t,e,o):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,o)}function Q(t){return w({...t,state:!0,attribute:!1})}function Gt(t){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,t)}}var Le=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,o),o);function ue(t,e){return(o,n,a)=>{let i=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof n=="object"?o:a??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return Le(o,n,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return Le(o,n,{get(){return i(this)}})}}var hd;function yd(t){return(e,o)=>Le(e,o,{get(){return(this.renderRoot??(hd??=document.createDocumentFragment())).querySelectorAll(t)}})}function md(t){return(e,o)=>Le(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function gd(t){return(e,o)=>{let{slot:n,selector:a}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Le(e,o,{get(){let s=this.renderRoot?.querySelector(i),c=s?.assignedElements(t)??[];return a===void 0?c:c.filter(d=>d.matches(a))}})}}function cn(t){return(e,o)=>{let{slot:n}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Le(e,o,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var pn={};Z(pn,{repeat:()=>_r});var at={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},it=t=>(...e)=>({_$litDirective$:t,values:e}),Be=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,n){this._$Ct=e,this._$AM=o,this._$Ci=n}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{I:bd}=nn;var qi=()=>document.createComment(""),Vt=(t,e,o)=>{let n=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(o===void 0){let i=n.insertBefore(qi(),a),s=n.insertBefore(qi(),a);o=new bd(i,s,t,t.options)}else{let i=o._$AB.nextSibling,s=o._$AM,c=s!==t;if(c){let d;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(d=t._$AU)!==s._$AU&&o._$AP(d)}if(i!==a||c){let d=o._$AA;for(;d!==i;){let u=d.nextSibling;n.insertBefore(d,a),d=u}}}return o},st=(t,e,o=t)=>(t._$AI(e,o),t),xd={},Yi=(t,e=xd)=>t._$AH=e,Xi=t=>t._$AH,uo=t=>{t._$AP?.(!1,!0);let e=t._$AA,o=t._$AB.nextSibling;for(;e!==o;){let n=e.nextSibling;e.remove(),e=n}};var Ji=(t,e,o)=>{let n=new Map;for(let a=e;a<=o;a++)n.set(t[a],a);return n},_r=it(class extends Be{constructor(t){if(super(t),t.type!==at.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,o){let n;o===void 0?o=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]=o(c,s),s++;return{values:i,keys:a}}render(t,e,o){return this.dt(t,e,o).values}update(t,[e,o,n]){let a=Xi(t),{values:i,keys:s}=this.dt(e,o,n);if(!Array.isArray(a))return this.ut=s,i;let c=this.ut??=[],d=[],u,h,f=0,m=a.length-1,b=0,x=i.length-1;for(;f<=m&&b<=x;)if(a[f]===null)f++;else if(a[m]===null)m--;else if(c[f]===s[b])d[b]=st(a[f],i[b]),f++,b++;else if(c[m]===s[x])d[x]=st(a[m],i[x]),m--,x--;else if(c[f]===s[x])d[x]=st(a[f],i[x]),Vt(t,d[x+1],a[f]),f++,x--;else if(c[m]===s[b])d[b]=st(a[m],i[b]),Vt(t,a[f],a[m]),m--,b++;else if(u===void 0&&(u=Ji(s,b,x),h=Ji(c,f,m)),u.has(c[f]))if(u.has(c[m])){let S=h.get(s[b]),T=S!==void 0?a[S]:null;if(T===null){let R=Vt(t,a[f]);st(R,i[b]),d[b]=R}else d[b]=st(T,i[b]),Vt(t,a[f],T),a[S]=null;b++}else uo(a[m]),m--;else uo(a[f]),f++;for(;b<=x;){let S=Vt(t,d[x+1]);st(S,i[b]),d[b++]=S}for(;f<=m;){let S=a[f++];S!==null&&uo(S)}return this.ut=s,Yi(t,d),pe}});var un={};Z(un,{classMap:()=>Ue});var Ue=it(class extends Be{constructor(t){if(super(t),t.type!==at.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 o=t.element.classList;for(let n of this.st)n in e||(o.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?(o.add(n),this.st.add(n)):(o.remove(n),this.st.delete(n)))}return pe}});var hn={};Z(hn,{styleMap:()=>fn});var Qi="important",vd=" !"+Qi,fn=it(class extends Be{constructor(t){if(super(t),t.type!==at.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,o)=>{let n=t[o];return n==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:o}=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("-")?o.removeProperty(n):o[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(vd);n.includes("-")||i?o.setProperty(n,i?a.slice(0,-11):a,i?Qi:""):o[n]=a}}return pe}});var mn={};Z(mn,{UnsafeHTMLDirective:()=>Kt,unsafeHTML:()=>yn});var Kt=class extends Be{constructor(e){if(super(e),this.it=j,e.type!==at.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===j||e==null)return this._t=void 0,this.it=e;if(e===pe)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 o=[e];return o.raw=o,this._t={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Kt.directiveName="unsafeHTML",Kt.resultType=1;var yn=it(Kt);var Cn={};Z(Cn,{CacheRegistry:()=>Fe,ClearCacheEvent:()=>Lr});var bn={};Z(bn,{CancelablePromise:()=>fo,CanceledPromiseError:()=>Nt,cancelable:()=>gn});var Nt=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},fo=class extends Promise{constructor(e){super((o,n)=>e(a=>{this.isCanceled?n(new Nt("Promise has been canceled",a)):o(a)},a=>{this.isCanceled?n(new Nt("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},gn=t=>new fo((e,o)=>t.then(e).catch(o));var On={};Z(On,{FtNotificationEvent:()=>xn,PostResizeEvent:()=>Sn,PreResizeEvent:()=>vn,WithEventBus:()=>Ye,withEventBus:()=>es});var xn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},vn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Sn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function es(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}var Ye=class extends es(Object){};var Lr=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Fe=class extends Ye{constructor(){super(...arguments),this.content={}}register(e,o,n=!1){var a;let i=this.content[e],s=(a=i?.status)!==null&&a!==void 0?a:"REGISTERED";this.content[e]={...i,loader:o,final:n,status:s}}registerFinal(e,o){this.forceClear(e),this.register(e,o,!0)}clearAll(e=!0){let o=[];for(let n in this.content)this.clear(n,!1)!=null&&o.push(n);return e&&o.length>0&&this.dispatchEvent(new Lr(o)),o}clear(e,o=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),o&&this.dispatchEvent(new Lr([e])),e}forceClear(e){var o;let n=this.content[e];n&&(this.clearClearTimeout(e),(o=n.promise)===null||o===void 0||o.cancel(),this.content[e]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(e){var o,n,a;((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout)!=null&&(window.clearTimeout((n=this.content[e])===null||n===void 0?void 0:n.clearTimeout),(a=this.content[e])===null||a===void 0||delete a.clearTimeout)}set(e,o,n=!1){this.forceClear(e);let a=async()=>o,i="RESOLVED";this.content[e]={loader:a,final:n,status:i,value:o}}setFinal(e,o){return this.set(e,o,!0)}async get(e,o,n){if(!this.isRegistered(e)){if(!o)throw new Error("Unknown cache key "+e);this.register(e,o)}let a=this.content[e];switch(a.status){case"ERROR":throw a.error;case"LOADING":return a.promise;case"RESOLVED":return a.value;case"REGISTERED":return o=o??a.loader,a.status="LOADING",a.promise=gn(o()),a.promise.then(i=>(a.status="RESOLVED",a.value=i,n!=null&&(this.clearClearTimeout(e),a.clearTimeout=window.setTimeout(()=>this.clear(e),n)),i)).catch(i=>{var s;throw!((s=a.promise)===null||s===void 0)&&s.isCanceled||(a.status="ERROR",a.error=i),i})}}isRegistered(e){return this.content[e]!=null}getNow(e){var o;return(o=this.content[e])===null||o===void 0?void 0:o.value}has(e){var o,n;return((o=this.content[e])===null||o===void 0?void 0:o.status)!==void 0&&((n=this.content[e])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var o;return((o=this.content[e])===null||o===void 0?void 0:o.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var An={};Z(An,{ClusteringHelper:()=>wn,formatHierarchicalValues:()=>En});function En(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var wn=class t{constructor(e,o,n,a){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e){var o,n,a,i,s;let c=((i=(n=(o=e.result)===null||o===void 0?void 0:o.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,o,n){if(Array.isArray(e))return e.map(i=>t.flattenMetadata(i,o,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(En(c)),s.push(En(c,o))}),{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,o,n="No value",a,i){var s,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:i}),u=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(e))===null||c===void 0?void 0:c.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(f=>f??{key:e,label:u,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,m,b)=>b.findIndex(x=>x.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,e,o))}compareMetadata(e,o,n,a){if(e==null)return-1;if(o==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(o,a,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(d=>{var u;return((u=t.extractResultMetadata({result:d,key:e}))===null||u===void 0?void 0:u.value)==o}),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 u=this.countMatchingMetadata(d,i);if(u>c&&(c=u,s=d,u===i.length))break}return s}countMatchingMetadata(e,o){return t.extractResultMetadata({result:e}).filter(n=>o.some(a=>a.key===n.key&&a.value===n.value)).length}};var Rn={};Z(Rn,{Debouncer:()=>ye});var ye=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>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 _n={};Z(_n,{customElement:()=>J,isNumber:()=>ns,jsonProperty:()=>We,optionalNumberProperty:()=>Rd});var Tn={};Z(Tn,{dateReviver:()=>Od,deepCopy:()=>Pr,deepEqual:()=>Ce,delay:()=>ho,eventPathContainsMatchingElement:()=>Ed,flatDeep:()=>rs,getComposedPathTo:()=>Nn,hasChanged:()=>Te,last:()=>wd,minmax:()=>Ir,parseDate:()=>os,randomId:()=>Ad,unslotText:()=>yo,waitFor:()=>ts,waitUntil:()=>Sd});var ho=t=>new Promise(e=>setTimeout(e,t));async function Sd(t,e=10,o=2e4){await ts(async()=>await t()||void 0,e,o)}async function ts(t,e=10,o=2e4){let n=await t(),a,i;for(a=i=performance.now();n==null&&(!o||i-a<o);)await ho(e),n=await t(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function rs(t,e){return t.flatMap(o=>[o,...rs(e(o),e)])}function Od(...t){return(e,o)=>t.includes(e)?os(o):o}function os(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,o,n,a)=>o+n+":"+a),new Date(t)}function Cd(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,n,a;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!Ce(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(!Ce(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),o=a.length,o!==i(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=o;n--!==0;){let s=a[n];if(!Ce(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Ce(t,e){try{return Cd(t,e)}catch{return!1}}function Te(t,e){return!Ce(t,e)}function Ed(t,e,o=window.document.body){if(e.length>0){let n=t.composedPath();for(let a of n){if(a===o)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function Ir(t,e,o){return Math.min(Math.max(t,e),o)}function wd(t){return t[t.length-1]}function yo(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>yo(e)).join(""):t?.textContent||""}function Nn(t){let e=[],o=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",o),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",o),e}function Pr(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function Ad(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}var J=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function We(t,e){let o=()=>JSON.parse(JSON.stringify(t));return w({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Te,...e??{}})}function Rd(t){return w({type:Object,converter:{fromAttribute:e=>{if(e!=null)return ns(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function ns(t){return!isNaN(parseFloat(t))}var aa={};Z(aa,{designSystemVariables:()=>W});var na={};Z(na,{DesignSystemFamily:()=>Tt,DesignSystemSize:()=>Xe,FtCssVariableFactory:()=>r,badge:()=>Dd,banner:()=>kd,button:()=>g,chart:()=>Xd,checkbox:()=>Td,chip:()=>Id,chipChoice:()=>Ld,collapsible:()=>qd,comboboxMultiSelect:()=>Kd,comboboxSingleSelect:()=>Vd,drawer:()=>Wd,floatingMenu:()=>Gd,foundation:()=>l,link:()=>Pd,modal:()=>Fd,notice:()=>Qd,notification:()=>rp,pageDesigner:()=>Jd,pageFooter:()=>Bd,pageHeader:()=>$d,pageLayout:()=>Ud,popover:()=>Zd,radio:()=>tp,reorderableList:()=>np,resolveFamilyClass:()=>ra,resolveSizeClass:()=>oa,semantic:()=>p,setVariable:()=>A,switch_:()=>Yd,table:()=>_d,tabs:()=>Hd,textArea:()=>jd,textInput:()=>zd,titleBreadcrumb:()=>Md,toggle:()=>ep,tooltip:()=>op,treeList:()=>ap,typographies:()=>kr,typographyBody1Medium:()=>Mn,typographyBody1Regular:()=>Dn,typographyBody1Semibold:()=>$n,typographyBody2Medium:()=>Un,typographyBody2MediumUnderline:()=>as,typographyBody2Regular:()=>Bn,typographyBody2Semibold:()=>Fn,typographyCaption1Bold:()=>qn,typographyCaption1Medium:()=>Kn,typographyCaption1Semibold:()=>Zn,typographyCaption2Bold:()=>Jn,typographyCaption2Medium:()=>Yn,typographyCaption2Semibold:()=>Xn,typographyCaption3Bold:()=>ta,typographyCaption3Medium:()=>Qn,typographyCaption3Semibold:()=>ea,typographyDisplay:()=>Ln,typographyLabel1Bold:()=>zn,typographyLabel1Medium:()=>Wn,typographyLabel1Semibold:()=>Hn,typographyLabel2Bold:()=>Vn,typographyLabel2Medium:()=>jn,typographyLabel2Semibold:()=>Gn,typographyTitle1:()=>In,typographyTitle2:()=>Pn,typographyTitle3:()=>kn,typographyVariants:()=>Nd});var lt=t=>typeof t=="string"?Ot(t):t,r=class{static create(e,o,n,a){let i=c=>lt(c??a),s=D`var(${lt(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.set=c=>A(s,c??i(a)),s.get=c=>D`var(${lt(e)}, ${i(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,o,n,a){let i=c=>n.get(c??a),s=D`var(${lt(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.set=c=>A(s,c??i(a)),s.get=c=>D`var(${lt(e)}, ${i(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,o){let n=i=>e.defaultCssValue(i),a=D`var(${lt(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=o,a.defaultCssValue=n,a.set=i=>e.set(i),a.get=i=>D`var(${lt(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.breadcrumb(),a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function A(t,e){return lt(`${t.name}: ${e}`)}var l={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Ln={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},In={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Pn={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},kn={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Dn={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Mn={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},$n={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Bn={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Un={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},as={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Fn={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Wn={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Hn={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},zn={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},jn={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Gn={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Vn={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Kn={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Zn={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},qn={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Yn={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Xn={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Jn={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Qn={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ea={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},ta={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},kr={display:Ln,"title-1":In,"title-2":Pn,"title-3":kn,"body-1-regular":Dn,"body-1-medium":Mn,"body-1-semibold":$n,"body-2-regular":Bn,"body-2-medium":Un,"body-2-medium-underline":as,"body-2-semibold":Fn,"label-1-medium":Wn,"label-1-semibold":Hn,"label-1-bold":zn,"label-2-medium":jn,"label-2-semibold":Gn,"label-2-bold":Vn,"caption-1-medium":Kn,"caption-1-semibold":Zn,"caption-1-bold":qn,"caption-2-medium":Yn,"caption-2-semibold":Xn,"caption-2-bold":Jn,"caption-3-medium":Qn,"caption-3-semibold":ea,"caption-3-bold":ta},Nd=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var p={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
5
5
  Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var g={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:r.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",p.contentErrorPrimary)};var Td={iconSize:r.extend("--ft-checkbox-icon-size","",l.iconSize2),boxSize:r.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ft-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ft-checkbox-horizontal-gap","",l.spacing3),leftPadding:r.extend("--ft-checkbox-left-padding","",l.spacing2)};var _d={headerRowBorderWidth:r.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ft-table-header-row-background-color","",p.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ft-table-header-row-border-color","",p.borderGlobalPrimary),headerRowColor:r.extend("--ft-table-header-row-color","",p.contentGlobalPrimary),dataRowBorderWidth:r.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ft-table-data-row-background-color","",p.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ft-table-data-row-border-color","",p.borderGlobalSubtle),dataRowColor:r.extend("--ft-table-data-row-color","",p.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ft-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ft-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ft-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ft-table-data-row-selectable-selected-color","",p.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ft-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ft-table-data-row-clickable-focus-border-color","",p.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ft-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ft-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:r.extend("--ft-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:r.extend("--ft-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:r.extend("--ft-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:r.extend("--ft-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:r.extend("--ft-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:r.extend("--ft-table-data-cell-vertical-gap","",l.spacing1)};var Ld={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)};var Id={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:r.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:r.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var Pd={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",l.colorBrand100)};var kd={iconSize:r.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var Dd={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:r.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",p.contentActionPrimary)};var Md={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",p.contentGlobalSubtle)};var $d={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",l.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",l.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var Bd={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",l.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",l.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",l.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",l.spacing4)};var Ud={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",l.spacing6)};var Fd={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",l.borderRadiusM)};var Wd={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var Hd={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:r.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var zd={largeFieldHorizontalPadding:r.extend("--ft-text-input-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:r.extend("--ft-text-input-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:r.extend("--ft-text-input-large-field-vertical-gap","",l.spacing05),largeFieldHeight:r.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ft-text-input-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:r.extend("--ft-text-input-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:r.extend("--ft-text-input-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:r.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ft-text-input-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",l.borderRadiusS),backgroundColor:r.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderColor:r.extend("--ft-text-input-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-text-input-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-text-input-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var jd={backgroundColor:r.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",l.borderRadiusS)};var Gd={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",l.shadowElevation02)};var Vd={largeFieldHorizontalPadding:r.extend("--ft-combobox-single-select-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:r.extend("--ft-combobox-single-select-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:r.extend("--ft-combobox-single-select-large-field-vertical-gap","",l.spacing05),largeFieldHeight:r.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ft-combobox-single-select-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:r.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:r.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:r.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ft-combobox-single-select-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusS),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var Kd={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusS)};var Zd={backgroundColor:r.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:r.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",p.contentGlobalSecondary),gap:r.extend("--ft-popover-gap","",l.spacing2),borderRadius:r.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ft-popover-content-section-vertical-gap","",l.spacing2),multiSectionVerticalGap:r.extend("--ft-popover-multi-section-vertical-gap","",l.spacing6)};var qd={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",l.iconSize3)};var Yd={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var Xd={color1Light:r.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",l.colorRed40),color5Base:r.extend("--ft-chart-5-base","",l.colorRed60),color6Light:r.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",l.colorGray50),color10Base:r.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)};var Jd={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var Qd={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ft-notice-gap","",l.spacing2),iconSize:r.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ft-notice-dense-gap","",l.spacing1),denseIconSize:r.extend("--ft-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:r.create("--ft-notice-dense-border-width","","SIZE","0")};var ep={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:r.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",l.spacing3)};var tp={color:r.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",l.spacing3)};var rp={iconSize:r.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",l.spacing8)};var op={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",l.spacing05)};var np={verticalPadding:r.extend("--ft-reorderable-list-vertical-padding","",l.spacing4),gap:r.extend("--ft-reorderable-list-gap","",l.spacing1),borderRadius:r.extend("--ft-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:r.extend("--ft-reorderable-list-reorderable-item-title-color","",p.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:r.extend("--ft-reorderable-list-reorderable-item-users-count-color","",p.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:r.extend("--ft-reorderable-list-reorderable-item-background-color","",p.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ft-reorderable-list-reorderable-item-grip-color","",p.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:r.extend("--ft-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:r.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ft-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:r.extend("--ft-reorderable-list-left-padding","",l.spacing2),rightPadding:r.extend("--ft-reorderable-list-right-padding","",l.spacing6),borderColor:r.extend("--ft-reorderable-list-border-color","",p.borderGlobalPrimary),backgroundColor:r.extend("--ft-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)};var ap={nodeHeight:r.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ft-tree-list-node-parent-label-margin-left","",l.spacing2),nodeParentLabelMarginRight:r.extend("--ft-tree-list-node-parent-label-margin-right","",l.spacing2),nodeRootPaddingLeft:r.extend("--ft-tree-list-node-root-padding-left","",l.spacing3),nodeChildPaddingLeft:r.extend("--ft-tree-list-node-child-padding-left","",l.spacing5),nodeLeafPaddingLeft:r.extend("--ft-tree-list-node-leaf-padding-left","",l.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ft-tree-list-node-unselected-default-border-color","",p.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ft-tree-list-node-unselected-icon-color","",p.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ft-tree-list-node-unselected-label-color","",p.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ft-tree-list-node-unselected-counter-color","",p.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ft-tree-list-node-hover-border-color","",p.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ft-tree-list-node-focus-focus-ring-color","",p.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ft-tree-list-node-selected-default-border-color","",p.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ft-tree-list-node-selected-icon-color","",p.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ft-tree-list-node-selected-label-color","",p.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ft-tree-list-node-selected-counter-color","",p.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ft-tree-list-node-descendant-of-selected-label-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ft-tree-list-header-section-padding-left","",l.spacing3),headerSectionPaddingRight:r.extend("--ft-tree-list-header-section-padding-right","",l.spacing3),headerSectionHorizontalGap:r.extend("--ft-tree-list-header-section-horizontal-gap","",l.spacing2),headerSectionMarginBottom:r.extend("--ft-tree-list-header-section-margin-bottom","",l.spacing2),headerSectionColor:r.extend("--ft-tree-list-header-section-color","",p.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ft-tree-list-header-section-counter-color","",p.contentGlobalSecondary),listContainerBorderWidth:r.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ft-tree-list-list-container-background-color","",p.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ft-tree-list-list-container-border-color","",p.borderGlobalSubtle),loadMorePaddingLeft:r.extend("--ft-tree-list-load-more-padding-left","",l.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ft-tree-list-load-more-unselected-default-border-color","",p.borderGlobalSubtle),loadMoreIconColor:r.extend("--ft-tree-list-load-more-icon-color","",p.contentActionPrimary),loadMoreLabelColor:r.extend("--ft-tree-list-load-more-label-color","",p.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ft-tree-list-load-more-hover-border-color","",l.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ft-tree-list-load-more-active-border-color","",l.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",p.borderGlobalPrimary)};var Tt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Tt||(Tt={}));var Xe;(function(t){t.large="large",t.medium="medium",t.small="small"})(Xe||(Xe={}));function ra(t){return`ftds--family-${t}`}function oa(t){return`ftds--size-${t}`}var W={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:r.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:r.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:r.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:r.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:r.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:r.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:r.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:r.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:r.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var va={};Z(va,{computeOffsetAutoPosition:()=>wp,computeOffsetPosition:()=>xa});var ss=["top","right","bottom","left"],is=["start","end"],sa=ss.reduce((t,e)=>t.concat(e,e+"-"+is[0],e+"-"+is[1]),[]),mo=Math.min,ct=Math.max;var ip={left:"right",right:"left",bottom:"top",top:"bottom"},sp={start:"end",end:"start"};function la(t,e,o){return ct(t,mo(e,o))}function Zt(t,e){return typeof t=="function"?t(e):t}function dt(t){return t.split("-")[0]}function He(t){return t.split("-")[1]}function ca(t){return t==="x"?"y":"x"}function da(t){return t==="y"?"height":"width"}function qt(t){return["top","bottom"].includes(dt(t))?"y":"x"}function pa(t){return ca(qt(t))}function ls(t,e,o){o===void 0&&(o=!1);let n=He(t),a=pa(t),i=da(a),s=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=ia(s)),[s,ia(s)]}function cs(t){return t.replace(/start|end/g,e=>sp[e])}function ia(t){return t.replace(/left|right|bottom|top/g,e=>ip[e])}function lp(t){return{top:0,right:0,bottom:0,left:0,...t}}function ds(t){return typeof t!="number"?lp(t):{top:t,right:t,bottom:t,left:t}}function _t(t){let{x:e,y:o,width:n,height:a}=t;return{width:n,height:a,top:o,left:e,right:e+n,bottom:o+a,x:e,y:o}}function ps(t,e,o){let{reference:n,floating:a}=t,i=qt(e),s=pa(e),c=da(s),d=dt(e),u=i==="y",h=n.x+n.width/2-a.width/2,f=n.y+n.height/2-a.height/2,m=n[c]/2-a[c]/2,b;switch(d){case"top":b={x:h,y:n.y-a.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:f};break;case"left":b={x:n.x-a.width,y:f};break;default:b={x:n.x,y:n.y}}switch(He(e)){case"start":b[s]-=m*(o&&u?-1:1);break;case"end":b[s]+=m*(o&&u?-1:1);break}return b}var us=async(t,e,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=o,c=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:h,y:f}=ps(u,n,d),m=n,b={},x=0;for(let S=0;S<c.length;S++){let{name:T,fn:R}=c[S],{x:L,y:C,data:E,reset:O}=await R({x:h,y:f,initialPlacement:n,placement:m,strategy:a,middlewareData:b,rects:u,platform:s,elements:{reference:t,floating:e}});h=L??h,f=C??f,b={...b,[T]:{...b[T],...E}},O&&x<=50&&(x++,typeof O=="object"&&(O.placement&&(m=O.placement),O.rects&&(u=O.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):O.rects),{x:h,y:f}=ps(u,m,d)),S=-1)}return{x:h,y:f,placement:m,strategy:a,middlewareData:b}};async function go(t,e){var o;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:c,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:b=0}=Zt(e,t),x=ds(b),T=c[m?f==="floating"?"reference":"floating":f],R=_t(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(T)))==null||o?T:T.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:h,strategy:d})),L=f==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),E=await(i.isElement==null?void 0:i.isElement(C))?await(i.getScale==null?void 0:i.getScale(C))||{x:1,y:1}:{x:1,y:1},O=_t(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:L,offsetParent:C,strategy:d}):L);return{top:(R.top-O.top+x.top)/E.y,bottom:(O.bottom-R.bottom+x.bottom)/E.y,left:(R.left-O.left+x.left)/E.x,right:(O.right-R.right+x.right)/E.x}}function cp(t,e,o){return(t?[...o.filter(a=>He(a)===t),...o.filter(a=>He(a)!==t)]:o.filter(a=>dt(a)===a)).filter(a=>t?He(a)===t||(e?cs(a)!==a:!1):!0)}var bo=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,a;let{rects:i,middlewareData:s,placement:c,platform:d,elements:u}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:m=sa,autoAlignment:b=!0,...x}=Zt(t,e),S=f!==void 0||m===sa?cp(f||null,b,m):m,T=await go(e,x),R=((o=s.autoPlacement)==null?void 0:o.index)||0,L=S[R];if(L==null)return{};let C=ls(L,i,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(c!==L)return{reset:{placement:S[0]}};let E=[T[dt(L)],T[C[0]],T[C[1]]],O=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:E}],k=S[R+1];if(k)return{data:{index:R+1,overflows:O},reset:{placement:k}};let $=O.map(I=>{let y=He(I.placement);return[I.placement,y&&h?I.overflows.slice(0,2).reduce((v,P)=>v+P,0):I.overflows[0],I.overflows]}).sort((I,y)=>I[1]-y[1]),z=((a=$.filter(I=>I[2].slice(0,He(I[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||$[0][0];return z!==c?{data:{index:R+1,overflows:O},reset:{placement:z}}:{}}}};async function dp(t,e){let{placement:o,platform:n,elements:a}=t,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=dt(o),c=He(o),d=qt(o)==="y",u=["left","top"].includes(s)?-1:1,h=i&&d?-1:1,f=Zt(e,t),{mainAxis:m,crossAxis:b,alignmentAxis:x}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return c&&typeof x=="number"&&(b=c==="end"?x*-1:x),d?{x:b*h,y:m*u}:{x:m*u,y:b*h}}var ua=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;let{x:a,y:i,placement:s,middlewareData:c}=e,d=await dp(e,t);return s===((o=c.offset)==null?void 0:o.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},fa=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:c={fn:T=>{let{x:R,y:L}=T;return{x:R,y:L}}},...d}=Zt(t,e),u={x:o,y:n},h=await go(e,d),f=qt(dt(a)),m=ca(f),b=u[m],x=u[f];if(i){let T=m==="y"?"top":"left",R=m==="y"?"bottom":"right",L=b+h[T],C=b-h[R];b=la(L,b,C)}if(s){let T=f==="y"?"top":"left",R=f==="y"?"bottom":"right",L=x+h[T],C=x-h[R];x=la(L,x,C)}let S=c.fn({...e,[m]:b,[f]:x});return{...S,data:{x:S.x-o,y:S.y-n,enabled:{[m]:i,[f]:s}}}}}};var ha=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var o,n;let{placement:a,rects:i,platform:s,elements:c}=e,{apply:d=()=>{},...u}=Zt(t,e),h=await go(e,u),f=dt(a),m=He(a),b=qt(a)==="y",{width:x,height:S}=i.floating,T,R;f==="top"||f==="bottom"?(T=f,R=m===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(R=f,T=m==="end"?"top":"bottom");let L=S-h.top-h.bottom,C=x-h.left-h.right,E=mo(S-h[T],L),O=mo(x-h[R],C),k=!e.middlewareData.shift,$=E,F=O;if((o=e.middlewareData.shift)!=null&&o.enabled.x&&(F=C),(n=e.middlewareData.shift)!=null&&n.enabled.y&&($=L),k&&!m){let I=ct(h.left,0),y=ct(h.right,0),v=ct(h.top,0),P=ct(h.bottom,0);b?F=x-2*(I!==0||y!==0?I+y:ct(h.left,h.right)):$=S-2*(v!==0||P!==0?v+P:ct(h.top,h.bottom))}await d({...e,availableWidth:F,availableHeight:$});let z=await s.getDimensions(c.floating);return x!==z.width||S!==z.height?{reset:{rects:!0}}:{}}}};var ya=Math.min,Yt=Math.max,Dr=Math.round;var Je=t=>({x:t,y:t});function Qe(t){return hs(t)?(t.nodeName||"").toLowerCase():"#document"}function be(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function et(t){var e;return(e=(hs(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function hs(t){return t instanceof Node||t instanceof be(t).Node}function ze(t){return t instanceof Element||t instanceof be(t).Element}function Ie(t){return t instanceof HTMLElement||t instanceof be(t).HTMLElement}function fs(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof be(t).ShadowRoot}function Xt(t){let{overflow:e,overflowX:o,overflowY:n,display:a}=Ee(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(a)}function ys(t){return["table","td","th"].includes(Qe(t))}function vo(t){let e=So(),o=Ee(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function ms(t){let e=Lt(t);for(;Ie(e)&&!Mr(e);){if(vo(e))return e;e=Lt(e)}return null}function So(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Mr(t){return["html","body","#document"].includes(Qe(t))}function Ee(t){return be(t).getComputedStyle(t)}function $r(t){return ze(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Lt(t){if(Qe(t)==="html")return t;let e=t.assignedSlot||t.parentNode||fs(t)&&t.host||et(t);return fs(e)?e.host:e}function gs(t){let e=Lt(t);return Mr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ie(e)&&Xt(e)?e:gs(e)}function xo(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let a=gs(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),s=be(a);return i?e.concat(s,s.visualViewport||[],Xt(a)?a:[],s.frameElement&&o?xo(s.frameElement):[]):e.concat(a,xo(a,[],o))}function vs(t){let e=Ee(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=Ie(t),i=a?t.offsetWidth:o,s=a?t.offsetHeight:n,c=Dr(o)!==i||Dr(n)!==s;return c&&(o=i,n=s),{width:o,height:n,$:c}}function Ss(t){return ze(t)?t:t.contextElement}function Jt(t){let e=Ss(t);if(!Ie(e))return Je(1);let o=e.getBoundingClientRect(),{width:n,height:a,$:i}=vs(e),s=(i?Dr(o.width):o.width)/n,c=(i?Dr(o.height):o.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var pp=Je(0);function Os(t){let e=be(t);return!So()||!e.visualViewport?pp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function up(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==be(t)?!1:e}function Br(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let a=t.getBoundingClientRect(),i=Ss(t),s=Je(1);e&&(n?ze(n)&&(s=Jt(n)):s=Jt(t));let c=up(i,o,n)?Os(i):Je(0),d=(a.left+c.x)/s.x,u=(a.top+c.y)/s.y,h=a.width/s.x,f=a.height/s.y;if(i){let m=be(i),b=n&&ze(n)?be(n):n,x=m.frameElement;for(;x&&n&&b!==m;){let S=Jt(x),T=x.getBoundingClientRect(),R=Ee(x),L=T.left+(x.clientLeft+parseFloat(R.paddingLeft))*S.x,C=T.top+(x.clientTop+parseFloat(R.paddingTop))*S.y;d*=S.x,u*=S.y,h*=S.x,f*=S.y,d+=L,u+=C,x=be(x).frameElement}}return _t({width:h,height:f,x:d,y:u})}function fp(t){let{rect:e,offsetParent:o,strategy:n}=t,a=Ie(o),i=et(o);if(o===i)return e;let s={scrollLeft:0,scrollTop:0},c=Je(1),d=Je(0);if((a||!a&&n!=="fixed")&&((Qe(o)!=="body"||Xt(i))&&(s=$r(o)),Ie(o))){let u=Br(o);c=Jt(o),d.x=u.x+o.clientLeft,d.y=u.y+o.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 hp(t){return Array.from(t.getClientRects())}function Cs(t){return Br(et(t)).left+$r(t).scrollLeft}function yp(t){let e=et(t),o=$r(t),n=t.ownerDocument.body,a=Yt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Yt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Cs(t),c=-o.scrollTop;return Ee(n).direction==="rtl"&&(s+=Yt(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:c}}function mp(t,e){let o=be(t),n=et(t),a=o.visualViewport,i=n.clientWidth,s=n.clientHeight,c=0,d=0;if(a){i=a.width,s=a.height;let u=So();(!u||u&&e==="fixed")&&(c=a.offsetLeft,d=a.offsetTop)}return{width:i,height:s,x:c,y:d}}function gp(t,e){let o=Br(t,!0,e==="fixed"),n=o.top+t.clientTop,a=o.left+t.clientLeft,i=Ie(t)?Jt(t):Je(1),s=t.clientWidth*i.x,c=t.clientHeight*i.y,d=a*i.x,u=n*i.y;return{width:s,height:c,x:d,y:u}}function bs(t,e,o){let n;if(e==="viewport")n=mp(t,o);else if(e==="document")n=yp(et(t));else if(ze(e))n=gp(e,o);else{let a=Os(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return _t(n)}function Es(t,e){let o=Lt(t);return o===e||!ze(o)||Mr(o)?!1:Ee(o).position==="fixed"||Es(o,e)}function bp(t,e){let o=e.get(t);if(o)return o;let n=xo(t,[],!1).filter(c=>ze(c)&&Qe(c)!=="body"),a=null,i=Ee(t).position==="fixed",s=i?Lt(t):t;for(;ze(s)&&!Mr(s);){let c=Ee(s),d=vo(s);!d&&c.position==="fixed"&&(a=null),(i?!d&&!a:!d&&c.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Xt(s)&&!d&&Es(t,s))?n=n.filter(h=>h!==s):a=c,s=Lt(s)}return e.set(t,n),n}function xp(t){let{element:e,boundary:o,rootBoundary:n,strategy:a}=t,s=[...o==="clippingAncestors"?bp(e,this._c):[].concat(o),n],c=s[0],d=s.reduce((u,h)=>{let f=bs(e,h,a);return u.top=Yt(f.top,u.top),u.right=ya(f.right,u.right),u.bottom=ya(f.bottom,u.bottom),u.left=Yt(f.left,u.left),u},bs(e,c,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function vp(t){return vs(t)}function Sp(t,e,o){let n=Ie(e),a=et(e),i=o==="fixed",s=Br(t,!0,i,e),c={scrollLeft:0,scrollTop:0},d=Je(0);if(n||!n&&!i)if((Qe(e)!=="body"||Xt(a))&&(c=$r(e)),n){let u=Br(e,!0,i,e);d.x=u.x+e.clientLeft,d.y=u.y+e.clientTop}else a&&(d.x=Cs(a));return{x:s.left+c.scrollLeft-d.x,y:s.top+c.scrollTop-d.y,width:s.width,height:s.height}}function xs(t,e){return!Ie(t)||Ee(t).position==="fixed"?null:e?e(t):t.offsetParent}function ws(t,e){let o=be(t);if(!Ie(t))return o;let n=xs(t,e);for(;n&&ys(n)&&Ee(n).position==="static";)n=xs(n,e);return n&&(Qe(n)==="html"||Qe(n)==="body"&&Ee(n).position==="static"&&!vo(n))?o:n||ms(t)||o}var Op=async function(t){let{reference:e,floating:o,strategy:n}=t,a=this.getOffsetParent||ws,i=this.getDimensions;return{reference:Sp(e,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function Cp(t){return Ee(t).direction==="rtl"}var Qt={convertOffsetParentRelativeRectToViewportRelativeRect:fp,getDocumentElement:et,getClippingRect:xp,getOffsetParent:ws,getElementRects:Op,getClientRects:hp,getDimensions:vp,getScale:Jt,isElement:ze,isRTL:Cp};var ma=(t,e,o)=>{let n=new Map,a={platform:Qt,...o},i={...a.platform,_c:n};return us(t,e,{...a,platform:i})};function ba(t){return Ep(t)}function ga(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Ep(t){for(let e=t;e;e=ga(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=ga(t);e;e=ga(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function xa(t,e,o){return ma(t,e,{platform:{...Qt,getOffsetParent:n=>Qt.getOffsetParent(n,ba)},middleware:[fa({crossAxis:!0}),bo({allowedPlacements:[o]})]})}async function wp(t,e,o,n,a,i,s=4){return ma(t,e,{placement:o,strategy:a,platform:{...Qt,getOffsetParent:c=>Qt.getOffsetParent(c,ba)},middleware:[ua(s),bo({allowedPlacements:n}),ha({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 Aa={};Z(Aa,{FtdsBase:()=>wa,toFtdsBase:()=>Oo});var Ea={};Z(Ea,{FtLitElement:()=>V});var Sa={};Z(Sa,{ScopedRegistryLitElement:()=>Ur});var Ur=class extends qe{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 o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Cr(n,e.elementStyles),n}};var Ca={};Z(Ca,{shadowQuerySelector:()=>Oa,shadowQuerySelectorAll:()=>Ap});function Oa(t,e,...o){var n;let a=t.querySelector(e);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function Ap(t,e,...o){let n=[...t.querySelectorAll(e)];for(let a of o)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 Fr=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ts,As=Symbol("constructorPrototype"),Rs=Symbol("constructorName"),_s=Symbol("exportpartsDebouncer"),Ns=Symbol("dynamicDependenciesLoaded"),V=class extends Ur{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ts]=new ye(5),this[Rs]=this.constructor.name,this[As]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Rs]&&Object.setPrototypeOf(this,this[As])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let e=this.constructor;e[Ns]||(e[Ns]=!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:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];o=Oa(this.shadowRoot,...i)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.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,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[_s].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 o,n,a,i,s,c;let d=m=>m!=null&&m.trim().length>0,u=e.filter(d).map(m=>m.trim());if(u.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(i=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],x=(c=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(S=>S.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...b,...x).filter(d).map(S=>S.trim()).forEach(S=>h.add(S))}if(h.size===0){this.removeAttribute("exportparts");return}let f=[...h.values()].flatMap(m=>u.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};Ts=_s;Fr([w()],V.prototype,"exportpartsPrefix",void 0);Fr([We([])],V.prototype,"exportpartsPrefixes",void 0);Fr([w()],V.prototype,"customStylesheet",void 0);Fr([w()],V.prototype,"elementToFocus",void 0);Fr([Q()],V.prototype,"useAdoptedStyleSheets",void 0);var Ls=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i};function Oo(t){class e extends t{constructor(){super(...arguments),this.size=Xe.medium,this.family=Tt.neutral}getDesignSystemBaseClasses(){return{[ra(this.family)]:!0,[oa(this.size)]:!0}}}return Ls([w()],e.prototype,"size",void 0),Ls([w()],e.prototype,"family",void 0),e}var wa=class extends Oo(V){};var Is={};var Ta={};Z(Ta,{highlightHtml:()=>Na,highlightHtmlColorCssVariable:()=>Ps,highlightHtmlStyles:()=>Np});var It=class t{constructor(e,o=!0,n=[],a=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=a}static matches(e,o){let n=typeof o=="string"?[o]:o,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,o=[];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=o.filter(i=>i.contains(n)).length>0;o.indexOf(n)===-1&&!a&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&o(a)}isIframeBlank(e){let o="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(e,o,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(e,o,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,o,n):this.getIframeContents(e,o,n):this.observeIframeLoad(e,o,n)}catch{n()}}waitForIframes(e,o){let n=0;this.forEachIframe(e,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||o()})},a=>{a||o()})}forEachIframe(e,o,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(u=>{t.matches(u,this.exclude)?d():this.onIframeReady(u,h=>{o(u)&&(c++,n(h)),d()},d)})}createIterator(e,o,n){return document.createNodeIterator(e,o,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,o,n){let a=e.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(o!==null){let s=o.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let o=e.previousNode(),n;return o===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:o,node:n}}checkIframeFilter(e,o,n,a){let i=!1,s=!1;return a.forEach((c,d)=>{c.val===n&&(i=d,s=c.handled)}),this.compareNodeIframe(e,o,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,o,n,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,a)})})}iterateThroughNodes(e,o,n,a,i){let s=this.createIterator(o,e,a),c=[],d=[],u,h,f=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;f();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(u,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(e,b=>d.push(b),a)}),d.push(u);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,e,n,a),i()}forEachNode(e,o,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,o,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(c,d):d()})}};var Wr=class{constructor(e){this.ctx=e,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.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 It(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`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 o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in o)if(o.hasOwnProperty(i)){let s=o[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,o=>o.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let o=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(o,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?o:o+"\0"})}createJoinersRegExp(e){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?e.split(/\u0000+/).join(`[${o.join("")}]*`):e}createDiacriticsRegExp(e){let o=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${o}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\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(o)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let o=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(a=>{a.trim()&&o.indexOf(a)===-1&&o.push(a)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,a)=>a.length-n.length),length:o.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 o=[],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,o.push(a),n=s)}),o}callNoMatchOnInvalidRanges(e,o){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-o>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,o,n){let a,i=!0,s=n.length,c=o-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 o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:o.length,end:(o+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:o,nodes:n})})}matchesExclude(e){return It.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(o),s=i.splitText(n-o),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,o,n,a,i){e.nodes.every((s,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>o){if(!a(s.node))return!1;let u=o-s.start,h=(n>s.end?s.end:n)-s.start,f=e.value.substr(0,s.start),m=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),e.value=f+m,e.nodes.forEach((b,x)=>{x>=c&&(e.nodes[x].start>0&&x!==c&&(e.nodes[x].start-=h),e.nodes[x].end-=h)}),n-=h,i(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(e,o,n,a,i){let s=o===0?0:o+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[s]!=="";){if(!n(u[s],d))continue;let h=u.index;if(s!==0)for(let f=1;f<s;f++)h+=u[f].length;d=this.wrapRangeInTextNode(d,h,h+u[s].length),a(d.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,o,n,a,i){let s=o===0?0:o+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let f=1;f<s;f++)u+=d[f].length;let h=u+d[s].length;this.wrapRangeInMappedTextNode(c,u,h,f=>n(d[s],f),(f,m)=>{e.lastIndex=m,a(f)})}i()})}wrapRangeFromIndex(e,o,n,a){this.getTextNodes(i=>{let s=i.value.length;e.forEach((c,d)=>{let{start:u,end:h,valid:f}=this.checkWhitespaceRanges(c,s,i.value);f&&this.wrapRangeInMappedTextNode(i,u,h,m=>o(m,c,i.value.substring(u,h),d),m=>{n(m,c)})}),a()})}unwrapMatches(e){let o=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));o.replaceChild(n,e),this.ie?this.normalizeTextNode(o):o.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,o){this.opt=o,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,o){this.opt=o;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=u=>{let h=new RegExp(this.createRegExp(u),`gm${c}`),f=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(m,b)=>this.opt.filter(b,u,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(u),i[s-1]===u?this.opt.done(n):d(i[i.indexOf(u)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(i[0])}markRanges(e,o){this.opt=o;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 o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let a=It.matches(n,o),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ra(t){let e=new Wr(t);return this.mark=(o,n)=>(e.mark(o,n),this),this.markRegExp=(o,n)=>(e.markRegExp(o,n),this),this.markRanges=(o,n)=>(e.markRanges(o,n),this),this.unmark=o=>(e.unmark(o),this),this}var Rp=Ra,Ps=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Np=D`
6
6
  .highlight-html-match {
7
7
  background: ${Ps};
@@ -1283,7 +1283,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1283
1283
  `;var bt=class extends V{render(){return U`
1284
1284
  `}};bt.elementDefinitions={};bt.styles=Dc;J("ft-skeleton")(bt);var Mc=D`
1285
1285
  `;var $c=D`
1286
- `;var _u="ft-app-info",Mo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Mo.eventName="authentication-change";var Lu={session:(t,e)=>{Ce(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>B.dispatchEvent(new Mo(e.payload)),0))}},B=Bt.get({name:_u,reducers:Lu,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 Ft=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=B.getState(),a=e??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(e){return new Promise(o=>{let n=t.get(e);if(n)o(n);else{let a=B.subscribe(()=>{n=t.get(e),n&&(a(),o(n))})}})}};var Xr=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Ft.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Ft.await()}};var xt=class extends Xr{constructor(e=!0,o){var n;super(o);let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new Fe,this.cache=e?a.commonCache:new Fe}clearCache(){this.cache.clearAll()}};var Bc,Iu=Symbol("clearAfterUnitTest"),$o=class extends xt{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Bc]=()=>{this.defaultMessages={},this.cache=new Fe,this.listeners={}},this.currentUiLocale=B.getState().uiLocale,B.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=B.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var n;if(e=e.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...o};Ce(this.defaultMessages[e],a)||(this.defaultMessages[e]=a,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var o,n;return this.fetchContext(e),(n=(o=this.cache.getNow(e))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,o){let n=e.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(e,o,...n){var a;let i=e.toLowerCase(),s=this.resolveContext(i);return new zr((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(o,...n)}async fetchContext(e){let o=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e))}catch(a){!(a instanceof Nt)&&o&&console.error(a)}return o&&await this.notify(e),n}subscribe(e,o){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(o),()=>{var a;return(a=this.listeners[e])===null||a===void 0?void 0:a.delete(o)}}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(o=>ho(0).then(()=>o()).catch(()=>null)))}};Bc=Iu;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends $o{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends $o{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Sr=window.FluidTopicsI18nService,Bo=window.FluidTopicsCustomI18nService;var he=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ie=class extends V{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=()=>Ft.get(),this.messageContexts=[],this.cache=new Fe,this.cleanSessionDebouncer=new ye}render(){return U`
1286
+ `;var _u="ft-app-info",Mo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Mo.eventName="authentication-change";var Lu={session:(t,e)=>{Ce(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>B.dispatchEvent(new Mo(e.payload)),0))}},B=Bt.get({name:_u,reducers:Lu,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 Ft=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=B.getState(),a=e??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(e){return new Promise(o=>{let n=t.get(e);if(n)o(n);else{let a=B.subscribe(()=>{n=t.get(e),n&&(a(),o(n))})}})}};var Xr=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Ft.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Ft.await()}};var xt=class extends Xr{constructor(e=!0,o){var n;super(o);let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new Fe,this.cache=e?a.commonCache:new Fe}clearCache(){this.cache.clearAll()}};var Bc,Iu=Symbol("clearAfterUnitTest"),$o=class extends xt{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Bc]=()=>{this.defaultMessages={},this.cache=new Fe,this.listeners={}},this.currentUiLocale=B.getState().uiLocale,B.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=B.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var n;if(e=e.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...o};Ce(this.defaultMessages[e],a)||(this.defaultMessages[e]=a,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var o,n;return this.fetchContext(e),(n=(o=this.cache.getNow(e))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,o){let n=e.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(e,o,...n){var a;let i=e.toLowerCase(),s=this.resolveContext(i);return new zr((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(o,...n)}async fetchContext(e){let o=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),o&&await this.notify(e)}catch(a){!(a instanceof Nt)&&o&&console.error(a)}return n}subscribe(e,o){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(o),()=>{var a;return(a=this.listeners[e])===null||a===void 0?void 0:a.delete(o)}}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(o=>ho(0).then(()=>o()).catch(()=>null)))}};Bc=Iu;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends $o{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends $o{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Sr=window.FluidTopicsI18nService,Bo=window.FluidTopicsCustomI18nService;var he=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ie=class extends V{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=()=>Ft.get(),this.messageContexts=[],this.cache=new Fe,this.cleanSessionDebouncer=new ye}render(){return U`
1287
1287
  <slot></slot>
1288
1288
  `}update(e){var o,n,a,i,s;super.update(e),e.has("baseUrl")&&(B.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&B.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&B.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&B.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&B.actions.noCustom(this.noCustom),e.has("editorMode")&&B.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&B.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&B.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(c=>Sr.addContext(c)),e.has("openExternalDocumentInNewTab")&&B.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&B.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&B.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(B.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),B.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),B.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())}};ie.elementDefinitions={};ie.styles=$c;he([w()],ie.prototype,"baseUrl",void 0);he([w()],ie.prototype,"apiIntegrationIdentifier",void 0);he([w()],ie.prototype,"uiLocale",void 0);he([We(null)],ie.prototype,"availableUiLocales",void 0);he([We(null)],ie.prototype,"metadataConfiguration",void 0);he([w({type:Boolean})],ie.prototype,"editorMode",void 0);he([w({type:Boolean})],ie.prototype,"noCustom",void 0);he([w({type:Boolean})],ie.prototype,"openExternalDocumentInNewTab",void 0);he([w({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ie.prototype,"noCustomComponent",void 0);he([w({type:Boolean})],ie.prototype,"withManualResources",void 0);he([w({type:Boolean})],ie.prototype,"navigatorOnline",void 0);he([w({type:Boolean})],ie.prototype,"forcedOffline",void 0);he([w({type:Object})],ie.prototype,"apiProvider",void 0);he([We([])],ie.prototype,"messageContexts",void 0);he([We(void 0)],ie.prototype,"session",void 0);he([Q()],ie.prototype,"localesConfiguration",void 0);var Uo=class extends xt{async listMySearches(){let{session:e}=B.getState();return Vl(e,se.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Fo=class extends xt{async listMyBookmarks(){let e=B.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Pu="ft-user-assets",Wo=Bt.get({name:Pu,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ni=class{constructor(){this.currentSession=B.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Fo,this.savedSearchesService=new Uo,B.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=B.getState();Ce((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Wo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Wo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Wo.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 o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Wo.actions.bookmarks(o)}}},hE=new Ni;var Ti=class{addCommand(e,o=!1){B.commands.add(e,o)}consumeCommand(e){return B.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Ti;var _i=class{highlightHtml(e,o,n){Na(e,o,n)}};window.FluidTopicsHighlightHtmlService=new _i;var Li=class{isDate(e){var o,n,a,i;return(i=(a=((n=(o=B.getState().metadataConfiguration)===null||o===void 0?void 0:o.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,o){var n,a,i;return lr.format(e,(n=o?.locale)!==null&&n!==void 0?n:B.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new Li;var Jr=class{static get(e,o){var n,a,i,s;let c=B.getState(),{lang:d,region:u}=(a=(n=c.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new sr(c.baseUrl,(s=(i=window.FluidTopicsClientConfiguration)===null||i===void 0?void 0:i.predefinedSorts)!==null&&s!==void 0?s:{},e??20,c.searchInAllLanguagesAllowed,o??`${d}-${u}`)}};var Ii=class{urlToSearchRequest(e){return Jr.get().parse(e)}searchRequestToUrl(e){return Jr.get().serialize(e)}};window.FluidTopicsUrlService=new Ii;var Wt=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Wt.eventName="change";var Pi=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let o=sessionStorage.getItem(this.itemName(e));return o?JSON.parse(o):void 0}set(e,o){sessionStorage.setItem(this.itemName(e),JSON.stringify(o))}},Uc=new Pi;var Ho=class t extends Ye{static build(){return new t(window.history,Uc,()=>window.location,!1)}constructor(e,o,n,a){var i,s;super(),this.history=e,this.historyStorage=o,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,o=!1){let n=o&&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),Ce(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Wt(this.currentItem())),0)}installProxies(){let e=o=>(n,a,[i,s,c])=>{let d=o(),u={...d===this.currentIndex?this.currentState:void 0,...i,index:d,href:typeof c=="string"?c:(c??this.windowLocation()).href};n.apply(a,[u,s,c]),this.setCurrentState(u,!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 o=this.history.length-1;o>=0;o--)e?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(e){var o;let n={...this.buildCurrentState(),...e,index:this.currentIndex,title:(o=e?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(e){this.addEventListener(Wt.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Wt.eventName,e)}currentItem(){return Pr(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return Pr(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return Pr(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var o;let n=(o=this.states[e])===null||o===void 0?void 0:o.majorStateId;if(!n)return e;let a=e,i=e+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,n);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var e,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&o!==void 0?o:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,o){var n;if(!this.hasState(e))return!1;let a=o??this.currentState.majorStateId,i=(n=this.states[e])===null||n===void 0?void 0:n.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Ho.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)});J("ft-app-context")(ie);function Fc(t){return t.match(/^[\w-]+\.[\w-]+$/)}var ku=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Wc=Symbol("i18nAttributes"),Hc=Symbol("i18nListAttributes"),jc=Symbol("i18nProperties"),zo=Symbol("i18nContexts"),Qr=Symbol("i18nUnsubs");function Go(t){var e,o;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[o]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?Bo:Sr}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(Fc(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 u;return((u=d?.context)===null||u===void 0?void 0:u.toLowerCase())===i}),this.updateI18nProperties(s=>s.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var s,c;let d=this,u=(h,f,m)=>m?.context&&m.key&&i(h,f,m)?{...m,message:this.i18n({context:m.context,key:m.key,...h})}:m;(s=this[Wc])===null||s===void 0||s.forEach((h,f)=>d[f]=u(h,f,d[f])),(c=this[Hc])===null||c===void 0||c.forEach((h,f)=>{var m;return d[f]=(m=d[f])===null||m===void 0?void 0:m.map(b=>u(h,f,b))})}updateI18nProperties(i){var s;(s=this[jc])===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[zo].set(d,{isCustomContext:c}),this[Qr].has(d)||this[Qr].set(d,this.getI18nService(c).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(c).prepareContext(d,s)}hasI18nContext(i){return this[zo].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[zo].forEach((i,s)=>this.addI18nContext(s,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Qr].forEach(i=>i()),this[Qr].clear()}}return e=zo,o=Qr,ku([w({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var zc=class extends Go(V){},jo=class extends Go(je){};var eo=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Me=class extends jo{constructor(){super(),this.editorMode=!1,this.addStore(B)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":j:U`
1289
1289
  <span class="ft-i18n">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-toc",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "Main table of content for integrated reader",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-icon": "1.3.3",
23
- "@fluid-topics/ft-reader-context": "1.3.3",
24
- "@fluid-topics/ft-size-watcher": "1.3.3",
25
- "@fluid-topics/ft-typography": "1.3.3",
26
- "@fluid-topics/ft-wc-utils": "1.3.3",
22
+ "@fluid-topics/ft-icon": "1.3.4",
23
+ "@fluid-topics/ft-reader-context": "1.3.4",
24
+ "@fluid-topics/ft-size-watcher": "1.3.4",
25
+ "@fluid-topics/ft-typography": "1.3.4",
26
+ "@fluid-topics/ft-wc-utils": "1.3.4",
27
27
  "lit": "3.1.0"
28
28
  },
29
- "gitHead": "1b75383f913a10dc67e677d1b44eea930ed5e41f"
29
+ "gitHead": "88282019772befe5149b30c92d1ac38067d25c2b"
30
30
  }