@fluid-topics/ft-reader-toc 1.2.25 → 1.2.26

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.
@@ -1182,7 +1182,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
1182
1182
  `;var ar=x(L());var Kc=x(L());var oc=x($()),se=x(Z()),Ee=x(L());var Ji=x($());var Qi=Ji.css`
1183
1183
  `;var Wo=x(L()),$l="ft-app-info",Dr=class extends CustomEvent{constructor(t){super("authentication-change",{detail:t})}},Wl={session:(o,t)=>{(0,Wo.deepEqual)(o.session,t.payload)||(o.session=t.payload,setTimeout(()=>I.dispatchEvent(new Dr(t.payload)),0))}},I=Wo.FtReduxStore.get({name:$l,reducers:Wl,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var Je=x(L());var zr=x(L());var gt=class o{static get(t){let{baseUrl:r,apiIntegrationIdentifier:n}=I.getState(),a=t??n;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(t){return new Promise(r=>{let n=o.get(t);if(n)r(n);else{let a=I.subscribe(()=>{n=o.get(t),n&&(a(),r(n))})}})}};var Xe=class{constructor(t=!0,r){var n;this.overrideApi=r;let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new zr.CacheRegistry,this.cache=t?a.commonCache:new zr.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:gt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):gt.await()}clearCache(){this.cache.clearAll()}};var ec,Dl=Symbol("clearAfterUnitTest"),Do=class extends Xe{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[ec]=()=>{this.defaultMessages={},this.cache=new Je.CacheRegistry,this.listeners={}},this.currentUiLocale=I.getState().uiLocale,I.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=I.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var n;if(t=t.toLowerCase(),Object.keys(r).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...r};(0,Je.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}await this.fetchContext(t)}resolveContext(t){var r,n;return this.fetchContext(t),(n=(r=this.cache.getNow(t))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,r){let n=t.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(t,r,...n){var a;let i=t.toLowerCase(),l=this.resolveContext(i);return new Je.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},l).resolve(r,...n)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(r){console.error(r)}}subscribe(t,r){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(r),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(r=>(0,Je.delay)(0).then(()=>r()).catch(()=>null)))}};ec=Dl;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Do{constructor(){super(async(o,t)=>(await this.awaitApi).getFluidTopicsMessageContext(o,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Do{constructor(){super(async(o,t)=>(await this.awaitApi).getCustomMessageContext(o,t))}});var bt=window.FluidTopicsI18nService,tc=window.FluidTopicsCustomI18nService;var te=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},V=class extends Ee.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=()=>gt.get(),this.messageContexts=[],this.cache=new Ee.CacheRegistry,this.cleanSessionDebouncer=new Ee.Debouncer}render(){return oc.html`
1184
1184
  <slot></slot>
1185
- `}update(t){var r,n,a,i,l;super.update(t),t.has("baseUrl")&&(I.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&I.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&I.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&I.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&I.actions.noCustom(this.noCustom),t.has("editorMode")&&I.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&I.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&I.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(s=>bt.addContext(s)),t.has("openExternalDocumentInNewTab")&&I.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&I.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&I.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(I.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),I.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),I.actions.searchInAllLanguagesAllowed((l=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&l!==void 0?l:!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 t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};V.elementDefinitions={};V.styles=Qi;te([(0,se.property)()],V.prototype,"baseUrl",void 0);te([(0,se.property)()],V.prototype,"apiIntegrationIdentifier",void 0);te([(0,se.property)()],V.prototype,"uiLocale",void 0);te([(0,Ee.jsonProperty)(null)],V.prototype,"availableUiLocales",void 0);te([(0,Ee.jsonProperty)(null)],V.prototype,"metadataConfiguration",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"editorMode",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"noCustom",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"openExternalDocumentInNewTab",void 0);te([(0,se.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],V.prototype,"noCustomComponent",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"withManualResources",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"navigatorOnline",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"forcedOffline",void 0);te([(0,se.property)({type:Object})],V.prototype,"apiProvider",void 0);te([(0,Ee.jsonProperty)([])],V.prototype,"messageContexts",void 0);te([(0,Ee.jsonProperty)(void 0)],V.prototype,"session",void 0);te([(0,se.state)()],V.prototype,"localesConfiguration",void 0);var Es=x(Z());function zl(o,t){if(o===t)return!0;if(o&&t&&typeof o=="object"&&typeof t=="object"){if(o.constructor!==t.constructor)return!1;var r,n,a;if(Array.isArray(o)){if(r=o.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!zo(o[n],t[n]))return!1;return!0}if(o instanceof Map&&t instanceof Map){if(o.size!==t.size)return!1;for(n of o.entries())if(!t.has(n[0]))return!1;for(n of o.entries())if(!zo(n[1],t.get(n[0])))return!1;return!0}if(o instanceof Set&&t instanceof Set){if(o.size!==t.size)return!1;for(n of o.entries())if(!t.has(n[0]))return!1;return!0}if(o.constructor===RegExp)return o.source===t.source&&o.flags===t.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===t.valueOf();if(a=Object.keys(o),r=a.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){var i=a[n];if(!zo(o[i],t[i]))return!1}return!0}return o!==o&&t!==t}function zo(o,t){try{return zl(o,t)}catch{return!1}}function Mo(o,t){return!zo(o,t)}var Ml=x(Z(),1);var Uo=class{constructor(){this.queue=[]}add(t,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};var co=x(Z(),1);var rc=x(Z(),1);function nc(o,t){let r=()=>JSON.parse(JSON.stringify(o));return(0,rc.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Mo,...t??{}})}var Ho=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(s){a(s);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 ic=x($(),1);var Go=window,Ul=Go.ShadowRoot&&(Go.ShadyCSS===void 0||Go.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Gm=Symbol();var ac=(o,t)=>{Ul?o.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),a=Go.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,o.appendChild(n)})};var Fo=class extends ic.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return ac(n,t.elementStyles),n}};var jo=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},dc,cc=Symbol("constructorPrototype"),lc=Symbol("constructorName"),fc=Symbol("exportpartsDebouncer"),sc=Symbol("dynamicDependenciesLoaded"),Qe=class extends Fo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[dc]=new Ho(5),this[lc]=this.constructor.name,this[cc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[lc]&&Object.setPrototypeOf(this,this[cc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let t=this.constructor;t[sc]||(t[sc]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.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 t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[fc].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(t){var r,n,a,i,l,s;let p=m=>m!=null&&m.trim().length>0,f=t.filter(p).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.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:[],g=(s=(l=m.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(S=>S.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...b,...g).filter(p).map(S=>S.trim()).forEach(S=>h.add(S))}if(h.size===0){this.removeAttribute("exportparts");return}let y=[...h.values()].flatMap(m=>f.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};dc=fc;jo([(0,co.property)()],Qe.prototype,"exportpartsPrefix",void 0);jo([nc([])],Qe.prototype,"exportpartsPrefixes",void 0);jo([(0,co.property)()],Qe.prototype,"customStylesheet",void 0);jo([(0,co.state)()],Qe.prototype,"useAdoptedStyleSheets",void 0);function lo(o){var t;return(t=o?.isFtReduxStore)!==null&&t!==void 0?t:!1}var pc,uc,hc,so=Symbol("internalReduxEventsUnsubscribers"),et=Symbol("internalStoresUnsubscribers"),xt=Symbol("internalStores"),fo=class extends Qe{constructor(){super(...arguments),this[pc]=new Map,this[uc]=new Map,this[hc]=new Map}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(r=>t.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[xt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[xt].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[xt].get(t)}addStore(t,r){var n;r=(n=r??(lo(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[xt].set(r,t),this.subscribeToStore(r,t),this.updateFromStores()}removeStore(t){let r=typeof t=="string"?t:t.name;this.unsubscribeFromStore(r),this[xt].delete(r)}setupStores(){this.unsubscribeFromStores(),this[xt].forEach((t,r)=>this.subscribeToStore(r,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let a=this.getStore(t.store);a&&(t.store?this[et].has(t.store):this[et].size>0)&&(this[r]=t.selector(a.getState(),this))}})}subscribeToStore(t,r){var n;this[et].set(t,r.subscribe(()=>this.updateFromStores())),this[so].set(t,[]),lo(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||r.name===a.store)){let l=s=>this[i](s);r.addEventListener(a.eventName,l),this[so].get(t).push(()=>r.removeEventListener(a.eventName,l))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[et].forEach((t,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(t){var r;this[et].has(t)&&this[et].get(t)(),this[et].delete(t),(r=this[so].get(t))===null||r===void 0||r.forEach(n=>n()),this[so].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};pc=et,uc=xt,hc=so;fo.reduxProperties=new Map;fo.reduxReactiveProperties=new Set;fo.reduxEventListeners=new Map;function ve(o){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+o+(r.length?" "+r.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ue(o){return!!o&&!!o[G]}function Ne(o){var t;return!!o&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===ql}(o)||Array.isArray(o)||!!o[Sc]||!!(!((t=o.constructor)===null||t===void 0)&&t[Sc])||Zr(o)||qr(o))}function vt(o,t,r){r===void 0&&(r=!1),Mt(o)===0?(r?Object.keys:zt)(o).forEach(function(n){r&&typeof n=="symbol"||t(n,o[n],o)}):o.forEach(function(n,a){return t(a,n,o)})}function Mt(o){var t=o[G];return t?t.i>3?t.i-4:t.i:Array.isArray(o)?1:Zr(o)?2:qr(o)?3:0}function Dt(o,t){return Mt(o)===2?o.has(t):Object.prototype.hasOwnProperty.call(o,t)}function Hl(o,t){return Mt(o)===2?o.get(t):o[t]}function Oc(o,t,r){var n=Mt(o);n===2?o.set(t,r):n===3?o.add(r):o[t]=r}function Cc(o,t){return o===t?o!==0||1/o==1/t:o!=o&&t!=t}function Zr(o){return Kl&&o instanceof Map}function qr(o){return Zl&&o instanceof Set}function tt(o){return o.o||o.t}function Yr(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var t=Nc(o);delete t[G];for(var r=zt(t),n=0;n<r.length;n++){var a=r[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:o[a]})}return Object.create(Object.getPrototypeOf(o),t)}function Xr(o,t){return t===void 0&&(t=!1),Jr(o)||Ue(o)||!Ne(o)||(Mt(o)>1&&(o.set=o.add=o.clear=o.delete=Gl),Object.freeze(o),t&&vt(o,function(r,n){return Xr(n,!0)},!0)),o}function Gl(){ve(2)}function Jr(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function Pe(o){var t=Kr[o];return t||ve(18,o),t}function Fl(o,t){Kr[o]||(Kr[o]=t)}function Fr(){return uo}function Mr(o,t){t&&(Pe("Patches"),o.u=[],o.s=[],o.v=t)}function Vo(o){jr(o),o.p.forEach(jl),o.p=null}function jr(o){o===uo&&(uo=o.l)}function yc(o){return uo={p:[],l:uo,h:o,m:!0,_:0}}function jl(o){var t=o[G];t.i===0||t.i===1?t.j():t.g=!0}function Ur(o,t){t._=t.p.length;var r=t.p[0],n=o!==void 0&&o!==r;return t.h.O||Pe("ES5").S(t,o,n),n?(r[G].P&&(Vo(t),ve(4)),Ne(o)&&(o=Ko(t,o),t.l||Zo(t,o)),t.u&&Pe("Patches").M(r[G].t,o,t.u,t.s)):o=Ko(t,r,[]),Vo(t),t.u&&t.v(t.u,t.s),o!==Ec?o:void 0}function Ko(o,t,r){if(Jr(t))return t;var n=t[G];if(!n)return vt(t,function(s,p){return mc(o,n,t,s,p,r)},!0),t;if(n.A!==o)return t;if(!n.P)return Zo(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Yr(n.k):n.o,i=a,l=!1;n.i===3&&(i=new Set(a),a.clear(),l=!0),vt(i,function(s,p){return mc(o,n,a,s,p,r,l)}),Zo(o,a,!1),r&&o.u&&Pe("Patches").N(n,r,o.u,o.s)}return n.o}function mc(o,t,r,n,a,i,l){if(Ue(a)){var s=Ko(o,a,i&&t&&t.i!==3&&!Dt(t.R,n)?i.concat(n):void 0);if(Oc(r,n,s),!Ue(s))return;o.m=!1}else l&&r.add(a);if(Ne(a)&&!Jr(a)){if(!o.h.D&&o._<1)return;Ko(o,a),t&&t.A.l||Zo(o,a)}}function Zo(o,t,r){r===void 0&&(r=!1),!o.l&&o.h.D&&o.m&&Xr(t,r)}function Hr(o,t){var r=o[G];return(r?tt(r):o)[t]}function gc(o,t){if(t in o)for(var r=Object.getPrototypeOf(o);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function ot(o){o.P||(o.P=!0,o.l&&ot(o.l))}function Gr(o){o.o||(o.o=Yr(o.t))}function Vr(o,t,r){var n=Zr(t)?Pe("MapSet").F(t,r):qr(t)?Pe("MapSet").T(t,r):o.O?function(a,i){var l=Array.isArray(a),s={i:l?1:0,A:i?i.A:Fr(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=s,f=ho;l&&(p=[s],f=po);var h=Proxy.revocable(p,f),y=h.revoke,m=h.proxy;return s.k=m,s.j=y,m}(t,r):Pe("ES5").J(t,r);return(r?r.A:Fr()).p.push(n),n}function Vl(o){return Ue(o)||ve(22,o),function t(r){if(!Ne(r))return r;var n,a=r[G],i=Mt(r);if(a){if(!a.P&&(a.i<4||!Pe("ES5").K(a)))return a.t;a.I=!0,n=bc(r,i),a.I=!1}else n=bc(r,i);return vt(n,function(l,s){a&&Hl(a.t,l)===s||Oc(n,l,t(s))}),i===3?new Set(n):n}(o)}function bc(o,t){switch(t){case 2:return new Map(o);case 3:return Array.from(o)}return Yr(o)}function wc(){function o(l,s){var p=i[l];return p?p.enumerable=s:i[l]=p={configurable:!0,enumerable:s,get:function(){var f=this[G];return ho.get(f,l)},set:function(f){var h=this[G];ho.set(h,l,f)}},p}function t(l){for(var s=l.length-1;s>=0;s--){var p=l[s][G];if(!p.P)switch(p.i){case 5:n(p)&&ot(p);break;case 4:r(p)&&ot(p)}}}function r(l){for(var s=l.t,p=l.k,f=zt(p),h=f.length-1;h>=0;h--){var y=f[h];if(y!==G){var m=s[y];if(m===void 0&&!Dt(s,y))return!0;var b=p[y],g=b&&b[G];if(g?g.t!==m:!Cc(b,m))return!0}}var S=!!s[G];return f.length!==zt(s).length+(S?0:1)}function n(l){var s=l.k;if(s.length!==l.t.length)return!0;var p=Object.getOwnPropertyDescriptor(s,s.length-1);if(p&&!p.get)return!0;for(var f=0;f<s.length;f++)if(!s.hasOwnProperty(f))return!0;return!1}function a(l){l.g&&ve(3,JSON.stringify(tt(l)))}var i={};Fl("ES5",{J:function(l,s){var p=Array.isArray(l),f=function(y,m){if(y){for(var b=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(b,""+g,o(g,!0));return b}var S=Nc(m);delete S[G];for(var R=zt(S),E=0;E<R.length;E++){var N=R[E];S[N]=o(N,y||!!S[N].enumerable)}return Object.create(Object.getPrototypeOf(m),S)}(p,l),h={i:p?5:4,A:s?s.A:Fr(),P:!1,I:!1,R:{},l:s,t:l,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,G,{value:h,writable:!0}),f},S:function(l,s,p){p?Ue(s)&&s[G].A===l&&t(l.p):(l.u&&function f(h){if(h&&typeof h=="object"){var y=h[G];if(y){var m=y.t,b=y.k,g=y.R,S=y.i;if(S===4)vt(b,function(T){T!==G&&(m[T]!==void 0||Dt(m,T)?g[T]||f(b[T]):(g[T]=!0,ot(y)))}),vt(m,function(T){b[T]!==void 0||Dt(b,T)||(g[T]=!1,ot(y))});else if(S===5){if(n(y)&&(ot(y),g.length=!0),b.length<m.length)for(var R=b.length;R<m.length;R++)g[R]=!1;else for(var E=m.length;E<b.length;E++)g[E]=!0;for(var N=Math.min(b.length,m.length),P=0;P<N;P++)b.hasOwnProperty(P)||(g[P]=!0),g[P]===void 0&&f(b[P])}}}}(l.p[0]),t(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var xc,uo,Qr=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Kl=typeof Map<"u",Zl=typeof Set<"u",vc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ec=Qr?Symbol.for("immer-nothing"):((xc={})["immer-nothing"]=!0,xc),Sc=Qr?Symbol.for("immer-draftable"):"__$immer_draftable",G=Qr?Symbol.for("immer-state"):"__$immer_state";var ql=""+Object.prototype.constructor,zt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:Object.getOwnPropertyNames,Nc=Object.getOwnPropertyDescriptors||function(o){var t={};return zt(o).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(o,r)}),t},Kr={},ho={get:function(o,t){if(t===G)return o;var r=tt(o);if(!Dt(r,t))return function(a,i,l){var s,p=gc(i,l);return p?"value"in p?p.value:(s=p.get)===null||s===void 0?void 0:s.call(a.k):void 0}(o,r,t);var n=r[t];return o.I||!Ne(n)?n:n===Hr(o.t,t)?(Gr(o),o.o[t]=Vr(o.A.h,n,o)):n},has:function(o,t){return t in tt(o)},ownKeys:function(o){return Reflect.ownKeys(tt(o))},set:function(o,t,r){var n=gc(tt(o),t);if(n?.set)return n.set.call(o.k,r),!0;if(!o.P){var a=Hr(tt(o),t),i=a?.[G];if(i&&i.t===r)return o.o[t]=r,o.R[t]=!1,!0;if(Cc(r,a)&&(r!==void 0||Dt(o.t,t)))return!0;Gr(o),ot(o)}return o.o[t]===r&&(r!==void 0||t in o.o)||Number.isNaN(r)&&Number.isNaN(o.o[t])||(o.o[t]=r,o.R[t]=!0),!0},deleteProperty:function(o,t){return Hr(o.t,t)!==void 0||t in o.t?(o.R[t]=!1,Gr(o),ot(o)):delete o.R[t],o.o&&delete o.o[t],!0},getOwnPropertyDescriptor:function(o,t){var r=tt(o),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:o.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){ve(11)},getPrototypeOf:function(o){return Object.getPrototypeOf(o.t)},setPrototypeOf:function(){ve(12)}},po={};vt(ho,function(o,t){po[o]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),po.deleteProperty=function(o,t){return po.set.call(this,o,t,void 0)},po.set=function(o,t,r){return ho.set.call(this,o[0],t,r,o[0])};var Yl=function(){function o(r){var n=this;this.O=vc,this.D=!0,this.produce=function(a,i,l){if(typeof a=="function"&&typeof i!="function"){var s=i;i=a;var p=n;return function(S){var R=this;S===void 0&&(S=s);for(var E=arguments.length,N=Array(E>1?E-1:0),P=1;P<E;P++)N[P-1]=arguments[P];return p.produce(S,function(T){var D;return(D=i).call.apply(D,[R,T].concat(N))})}}var f;if(typeof i!="function"&&ve(6),l!==void 0&&typeof l!="function"&&ve(7),Ne(a)){var h=yc(n),y=Vr(n,a,void 0),m=!0;try{f=i(y),m=!1}finally{m?Vo(h):jr(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(S){return Mr(h,l),Ur(S,h)},function(S){throw Vo(h),S}):(Mr(h,l),Ur(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===Ec&&(f=void 0),n.D&&Xr(f,!0),l){var b=[],g=[];Pe("Patches").M(a,f,b,g),l(b,g)}return f}ve(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){for(var h=arguments.length,y=Array(h>1?h-1:0),m=1;m<h;m++)y[m-1]=arguments[m];return n.produceWithPatches(f,function(b){return a.apply(void 0,[b].concat(y))})};var l,s,p=n.produce(a,i,function(f,h){l=f,s=h});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,l,s]}):[p,l,s]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=o.prototype;return t.createDraft=function(r){Ne(r)||ve(8),Ue(r)&&(r=Vl(r));var n=yc(this),a=Vr(this,r,void 0);return a[G].C=!0,jr(n),a},t.finishDraft=function(r,n){var a=r&&r[G],i=a.A;return Mr(i,n),Ur(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!vc&&ve(20),this.O=r},t.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var l=Pe("Patches").$;return Ue(r)?l(r,n):this.produce(r,function(s){return l(s,n)})},o}(),me=new Yl,Xl=me.produce,tg=me.produceWithPatches.bind(me),og=me.setAutoFreeze.bind(me),rg=me.setUseProxies.bind(me),ng=me.applyPatches.bind(me),ag=me.createDraft.bind(me),ig=me.finishDraft.bind(me),qo=Xl;function rt(o){"@babel/helpers - typeof";return rt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(o)}function en(o,t){if(rt(o)!=="object"||o===null)return o;var r=o[Symbol.toPrimitive];if(r!==void 0){var n=r.call(o,t||"default");if(rt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(o)}function tn(o){var t=en(o,"string");return rt(t)==="symbol"?t:String(t)}function on(o,t,r){return t=tn(t),t in o?Object.defineProperty(o,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[t]=r,o}function Ac(o,t){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(o,a).enumerable})),r.push.apply(r,n)}return r}function Yo(o){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ac(Object(r),!0).forEach(function(n){on(o,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(r)):Ac(Object(r)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(r,n))})}return o}function oe(o){return"Minified Redux error #"+o+"; visit https://redux.js.org/Errors?code="+o+" for the full message or use the non-minified dev environment for full errors. "}var Rc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),rn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Xo={INIT:"@@redux/INIT"+rn(),REPLACE:"@@redux/REPLACE"+rn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+rn()}};function Jl(o){if(typeof o!="object"||o===null)return!1;for(var t=o;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(o)===t}function nn(o,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(oe(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(oe(1));return r(nn)(o,t)}if(typeof o!="function")throw new Error(oe(2));var a=o,i=t,l=[],s=l,p=!1;function f(){s===l&&(s=l.slice())}function h(){if(p)throw new Error(oe(3));return i}function y(S){if(typeof S!="function")throw new Error(oe(4));if(p)throw new Error(oe(5));var R=!0;return f(),s.push(S),function(){if(R){if(p)throw new Error(oe(6));R=!1,f();var N=s.indexOf(S);s.splice(N,1),l=null}}}function m(S){if(!Jl(S))throw new Error(oe(7));if(typeof S.type>"u")throw new Error(oe(8));if(p)throw new Error(oe(9));try{p=!0,i=a(i,S)}finally{p=!1}for(var R=l=s,E=0;E<R.length;E++){var N=R[E];N()}return S}function b(S){if(typeof S!="function")throw new Error(oe(10));a=S,m({type:Xo.REPLACE})}function g(){var S,R=y;return S={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(oe(11));function P(){N.next&&N.next(h())}P();var T=R(P);return{unsubscribe:T}}},S[Rc]=function(){return this},S}return m({type:Xo.INIT}),n={dispatch:m,subscribe:y,getState:h,replaceReducer:b},n[Rc]=g,n}function Ql(o){Object.keys(o).forEach(function(t){var r=o[t],n=r(void 0,{type:Xo.INIT});if(typeof n>"u")throw new Error(oe(12));if(typeof r(void 0,{type:Xo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(oe(13))})}function Lc(o){for(var t=Object.keys(o),r={},n=0;n<t.length;n++){var a=t[n];typeof o[a]=="function"&&(r[a]=o[a])}var i=Object.keys(r),l,s;try{Ql(r)}catch(p){s=p}return function(f,h){if(f===void 0&&(f={}),s)throw s;if(0)var y;for(var m=!1,b={},g=0;g<i.length;g++){var S=i[g],R=r[S],E=f[S],N=R(E,h);if(typeof N>"u"){var P=h&&h.type;throw new Error(oe(14))}b[S]=N,m=m||N!==E}return m=m||i.length!==Object.keys(f).length,m?b:f}}function Ut(){for(var o=arguments.length,t=new Array(o),r=0;r<o;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Ic(){for(var o=arguments.length,t=new Array(o),r=0;r<o;r++)t[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(oe(15))},l={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},s=t.map(function(p){return p(l)});return i=Ut.apply(void 0,s)(a.dispatch),Yo(Yo({},a),{},{dispatch:i})}}}function Pc(o){var t=function(n){var a=n.dispatch,i=n.getState;return function(l){return function(s){return typeof s=="function"?s(a,i,o):l(s)}}};return t}var kc=Pc();kc.withExtraArgument=Pc;var an=kc;var Wc=function(){var o=function(t,r){return o=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])},o(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");o(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),es=function(o,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(f){return function(h){return p([f,h])}}function p(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=f[0]&2?a.return:f[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,f[1])).done)return i;switch(a=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){r.label=f[1];break}if(f[0]===6&&r.label<i[1]){r.label=i[1],i=f;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(f);break}i[2]&&r.ops.pop(),r.trys.pop();continue}f=t.call(o,r)}catch(h){f=[6,h],a=0}finally{n=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Ht=function(o,t){for(var r=0,n=t.length,a=o.length;r<n;r++,a++)o[a]=t[r];return o},ts=Object.defineProperty,os=Object.defineProperties,rs=Object.getOwnPropertyDescriptors,Tc=Object.getOwnPropertySymbols,ns=Object.prototype.hasOwnProperty,as=Object.prototype.propertyIsEnumerable,_c=function(o,t,r){return t in o?ts(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r},nt=function(o,t){for(var r in t||(t={}))ns.call(t,r)&&_c(o,r,t[r]);if(Tc)for(var n=0,a=Tc(t);n<a.length;n++){var r=a[n];as.call(t,r)&&_c(o,r,t[r])}return o},cn=function(o,t){return os(o,rs(t))},is=function(o,t,r){return new Promise(function(n,a){var i=function(p){try{s(r.next(p))}catch(f){a(f)}},l=function(p){try{s(r.throw(p))}catch(f){a(f)}},s=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(i,l)};s((r=r.apply(o,t)).next())})};var cs=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ut:Ut.apply(null,arguments)},wg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function ls(o){if(typeof o!="object"||o===null)return!1;var t=Object.getPrototypeOf(o);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var ss=function(o){Wc(t,o);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=o.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Ht([void 0],r[0].concat(this)))):new(t.bind.apply(t,Ht([void 0],r.concat(this))))},t}(Array),ds=function(o){Wc(t,o);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=o.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Ht([void 0],r[0].concat(this)))):new(t.bind.apply(t,Ht([void 0],r.concat(this))))},t}(Array);function dn(o){return Ne(o)?qo(o,function(){}):o}function fs(o){return typeof o=="boolean"}function ps(){return function(t){return us(t)}}function us(o){o===void 0&&(o={});var t=o.thunk,r=t===void 0?!0:t,n=o.immutableCheck,a=n===void 0?!0:n,i=o.serializableCheck,l=i===void 0?!0:i,s=new ss;if(r&&(fs(r)?s.push(an):s.push(an.withExtraArgument(r.extraArgument))),0){if(a)var p;if(l)var f}return s}var ln=!0;function Dc(o){var t=ps(),r=o||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,l=i===void 0?t():i,s=r.devTools,p=s===void 0?!0:s,f=r.preloadedState,h=f===void 0?void 0:f,y=r.enhancers,m=y===void 0?void 0:y,b;if(typeof a=="function")b=a;else if(ls(a))b=Lc(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 g=l;if(typeof g=="function"&&(g=g(t),!ln&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ln&&g.some(function(T){return typeof T!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=Ic.apply(void 0,g),R=Ut;p&&(R=cs(nt({trace:!ln},typeof p=="object"&&p)));var E=new ds(S),N=E;Array.isArray(m)?N=Ht([S],m):typeof m=="function"&&(N=m(E));var P=R.apply(void 0,N);return nn(b,h,P)}function at(o,t){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return nt(nt({type:o,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:o,payload:n[0]}}return r.toString=function(){return""+o},r.type=o,r.match=function(n){return n.type===o},r}function zc(o){var t={},r=[],n,a={addCase:function(i,l){var s=typeof i=="string"?i:i.type;if(s in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[s]=l,a},addMatcher:function(i,l){return r.push({matcher:i,reducer:l}),a},addDefaultCase:function(i){return n=i,a}};return o(a),[t,r,n]}function hs(o){return typeof o=="function"}function ys(o,t,r,n){r===void 0&&(r=[]);var a=typeof t=="function"?zc(t):[t,r,n],i=a[0],l=a[1],s=a[2],p;if(hs(o))p=function(){return dn(o())};else{var f=dn(o);p=function(){return f}}function h(y,m){y===void 0&&(y=p());var b=Ht([i[m.type]],l.filter(function(g){var S=g.matcher;return S(m)}).map(function(g){var S=g.reducer;return S}));return b.filter(function(g){return!!g}).length===0&&(b=[s]),b.reduce(function(g,S){if(S)if(Ue(g)){var R=g,E=S(R,m);return E===void 0?g:E}else{if(Ne(g))return qo(g,function(N){return S(N,m)});var E=S(g,m);if(E===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return g},y)}return h.getInitialState=p,h}function ms(o,t){return o+"/"+t}function Mc(o){var t=o.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof o.initialState=="function"?o.initialState:dn(o.initialState),n=o.reducers||{},a=Object.keys(n),i={},l={},s={};a.forEach(function(h){var y=n[h],m=ms(t,h),b,g;"reducer"in y?(b=y.reducer,g=y.prepare):b=y,i[h]=b,l[m]=b,s[h]=g?at(m,g):at(m)});function p(){var h=typeof o.extraReducers=="function"?zc(o.extraReducers):[o.extraReducers],y=h[0],m=y===void 0?{}:y,b=h[1],g=b===void 0?[]:b,S=h[2],R=S===void 0?void 0:S,E=nt(nt({},m),l);return ys(r,function(N){for(var P in E)N.addCase(P,E[P]);for(var T=0,D=g;T<D.length;T++){var ge=D[T];N.addMatcher(ge.matcher,ge.reducer)}R&&N.addDefaultCase(R)})}var f;return{name:t,reducer:function(h,y){return f||(f=p()),f(h,y)},actions:s,caseReducers:i,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var gs="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",bs=function(o){o===void 0&&(o=21);for(var t="",r=o;r--;)t+=gs[Math.random()*64|0];return t},xs=["name","message","stack","code"],sn=function(){function o(t,r){this.payload=t,this.meta=r}return o}(),Bc=function(){function o(t,r){this.payload=t,this.meta=r}return o}(),vs=function(o){if(typeof o=="object"&&o!==null){for(var t={},r=0,n=xs;r<n.length;r++){var a=n[r];typeof o[a]=="string"&&(t[a]=o[a])}return t}return{message:String(o)}},Rg=function(){function o(t,r,n){var a=at(t+"/fulfilled",function(h,y,m,b){return{payload:h,meta:cn(nt({},b||{}),{arg:m,requestId:y,requestStatus:"fulfilled"})}}),i=at(t+"/pending",function(h,y,m){return{payload:void 0,meta:cn(nt({},m||{}),{arg:y,requestId:h,requestStatus:"pending"})}}),l=at(t+"/rejected",function(h,y,m,b,g){return{payload:b,error:(n&&n.serializeError||vs)(h||"Rejected"),meta:cn(nt({},g||{}),{arg:m,requestId:y,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),s=!1,p=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(y,m,b){var g=n?.idGenerator?n.idGenerator(h):bs(),S=new p,R,E=!1;function N(T){R=T,S.abort()}var P=function(){return is(this,null,function(){var T,D,ge,He,fr,Ge,de;return es(this,function(be){switch(be.label){case 0:return be.trys.push([0,4,,5]),He=(T=n?.condition)==null?void 0:T.call(n,h,{getState:m,extra:b}),Os(He)?[4,He]:[3,2];case 1:He=be.sent(),be.label=2;case 2:if(He===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,fr=new Promise(function(fe,ct){return S.signal.addEventListener("abort",function(){return ct({name:"AbortError",message:R||"Aborted"})})}),y(i(g,h,(D=n?.getPendingMeta)==null?void 0:D.call(n,{requestId:g,arg:h},{getState:m,extra:b}))),[4,Promise.race([fr,Promise.resolve(r(h,{dispatch:y,getState:m,extra:b,requestId:g,signal:S.signal,abort:N,rejectWithValue:function(fe,ct){return new sn(fe,ct)},fulfillWithValue:function(fe,ct){return new Bc(fe,ct)}})).then(function(fe){if(fe instanceof sn)throw fe;return fe instanceof Bc?a(fe.payload,g,h,fe.meta):a(fe,g,h)})])];case 3:return ge=be.sent(),[3,5];case 4:return Ge=be.sent(),ge=Ge instanceof sn?l(null,g,h,Ge.payload,Ge.meta):l(Ge,g,h),[3,5];case 5:return de=n&&!n.dispatchConditionRejection&&l.match(ge)&&ge.meta.condition,de||y(ge),[2,ge]}})})}();return Object.assign(P,{abort:N,requestId:g,arg:h,unwrap:function(){return P.then(Ss)}})}}return Object.assign(f,{pending:i,rejected:l,fulfilled:a,typePrefix:t})}return o.withTypes=function(){return o},o}();function Ss(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function Os(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var Uc="listener",Hc="completed",Gc="cancelled",Lg="task-"+Gc,Ig="task-"+Hc,Pg=Uc+"-"+Gc,kg=Uc+"-"+Hc;var fn="listenerMiddleware";var Tg=at(fn+"/add"),_g=at(fn+"/removeAll"),Bg=at(fn+"/remove");var $c,$g=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return($c||($c=Promise.resolve())).then(o).catch(function(t){return setTimeout(function(){throw t},0)})},Cs=function(o){return function(t){setTimeout(t,o)}},Wg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Cs(10);wc();function ws(o,t){return class extends o{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}var Jo=class extends ws(Object){};window.ftReduxStores||(window.ftReduxStores={});var Fc=class o extends Jo{static get(t){var r;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(lo(i))return i;if(a==null)return;let l=Mc({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),s=Dc({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:l.reducer(p,f)});return window.ftReduxStores[a.name]=new o(l,s)}constructor(t,r){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Uo;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,i,l)=>{let s=i,p=a[s];return p?(...f)=>{let h=p(...f.map(n));return this.reduxStore.dispatch(h),h}:f=>{this.setState({[s]:n(f)})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var or=x(L());var Qo=class extends Xe{async listMySearches(){let t=I.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var er=class extends Xe{async listMyBookmarks(){let t=I.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var Ns="ft-user-assets",tr=or.FtReduxStore.get({name:Ns,initialState:{savedSearches:void 0,bookmarks:void 0}}),pn=class{constructor(){this.currentSession=I.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new er,this.savedSearchesService=new Qo,I.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=I.getState();(0,or.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),tr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),tr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();tr.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;tr.actions.bookmarks(r)}}},bb=new pn;var un=class{addCommand(t,r=!1){I.commands.add(t,r)}consumeCommand(t){return I.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new un;var jc=x(L()),hn=class{highlightHtml(t,r,n){(0,jc.highlightHtml)(t,r,n)}};window.FluidTopicsHighlightHtmlService=new hn;var Vc=x(L());var yn=class{isDate(t){var r,n,a,i;return(i=(a=((n=(r=I.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(s=>s.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,r){var n,a,i;return Vc.DateFormatter.format(t,(n=r?.locale)!==null&&n!==void 0?n:I.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new yn;var As=x(L());(0,Kc.customElement)("ft-app-context")(V);var qc=x(Z()),Rs=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},mn=Symbol("i18nAttributes"),gn=Symbol("i18nListAttributes"),rr=Symbol("i18nProperties"),bn=Symbol("i18nManualContexts"),yo=Symbol("i18nUnsubs");function ir(o){var t,r;class n extends o{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[r]=new Map}get i18nService(){return this.useCustomMessageContexts?tc:bt}i18n(i,l,...s){var p;if(typeof i=="string")return this.i18nService.resolveMessage(i,l,...s);let f=(p=i.args)!==null&&p!==void 0?p:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...f)}onI18nUpdate(i){var l,s,p;(l=this[mn])===null||l===void 0||l.forEach((f,h)=>{let y=this.getI18nAttributeValue(h);y&&(this[h]=this.getI18nAttributeMessage(y,f,i))}),(s=this[gn])===null||s===void 0||s.forEach((f,h)=>{let y=this.getI18nListAttributeValues(h);this[h]=y?.map(m=>this.getI18nAttributeMessage(m,f,i))}),(p=this[rr])===null||p===void 0||p.forEach((f,h)=>{f.context.toLowerCase()===i.toLowerCase()&&(this[h]=this.i18n(f))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(i,l){return{...i,message:this.i18n({context:i.context,key:i.key,...l})}}getI18nAttributeMessage(i,l,s){var p;let f=!s||((p=i.context)===null||p===void 0?void 0:p.toLowerCase())===s.toLowerCase();return i.context&&i.key&&f?this.buildI18nAttributeMessage(i,l):i}update(i){var l,s,p;super.update(i),(l=this[mn])===null||l===void 0||l.forEach((f,h)=>{let y=this.getI18nAttributeValue(h);y?.context&&y.key&&(i.has(h)||f.argsProvider!=null)&&(this.addI18nContextIfNeeded(y,i,h),this[h]=this.getI18nAttributeMessage(y,f))}),(s=this[gn])===null||s===void 0||s.forEach((f,h)=>{let y=this.getI18nListAttributeValues(h);(i.has(h)||f.argsProvider!=null)&&(this[h]=y?.map(m=>(this.addI18nContextIfNeeded(m,i,h),this.getI18nAttributeMessage(m,f))))}),(p=this[rr])===null||p===void 0||p.forEach((f,h)=>{f.argsProvider!=null&&(this[h]=this.i18n(f))})}getI18nAttributeValue(i){return this[i]}getI18nListAttributeValues(i){return this[i]}addI18nContextIfNeeded(i,l,s){i.context&&i.key&&l.has(s)&&this.addI18nContext(i.context)}addI18nMessagesAndSubscribe(i,l){i=i.toLowerCase(),this[yo].has(i)||this[yo].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,l??{}),this.onI18nUpdate(i)}connectedCallback(){var i,l,s,p,f,h;super.connectedCallback(),new Set([...(l=(i=this[rr])===null||i===void 0?void 0:i.values())!==null&&l!==void 0?l:[],...[...(p=(s=this[mn])===null||s===void 0?void 0:s.keys())!==null&&p!==void 0?p:[]].map(y=>this.getI18nAttributeValue(y)),...[...(h=(f=this[gn])===null||f===void 0?void 0:f.keys())!==null&&h!==void 0?h:[]].flatMap(y=>this.getI18nListAttributeValues(y))].map(y=>y?.context)).forEach(y=>y&&this.addI18nMessages(y)),this[bn].forEach((y,m)=>{this.addI18nMessages(m,y)})}addI18nMessages(i,l){this[bn].set(i,l??{}),this.addI18nMessagesAndSubscribe(i,l)}addI18nContext(i,l){this.addI18nMessages(typeof i=="string"?i:i.name,l)}disconnectedCallback(){super.disconnectedCallback(),this[yo].forEach(i=>i()),this[yo].clear()}}return t=bn,r=yo,Rs([(0,qc.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var Zc=class extends ir(ar.FtLitElement){},nr=class extends ir(ar.FtLitElementRedux){};var mo=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ae=class extends nr{constructor(){super(),this.editorMode=!1,this.addStore(I)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":cr.nothing:cr.html`
1185
+ `}update(t){var r,n,a,i,l;super.update(t),t.has("baseUrl")&&(I.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&I.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&I.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&I.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&I.actions.noCustom(this.noCustom),t.has("editorMode")&&I.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&I.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&I.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(s=>bt.addContext(s)),t.has("openExternalDocumentInNewTab")&&I.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&I.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&I.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(I.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),I.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),I.actions.searchInAllLanguagesAllowed((l=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&l!==void 0?l:!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 t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};V.elementDefinitions={};V.styles=Qi;te([(0,se.property)()],V.prototype,"baseUrl",void 0);te([(0,se.property)()],V.prototype,"apiIntegrationIdentifier",void 0);te([(0,se.property)()],V.prototype,"uiLocale",void 0);te([(0,Ee.jsonProperty)(null)],V.prototype,"availableUiLocales",void 0);te([(0,Ee.jsonProperty)(null)],V.prototype,"metadataConfiguration",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"editorMode",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"noCustom",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"openExternalDocumentInNewTab",void 0);te([(0,se.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],V.prototype,"noCustomComponent",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"withManualResources",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"navigatorOnline",void 0);te([(0,se.property)({type:Boolean})],V.prototype,"forcedOffline",void 0);te([(0,se.property)({type:Object})],V.prototype,"apiProvider",void 0);te([(0,Ee.jsonProperty)([])],V.prototype,"messageContexts",void 0);te([(0,Ee.jsonProperty)(void 0)],V.prototype,"session",void 0);te([(0,se.state)()],V.prototype,"localesConfiguration",void 0);var Es=x(Z());function zl(o,t){if(o===t)return!0;if(o&&t&&typeof o=="object"&&typeof t=="object"){if(o.constructor!==t.constructor)return!1;var r,n,a;if(Array.isArray(o)){if(r=o.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!zo(o[n],t[n]))return!1;return!0}if(o instanceof Map&&t instanceof Map){if(o.size!==t.size)return!1;for(n of o.entries())if(!t.has(n[0]))return!1;for(n of o.entries())if(!zo(n[1],t.get(n[0])))return!1;return!0}if(o instanceof Set&&t instanceof Set){if(o.size!==t.size)return!1;for(n of o.entries())if(!t.has(n[0]))return!1;return!0}if(o.constructor===RegExp)return o.source===t.source&&o.flags===t.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===t.valueOf();let i=l=>Object.keys(l).filter(s=>l[s]!=null);if(a=i(o),r=a.length,r!==i(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){let l=a[n];if(!zo(o[l],t[l]))return!1}return!0}return o!==o&&t!==t||o==null&&t==null}function zo(o,t){try{return zl(o,t)}catch{return!1}}function Mo(o,t){return!zo(o,t)}var Ml=x(Z(),1);var Uo=class{constructor(){this.queue=[]}add(t,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};var co=x(Z(),1);var rc=x(Z(),1);function nc(o,t){let r=()=>JSON.parse(JSON.stringify(o));return(0,rc.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Mo,...t??{}})}var Ho=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(s){a(s);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 ic=x($(),1);var Go=window,Ul=Go.ShadowRoot&&(Go.ShadyCSS===void 0||Go.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Gm=Symbol();var ac=(o,t)=>{Ul?o.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),a=Go.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,o.appendChild(n)})};var Fo=class extends ic.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return ac(n,t.elementStyles),n}};var jo=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},dc,cc=Symbol("constructorPrototype"),lc=Symbol("constructorName"),fc=Symbol("exportpartsDebouncer"),sc=Symbol("dynamicDependenciesLoaded"),Qe=class extends Fo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[dc]=new Ho(5),this[lc]=this.constructor.name,this[cc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[lc]&&Object.setPrototypeOf(this,this[cc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let t=this.constructor;t[sc]||(t[sc]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.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 t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[fc].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(t){var r,n,a,i,l,s;let p=m=>m!=null&&m.trim().length>0,f=t.filter(p).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.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:[],g=(s=(l=m.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(S=>S.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...b,...g).filter(p).map(S=>S.trim()).forEach(S=>h.add(S))}if(h.size===0){this.removeAttribute("exportparts");return}let y=[...h.values()].flatMap(m=>f.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};dc=fc;jo([(0,co.property)()],Qe.prototype,"exportpartsPrefix",void 0);jo([nc([])],Qe.prototype,"exportpartsPrefixes",void 0);jo([(0,co.property)()],Qe.prototype,"customStylesheet",void 0);jo([(0,co.state)()],Qe.prototype,"useAdoptedStyleSheets",void 0);function lo(o){var t;return(t=o?.isFtReduxStore)!==null&&t!==void 0?t:!1}var pc,uc,hc,so=Symbol("internalReduxEventsUnsubscribers"),et=Symbol("internalStoresUnsubscribers"),xt=Symbol("internalStores"),fo=class extends Qe{constructor(){super(...arguments),this[pc]=new Map,this[uc]=new Map,this[hc]=new Map}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(r=>t.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[xt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[xt].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[xt].get(t)}addStore(t,r){var n;r=(n=r??(lo(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[xt].set(r,t),this.subscribeToStore(r,t),this.updateFromStores()}removeStore(t){let r=typeof t=="string"?t:t.name;this.unsubscribeFromStore(r),this[xt].delete(r)}setupStores(){this.unsubscribeFromStores(),this[xt].forEach((t,r)=>this.subscribeToStore(r,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let a=this.getStore(t.store);a&&(t.store?this[et].has(t.store):this[et].size>0)&&(this[r]=t.selector(a.getState(),this))}})}subscribeToStore(t,r){var n;this[et].set(t,r.subscribe(()=>this.updateFromStores())),this[so].set(t,[]),lo(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||r.name===a.store)){let l=s=>this[i](s);r.addEventListener(a.eventName,l),this[so].get(t).push(()=>r.removeEventListener(a.eventName,l))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[et].forEach((t,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(t){var r;this[et].has(t)&&this[et].get(t)(),this[et].delete(t),(r=this[so].get(t))===null||r===void 0||r.forEach(n=>n()),this[so].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};pc=et,uc=xt,hc=so;fo.reduxProperties=new Map;fo.reduxReactiveProperties=new Set;fo.reduxEventListeners=new Map;function ve(o){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+o+(r.length?" "+r.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ue(o){return!!o&&!!o[G]}function Ne(o){var t;return!!o&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===ql}(o)||Array.isArray(o)||!!o[Sc]||!!(!((t=o.constructor)===null||t===void 0)&&t[Sc])||Zr(o)||qr(o))}function vt(o,t,r){r===void 0&&(r=!1),Mt(o)===0?(r?Object.keys:zt)(o).forEach(function(n){r&&typeof n=="symbol"||t(n,o[n],o)}):o.forEach(function(n,a){return t(a,n,o)})}function Mt(o){var t=o[G];return t?t.i>3?t.i-4:t.i:Array.isArray(o)?1:Zr(o)?2:qr(o)?3:0}function Dt(o,t){return Mt(o)===2?o.has(t):Object.prototype.hasOwnProperty.call(o,t)}function Hl(o,t){return Mt(o)===2?o.get(t):o[t]}function Oc(o,t,r){var n=Mt(o);n===2?o.set(t,r):n===3?o.add(r):o[t]=r}function Cc(o,t){return o===t?o!==0||1/o==1/t:o!=o&&t!=t}function Zr(o){return Kl&&o instanceof Map}function qr(o){return Zl&&o instanceof Set}function tt(o){return o.o||o.t}function Yr(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var t=Nc(o);delete t[G];for(var r=zt(t),n=0;n<r.length;n++){var a=r[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:o[a]})}return Object.create(Object.getPrototypeOf(o),t)}function Xr(o,t){return t===void 0&&(t=!1),Jr(o)||Ue(o)||!Ne(o)||(Mt(o)>1&&(o.set=o.add=o.clear=o.delete=Gl),Object.freeze(o),t&&vt(o,function(r,n){return Xr(n,!0)},!0)),o}function Gl(){ve(2)}function Jr(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function Pe(o){var t=Kr[o];return t||ve(18,o),t}function Fl(o,t){Kr[o]||(Kr[o]=t)}function Fr(){return uo}function Mr(o,t){t&&(Pe("Patches"),o.u=[],o.s=[],o.v=t)}function Vo(o){jr(o),o.p.forEach(jl),o.p=null}function jr(o){o===uo&&(uo=o.l)}function yc(o){return uo={p:[],l:uo,h:o,m:!0,_:0}}function jl(o){var t=o[G];t.i===0||t.i===1?t.j():t.g=!0}function Ur(o,t){t._=t.p.length;var r=t.p[0],n=o!==void 0&&o!==r;return t.h.O||Pe("ES5").S(t,o,n),n?(r[G].P&&(Vo(t),ve(4)),Ne(o)&&(o=Ko(t,o),t.l||Zo(t,o)),t.u&&Pe("Patches").M(r[G].t,o,t.u,t.s)):o=Ko(t,r,[]),Vo(t),t.u&&t.v(t.u,t.s),o!==Ec?o:void 0}function Ko(o,t,r){if(Jr(t))return t;var n=t[G];if(!n)return vt(t,function(s,p){return mc(o,n,t,s,p,r)},!0),t;if(n.A!==o)return t;if(!n.P)return Zo(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Yr(n.k):n.o,i=a,l=!1;n.i===3&&(i=new Set(a),a.clear(),l=!0),vt(i,function(s,p){return mc(o,n,a,s,p,r,l)}),Zo(o,a,!1),r&&o.u&&Pe("Patches").N(n,r,o.u,o.s)}return n.o}function mc(o,t,r,n,a,i,l){if(Ue(a)){var s=Ko(o,a,i&&t&&t.i!==3&&!Dt(t.R,n)?i.concat(n):void 0);if(Oc(r,n,s),!Ue(s))return;o.m=!1}else l&&r.add(a);if(Ne(a)&&!Jr(a)){if(!o.h.D&&o._<1)return;Ko(o,a),t&&t.A.l||Zo(o,a)}}function Zo(o,t,r){r===void 0&&(r=!1),!o.l&&o.h.D&&o.m&&Xr(t,r)}function Hr(o,t){var r=o[G];return(r?tt(r):o)[t]}function gc(o,t){if(t in o)for(var r=Object.getPrototypeOf(o);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function ot(o){o.P||(o.P=!0,o.l&&ot(o.l))}function Gr(o){o.o||(o.o=Yr(o.t))}function Vr(o,t,r){var n=Zr(t)?Pe("MapSet").F(t,r):qr(t)?Pe("MapSet").T(t,r):o.O?function(a,i){var l=Array.isArray(a),s={i:l?1:0,A:i?i.A:Fr(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=s,f=ho;l&&(p=[s],f=po);var h=Proxy.revocable(p,f),y=h.revoke,m=h.proxy;return s.k=m,s.j=y,m}(t,r):Pe("ES5").J(t,r);return(r?r.A:Fr()).p.push(n),n}function Vl(o){return Ue(o)||ve(22,o),function t(r){if(!Ne(r))return r;var n,a=r[G],i=Mt(r);if(a){if(!a.P&&(a.i<4||!Pe("ES5").K(a)))return a.t;a.I=!0,n=bc(r,i),a.I=!1}else n=bc(r,i);return vt(n,function(l,s){a&&Hl(a.t,l)===s||Oc(n,l,t(s))}),i===3?new Set(n):n}(o)}function bc(o,t){switch(t){case 2:return new Map(o);case 3:return Array.from(o)}return Yr(o)}function wc(){function o(l,s){var p=i[l];return p?p.enumerable=s:i[l]=p={configurable:!0,enumerable:s,get:function(){var f=this[G];return ho.get(f,l)},set:function(f){var h=this[G];ho.set(h,l,f)}},p}function t(l){for(var s=l.length-1;s>=0;s--){var p=l[s][G];if(!p.P)switch(p.i){case 5:n(p)&&ot(p);break;case 4:r(p)&&ot(p)}}}function r(l){for(var s=l.t,p=l.k,f=zt(p),h=f.length-1;h>=0;h--){var y=f[h];if(y!==G){var m=s[y];if(m===void 0&&!Dt(s,y))return!0;var b=p[y],g=b&&b[G];if(g?g.t!==m:!Cc(b,m))return!0}}var S=!!s[G];return f.length!==zt(s).length+(S?0:1)}function n(l){var s=l.k;if(s.length!==l.t.length)return!0;var p=Object.getOwnPropertyDescriptor(s,s.length-1);if(p&&!p.get)return!0;for(var f=0;f<s.length;f++)if(!s.hasOwnProperty(f))return!0;return!1}function a(l){l.g&&ve(3,JSON.stringify(tt(l)))}var i={};Fl("ES5",{J:function(l,s){var p=Array.isArray(l),f=function(y,m){if(y){for(var b=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(b,""+g,o(g,!0));return b}var S=Nc(m);delete S[G];for(var R=zt(S),E=0;E<R.length;E++){var N=R[E];S[N]=o(N,y||!!S[N].enumerable)}return Object.create(Object.getPrototypeOf(m),S)}(p,l),h={i:p?5:4,A:s?s.A:Fr(),P:!1,I:!1,R:{},l:s,t:l,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,G,{value:h,writable:!0}),f},S:function(l,s,p){p?Ue(s)&&s[G].A===l&&t(l.p):(l.u&&function f(h){if(h&&typeof h=="object"){var y=h[G];if(y){var m=y.t,b=y.k,g=y.R,S=y.i;if(S===4)vt(b,function(T){T!==G&&(m[T]!==void 0||Dt(m,T)?g[T]||f(b[T]):(g[T]=!0,ot(y)))}),vt(m,function(T){b[T]!==void 0||Dt(b,T)||(g[T]=!1,ot(y))});else if(S===5){if(n(y)&&(ot(y),g.length=!0),b.length<m.length)for(var R=b.length;R<m.length;R++)g[R]=!1;else for(var E=m.length;E<b.length;E++)g[E]=!0;for(var N=Math.min(b.length,m.length),P=0;P<N;P++)b.hasOwnProperty(P)||(g[P]=!0),g[P]===void 0&&f(b[P])}}}}(l.p[0]),t(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var xc,uo,Qr=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Kl=typeof Map<"u",Zl=typeof Set<"u",vc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ec=Qr?Symbol.for("immer-nothing"):((xc={})["immer-nothing"]=!0,xc),Sc=Qr?Symbol.for("immer-draftable"):"__$immer_draftable",G=Qr?Symbol.for("immer-state"):"__$immer_state";var ql=""+Object.prototype.constructor,zt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:Object.getOwnPropertyNames,Nc=Object.getOwnPropertyDescriptors||function(o){var t={};return zt(o).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(o,r)}),t},Kr={},ho={get:function(o,t){if(t===G)return o;var r=tt(o);if(!Dt(r,t))return function(a,i,l){var s,p=gc(i,l);return p?"value"in p?p.value:(s=p.get)===null||s===void 0?void 0:s.call(a.k):void 0}(o,r,t);var n=r[t];return o.I||!Ne(n)?n:n===Hr(o.t,t)?(Gr(o),o.o[t]=Vr(o.A.h,n,o)):n},has:function(o,t){return t in tt(o)},ownKeys:function(o){return Reflect.ownKeys(tt(o))},set:function(o,t,r){var n=gc(tt(o),t);if(n?.set)return n.set.call(o.k,r),!0;if(!o.P){var a=Hr(tt(o),t),i=a?.[G];if(i&&i.t===r)return o.o[t]=r,o.R[t]=!1,!0;if(Cc(r,a)&&(r!==void 0||Dt(o.t,t)))return!0;Gr(o),ot(o)}return o.o[t]===r&&(r!==void 0||t in o.o)||Number.isNaN(r)&&Number.isNaN(o.o[t])||(o.o[t]=r,o.R[t]=!0),!0},deleteProperty:function(o,t){return Hr(o.t,t)!==void 0||t in o.t?(o.R[t]=!1,Gr(o),ot(o)):delete o.R[t],o.o&&delete o.o[t],!0},getOwnPropertyDescriptor:function(o,t){var r=tt(o),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:o.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){ve(11)},getPrototypeOf:function(o){return Object.getPrototypeOf(o.t)},setPrototypeOf:function(){ve(12)}},po={};vt(ho,function(o,t){po[o]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),po.deleteProperty=function(o,t){return po.set.call(this,o,t,void 0)},po.set=function(o,t,r){return ho.set.call(this,o[0],t,r,o[0])};var Yl=function(){function o(r){var n=this;this.O=vc,this.D=!0,this.produce=function(a,i,l){if(typeof a=="function"&&typeof i!="function"){var s=i;i=a;var p=n;return function(S){var R=this;S===void 0&&(S=s);for(var E=arguments.length,N=Array(E>1?E-1:0),P=1;P<E;P++)N[P-1]=arguments[P];return p.produce(S,function(T){var D;return(D=i).call.apply(D,[R,T].concat(N))})}}var f;if(typeof i!="function"&&ve(6),l!==void 0&&typeof l!="function"&&ve(7),Ne(a)){var h=yc(n),y=Vr(n,a,void 0),m=!0;try{f=i(y),m=!1}finally{m?Vo(h):jr(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(S){return Mr(h,l),Ur(S,h)},function(S){throw Vo(h),S}):(Mr(h,l),Ur(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===Ec&&(f=void 0),n.D&&Xr(f,!0),l){var b=[],g=[];Pe("Patches").M(a,f,b,g),l(b,g)}return f}ve(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){for(var h=arguments.length,y=Array(h>1?h-1:0),m=1;m<h;m++)y[m-1]=arguments[m];return n.produceWithPatches(f,function(b){return a.apply(void 0,[b].concat(y))})};var l,s,p=n.produce(a,i,function(f,h){l=f,s=h});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,l,s]}):[p,l,s]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=o.prototype;return t.createDraft=function(r){Ne(r)||ve(8),Ue(r)&&(r=Vl(r));var n=yc(this),a=Vr(this,r,void 0);return a[G].C=!0,jr(n),a},t.finishDraft=function(r,n){var a=r&&r[G],i=a.A;return Mr(i,n),Ur(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!vc&&ve(20),this.O=r},t.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var l=Pe("Patches").$;return Ue(r)?l(r,n):this.produce(r,function(s){return l(s,n)})},o}(),me=new Yl,Xl=me.produce,tg=me.produceWithPatches.bind(me),og=me.setAutoFreeze.bind(me),rg=me.setUseProxies.bind(me),ng=me.applyPatches.bind(me),ag=me.createDraft.bind(me),ig=me.finishDraft.bind(me),qo=Xl;function rt(o){"@babel/helpers - typeof";return rt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(o)}function en(o,t){if(rt(o)!=="object"||o===null)return o;var r=o[Symbol.toPrimitive];if(r!==void 0){var n=r.call(o,t||"default");if(rt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(o)}function tn(o){var t=en(o,"string");return rt(t)==="symbol"?t:String(t)}function on(o,t,r){return t=tn(t),t in o?Object.defineProperty(o,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[t]=r,o}function Ac(o,t){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(o,a).enumerable})),r.push.apply(r,n)}return r}function Yo(o){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ac(Object(r),!0).forEach(function(n){on(o,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(r)):Ac(Object(r)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(r,n))})}return o}function oe(o){return"Minified Redux error #"+o+"; visit https://redux.js.org/Errors?code="+o+" for the full message or use the non-minified dev environment for full errors. "}var Rc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),rn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Xo={INIT:"@@redux/INIT"+rn(),REPLACE:"@@redux/REPLACE"+rn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+rn()}};function Jl(o){if(typeof o!="object"||o===null)return!1;for(var t=o;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(o)===t}function nn(o,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(oe(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(oe(1));return r(nn)(o,t)}if(typeof o!="function")throw new Error(oe(2));var a=o,i=t,l=[],s=l,p=!1;function f(){s===l&&(s=l.slice())}function h(){if(p)throw new Error(oe(3));return i}function y(S){if(typeof S!="function")throw new Error(oe(4));if(p)throw new Error(oe(5));var R=!0;return f(),s.push(S),function(){if(R){if(p)throw new Error(oe(6));R=!1,f();var N=s.indexOf(S);s.splice(N,1),l=null}}}function m(S){if(!Jl(S))throw new Error(oe(7));if(typeof S.type>"u")throw new Error(oe(8));if(p)throw new Error(oe(9));try{p=!0,i=a(i,S)}finally{p=!1}for(var R=l=s,E=0;E<R.length;E++){var N=R[E];N()}return S}function b(S){if(typeof S!="function")throw new Error(oe(10));a=S,m({type:Xo.REPLACE})}function g(){var S,R=y;return S={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(oe(11));function P(){N.next&&N.next(h())}P();var T=R(P);return{unsubscribe:T}}},S[Rc]=function(){return this},S}return m({type:Xo.INIT}),n={dispatch:m,subscribe:y,getState:h,replaceReducer:b},n[Rc]=g,n}function Ql(o){Object.keys(o).forEach(function(t){var r=o[t],n=r(void 0,{type:Xo.INIT});if(typeof n>"u")throw new Error(oe(12));if(typeof r(void 0,{type:Xo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(oe(13))})}function Lc(o){for(var t=Object.keys(o),r={},n=0;n<t.length;n++){var a=t[n];typeof o[a]=="function"&&(r[a]=o[a])}var i=Object.keys(r),l,s;try{Ql(r)}catch(p){s=p}return function(f,h){if(f===void 0&&(f={}),s)throw s;if(0)var y;for(var m=!1,b={},g=0;g<i.length;g++){var S=i[g],R=r[S],E=f[S],N=R(E,h);if(typeof N>"u"){var P=h&&h.type;throw new Error(oe(14))}b[S]=N,m=m||N!==E}return m=m||i.length!==Object.keys(f).length,m?b:f}}function Ut(){for(var o=arguments.length,t=new Array(o),r=0;r<o;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Ic(){for(var o=arguments.length,t=new Array(o),r=0;r<o;r++)t[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(oe(15))},l={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},s=t.map(function(p){return p(l)});return i=Ut.apply(void 0,s)(a.dispatch),Yo(Yo({},a),{},{dispatch:i})}}}function Pc(o){var t=function(n){var a=n.dispatch,i=n.getState;return function(l){return function(s){return typeof s=="function"?s(a,i,o):l(s)}}};return t}var kc=Pc();kc.withExtraArgument=Pc;var an=kc;var Wc=function(){var o=function(t,r){return o=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])},o(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");o(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),es=function(o,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(f){return function(h){return p([f,h])}}function p(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=f[0]&2?a.return:f[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,f[1])).done)return i;switch(a=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){r.label=f[1];break}if(f[0]===6&&r.label<i[1]){r.label=i[1],i=f;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(f);break}i[2]&&r.ops.pop(),r.trys.pop();continue}f=t.call(o,r)}catch(h){f=[6,h],a=0}finally{n=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Ht=function(o,t){for(var r=0,n=t.length,a=o.length;r<n;r++,a++)o[a]=t[r];return o},ts=Object.defineProperty,os=Object.defineProperties,rs=Object.getOwnPropertyDescriptors,Tc=Object.getOwnPropertySymbols,ns=Object.prototype.hasOwnProperty,as=Object.prototype.propertyIsEnumerable,_c=function(o,t,r){return t in o?ts(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r},nt=function(o,t){for(var r in t||(t={}))ns.call(t,r)&&_c(o,r,t[r]);if(Tc)for(var n=0,a=Tc(t);n<a.length;n++){var r=a[n];as.call(t,r)&&_c(o,r,t[r])}return o},cn=function(o,t){return os(o,rs(t))},is=function(o,t,r){return new Promise(function(n,a){var i=function(p){try{s(r.next(p))}catch(f){a(f)}},l=function(p){try{s(r.throw(p))}catch(f){a(f)}},s=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(i,l)};s((r=r.apply(o,t)).next())})};var cs=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ut:Ut.apply(null,arguments)},wg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function ls(o){if(typeof o!="object"||o===null)return!1;var t=Object.getPrototypeOf(o);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var ss=function(o){Wc(t,o);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=o.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Ht([void 0],r[0].concat(this)))):new(t.bind.apply(t,Ht([void 0],r.concat(this))))},t}(Array),ds=function(o){Wc(t,o);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=o.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Ht([void 0],r[0].concat(this)))):new(t.bind.apply(t,Ht([void 0],r.concat(this))))},t}(Array);function dn(o){return Ne(o)?qo(o,function(){}):o}function fs(o){return typeof o=="boolean"}function ps(){return function(t){return us(t)}}function us(o){o===void 0&&(o={});var t=o.thunk,r=t===void 0?!0:t,n=o.immutableCheck,a=n===void 0?!0:n,i=o.serializableCheck,l=i===void 0?!0:i,s=new ss;if(r&&(fs(r)?s.push(an):s.push(an.withExtraArgument(r.extraArgument))),0){if(a)var p;if(l)var f}return s}var ln=!0;function Dc(o){var t=ps(),r=o||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,l=i===void 0?t():i,s=r.devTools,p=s===void 0?!0:s,f=r.preloadedState,h=f===void 0?void 0:f,y=r.enhancers,m=y===void 0?void 0:y,b;if(typeof a=="function")b=a;else if(ls(a))b=Lc(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 g=l;if(typeof g=="function"&&(g=g(t),!ln&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ln&&g.some(function(T){return typeof T!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=Ic.apply(void 0,g),R=Ut;p&&(R=cs(nt({trace:!ln},typeof p=="object"&&p)));var E=new ds(S),N=E;Array.isArray(m)?N=Ht([S],m):typeof m=="function"&&(N=m(E));var P=R.apply(void 0,N);return nn(b,h,P)}function at(o,t){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return nt(nt({type:o,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:o,payload:n[0]}}return r.toString=function(){return""+o},r.type=o,r.match=function(n){return n.type===o},r}function zc(o){var t={},r=[],n,a={addCase:function(i,l){var s=typeof i=="string"?i:i.type;if(s in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[s]=l,a},addMatcher:function(i,l){return r.push({matcher:i,reducer:l}),a},addDefaultCase:function(i){return n=i,a}};return o(a),[t,r,n]}function hs(o){return typeof o=="function"}function ys(o,t,r,n){r===void 0&&(r=[]);var a=typeof t=="function"?zc(t):[t,r,n],i=a[0],l=a[1],s=a[2],p;if(hs(o))p=function(){return dn(o())};else{var f=dn(o);p=function(){return f}}function h(y,m){y===void 0&&(y=p());var b=Ht([i[m.type]],l.filter(function(g){var S=g.matcher;return S(m)}).map(function(g){var S=g.reducer;return S}));return b.filter(function(g){return!!g}).length===0&&(b=[s]),b.reduce(function(g,S){if(S)if(Ue(g)){var R=g,E=S(R,m);return E===void 0?g:E}else{if(Ne(g))return qo(g,function(N){return S(N,m)});var E=S(g,m);if(E===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return g},y)}return h.getInitialState=p,h}function ms(o,t){return o+"/"+t}function Mc(o){var t=o.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof o.initialState=="function"?o.initialState:dn(o.initialState),n=o.reducers||{},a=Object.keys(n),i={},l={},s={};a.forEach(function(h){var y=n[h],m=ms(t,h),b,g;"reducer"in y?(b=y.reducer,g=y.prepare):b=y,i[h]=b,l[m]=b,s[h]=g?at(m,g):at(m)});function p(){var h=typeof o.extraReducers=="function"?zc(o.extraReducers):[o.extraReducers],y=h[0],m=y===void 0?{}:y,b=h[1],g=b===void 0?[]:b,S=h[2],R=S===void 0?void 0:S,E=nt(nt({},m),l);return ys(r,function(N){for(var P in E)N.addCase(P,E[P]);for(var T=0,D=g;T<D.length;T++){var ge=D[T];N.addMatcher(ge.matcher,ge.reducer)}R&&N.addDefaultCase(R)})}var f;return{name:t,reducer:function(h,y){return f||(f=p()),f(h,y)},actions:s,caseReducers:i,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var gs="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",bs=function(o){o===void 0&&(o=21);for(var t="",r=o;r--;)t+=gs[Math.random()*64|0];return t},xs=["name","message","stack","code"],sn=function(){function o(t,r){this.payload=t,this.meta=r}return o}(),Bc=function(){function o(t,r){this.payload=t,this.meta=r}return o}(),vs=function(o){if(typeof o=="object"&&o!==null){for(var t={},r=0,n=xs;r<n.length;r++){var a=n[r];typeof o[a]=="string"&&(t[a]=o[a])}return t}return{message:String(o)}},Rg=function(){function o(t,r,n){var a=at(t+"/fulfilled",function(h,y,m,b){return{payload:h,meta:cn(nt({},b||{}),{arg:m,requestId:y,requestStatus:"fulfilled"})}}),i=at(t+"/pending",function(h,y,m){return{payload:void 0,meta:cn(nt({},m||{}),{arg:y,requestId:h,requestStatus:"pending"})}}),l=at(t+"/rejected",function(h,y,m,b,g){return{payload:b,error:(n&&n.serializeError||vs)(h||"Rejected"),meta:cn(nt({},g||{}),{arg:m,requestId:y,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),s=!1,p=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(y,m,b){var g=n?.idGenerator?n.idGenerator(h):bs(),S=new p,R,E=!1;function N(T){R=T,S.abort()}var P=function(){return is(this,null,function(){var T,D,ge,He,fr,Ge,de;return es(this,function(be){switch(be.label){case 0:return be.trys.push([0,4,,5]),He=(T=n?.condition)==null?void 0:T.call(n,h,{getState:m,extra:b}),Os(He)?[4,He]:[3,2];case 1:He=be.sent(),be.label=2;case 2:if(He===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,fr=new Promise(function(fe,ct){return S.signal.addEventListener("abort",function(){return ct({name:"AbortError",message:R||"Aborted"})})}),y(i(g,h,(D=n?.getPendingMeta)==null?void 0:D.call(n,{requestId:g,arg:h},{getState:m,extra:b}))),[4,Promise.race([fr,Promise.resolve(r(h,{dispatch:y,getState:m,extra:b,requestId:g,signal:S.signal,abort:N,rejectWithValue:function(fe,ct){return new sn(fe,ct)},fulfillWithValue:function(fe,ct){return new Bc(fe,ct)}})).then(function(fe){if(fe instanceof sn)throw fe;return fe instanceof Bc?a(fe.payload,g,h,fe.meta):a(fe,g,h)})])];case 3:return ge=be.sent(),[3,5];case 4:return Ge=be.sent(),ge=Ge instanceof sn?l(null,g,h,Ge.payload,Ge.meta):l(Ge,g,h),[3,5];case 5:return de=n&&!n.dispatchConditionRejection&&l.match(ge)&&ge.meta.condition,de||y(ge),[2,ge]}})})}();return Object.assign(P,{abort:N,requestId:g,arg:h,unwrap:function(){return P.then(Ss)}})}}return Object.assign(f,{pending:i,rejected:l,fulfilled:a,typePrefix:t})}return o.withTypes=function(){return o},o}();function Ss(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function Os(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var Uc="listener",Hc="completed",Gc="cancelled",Lg="task-"+Gc,Ig="task-"+Hc,Pg=Uc+"-"+Gc,kg=Uc+"-"+Hc;var fn="listenerMiddleware";var Tg=at(fn+"/add"),_g=at(fn+"/removeAll"),Bg=at(fn+"/remove");var $c,$g=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return($c||($c=Promise.resolve())).then(o).catch(function(t){return setTimeout(function(){throw t},0)})},Cs=function(o){return function(t){setTimeout(t,o)}},Wg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Cs(10);wc();function ws(o,t){return class extends o{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}var Jo=class extends ws(Object){};window.ftReduxStores||(window.ftReduxStores={});var Fc=class o extends Jo{static get(t){var r;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(lo(i))return i;if(a==null)return;let l=Mc({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),s=Dc({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:l.reducer(p,f)});return window.ftReduxStores[a.name]=new o(l,s)}constructor(t,r){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Uo;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,i,l)=>{let s=i,p=a[s];return p?(...f)=>{let h=p(...f.map(n));return this.reduxStore.dispatch(h),h}:f=>{this.setState({[s]:n(f)})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var or=x(L());var Qo=class extends Xe{async listMySearches(){let t=I.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var er=class extends Xe{async listMyBookmarks(){let t=I.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var Ns="ft-user-assets",tr=or.FtReduxStore.get({name:Ns,initialState:{savedSearches:void 0,bookmarks:void 0}}),pn=class{constructor(){this.currentSession=I.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new er,this.savedSearchesService=new Qo,I.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=I.getState();(0,or.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),tr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),tr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();tr.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;tr.actions.bookmarks(r)}}},bb=new pn;var un=class{addCommand(t,r=!1){I.commands.add(t,r)}consumeCommand(t){return I.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new un;var jc=x(L()),hn=class{highlightHtml(t,r,n){(0,jc.highlightHtml)(t,r,n)}};window.FluidTopicsHighlightHtmlService=new hn;var Vc=x(L());var yn=class{isDate(t){var r,n,a,i;return(i=(a=((n=(r=I.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(s=>s.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,r){var n,a,i;return Vc.DateFormatter.format(t,(n=r?.locale)!==null&&n!==void 0?n:I.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new yn;var As=x(L());(0,Kc.customElement)("ft-app-context")(V);var qc=x(Z()),Rs=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},mn=Symbol("i18nAttributes"),gn=Symbol("i18nListAttributes"),rr=Symbol("i18nProperties"),bn=Symbol("i18nManualContexts"),yo=Symbol("i18nUnsubs");function ir(o){var t,r;class n extends o{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[r]=new Map}get i18nService(){return this.useCustomMessageContexts?tc:bt}i18n(i,l,...s){var p;if(typeof i=="string")return this.i18nService.resolveMessage(i,l,...s);let f=(p=i.args)!==null&&p!==void 0?p:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...f)}onI18nUpdate(i){var l,s,p;(l=this[mn])===null||l===void 0||l.forEach((f,h)=>{let y=this.getI18nAttributeValue(h);y&&(this[h]=this.getI18nAttributeMessage(y,f,i))}),(s=this[gn])===null||s===void 0||s.forEach((f,h)=>{let y=this.getI18nListAttributeValues(h);this[h]=y?.map(m=>this.getI18nAttributeMessage(m,f,i))}),(p=this[rr])===null||p===void 0||p.forEach((f,h)=>{f.context.toLowerCase()===i.toLowerCase()&&(this[h]=this.i18n(f))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(i,l){return{...i,message:this.i18n({context:i.context,key:i.key,...l})}}getI18nAttributeMessage(i,l,s){var p;let f=!s||((p=i.context)===null||p===void 0?void 0:p.toLowerCase())===s.toLowerCase();return i.context&&i.key&&f?this.buildI18nAttributeMessage(i,l):i}update(i){var l,s,p;super.update(i),(l=this[mn])===null||l===void 0||l.forEach((f,h)=>{let y=this.getI18nAttributeValue(h);y?.context&&y.key&&(i.has(h)||f.argsProvider!=null)&&(this.addI18nContextIfNeeded(y,i,h),this[h]=this.getI18nAttributeMessage(y,f))}),(s=this[gn])===null||s===void 0||s.forEach((f,h)=>{let y=this.getI18nListAttributeValues(h);(i.has(h)||f.argsProvider!=null)&&(this[h]=y?.map(m=>(this.addI18nContextIfNeeded(m,i,h),this.getI18nAttributeMessage(m,f))))}),(p=this[rr])===null||p===void 0||p.forEach((f,h)=>{f.argsProvider!=null&&(this[h]=this.i18n(f))})}getI18nAttributeValue(i){return this[i]}getI18nListAttributeValues(i){return this[i]}addI18nContextIfNeeded(i,l,s){i.context&&i.key&&l.has(s)&&this.addI18nContext(i.context)}addI18nMessagesAndSubscribe(i,l){i=i.toLowerCase(),this[yo].has(i)||this[yo].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,l??{}),this.onI18nUpdate(i)}connectedCallback(){var i,l,s,p,f,h;super.connectedCallback(),new Set([...(l=(i=this[rr])===null||i===void 0?void 0:i.values())!==null&&l!==void 0?l:[],...[...(p=(s=this[mn])===null||s===void 0?void 0:s.keys())!==null&&p!==void 0?p:[]].map(y=>this.getI18nAttributeValue(y)),...[...(h=(f=this[gn])===null||f===void 0?void 0:f.keys())!==null&&h!==void 0?h:[]].flatMap(y=>this.getI18nListAttributeValues(y))].map(y=>y?.context)).forEach(y=>y&&this.addI18nMessages(y)),this[bn].forEach((y,m)=>{this.addI18nMessages(m,y)})}addI18nMessages(i,l){this[bn].set(i,l??{}),this.addI18nMessagesAndSubscribe(i,l)}addI18nContext(i,l){this.addI18nMessages(typeof i=="string"?i:i.name,l)}disconnectedCallback(){super.disconnectedCallback(),this[yo].forEach(i=>i()),this[yo].clear()}}return t=bn,r=yo,Rs([(0,qc.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var Zc=class extends ir(ar.FtLitElement){},nr=class extends ir(ar.FtLitElementRedux){};var mo=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ae=class extends nr{constructor(){super(),this.editorMode=!1,this.addStore(I)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":cr.nothing:cr.html`
1186
1186
  <span class="ft-i18n">
1187
1187
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1188
1188
  </span>
@@ -3,7 +3,7 @@
3
3
  \f\r]`,wr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,rs=/-->/g,os=/>/g,wt=RegExp(`>|${gn}(?:([^\\s"'>=/]+)(${gn}*=${gn}*(?:[^
4
4
  \f\r"'\`<>=]|("|')|))|$)`,"g"),ns=/'/g,as=/"/g,cs=/^(?:script|style|textarea|title)$/i,ds=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),ps=ds(1),us=ds(2),Oe=Symbol.for("lit-noChange"),se=Symbol.for("lit-nothing"),is=new WeakMap,At=Rt.createTreeWalker(Rt,129);function fs(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ts!==void 0?ts.createHTML(e):e}var hs=(t,e)=>{let r=t.length-1,n=[],a,i=e===2?"<svg>":"",s=wr;for(let c=0;c<r;c++){let d=t[c],p,h,f=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===wr?h[1]==="!--"?s=rs:h[1]!==void 0?s=os:h[2]!==void 0?(cs.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=wt):h[3]!==void 0&&(s=wt):s===wt?h[0]===">"?(s=a??wr,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?wt:h[3]==='"'?as:ns):s===as||s===ns?s=wt:s===rs||s===os?s=wr:(s=wt,a=void 0);let b=s===wt&&t[c+1].startsWith("/>")?" ":"";i+=s===wr?d+wd:f>=0?(n.push(p),d.slice(0,f)+xn+d.slice(f)+Ye+b):d+Ye+(f===-2?c:b)}return[fs(t,i+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},Rr=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,c=e.length-1,d=this.parts,[p,h]=hs(e,r);if(this.el=t.createElement(p,n),At.currentNode=this.el.content,r===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=At.nextNode())!==null&&d.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(xn)){let m=h[s++],b=a.getAttribute(f).split(Ye),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:i,name:x[2],strings:b,ctor:x[1]==="."?xo:x[1]==="?"?vo:x[1]==="@"?So:_t}),a.removeAttribute(f)}else f.startsWith(Ye)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(cs.test(a.tagName)){let f=a.textContent.split(Ye),m=f.length-1;if(m>0){a.textContent=mo?mo.emptyScript:"";for(let b=0;b<m;b++)a.append(f[b],go()),At.nextNode(),d.push({type:2,index:++i});a.append(f[m],go())}}}else if(a.nodeType===8)if(a.data===vn)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(Ye,f+1))!==-1;)d.push({type:7,index:i}),f+=Ye.length-1}i++}}static createElement(e,r){let n=Rt.createElement("template");return n.innerHTML=e,n}};function Nt(t,e,r=t,n){if(e===Oe)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=Ar(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=Nt(t,a._$AS(t,e.values),a,n)),e}var bo=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,a=(e?.creationScope??Rt).importNode(r,!0);At.currentNode=a;let i=At.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new Nr(i,i.nextSibling,this,e):d.type===1?p=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(p=new Oo(i,this,e)),this._$AV.push(p),d=n[++c]}s!==d?.index&&(i=At.nextNode(),s++)}return At.currentNode=Rt,a}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Nr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=se,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Nt(this,e,r),Ar(e)?e===se||e==null||e===""?(this._$AH!==se&&this._$AR(),this._$AH=se):e!==this._$AH&&e!==Oe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ls(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==se&&Ar(this._$AH)?this._$AA.nextSibling.data=e:this.$(Rt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Rr.createElement(fs(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new bo(a,this),s=i.u(this.options);i.p(r),this.$(s),this._$AH=i}}_$AC(e){let r=is.get(e.strings);return r===void 0&&is.set(e.strings,r=new Rr(e)),r}T(e){ss(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of e)a===r.length?r.push(n=new t(this.k(go()),this.k(go()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},_t=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,i){this.type=1,this._$AH=se,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=se}_$AI(e,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=Nt(this,e,r,0),s=!Ar(e)||e!==this._$AH&&e!==Oe,s&&(this._$AH=e);else{let c=e,d,p;for(e=i[0],d=0;d<i.length-1;d++)p=Nt(this,c[n+d],r,d),p===Oe&&(p=this._$AH[d]),s||=!Ar(p)||p!==this._$AH[d],p===se?e=se:e!==se&&(e+=(p??"")+i[d+1]),this._$AH[d]=p}s&&!a&&this.O(e)}O(e){e===se?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},xo=class extends _t{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===se?void 0:e}},vo=class extends _t{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==se)}},So=class extends _t{constructor(e,r,n,a,i){super(e,r,n,a,i),this.type=5}_$AI(e,r=this){if((e=Nt(this,e,r,0)??se)===Oe)return;let n=this._$AH,a=e===se&&n!==se||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==se&&(n===se||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)}},Oo=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Nt(this,e)}},ys={j:xn,P:Ye,A:vn,C:1,M:hs,L:bo,R:ls,V:Nt,D:Nr,I:_t,H:vo,N:So,U:xo,B:Oo},Ad=bn.litHtmlPolyfillSupport;Ad?.(Rr,Nr),(bn.litHtmlVersions??=[]).push("3.1.0");var Co=globalThis,_r=Co.ShadowRoot&&(Co.ShadyCSS===void 0||Co.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Sn=Symbol(),ms=new WeakMap,Zt=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Sn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(_r&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=ms.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&ms.set(r,e))}return e}toString(){return this.cssText}},Tt=t=>new Zt(typeof t=="string"?t:t+"",void 0,Sn),k=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,a,i)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+t[i+1],t[0]);return new Zt(r,t,Sn)},Eo=(t,e)=>{if(_r)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),a=Co.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}},Tr=_r?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Tt(r)})(t):t;var{is:Rd,defineProperty:Nd,getOwnPropertyDescriptor:_d,getOwnPropertyNames:Td,getOwnPropertySymbols:Ld,getPrototypeOf:Id}=Object,Ao=globalThis,gs=Ao.trustedTypes,Pd=gs?gs.emptyScript:"",$d=Ao.reactiveElementPolyfillSupport,Lr=(t,e)=>t,wo={toAttribute(t,e){switch(e){case Boolean:t=t?Pd:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},On=(t,e)=>!Rd(t,e),bs={attribute:!0,type:String,converter:wo,reflect:!1,hasChanged:On};Symbol.metadata??=Symbol("metadata"),Ao.litPropertyMetadata??=new WeakMap;var Ue=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=bs){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,r);a!==void 0&&Nd(this.prototype,e,a)}}static getPropertyDescriptor(e,r,n){let{get:a,set:i}=_d(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return a?.call(this)},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)??bs}static _$Ei(){if(this.hasOwnProperty(Lr("elementProperties")))return;let e=Id(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Lr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Lr("properties"))){let r=this.properties,n=[...Td(r),...Ld(r)];for(let a of n)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)r.unshift(Tr(a))}else e!==void 0&&r.push(Tr(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Eo(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:wo).toAttribute(r,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:wo;this._$Em=a,this[a]=s.fromAttribute(r,i.type),this._$Em=null}}requestUpdate(e,r,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??On)(a?i:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[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)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Ue.elementStyles=[],Ue.shadowRootOptions={mode:"open"},Ue[Lr("elementProperties")]=new Map,Ue[Lr("finalized")]=new Map,$d?.({ReactiveElement:Ue}),(Ao.reactiveElementVersions??=[]).push("2.0.2");var En=globalThis,Ro=En.trustedTypes,xs=Ro?Ro.createPolicy("lit-html",{createHTML:t=>t}):void 0,wn="$lit$",Xe=`lit$${(Math.random()+"").slice(9)}$`,An="?"+Xe,kd=`<${An}>`,Pt=document,Pr=()=>Pt.createComment(""),$r=t=>t===null||typeof t!="object"&&typeof t!="function",ws=Array.isArray,As=t=>ws(t)||typeof t?.[Symbol.iterator]=="function",Cn=`[
5
5
  \f\r]`,Ir=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,vs=/-->/g,Ss=/>/g,Lt=RegExp(`>|${Cn}(?:([^\\s"'>=/]+)(${Cn}*=${Cn}*(?:[^
6
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Os=/'/g,Cs=/"/g,Rs=/^(?:script|style|textarea|title)$/i,Ns=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),j=Ns(1),Dd=Ns(2),st=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),Es=new WeakMap,It=Pt.createTreeWalker(Pt,129);function _s(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return xs!==void 0?xs.createHTML(e):e}var Ts=(t,e)=>{let r=t.length-1,n=[],a,i=e===2?"<svg>":"",s=Ir;for(let c=0;c<r;c++){let d=t[c],p,h,f=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===Ir?h[1]==="!--"?s=vs:h[1]!==void 0?s=Ss:h[2]!==void 0?(Rs.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Lt):h[3]!==void 0&&(s=Lt):s===Lt?h[0]===">"?(s=a??Ir,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?Lt:h[3]==='"'?Cs:Os):s===Cs||s===Os?s=Lt:s===vs||s===Ss?s=Ir:(s=Lt,a=void 0);let b=s===Lt&&t[c+1].startsWith("/>")?" ":"";i+=s===Ir?d+kd:f>=0?(n.push(p),d.slice(0,f)+wn+d.slice(f)+Xe+b):d+Xe+(f===-2?c:b)}return[_s(t,i+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},kr=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,c=e.length-1,d=this.parts,[p,h]=Ts(e,r);if(this.el=t.createElement(p,n),It.currentNode=this.el.content,r===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=It.nextNode())!==null&&d.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(wn)){let m=h[s++],b=a.getAttribute(f).split(Xe),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:i,name:x[2],strings:b,ctor:x[1]==="."?_o:x[1]==="?"?To:x[1]==="@"?Lo:kt}),a.removeAttribute(f)}else f.startsWith(Xe)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(Rs.test(a.tagName)){let f=a.textContent.split(Xe),m=f.length-1;if(m>0){a.textContent=Ro?Ro.emptyScript:"";for(let b=0;b<m;b++)a.append(f[b],Pr()),It.nextNode(),d.push({type:2,index:++i});a.append(f[m],Pr())}}}else if(a.nodeType===8)if(a.data===An)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(Xe,f+1))!==-1;)d.push({type:7,index:i}),f+=Xe.length-1}i++}}static createElement(e,r){let n=Pt.createElement("template");return n.innerHTML=e,n}};function $t(t,e,r=t,n){if(e===st)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=$r(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=$t(t,a._$AS(t,e.values),a,n)),e}var No=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,a=(e?.creationScope??Pt).importNode(r,!0);It.currentNode=a;let i=It.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new qt(i,i.nextSibling,this,e):d.type===1?p=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(p=new Io(i,this,e)),this._$AV.push(p),d=n[++c]}s!==d?.index&&(i=It.nextNode(),s++)}return It.currentNode=Pt,a}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},qt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=$t(this,e,r),$r(e)?e===q||e==null||e===""?(this._$AH!==q&&this._$AR(),this._$AH=q):e!==this._$AH&&e!==st&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):As(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==q&&$r(this._$AH)?this._$AA.nextSibling.data=e:this.$(Pt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=kr.createElement(_s(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new No(a,this),s=i.u(this.options);i.p(r),this.$(s),this._$AH=i}}_$AC(e){let r=Es.get(e.strings);return r===void 0&&Es.set(e.strings,r=new kr(e)),r}T(e){ws(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of e)a===r.length?r.push(n=new t(this.k(Pr()),this.k(Pr()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},kt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,i){this.type=1,this._$AH=q,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=q}_$AI(e,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=$t(this,e,r,0),s=!$r(e)||e!==this._$AH&&e!==st,s&&(this._$AH=e);else{let c=e,d,p;for(e=i[0],d=0;d<i.length-1;d++)p=$t(this,c[n+d],r,d),p===st&&(p=this._$AH[d]),s||=!$r(p)||p!==this._$AH[d],p===q?e=q:e!==q&&(e+=(p??"")+i[d+1]),this._$AH[d]=p}s&&!a&&this.O(e)}O(e){e===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},_o=class extends kt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===q?void 0:e}},To=class extends kt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==q)}},Lo=class extends kt{constructor(e,r,n,a,i){super(e,r,n,a,i),this.type=5}_$AI(e,r=this){if((e=$t(this,e,r,0)??q)===st)return;let n=this._$AH,a=e===q&&n!==q||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==q&&(n===q||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)}},Io=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){$t(this,e)}},Md={j:wn,P:Xe,A:An,C:1,M:Ts,L:No,R:As,V:$t,D:qt,I:kt,H:To,N:Lo,U:_o,B:Io},Ud=En.litHtmlPolyfillSupport;Ud?.(kr,qt),(En.litHtmlVersions??=[]).push("3.1.0");var Rn=(t,e,r)=>{let n=r?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=r?.renderBefore??null;n._$litPart$=a=new qt(e.insertBefore(Pr(),i),i,void 0,r??{})}return a._$AI(t),a};var Je=class extends Ue{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Rn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return st}};Je._$litElement$=!0,Je.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Je});var Bd=globalThis.litElementPolyfillSupport;Bd?.({LitElement:Je});var Fd={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Rf=!1;var Tn={};Z(Tn,{customElement:()=>Wd,eventOptions:()=>Yt,property:()=>w,query:()=>ue,queryAll:()=>Vd,queryAssignedElements:()=>Gd,queryAssignedNodes:()=>_n,queryAsync:()=>jd,standardProperty:()=>Ls,state:()=>J});var Wd=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Hd={attribute:!0,type:String,converter:Er,reflect:!1,hasChanged:yo},Ls=(t=Hd,e,r)=>{let{kind:n,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),i.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,d,t)},init(c){return c!==void 0&&this.C(s,void 0,t),c}}}if(n==="setter"){let{name:s}=r;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)};function w(t){return(e,r)=>typeof r=="object"?Ls(t,e,r):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,r)}function J(t){return w({...t,state:!0,attribute:!1})}function Yt(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var _e=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function ue(t,e){return(r,n,a)=>{let i=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof n=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return _e(r,n,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return _e(r,n,{get(){return i(this)}})}}var zd;function Vd(t){return(e,r)=>_e(e,r,{get(){return(this.renderRoot??(zd??=document.createDocumentFragment())).querySelectorAll(t)}})}function jd(t){return(e,r)=>_e(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Gd(t){return(e,r)=>{let{slot:n,selector:a}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return _e(e,r,{get(){let s=this.renderRoot?.querySelector(i),c=s?.assignedElements(t)??[];return a===void 0?c:c.filter(d=>d.matches(a))}})}}function _n(t){return(e,r)=>{let{slot:n}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return _e(e,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var Ln={};Z(Ln,{repeat:()=>$o});var lt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ct=t=>(...e)=>({_$litDirective$:t,values:e}),Be=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:Kd}=ys;var Is=()=>document.createComment(""),Xt=(t,e,r)=>{let n=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(r===void 0){let i=n.insertBefore(Is(),a),s=n.insertBefore(Is(),a);r=new Kd(i,s,t,t.options)}else{let i=r._$AB.nextSibling,s=r._$AM,c=s!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(i!==a||c){let d=r._$AA;for(;d!==i;){let p=d.nextSibling;n.insertBefore(d,a),d=p}}}return r},dt=(t,e,r=t)=>(t._$AI(e,r),t),Zd={},Ps=(t,e=Zd)=>t._$AH=e,$s=t=>t._$AH,Po=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var ks=(t,e,r)=>{let n=new Map;for(let a=e;a<=r;a++)n.set(t[a],a);return n},$o=ct(class extends Be{constructor(t){if(super(t),t.type!==lt.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let a=[],i=[],s=0;for(let c of t)a[s]=n?n(c,s):s,i[s]=r(c,s),s++;return{values:i,keys:a}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let a=$s(t),{values:i,keys:s}=this.ht(e,r,n);if(!Array.isArray(a))return this.dt=s,i;let c=this.dt??=[],d=[],p,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]=dt(a[f],i[b]),f++,b++;else if(c[m]===s[x])d[x]=dt(a[m],i[x]),m--,x--;else if(c[f]===s[x])d[x]=dt(a[f],i[x]),Xt(t,d[x+1],a[f]),f++,x--;else if(c[m]===s[b])d[b]=dt(a[m],i[b]),Xt(t,a[f],a[m]),m--,b++;else if(p===void 0&&(p=ks(s,b,x),h=ks(c,f,m)),p.has(c[f]))if(p.has(c[m])){let O=h.get(s[b]),N=O!==void 0?a[O]:null;if(N===null){let T=Xt(t,a[f]);dt(T,i[b]),d[b]=T}else d[b]=dt(N,i[b]),Xt(t,a[f],N),a[O]=null;b++}else Po(a[m]),m--;else Po(a[f]),f++;for(;b<=x;){let O=Xt(t,d[x+1]);dt(O,i[b]),d[b++]=O}for(;f<=m;){let O=a[f++];O!==null&&Po(O)}return this.dt=s,Ps(t,d),Oe}});var In={};Z(In,{classMap:()=>Fe});var Fe=ct(class extends Be{constructor(t){if(super(t),t.type!==lt.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.it)n in e||(r.remove(n),this.it.delete(n));for(let n in e){let a=!!e[n];a===this.it.has(n)||this.st?.has(n)||(a?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return Oe}});var $n={};Z($n,{styleMap:()=>Pn});var Ds="important",qd=" !"+Ds,Pn=ct(class extends Be{constructor(t){if(super(t),t.type!==lt.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let a=e[n];if(a!=null){this.ut.add(n);let i=typeof a=="string"&&a.endsWith(qd);n.includes("-")||i?r.setProperty(n,i?a.slice(0,-11):a,i?Ds:""):r[n]=a}}return Oe}});var Dn={};Z(Dn,{UnsafeHTMLDirective:()=>Jt,unsafeHTML:()=>kn});var Jt=class extends Be{constructor(e){if(super(e),this.et=se,e.type!==lt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===se||e==null)return this.vt=void 0,this.et=e;if(e===Oe)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Jt.directiveName="unsafeHTML",Jt.resultType=1;var kn=ct(Jt);var zn={};Z(zn,{CacheRegistry:()=>We,ClearCacheEvent:()=>Mr});var Un={};Z(Un,{CancelablePromise:()=>Qt,CanceledPromiseError:()=>Dr,cancelable:()=>Mn});var Dr=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Qt=class extends Promise{constructor(e){super((r,n)=>e(a=>{this.isCanceled?n(new Dr("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?n(new Dr("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Mn=t=>new Qt((e,r)=>t.then(e).catch(r));var Hn={};Z(Hn,{FtNotificationEvent:()=>Bn,PostResizeEvent:()=>Wn,PreResizeEvent:()=>Fn,WithEventBus:()=>Dt,withEventBus:()=>Ms});var Bn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Fn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Wn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function Ms(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}var Dt=class extends Ms(Object){};var Mr=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},We=class extends Dt{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(e=!0){let r=[];for(let n in this.content)this.clear(n,!1)!=null&&r.push(n);e&&r.length>0&&this.dispatchEvent(new Mr(r))}clear(e,r=!0){if(!this.finalContent.has(e))return this.forceClear(e),r&&this.dispatchEvent(new Mr([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Qt&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let a=Mn(r());return this.content[e]=a,a.then(i=>(this.content[e]=i,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),i))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var jn={};Z(jn,{ClusteringHelper:()=>Vn});var Vn=class t{constructor(e,r,n,a){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e){var r,n,a,i,s;let c=((i=(n=(r=e.result)===null||r===void 0?void 0:r.map)!==null&&n!==void 0?n:(a=e.result)===null||a===void 0?void 0:a.document)!==null&&i!==void 0?i:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?t.flattenMetadata(c,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(c.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,n){if(Array.isArray(e))return e.map(i=>t.flattenMetadata(i,r,n)).filter(i=>i!=null);let a=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!a))if(a){let i=[],s=[];return e.hierarchicalValues.forEach(c=>{i.push(c.join(" > ")),r&&r>1&&c.length>=r?s.push(`... > ${c[c.length-1]}`):s.push(c.join(" > "))}),{key:e.key,label:e.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=e.values.join(", "),s=e.values.map(c=>n?n(c):c).join(", ");return{key:e.key,label:e.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,n="No value",a,i){var s,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:i}),p=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(e))===null||c===void 0?void 0:c.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(f=>f??{key:e,label:p,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,r))}compareMetadata(e,r,n,a){if(e==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",c=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,a,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==r}),i=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,c=-1;for(let d of n){let p=this.countMatchingMetadata(d,i);if(p>c&&(c=p,s=d,p===i.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(n=>r.some(a=>a.key===n.key&&a.value===n.value)).length}};var Gn={};Z(Gn,{Debouncer:()=>ye});var ye=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){a(c);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var qn={};Z(qn,{customElement:()=>Q,isNumber:()=>Ws,jsonProperty:()=>He,optionalNumberProperty:()=>tp});var Zn={};Z(Zn,{dateReviver:()=>Xd,deepEqual:()=>Te,delay:()=>ko,eventPathContainsMatchingElement:()=>Qd,flatDeep:()=>Bs,getComposedPathTo:()=>Kn,hasChanged:()=>Le,last:()=>ep,minmax:()=>Ur,parseDate:()=>Fs,unslotText:()=>Do,waitFor:()=>Us,waitUntil:()=>Yd});var ko=t=>new Promise(e=>setTimeout(e,t));async function Yd(t,e=10,r=2e4){await Us(async()=>await t()||void 0,e,r)}async function Us(t,e=10,r=2e4){let n=await t(),a,i;for(a=i=performance.now();n==null&&(!r||i-a<r);)await ko(e),n=await t(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Bs(t,e){return t.flatMap(r=>[r,...Bs(e(r),e)])}function Xd(...t){return function(e,r){return t.includes(e)?Fs(r):r}}function Fs(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,a)=>r+n+":"+a),new Date(t)}function Jd(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,a;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Te(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(!Te(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(a=Object.keys(t),r=a.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=r;n--!==0;){var i=a[n];if(!Te(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function Te(t,e){try{return Jd(t,e)}catch{return!1}}function Le(t,e){return!Te(t,e)}function Qd(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let a of n){if(a===r)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function Ur(t,e,r){return Math.min(Math.max(t,e),r)}function ep(t){return t[t.length-1]}function Do(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Do(e)).join(""):t?.textContent||""}function Kn(t){let e=[],r=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}var Q=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function He(t,e){let r=()=>JSON.parse(JSON.stringify(t));return w({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Le,...e??{}})}function tp(t){return w({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Ws(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Ws(t){return!isNaN(parseFloat(t))}var Ea={};Z(Ea,{designSystemVariables:()=>H});var Ca={};Z(Ca,{DesignSystemFamily:()=>Mt,DesignSystemSize:()=>et,FtCssVariableFactory:()=>o,badge:()=>sp,banner:()=>ip,button:()=>g,chart:()=>Cp,checkbox:()=>Ap,chip:()=>np,chipChoice:()=>op,collapsible:()=>Sp,comboboxMultiSelect:()=>xp,comboboxSingleSelect:()=>bp,drawer:()=>fp,floatingMenu:()=>gp,foundation:()=>l,link:()=>ap,modal:()=>up,notice:()=>wp,notification:()=>_p,pageDesigner:()=>Ep,pageFooter:()=>dp,pageHeader:()=>cp,pageLayout:()=>pp,popover:()=>vp,radio:()=>Np,reorderableList:()=>Lp,resolveFamilyClass:()=>Sa,resolveSizeClass:()=>Oa,semantic:()=>u,setVariable:()=>A,switch_:()=>Op,tabs:()=>hp,textArea:()=>mp,textInput:()=>yp,titleBreadcrumb:()=>lp,toggle:()=>Rp,tooltip:()=>Tp,typographies:()=>Br,typographyBody1Medium:()=>ta,typographyBody1Regular:()=>ea,typographyBody1Semibold:()=>ra,typographyBody2Medium:()=>na,typographyBody2MediumUnderline:()=>Hs,typographyBody2Regular:()=>oa,typographyBody2Semibold:()=>aa,typographyCaption1Bold:()=>ha,typographyCaption1Medium:()=>ua,typographyCaption1Semibold:()=>fa,typographyCaption2Bold:()=>ga,typographyCaption2Medium:()=>ya,typographyCaption2Semibold:()=>ma,typographyCaption3Bold:()=>va,typographyCaption3Medium:()=>ba,typographyCaption3Semibold:()=>xa,typographyDisplay:()=>Yn,typographyLabel1Bold:()=>la,typographyLabel1Medium:()=>ia,typographyLabel1Semibold:()=>sa,typographyLabel2Bold:()=>pa,typographyLabel2Medium:()=>ca,typographyLabel2Semibold:()=>da,typographyTitle1:()=>Xn,typographyTitle2:()=>Jn,typographyTitle3:()=>Qn,typographyVariants:()=>rp});var Qe=t=>typeof t=="string"?Tt(t):t,o=class{static create(e,r,n,a){let i=c=>Qe(c??a),s=k`var(${Qe(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=c=>k`var(${Qe(e)}, ${i(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,r,n,a){let i=c=>n.get(c??a),s=k`var(${Qe(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=c=>k`var(${Qe(e)}, ${i(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,r){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):Qe(i??e.lastResortDefaultValue()),a=k`var(${Qe(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=n,a.get=i=>k`var(${Qe(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function A(t,e){return Qe(`${t.name}: ${e}`)}var l={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Yn={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Xn={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Jn={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Qn={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ea={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ta={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ra={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},oa={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},na={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Hs={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},aa={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ia={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},sa={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},la={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},ca={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},da={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},pa={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ua={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},fa={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ha={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ya={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ma={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ga={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ba={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},xa={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},va={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Br={display:Yn,"title-1":Xn,"title-2":Jn,"title-3":Qn,"body-1-regular":ea,"body-1-medium":ta,"body-1-semibold":ra,"body-2-regular":oa,"body-2-medium":na,"body-2-medium-underline":Hs,"body-2-semibold":aa,"label-1-medium":ia,"label-1-semibold":sa,"label-1-bold":la,"label-2-medium":ca,"label-2-semibold":da,"label-2-bold":pa,"caption-1-medium":ua,"caption-1-semibold":fa,"caption-1-bold":ha,"caption-2-medium":ya,"caption-2-semibold":ma,"caption-2-bold":ga,"caption-3-medium":ba,"caption-3-semibold":xa,"caption-3-bold":va},rp=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Os=/'/g,Cs=/"/g,Rs=/^(?:script|style|textarea|title)$/i,Ns=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),j=Ns(1),Dd=Ns(2),st=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),Es=new WeakMap,It=Pt.createTreeWalker(Pt,129);function _s(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return xs!==void 0?xs.createHTML(e):e}var Ts=(t,e)=>{let r=t.length-1,n=[],a,i=e===2?"<svg>":"",s=Ir;for(let c=0;c<r;c++){let d=t[c],p,h,f=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===Ir?h[1]==="!--"?s=vs:h[1]!==void 0?s=Ss:h[2]!==void 0?(Rs.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Lt):h[3]!==void 0&&(s=Lt):s===Lt?h[0]===">"?(s=a??Ir,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?Lt:h[3]==='"'?Cs:Os):s===Cs||s===Os?s=Lt:s===vs||s===Ss?s=Ir:(s=Lt,a=void 0);let b=s===Lt&&t[c+1].startsWith("/>")?" ":"";i+=s===Ir?d+kd:f>=0?(n.push(p),d.slice(0,f)+wn+d.slice(f)+Xe+b):d+Xe+(f===-2?c:b)}return[_s(t,i+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},kr=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,c=e.length-1,d=this.parts,[p,h]=Ts(e,r);if(this.el=t.createElement(p,n),It.currentNode=this.el.content,r===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=It.nextNode())!==null&&d.length<c;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(wn)){let m=h[s++],b=a.getAttribute(f).split(Xe),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:i,name:x[2],strings:b,ctor:x[1]==="."?_o:x[1]==="?"?To:x[1]==="@"?Lo:kt}),a.removeAttribute(f)}else f.startsWith(Xe)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(Rs.test(a.tagName)){let f=a.textContent.split(Xe),m=f.length-1;if(m>0){a.textContent=Ro?Ro.emptyScript:"";for(let b=0;b<m;b++)a.append(f[b],Pr()),It.nextNode(),d.push({type:2,index:++i});a.append(f[m],Pr())}}}else if(a.nodeType===8)if(a.data===An)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(Xe,f+1))!==-1;)d.push({type:7,index:i}),f+=Xe.length-1}i++}}static createElement(e,r){let n=Pt.createElement("template");return n.innerHTML=e,n}};function $t(t,e,r=t,n){if(e===st)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=$r(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=$t(t,a._$AS(t,e.values),a,n)),e}var No=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,a=(e?.creationScope??Pt).importNode(r,!0);It.currentNode=a;let i=It.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new qt(i,i.nextSibling,this,e):d.type===1?p=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(p=new Io(i,this,e)),this._$AV.push(p),d=n[++c]}s!==d?.index&&(i=It.nextNode(),s++)}return It.currentNode=Pt,a}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},qt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=$t(this,e,r),$r(e)?e===q||e==null||e===""?(this._$AH!==q&&this._$AR(),this._$AH=q):e!==this._$AH&&e!==st&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):As(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==q&&$r(this._$AH)?this._$AA.nextSibling.data=e:this.$(Pt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=kr.createElement(_s(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new No(a,this),s=i.u(this.options);i.p(r),this.$(s),this._$AH=i}}_$AC(e){let r=Es.get(e.strings);return r===void 0&&Es.set(e.strings,r=new kr(e)),r}T(e){ws(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of e)a===r.length?r.push(n=new t(this.k(Pr()),this.k(Pr()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},kt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,i){this.type=1,this._$AH=q,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=q}_$AI(e,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=$t(this,e,r,0),s=!$r(e)||e!==this._$AH&&e!==st,s&&(this._$AH=e);else{let c=e,d,p;for(e=i[0],d=0;d<i.length-1;d++)p=$t(this,c[n+d],r,d),p===st&&(p=this._$AH[d]),s||=!$r(p)||p!==this._$AH[d],p===q?e=q:e!==q&&(e+=(p??"")+i[d+1]),this._$AH[d]=p}s&&!a&&this.O(e)}O(e){e===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},_o=class extends kt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===q?void 0:e}},To=class extends kt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==q)}},Lo=class extends kt{constructor(e,r,n,a,i){super(e,r,n,a,i),this.type=5}_$AI(e,r=this){if((e=$t(this,e,r,0)??q)===st)return;let n=this._$AH,a=e===q&&n!==q||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==q&&(n===q||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)}},Io=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){$t(this,e)}},Md={j:wn,P:Xe,A:An,C:1,M:Ts,L:No,R:As,V:$t,D:qt,I:kt,H:To,N:Lo,U:_o,B:Io},Ud=En.litHtmlPolyfillSupport;Ud?.(kr,qt),(En.litHtmlVersions??=[]).push("3.1.0");var Rn=(t,e,r)=>{let n=r?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=r?.renderBefore??null;n._$litPart$=a=new qt(e.insertBefore(Pr(),i),i,void 0,r??{})}return a._$AI(t),a};var Je=class extends Ue{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Rn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return st}};Je._$litElement$=!0,Je.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Je});var Bd=globalThis.litElementPolyfillSupport;Bd?.({LitElement:Je});var Fd={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Rf=!1;var Tn={};Z(Tn,{customElement:()=>Wd,eventOptions:()=>Yt,property:()=>w,query:()=>ue,queryAll:()=>Vd,queryAssignedElements:()=>Gd,queryAssignedNodes:()=>_n,queryAsync:()=>jd,standardProperty:()=>Ls,state:()=>J});var Wd=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Hd={attribute:!0,type:String,converter:Er,reflect:!1,hasChanged:yo},Ls=(t=Hd,e,r)=>{let{kind:n,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),i.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,d,t)},init(c){return c!==void 0&&this.C(s,void 0,t),c}}}if(n==="setter"){let{name:s}=r;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)};function w(t){return(e,r)=>typeof r=="object"?Ls(t,e,r):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,r)}function J(t){return w({...t,state:!0,attribute:!1})}function Yt(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var _e=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function ue(t,e){return(r,n,a)=>{let i=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof n=="object"?r:a??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return _e(r,n,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return _e(r,n,{get(){return i(this)}})}}var zd;function Vd(t){return(e,r)=>_e(e,r,{get(){return(this.renderRoot??(zd??=document.createDocumentFragment())).querySelectorAll(t)}})}function jd(t){return(e,r)=>_e(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Gd(t){return(e,r)=>{let{slot:n,selector:a}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return _e(e,r,{get(){let s=this.renderRoot?.querySelector(i),c=s?.assignedElements(t)??[];return a===void 0?c:c.filter(d=>d.matches(a))}})}}function _n(t){return(e,r)=>{let{slot:n}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return _e(e,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var Ln={};Z(Ln,{repeat:()=>$o});var lt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ct=t=>(...e)=>({_$litDirective$:t,values:e}),Be=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:Kd}=ys;var Is=()=>document.createComment(""),Xt=(t,e,r)=>{let n=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(r===void 0){let i=n.insertBefore(Is(),a),s=n.insertBefore(Is(),a);r=new Kd(i,s,t,t.options)}else{let i=r._$AB.nextSibling,s=r._$AM,c=s!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(i!==a||c){let d=r._$AA;for(;d!==i;){let p=d.nextSibling;n.insertBefore(d,a),d=p}}}return r},dt=(t,e,r=t)=>(t._$AI(e,r),t),Zd={},Ps=(t,e=Zd)=>t._$AH=e,$s=t=>t._$AH,Po=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var ks=(t,e,r)=>{let n=new Map;for(let a=e;a<=r;a++)n.set(t[a],a);return n},$o=ct(class extends Be{constructor(t){if(super(t),t.type!==lt.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let a=[],i=[],s=0;for(let c of t)a[s]=n?n(c,s):s,i[s]=r(c,s),s++;return{values:i,keys:a}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let a=$s(t),{values:i,keys:s}=this.ht(e,r,n);if(!Array.isArray(a))return this.dt=s,i;let c=this.dt??=[],d=[],p,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]=dt(a[f],i[b]),f++,b++;else if(c[m]===s[x])d[x]=dt(a[m],i[x]),m--,x--;else if(c[f]===s[x])d[x]=dt(a[f],i[x]),Xt(t,d[x+1],a[f]),f++,x--;else if(c[m]===s[b])d[b]=dt(a[m],i[b]),Xt(t,a[f],a[m]),m--,b++;else if(p===void 0&&(p=ks(s,b,x),h=ks(c,f,m)),p.has(c[f]))if(p.has(c[m])){let O=h.get(s[b]),N=O!==void 0?a[O]:null;if(N===null){let T=Xt(t,a[f]);dt(T,i[b]),d[b]=T}else d[b]=dt(N,i[b]),Xt(t,a[f],N),a[O]=null;b++}else Po(a[m]),m--;else Po(a[f]),f++;for(;b<=x;){let O=Xt(t,d[x+1]);dt(O,i[b]),d[b++]=O}for(;f<=m;){let O=a[f++];O!==null&&Po(O)}return this.dt=s,Ps(t,d),Oe}});var In={};Z(In,{classMap:()=>Fe});var Fe=ct(class extends Be{constructor(t){if(super(t),t.type!==lt.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.it)n in e||(r.remove(n),this.it.delete(n));for(let n in e){let a=!!e[n];a===this.it.has(n)||this.st?.has(n)||(a?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return Oe}});var $n={};Z($n,{styleMap:()=>Pn});var Ds="important",qd=" !"+Ds,Pn=ct(class extends Be{constructor(t){if(super(t),t.type!==lt.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let a=e[n];if(a!=null){this.ut.add(n);let i=typeof a=="string"&&a.endsWith(qd);n.includes("-")||i?r.setProperty(n,i?a.slice(0,-11):a,i?Ds:""):r[n]=a}}return Oe}});var Dn={};Z(Dn,{UnsafeHTMLDirective:()=>Jt,unsafeHTML:()=>kn});var Jt=class extends Be{constructor(e){if(super(e),this.et=se,e.type!==lt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===se||e==null)return this.vt=void 0,this.et=e;if(e===Oe)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Jt.directiveName="unsafeHTML",Jt.resultType=1;var kn=ct(Jt);var zn={};Z(zn,{CacheRegistry:()=>We,ClearCacheEvent:()=>Mr});var Un={};Z(Un,{CancelablePromise:()=>Qt,CanceledPromiseError:()=>Dr,cancelable:()=>Mn});var Dr=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Qt=class extends Promise{constructor(e){super((r,n)=>e(a=>{this.isCanceled?n(new Dr("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?n(new Dr("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Mn=t=>new Qt((e,r)=>t.then(e).catch(r));var Hn={};Z(Hn,{FtNotificationEvent:()=>Bn,PostResizeEvent:()=>Wn,PreResizeEvent:()=>Fn,WithEventBus:()=>Dt,withEventBus:()=>Ms});var Bn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Fn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Wn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function Ms(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}var Dt=class extends Ms(Object){};var Mr=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},We=class extends Dt{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(e=!0){let r=[];for(let n in this.content)this.clear(n,!1)!=null&&r.push(n);e&&r.length>0&&this.dispatchEvent(new Mr(r))}clear(e,r=!0){if(!this.finalContent.has(e))return this.forceClear(e),r&&this.dispatchEvent(new Mr([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Qt&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let a=Mn(r());return this.content[e]=a,a.then(i=>(this.content[e]=i,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),i))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var jn={};Z(jn,{ClusteringHelper:()=>Vn});var Vn=class t{constructor(e,r,n,a){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e){var r,n,a,i,s;let c=((i=(n=(r=e.result)===null||r===void 0?void 0:r.map)!==null&&n!==void 0?n:(a=e.result)===null||a===void 0?void 0:a.document)!==null&&i!==void 0?i:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?t.flattenMetadata(c,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(c.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,n){if(Array.isArray(e))return e.map(i=>t.flattenMetadata(i,r,n)).filter(i=>i!=null);let a=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!a))if(a){let i=[],s=[];return e.hierarchicalValues.forEach(c=>{i.push(c.join(" > ")),r&&r>1&&c.length>=r?s.push(`... > ${c[c.length-1]}`):s.push(c.join(" > "))}),{key:e.key,label:e.label,value:i.join(", "),displayValue:s.join(", "),displayTooltipValue:i.join(", ")}}else{let i=e.values.join(", "),s=e.values.map(c=>n?n(c):c).join(", ");return{key:e.key,label:e.label,value:i,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,n="No value",a,i){var s,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:i}),p=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(e))===null||c===void 0?void 0:c.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(f=>f??{key:e,label:p,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,r))}compareMetadata(e,r,n,a){if(e==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",c=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,a,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==r}),i=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,c=-1;for(let d of n){let p=this.countMatchingMetadata(d,i);if(p>c&&(c=p,s=d,p===i.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(n=>r.some(a=>a.key===n.key&&a.value===n.value)).length}};var Gn={};Z(Gn,{Debouncer:()=>ye});var ye=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){a(c);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var qn={};Z(qn,{customElement:()=>Q,isNumber:()=>Ws,jsonProperty:()=>He,optionalNumberProperty:()=>tp});var Zn={};Z(Zn,{dateReviver:()=>Xd,deepEqual:()=>Te,delay:()=>ko,eventPathContainsMatchingElement:()=>Qd,flatDeep:()=>Bs,getComposedPathTo:()=>Kn,hasChanged:()=>Le,last:()=>ep,minmax:()=>Ur,parseDate:()=>Fs,unslotText:()=>Do,waitFor:()=>Us,waitUntil:()=>Yd});var ko=t=>new Promise(e=>setTimeout(e,t));async function Yd(t,e=10,r=2e4){await Us(async()=>await t()||void 0,e,r)}async function Us(t,e=10,r=2e4){let n=await t(),a,i;for(a=i=performance.now();n==null&&(!r||i-a<r);)await ko(e),n=await t(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Bs(t,e){return t.flatMap(r=>[r,...Bs(e(r),e)])}function Xd(...t){return function(e,r){return t.includes(e)?Fs(r):r}}function Fs(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,a)=>r+n+":"+a),new Date(t)}function Jd(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,a;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Te(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(!Te(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let i=s=>Object.keys(s).filter(c=>s[c]!=null);if(a=i(t),r=a.length,r!==i(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=r;n--!==0;){let s=a[n];if(!Te(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Te(t,e){try{return Jd(t,e)}catch{return!1}}function Le(t,e){return!Te(t,e)}function Qd(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let a of n){if(a===r)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function Ur(t,e,r){return Math.min(Math.max(t,e),r)}function ep(t){return t[t.length-1]}function Do(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Do(e)).join(""):t?.textContent||""}function Kn(t){let e=[],r=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}var Q=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function He(t,e){let r=()=>JSON.parse(JSON.stringify(t));return w({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Le,...e??{}})}function tp(t){return w({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Ws(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Ws(t){return!isNaN(parseFloat(t))}var Ea={};Z(Ea,{designSystemVariables:()=>H});var Ca={};Z(Ca,{DesignSystemFamily:()=>Mt,DesignSystemSize:()=>et,FtCssVariableFactory:()=>o,badge:()=>sp,banner:()=>ip,button:()=>g,chart:()=>Cp,checkbox:()=>Ap,chip:()=>np,chipChoice:()=>op,collapsible:()=>Sp,comboboxMultiSelect:()=>xp,comboboxSingleSelect:()=>bp,drawer:()=>fp,floatingMenu:()=>gp,foundation:()=>l,link:()=>ap,modal:()=>up,notice:()=>wp,notification:()=>_p,pageDesigner:()=>Ep,pageFooter:()=>dp,pageHeader:()=>cp,pageLayout:()=>pp,popover:()=>vp,radio:()=>Np,reorderableList:()=>Lp,resolveFamilyClass:()=>Sa,resolveSizeClass:()=>Oa,semantic:()=>u,setVariable:()=>A,switch_:()=>Op,tabs:()=>hp,textArea:()=>mp,textInput:()=>yp,titleBreadcrumb:()=>lp,toggle:()=>Rp,tooltip:()=>Tp,typographies:()=>Br,typographyBody1Medium:()=>ta,typographyBody1Regular:()=>ea,typographyBody1Semibold:()=>ra,typographyBody2Medium:()=>na,typographyBody2MediumUnderline:()=>Hs,typographyBody2Regular:()=>oa,typographyBody2Semibold:()=>aa,typographyCaption1Bold:()=>ha,typographyCaption1Medium:()=>ua,typographyCaption1Semibold:()=>fa,typographyCaption2Bold:()=>ga,typographyCaption2Medium:()=>ya,typographyCaption2Semibold:()=>ma,typographyCaption3Bold:()=>va,typographyCaption3Medium:()=>ba,typographyCaption3Semibold:()=>xa,typographyDisplay:()=>Yn,typographyLabel1Bold:()=>la,typographyLabel1Medium:()=>ia,typographyLabel1Semibold:()=>sa,typographyLabel2Bold:()=>pa,typographyLabel2Medium:()=>ca,typographyLabel2Semibold:()=>da,typographyTitle1:()=>Xn,typographyTitle2:()=>Jn,typographyTitle3:()=>Qn,typographyVariants:()=>rp});var Qe=t=>typeof t=="string"?Tt(t):t,o=class{static create(e,r,n,a){let i=c=>Qe(c??a),s=k`var(${Qe(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=c=>k`var(${Qe(e)}, ${i(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,r,n,a){let i=c=>n.get(c??a),s=k`var(${Qe(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=c=>k`var(${Qe(e)}, ${i(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,r){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):Qe(i??e.lastResortDefaultValue()),a=k`var(${Qe(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=n,a.get=i=>k`var(${Qe(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function A(t,e){return Qe(`${t.name}: ${e}`)}var l={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Yn={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Xn={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Jn={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Qn={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ea={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ta={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ra={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},oa={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},na={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Hs={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},aa={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ia={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},sa={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},la={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},ca={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},da={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},pa={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ua={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},fa={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ha={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ya={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ma={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ga={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ba={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},xa={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},va={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Br={display:Yn,"title-1":Xn,"title-2":Jn,"title-3":Qn,"body-1-regular":ea,"body-1-medium":ta,"body-1-semibold":ra,"body-2-regular":oa,"body-2-medium":na,"body-2-medium-underline":Hs,"body-2-semibold":aa,"label-1-medium":ia,"label-1-semibold":sa,"label-1-bold":la,"label-2-medium":ca,"label-2-semibold":da,"label-2-bold":pa,"caption-1-medium":ua,"caption-1-semibold":fa,"caption-1-bold":ha,"caption-2-medium":ya,"caption-2-semibold":ma,"caption-2-bold":ga,"caption-3-medium":ba,"caption-3-semibold":xa,"caption-3-bold":va},rp=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
7
7
  Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var g={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var op={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)};var np={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var ap={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",l.colorBrand100)};var ip={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var sp={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",u.contentActionPrimary)};var lp={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var cp={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",l.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",l.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var dp={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",l.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",l.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",l.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",l.spacing4)};var pp={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",l.spacing6)};var up={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)};var fp={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var hp={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var yp={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var mp={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var gp={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",l.shadowElevation02)};var bp={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var xp={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var vp={backgroundColor:o.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:o.extend("--ft-popover-gap","",l.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")};var Sp={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)};var Op={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var Cp={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)};var Ep={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var wp={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",l.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")};var Ap={color:o.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",l.spacing3)};var Rp={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)};var Np={color:o.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",l.spacing3)};var _p={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)};var Tp={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)};var Lp={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",l.spacing4),gap:o.extend("--ft-reorderable-list-gap","",l.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",l.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",l.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Mt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Mt||(Mt={}));var et;(function(t){t.large="large",t.medium="medium",t.small="small"})(et||(et={}));function Sa(t){return`ftds--family-${t}`}function Oa(t){return`ftds--size-${t}`}var H={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Ba={};Z(Ba,{computeFlipOffsetPosition:()=>Jp,computeOffsetPosition:()=>Ua});var Vs=["top","right","bottom","left"],zs=["start","end"],wa=Vs.reduce((t,e)=>t.concat(e,e+"-"+zs[0],e+"-"+zs[1]),[]),Hr=Math.min,pt=Math.max,zr=Math.round;var tt=t=>({x:t,y:t}),Ip={left:"right",right:"left",bottom:"top",top:"bottom"},Pp={start:"end",end:"start"};function Aa(t,e,r){return pt(t,Hr(e,r))}function er(t,e){return typeof t=="function"?t(e):t}function ze(t){return t.split("-")[0]}function Ve(t){return t.split("-")[1]}function Ra(t){return t==="x"?"y":"x"}function Na(t){return t==="y"?"height":"width"}function Vr(t){return["top","bottom"].includes(ze(t))?"y":"x"}function _a(t){return Ra(Vr(t))}function Ta(t,e,r){r===void 0&&(r=!1);let n=Ve(t),a=_a(t),i=Na(a),s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Wr(s)),[s,Wr(s)]}function js(t){let e=Wr(t);return[Fr(t),e,Fr(e)]}function Fr(t){return t.replace(/start|end/g,e=>Pp[e])}function $p(t,e,r){let n=["left","right"],a=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return r?e?a:n:e?n:a;case"left":case"right":return e?i:s;default:return[]}}function Gs(t,e,r,n){let a=Ve(t),i=$p(ze(t),r==="start",n);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(Fr)))),i}function Wr(t){return t.replace(/left|right|bottom|top/g,e=>Ip[e])}function kp(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ks(t){return typeof t!="number"?kp(t):{top:t,right:t,bottom:t,left:t}}function Ut(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Zs(t,e,r){let{reference:n,floating:a}=t,i=Vr(e),s=_a(e),c=Na(s),d=ze(e),p=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(Ve(e)){case"start":b[s]-=m*(r&&p?-1:1);break;case"end":b[s]+=m*(r&&p?-1:1);break}return b}var qs=async(t,e,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,c=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:h,y:f}=Zs(p,n,d),m=n,b={},x=0;for(let O=0;O<c.length;O++){let{name:N,fn:T}=c[O],{x:L,y:C,data:S,reset:E}=await T({x:h,y:f,initialPlacement:n,placement:m,strategy:a,middlewareData:b,rects:p,platform:s,elements:{reference:t,floating:e}});if(h=L??h,f=C??f,b={...b,[N]:{...b[N],...S}},E&&x<=50){x++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(p=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):E.rects),{x:h,y:f}=Zs(p,m,d)),O=-1;continue}}return{x:h,y:f,placement:m,strategy:a,middlewareData:b}};async function Mo(t,e){var r;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:c,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:b=0}=er(e,t),x=Ks(b),N=c[m?f==="floating"?"reference":"floating":f],T=Ut(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(N)))==null||r?N:N.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:p,rootBoundary:h,strategy:d})),L=f==="floating"?{...s.floating,x:n,y:a}:s.reference,C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),S=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},E=Ut(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:L,offsetParent:C,strategy:d}):L);return{top:(T.top-E.top+x.top)/S.y,bottom:(E.bottom-T.bottom+x.bottom)/S.y,left:(T.left-E.left+x.left)/S.x,right:(E.right-T.right+x.right)/S.x}}function Dp(t,e,r){return(t?[...r.filter(a=>Ve(a)===t),...r.filter(a=>Ve(a)!==t)]:r.filter(a=>ze(a)===a)).filter(a=>t?Ve(a)===t||(e?Fr(a)!==a:!1):!0)}var La=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,a;let{rects:i,middlewareData:s,placement:c,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:m=wa,autoAlignment:b=!0,...x}=er(t,e),O=f!==void 0||m===wa?Dp(f||null,b,m):m,N=await Mo(e,x),T=((r=s.autoPlacement)==null?void 0:r.index)||0,L=O[T];if(L==null)return{};let C=Ta(L,i,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(c!==L)return{reset:{placement:O[0]}};let S=[N[ze(L)],N[C[0]],N[C[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:S}],I=O[T+1];if(I)return{data:{index:T+1,overflows:E},reset:{placement:I}};let M=E.map($=>{let y=Ve($.placement);return[$.placement,y&&h?$.overflows.slice(0,2).reduce((v,P)=>v+P,0):$.overflows[0],$.overflows]}).sort(($,y)=>$[1]-y[1]),W=((a=M.filter($=>$[2].slice(0,Ve($[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||M[0][0];return W!==c?{data:{index:T+1,overflows:E},reset:{placement:W}}:{}}}},Ia=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;let{placement:a,middlewareData:i,rects:s,initialPlacement:c,platform:d,elements:p}=e,{mainAxis:h=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:O=!0,...N}=er(t,e);if((r=i.arrow)!=null&&r.alignmentOffset)return{};let T=ze(a),L=ze(c)===c,C=await(d.isRTL==null?void 0:d.isRTL(p.floating)),S=m||(L||!O?[Wr(c)]:js(c));!m&&x!=="none"&&S.push(...Gs(c,O,x,C));let E=[c,...S],I=await Mo(e,N),M=[],z=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&M.push(I[T]),f){let v=Ta(a,s,C);M.push(I[v[0]],I[v[1]])}if(z=[...z,{placement:a,overflows:M}],!M.every(v=>v<=0)){var W,$;let v=(((W=i.flip)==null?void 0:W.index)||0)+1,P=E[v];if(P)return{data:{index:v,overflows:z},reset:{placement:P}};let F=($=z.filter(V=>V.overflows[0]<=0).sort((V,U)=>V.overflows[1]-U.overflows[1])[0])==null?void 0:$.placement;if(!F)switch(b){case"bestFit":{var y;let V=(y=z.map(U=>[U.placement,U.overflows.filter(Me=>Me>0).reduce((Me,Or)=>Me+Or,0)]).sort((U,Me)=>U[1]-Me[1])[0])==null?void 0:y[0];V&&(F=V);break}case"initialPlacement":F=c;break}if(a!==F)return{reset:{placement:F}}}return{}}}};async function Mp(t,e){let{placement:r,platform:n,elements:a}=t,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=ze(r),c=Ve(r),d=Vr(r)==="y",p=["left","top"].includes(s)?-1:1,h=i&&d?-1:1,f=er(e,t),{mainAxis:m,crossAxis:b,alignmentAxis:x}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return c&&typeof x=="number"&&(b=c==="end"?x*-1:x),d?{x:b*h,y:m*p}:{x:m*p,y:b*h}}var Pa=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:a,y:i,placement:s,middlewareData:c}=e,d=await Mp(e,t);return s===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},$a=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:c={fn:N=>{let{x:T,y:L}=N;return{x:T,y:L}}},...d}=er(t,e),p={x:r,y:n},h=await Mo(e,d),f=Vr(ze(a)),m=Ra(f),b=p[m],x=p[f];if(i){let N=m==="y"?"top":"left",T=m==="y"?"bottom":"right",L=b+h[N],C=b-h[T];b=Aa(L,b,C)}if(s){let N=f==="y"?"top":"left",T=f==="y"?"bottom":"right",L=x+h[N],C=x-h[T];x=Aa(L,x,C)}let O=c.fn({...e,[m]:b,[f]:x});return{...O,data:{x:O.x-r,y:O.y-n}}}}};function rt(t){return Xs(t)?(t.nodeName||"").toLowerCase():"#document"}function ge(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ot(t){var e;return(e=(Xs(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Xs(t){return t instanceof Node||t instanceof ge(t).Node}function je(t){return t instanceof Element||t instanceof ge(t).Element}function Ie(t){return t instanceof HTMLElement||t instanceof ge(t).HTMLElement}function Ys(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ge(t).ShadowRoot}function tr(t){let{overflow:e,overflowX:r,overflowY:n,display:a}=Ce(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(a)}function Js(t){return["table","td","th"].includes(rt(t))}function Bo(t){let e=Fo(),r=Ce(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Qs(t){let e=Bt(t);for(;Ie(e)&&!jr(e);){if(Bo(e))return e;e=Bt(e)}return null}function Fo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function jr(t){return["html","body","#document"].includes(rt(t))}function Ce(t){return ge(t).getComputedStyle(t)}function Gr(t){return je(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Bt(t){if(rt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Ys(t)&&t.host||ot(t);return Ys(e)?e.host:e}function el(t){let e=Bt(t);return jr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ie(e)&&tr(e)?e:el(e)}function Uo(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let a=el(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),s=ge(a);return i?e.concat(s,s.visualViewport||[],tr(a)?a:[],s.frameElement&&r?Uo(s.frameElement):[]):e.concat(a,Uo(a,[],r))}function ol(t){let e=Ce(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=Ie(t),i=a?t.offsetWidth:r,s=a?t.offsetHeight:n,c=zr(r)!==i||zr(n)!==s;return c&&(r=i,n=s),{width:r,height:n,$:c}}function nl(t){return je(t)?t:t.contextElement}function rr(t){let e=nl(t);if(!Ie(e))return tt(1);let r=e.getBoundingClientRect(),{width:n,height:a,$:i}=ol(e),s=(i?zr(r.width):r.width)/n,c=(i?zr(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Up=tt(0);function al(t){let e=ge(t);return!Fo()||!e.visualViewport?Up:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Bp(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==ge(t)?!1:e}function Kr(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let a=t.getBoundingClientRect(),i=nl(t),s=tt(1);e&&(n?je(n)&&(s=rr(n)):s=rr(t));let c=Bp(i,r,n)?al(i):tt(0),d=(a.left+c.x)/s.x,p=(a.top+c.y)/s.y,h=a.width/s.x,f=a.height/s.y;if(i){let m=ge(i),b=n&&je(n)?ge(n):n,x=m.frameElement;for(;x&&n&&b!==m;){let O=rr(x),N=x.getBoundingClientRect(),T=Ce(x),L=N.left+(x.clientLeft+parseFloat(T.paddingLeft))*O.x,C=N.top+(x.clientTop+parseFloat(T.paddingTop))*O.y;d*=O.x,p*=O.y,h*=O.x,f*=O.y,d+=L,p+=C,x=ge(x).frameElement}}return Ut({width:h,height:f,x:d,y:p})}function Fp(t){let{rect:e,offsetParent:r,strategy:n}=t,a=Ie(r),i=ot(r);if(r===i)return e;let s={scrollLeft:0,scrollTop:0},c=tt(1),d=tt(0);if((a||!a&&n!=="fixed")&&((rt(r)!=="body"||tr(i))&&(s=Gr(r)),Ie(r))){let p=Kr(r);c=rr(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+d.x,y:e.y*c.y-s.scrollTop*c.y+d.y}}function Wp(t){return Array.from(t.getClientRects())}function il(t){return Kr(ot(t)).left+Gr(t).scrollLeft}function Hp(t){let e=ot(t),r=Gr(t),n=t.ownerDocument.body,a=pt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=pt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+il(t),c=-r.scrollTop;return Ce(n).direction==="rtl"&&(s+=pt(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:c}}function zp(t,e){let r=ge(t),n=ot(t),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,c=0,d=0;if(a){i=a.width,s=a.height;let p=Fo();(!p||p&&e==="fixed")&&(c=a.offsetLeft,d=a.offsetTop)}return{width:i,height:s,x:c,y:d}}function Vp(t,e){let r=Kr(t,!0,e==="fixed"),n=r.top+t.clientTop,a=r.left+t.clientLeft,i=Ie(t)?rr(t):tt(1),s=t.clientWidth*i.x,c=t.clientHeight*i.y,d=a*i.x,p=n*i.y;return{width:s,height:c,x:d,y:p}}function tl(t,e,r){let n;if(e==="viewport")n=zp(t,r);else if(e==="document")n=Hp(ot(t));else if(je(e))n=Vp(e,r);else{let a=al(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return Ut(n)}function sl(t,e){let r=Bt(t);return r===e||!je(r)||jr(r)?!1:Ce(r).position==="fixed"||sl(r,e)}function jp(t,e){let r=e.get(t);if(r)return r;let n=Uo(t,[],!1).filter(c=>je(c)&&rt(c)!=="body"),a=null,i=Ce(t).position==="fixed",s=i?Bt(t):t;for(;je(s)&&!jr(s);){let c=Ce(s),d=Bo(s);!d&&c.position==="fixed"&&(a=null),(i?!d&&!a:!d&&c.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||tr(s)&&!d&&sl(t,s))?n=n.filter(h=>h!==s):a=c,s=Bt(s)}return e.set(t,n),n}function Gp(t){let{element:e,boundary:r,rootBoundary:n,strategy:a}=t,s=[...r==="clippingAncestors"?jp(e,this._c):[].concat(r),n],c=s[0],d=s.reduce((p,h)=>{let f=tl(e,h,a);return p.top=pt(f.top,p.top),p.right=Hr(f.right,p.right),p.bottom=Hr(f.bottom,p.bottom),p.left=pt(f.left,p.left),p},tl(e,c,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Kp(t){return ol(t)}function Zp(t,e,r){let n=Ie(e),a=ot(e),i=r==="fixed",s=Kr(t,!0,i,e),c={scrollLeft:0,scrollTop:0},d=tt(0);if(n||!n&&!i)if((rt(e)!=="body"||tr(a))&&(c=Gr(e)),n){let p=Kr(e,!0,i,e);d.x=p.x+e.clientLeft,d.y=p.y+e.clientTop}else a&&(d.x=il(a));return{x:s.left+c.scrollLeft-d.x,y:s.top+c.scrollTop-d.y,width:s.width,height:s.height}}function rl(t,e){return!Ie(t)||Ce(t).position==="fixed"?null:e?e(t):t.offsetParent}function ll(t,e){let r=ge(t);if(!Ie(t))return r;let n=rl(t,e);for(;n&&Js(n)&&Ce(n).position==="static";)n=rl(n,e);return n&&(rt(n)==="html"||rt(n)==="body"&&Ce(n).position==="static"&&!Bo(n))?r:n||Qs(t)||r}var qp=async function(t){let{reference:e,floating:r,strategy:n}=t,a=this.getOffsetParent||ll,i=this.getDimensions;return{reference:Zp(e,await a(r),n),floating:{x:0,y:0,...await i(r)}}};function Yp(t){return Ce(t).direction==="rtl"}var or={convertOffsetParentRelativeRectToViewportRelativeRect:Fp,getDocumentElement:ot,getClippingRect:Gp,getOffsetParent:ll,getElementRects:qp,getClientRects:Wp,getDimensions:Kp,getScale:rr,isElement:je,isRTL:Yp};var ka=(t,e,r)=>{let n=new Map,a={platform:or,...r},i={...a.platform,_c:n};return qs(t,e,{...a,platform:i})};function Ma(t){return Xp(t)}function Da(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Xp(t){for(let e=t;e;e=Da(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Da(t);e;e=Da(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Ua(t,e,r){return ka(t,e,{platform:{...or,getOffsetParent:n=>or.getOffsetParent(n,Ma)},middleware:[$a({crossAxis:!0}),La({allowedPlacements:[r]})]})}async function Jp(t,e,r,n,a,i=4){return ka(t,e,{placement:r,strategy:a,platform:{...or,getOffsetParent:s=>or.getOffsetParent(s,Ma)},middleware:[Pa(i),Ia({fallbackPlacements:n})]})}var za={};Z(za,{FtdsBase:()=>Ha,toFtdsBase:()=>zo});var Wa={};Z(Wa,{FtLitElement:()=>K});var Fa={};Z(Fa,{ScopedRegistryLitElement:()=>Zr});var Wo=window,Qp=Wo.ShadowRoot&&(Wo.ShadyCSS===void 0||Wo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,eb=Symbol();var cl=(t,e)=>{Qp?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),a=Wo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)})};var Zr=class extends Je{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return cl(n,e.elementStyles),n}};var Ho=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},fl,dl=Symbol("constructorPrototype"),pl=Symbol("constructorName"),hl=Symbol("exportpartsDebouncer"),ul=Symbol("dynamicDependenciesLoaded"),K=class extends Zr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[fl]=new ye(5),this[pl]=this.constructor.name,this[dl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[pl]&&Object.setPrototypeOf(this,this[dl])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[ul]||(e[ul]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[hl].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,a,i,s,c;let d=m=>m!=null&&m.trim().length>0,p=e.filter(d).map(m=>m.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.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(O=>O.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...b,...x).filter(d).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let f=[...h.values()].flatMap(m=>p.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};fl=hl;Ho([w()],K.prototype,"exportpartsPrefix",void 0);Ho([He([])],K.prototype,"exportpartsPrefixes",void 0);Ho([w()],K.prototype,"customStylesheet",void 0);Ho([J()],K.prototype,"useAdoptedStyleSheets",void 0);var yl=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i};function zo(t){class e extends t{constructor(){super(...arguments),this.size=et.medium,this.family=Mt.neutral}getDesignSystemBaseClasses(){return{[Sa(this.family)]:!0,[Oa(this.size)]:!0}}}return yl([w()],e.prototype,"size",void 0),yl([w()],e.prototype,"family",void 0),e}var Ha=class extends zo(K){};var ml={};var Ga={};Z(Ga,{highlightHtml:()=>ja,highlightHtmlColorCssVariable:()=>gl,highlightHtmlStyles:()=>tu});var Ft=class t{constructor(e,r=!0,n=[],a=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=a}static matches(e,r){let n=typeof r=="string"?[r]:r,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return n.every(s=>a.call(e,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let a=r.filter(i=>i.contains(n)).length>0;r.indexOf(n)===-1&&!a&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&r(a)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||r()})},a=>{a||r()})}forEachIframe(e,r,n,a=()=>{}){let i=e.querySelectorAll("iframe"),s=i.length,c=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(c)};s||d(),i.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{r(p)&&(c++,n(h)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let a=e.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,a){let i=!1,s=!1;return a.forEach((c,d)=>{c.val===n&&(i=d,s=c.handled)}),this.compareNodeIframe(e,r,n)?(i===!1&&!s?a.push({val:n,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,a)})})}iterateThroughNodes(e,r,n,a,i){let s=this.createIterator(r,e,a),c=[],d=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;f();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(p,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(e,b=>d.push(b),a)}),d.push(p);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,e,n,a),i()}forEachNode(e,r,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(c,d):d()})}};var qr=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new Ft(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),a+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return e.split("").forEach(i=>{n.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,s="";switch(i.forEach(c=>{s+=`|${this.escapeStr(c)}`}),a){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,a)=>a.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:c}=this.callNoMatchOnInvalidRanges(a,n);c&&(a.start=i,a.length=s-i,r.push(a),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,a,i=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),a=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-r>0&&a-n>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:a,valid:i}}checkWhitespaceRanges(e,r,n){let a,i=!0,s=n.length,c=r-s,d=parseInt(e.start,10)-c;return d=d>s?s:d,a=d+parseInt(e.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:a,valid:i}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return Ft.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(r),s=i.splitText(n-r),c=document.createElement(a);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=i.textContent,i.parentNode.replaceChild(c,i),s}wrapRangeInMappedTextNode(e,r,n,a,i){e.nodes.every((s,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!a(s.node))return!1;let p=r-s.start,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,p,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)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[s]!=="";){if(!n(p[s],d))continue;let h=p.index;if(s!==0)for(let f=1;f<s;f++)h+=p[f].length;d=this.wrapRangeInTextNode(d,h,h+p[s].length),a(d.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let f=1;f<s;f++)p+=d[f].length;let h=p+d[s].length;this.wrapRangeInMappedTextNode(c,p,h,f=>n(d[s],f),(f,m)=>{e.lastIndex=m,a(f)})}i()})}wrapRangeFromIndex(e,r,n,a){this.getTextNodes(i=>{let s=i.value.length;e.forEach((c,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(c,s,i.value);f&&this.wrapRangeInMappedTextNode(i,p,h,m=>r(m,c,i.value.substring(p,h),d),m=>{n(m,c)})}),a()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),i,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${c}`),f=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(m,b)=>this.opt.filter(b,p,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(p),i[s-1]===p?this.opt.done(n):d(i[i.indexOf(p)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(i[0])}markRanges(e,r){this.opt=r;let n=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,c,d)=>this.opt.filter(i,s,c,d),(i,s)=>{n++,this.opt.each(i,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let a=Ft.matches(n,r),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Va(t){let e=new qr(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var eu=Va,gl=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),tu=k`
8
8
  .highlight-html-match {
9
9
  background: ${gl};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-toc",
3
- "version": "1.2.25",
3
+ "version": "1.2.26",
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.2.25",
23
- "@fluid-topics/ft-reader-context": "1.2.25",
24
- "@fluid-topics/ft-size-watcher": "1.2.25",
25
- "@fluid-topics/ft-typography": "1.2.25",
26
- "@fluid-topics/ft-wc-utils": "1.2.25",
22
+ "@fluid-topics/ft-icon": "1.2.26",
23
+ "@fluid-topics/ft-reader-context": "1.2.26",
24
+ "@fluid-topics/ft-size-watcher": "1.2.26",
25
+ "@fluid-topics/ft-typography": "1.2.26",
26
+ "@fluid-topics/ft-wc-utils": "1.2.26",
27
27
  "lit": "3.1.0"
28
28
  },
29
- "gitHead": "59f3483ed120afa2b223e4397a864676059c7d27"
29
+ "gitHead": "9e23f9e9f000353f796042d15290cb6df600f10b"
30
30
  }