@fluid-topics/ft-search-result-metadata 1.1.23 → 1.1.24

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.
@@ -13,7 +13,7 @@
13
13
  `;var s,c,f,p,h,d,u,g,y,b,m,v,x,O,N,w,S,C;!function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function r(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function s(t){this.map={},t instanceof s?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function p(t){var o=new FileReader,e=f(o);return o.readAsArrayBuffer(t),e}function h(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t,o,e,i=c(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=f(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),i=0;i<o.length;i++)e[i]=String.fromCharCode(o[i]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=r(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},s.prototype.delete=function(t){delete this.map[r(t)]},s.prototype.get=function(t){return t=r(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(r(t))},s.prototype.set=function(t,o){this.map[r(t)]=a(o)},s.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,o){var e,i,n=(o=o||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new s(o.headers)),this.method=(e=o.method||this.method||"GET",i=e.toUpperCase(),u.indexOf(i)>-1?i:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function y(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),i=e.shift().replace(/\+/g," "),n=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(i),decodeURIComponent(n))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new s(o.headers),this.url=o.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},d.call(g.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function v(t,i){return new Promise((function(n,r){var a=new g(t,i);if(a.signal&&a.signal.aborted)return r(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function c(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new s,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),i=e.shift().trim();if(i){var n=e.join(":").trim();o.append(i,n)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var i="response"in l?l.response:l.responseText;n(new b(i,e))},l.onerror=function(){r(new TypeError("Network request failed"))},l.ontimeout=function(){r(new TypeError("Network request failed"))},l.onabort=function(){r(new o.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),a.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",c),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",c)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=s,t.Request=g,t.Response=b),o.Headers=s,o.Request=g,o.Response=b,o.fetch=v,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(s||(s={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(c||(c={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(f||(f={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(p||(p={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(h||(h={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(d||(d={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(u||(u={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(g||(g={})),function(t){t.ASC="ASC",t.DESC="DESC"}(y||(y={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(b||(b={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(m||(m={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(v||(v={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(x||(x={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(O||(O={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(N||(N={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(w||(w={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(S||(S={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(C||(C={})),S.PERSONAL_BOOK_SHARE_USER,S.PERSONAL_BOOK_USER,S.HTML_EXPORT_USER,S.PERSONAL_BOOK_USER,S.PDF_EXPORT_USER,S.PERSONAL_BOOK_USER,S.KHUB_ADMIN,S.CONTENT_PUBLISHER,S.ADMIN,S.KHUB_ADMIN,S.USERS_ADMIN,S.PORTAL_ADMIN,S.DEVELOPER,S.BETA_USER,S.DEBUG_USER;const $=e.css`
14
14
  `,I=o.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class E{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=I.getState(),i=null!=t?t:e;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static get(t){var o;return null!=t?E.build(t):null!==(o=E.API)&&void 0!==o?o:E.API=E.build()}static await(t){return new Promise((o=>{let e=E.get(t);if(e)o(e);else{const i=I.subscribe((()=>{e=E.get(t),e&&(i(),o(e))}))}}))}}var R;const k=Symbol("clearAfterUnitTest");class U{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[R]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=I.getState().uiLocale,I.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=I.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var i;if(t=t.toLowerCase(),Object.keys(e).length>0){const n={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};o.deepEqual(this.defaultMessages[t],n)||(this.defaultMessages[t]=n,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var n,r,a;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(r=null===(n=this.cache.getNow(t))||void 0===n?void 0:n.messages)&&void 0!==r?r:{};return new o.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},l).resolve(e,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>o.delay(0).then((()=>t())).catch((()=>null)))))}}R=k,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new U((async(t,o)=>(await E.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new U((async(t,o)=>(await E.await()).getCustomMessageContext(t,o))));const L=window.FluidTopicsI18nService,W=window.FluidTopicsCustomI18nService;var z=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class A extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>E.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
15
15
  <slot></slot>
16
- `}update(t){super.update(t),t.has("baseUrl")&&I.actions.baseUrl(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("availableUiLocales")&&I.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>L.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}A.elementDefinitions={},A.styles=$,z([i.property()],A.prototype,"baseUrl",void 0),z([i.property()],A.prototype,"apiIntegrationIdentifier",void 0),z([i.property()],A.prototype,"uiLocale",void 0),z([o.jsonProperty(null)],A.prototype,"availableUiLocales",void 0),z([o.jsonProperty(null)],A.prototype,"metadataConfiguration",void 0),z([i.property({type:Boolean})],A.prototype,"editorMode",void 0),z([i.property({type:Boolean})],A.prototype,"noCustom",void 0),z([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],A.prototype,"noCustomComponent",void 0),z([i.property({type:Boolean})],A.prototype,"withManualResources",void 0),z([o.jsonProperty([])],A.prototype,"messageContexts",void 0),z([o.jsonProperty(void 0)],A.prototype,"session",void 0),z([i.property({type:Object})],A.prototype,"apiProvider",void 0);class K{async listMySearches(){var t;return(null===(t=I.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await E.await()).listMySearches(I.getState().session.profile.userId):[]}}const Z=new o.CacheRegistry;class B{async listMyBookmarks(){return Z.get("bookmarks",(async()=>(await E.await()).listMyBookmarks(I.getState().session.profile.userId)))}clearCache(){Z.clear("bookmarks")}}const D=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=I.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new B,I.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=I.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){D.actions.savedSearches(void 0)}clearMyBookmarks(){D.actions.bookmarks(void 0)}async reloadMySearches(){const t=new K,o=await t.listMySearches();D.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;D.actions.bookmarks(o)}}},o.customElement("ft-app-context")(A);class F extends Event{constructor(){super(F.eventName)}}F.eventName="search-context-clear-all-filters";var T=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class P extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const H=Symbol("registerInterval");class M extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[H]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[H]):this.dispatchEvent(new P)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=H,T([i.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}var j=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class G extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const _=Symbol("registerInterval");class V extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setResultStateManager(t){this.resultStateManager=t}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[_]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[_]):this.dispatchEvent(new G)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return o=_,j([i.property({attribute:!1})],e.prototype,"cluster",void 0),j([i.property({attribute:!1})],e.prototype,"result",void 0),j([i.property({attribute:!1,type:Number})],e.prototype,"rank",void 0),e}(M)){}const Y=e.css`
16
+ `}update(t){super.update(t),t.has("baseUrl")&&I.actions.baseUrl(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("availableUiLocales")&&I.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>L.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}A.elementDefinitions={},A.styles=$,z([i.property()],A.prototype,"baseUrl",void 0),z([i.property()],A.prototype,"apiIntegrationIdentifier",void 0),z([i.property()],A.prototype,"uiLocale",void 0),z([o.jsonProperty(null)],A.prototype,"availableUiLocales",void 0),z([o.jsonProperty(null)],A.prototype,"metadataConfiguration",void 0),z([i.property({type:Boolean})],A.prototype,"editorMode",void 0),z([i.property({type:Boolean})],A.prototype,"noCustom",void 0),z([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],A.prototype,"noCustomComponent",void 0),z([i.property({type:Boolean})],A.prototype,"withManualResources",void 0),z([o.jsonProperty([])],A.prototype,"messageContexts",void 0),z([o.jsonProperty(void 0)],A.prototype,"session",void 0),z([i.property({type:Object})],A.prototype,"apiProvider",void 0);class K{async listMySearches(){var t;return(null===(t=I.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await E.await()).listMySearches(I.getState().session.profile.userId):[]}}const Z=new o.CacheRegistry;class B{async listMyBookmarks(){return Z.get("bookmarks",(async()=>(await E.await()).listMyBookmarks(I.getState().session.profile.userId)))}clearCache(){Z.clear("bookmarks")}}const D=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=I.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new B,I.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=I.getState();o.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){D.actions.savedSearches(void 0)}clearMyBookmarks(){D.actions.bookmarks(void 0)}async reloadMySearches(){const t=new K,o=await t.listMySearches();D.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;D.actions.bookmarks(o)}}},o.customElement("ft-app-context")(A);class F extends Event{constructor(){super(F.eventName)}}F.eventName="search-context-clear-all-filters";var T=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class P extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const M=Symbol("registerInterval");class H extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[M]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[M]):this.dispatchEvent(new P)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=M,T([i.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}var j=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class G extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const _=Symbol("registerInterval");class V extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setResultStateManager(t){this.resultStateManager=t}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[_]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[_]):this.dispatchEvent(new G)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return o=_,j([i.property({attribute:!1})],e.prototype,"cluster",void 0),j([i.property({attribute:!1})],e.prototype,"result",void 0),j([i.property({attribute:!1,type:Number})],e.prototype,"rank",void 0),e}(H)){}const Y=e.css`
17
17
  `;var q=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};const X=Symbol("i18nProperties"),J=Symbol("i18nUnsubs");function Q(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?W:L}i18n(t,o,...e){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const n=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...n)}onI18nUpdate(t){var o;null===(o=this[X])||void 0===o||o.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var o;super.update(t),null===(o=this[X])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[X]&&new Set([...this[X].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[J].has(t)||this[J].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages(t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[J].forEach((t=>t())),this[J].clear()}}return o=J,q([i.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class tt extends(Q(o.FtLitElement)){}class ot extends(Q(o.FtLitElementRedux)){}var et=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class it extends ot{constructor(){super(),this.editorMode=!1,this.addStore(I)}render(){return this.key&&this.context?e.html`
18
18
  <span class="ft-i18n">
19
19
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
@@ -29,7 +29,7 @@
29
29
  * Copyright 2020 Google LLC
30
30
  * SPDX-License-Identifier: BSD-3-Clause
31
31
  */
32
- const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$litStatic$:t,r:Pt}),jt=new Map,Gt=(t=>(o,...e)=>{const i=e.length;let n,r;const a=[],l=[];let s,c=0,f=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(r=e[c],n=Ht(r));)s+=n+o[++c],f=!0;c!==i&&l.push(r),a.push(s),c++}if(c===i&&a.push(o[i]),f){const t=a.join("$$lit$$");void 0===(o=jt.get(t))&&(a.raw=a,jt.set(t,o=a)),e=l}return t(o,...e)})(Ct);var _t;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(_t||(_t={}));const Vt=t=>"string"==typeof t?e.unsafeCSS(t):t;class Yt{static create(t,o,i,n){const r=t=>Vt(null!=t?t:n),a=e.css`var(${Vt(t)}, ${r(n)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=n,a.defaultCssValue=r,a.get=o=>e.css`var(${Vt(t)}, ${r(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>n,a}static extend(t,o,i,n){const r=t=>i.get(null!=t?t:n),a=e.css`var(${Vt(t)}, ${r(n)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=n,a.defaultCssValue=r,a.get=o=>e.css`var(${Vt(t)}, ${r(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=n?n:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Vt(null!=o?o:t.lastResortDefaultValue()),n=e.css`var(${Vt(t.name)}, ${i(t.defaultValue)})`;return n.name=t.name,n.category=t.category,n.fallbackVariable=t.fallbackVariable,n.defaultValue=t.defaultValue,n.context=o,n.defaultCssValue=i,n.get=o=>e.css`var(${Vt(t.name)}, ${i(o)})`,n.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>t.lastResortDefaultValue(),n}}const qt={colorWhite:Yt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Yt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Yt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Yt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Yt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Yt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Yt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Yt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Yt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Yt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Yt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Yt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Yt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Yt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Yt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Yt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Yt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Yt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Yt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Yt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Yt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Yt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Yt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Yt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Yt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Yt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Yt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Yt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Yt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Yt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Yt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Yt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Yt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Yt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Yt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Yt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Yt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Yt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Yt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Yt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Yt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Yt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Yt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Yt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Yt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Yt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Yt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Yt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Yt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Yt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Yt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Yt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Yt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Yt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Yt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Yt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Yt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Yt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Yt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Yt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Yt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Yt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Yt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Yt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Yt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Yt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Yt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Yt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Yt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Yt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Yt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Yt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Yt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Yt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Yt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Yt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Yt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Yt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Yt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Yt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Yt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Yt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Yt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Yt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Yt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Yt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Yt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Yt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Yt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Yt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Yt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Yt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Yt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Yt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Yt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Yt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Yt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Yt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Yt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Yt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Yt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Yt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Yt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Yt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Yt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Yt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Yt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Yt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Yt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Yt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Yt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Yt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Yt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Yt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Yt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Yt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Yt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Yt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Yt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Yt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Yt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Yt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Yt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Yt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Yt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Yt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Yt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Yt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Yt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Yt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Yt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Yt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Yt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Yt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Yt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Yt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Yt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Yt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Yt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Yt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Yt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Yt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Yt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Yt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Yt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Yt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Yt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Yt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Yt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Yt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Yt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Yt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Yt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Yt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Yt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Yt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Yt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Yt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Yt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Yt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Yt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Yt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Yt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Yt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Yt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Yt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Yt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Yt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Yt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Yt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Yt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Yt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Yt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Yt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Yt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Yt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Yt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Yt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Yt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Yt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Yt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Yt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Yt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Yt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Yt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Yt.create("--ft-opacity-80","","NUMBER","0.8")},Xt={display:{fontFamily:Yt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Yt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Yt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Yt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Yt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Yt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Yt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Yt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Yt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Yt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Yt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Yt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Yt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Yt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Yt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Yt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Yt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Yt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Yt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Yt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Yt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Yt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Yt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Yt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Yt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Yt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Yt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Yt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Yt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Yt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Yt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Yt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Yt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Yt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Yt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Yt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Yt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Yt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Yt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Yt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Yt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Yt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Yt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Yt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Yt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Yt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Jt={backgroundActionPrimary:Yt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",qt.colorBrand0),backgroundErrorPrimary:Yt.extend("--ft-background-error-primary","Used as background of error components.",qt.colorRed0),backgroundErrorSubtle:Yt.extend("--ft-background-error-subtle","Used as background of subtle error components.",qt.colorRed10),backgroundInfoPrimary:Yt.extend("--ft-background-info-primary","Used as background of information components.",qt.colorCyan200),backgroundInfoSubtle:Yt.extend("--ft-background-info-subtle","Used as background of subtle information components.",qt.colorCyan10),backgroundWarningPrimary:Yt.extend("--ft-background-warning-primary","Used as background of warning components.",qt.colorOrange300),backgroundWarningSubtle:Yt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",qt.colorOrange10),backgroundSuccessPrimary:Yt.extend("--ft-background-success-primary","Used as background of success components.",qt.colorGreen200),backgroundSuccessSubtle:Yt.extend("--ft-background-success-subtle","Used as background of subtle success components.",qt.colorGreen10),backgroundGlobalSurface:Yt.extend("--ft-background-global-surface","Used as app background.",qt.colorWhite),backgroundGlobalOnSurface:Yt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",qt.colorGray10),backgroundGlobalOnSurfaceDark:Yt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",qt.colorGray30),contentActionPrimary:Yt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",qt.colorBrand0),contentWarningPrimary:Yt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",qt.colorOrange300),contentWarningIconOnly:Yt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",qt.colorOrange0),contentErrorPrimary:Yt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",qt.colorRed0),contentErrorIconOnly:Yt.extend("--ft-content-error-icon-only","Used on error status icons alone",qt.colorRed0),contentInfoPrimary:Yt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",qt.colorCyan200),contentInfoIconOnly:Yt.extend("--ft-content-info-icon-only","Used on info status icons alone",qt.colorCyan0),contentSuccessIconOnly:Yt.extend("--ft-content-success-icon-only","Used on success status icons alone",qt.colorGreen0),contentSuccessPrimary:Yt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",qt.colorGreen200),contentGlobalPrimary:Yt.extend("--ft-content-global-primary","Used for main content on the page.",qt.colorGray500),contentGlobalSecondary:Yt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",qt.colorGray200),contentGlobalSubtle:Yt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",qt.colorGray0),contentGlobalOnColor:Yt.extend("--ft-content-global-on-color","Used for content on a dominant color.",qt.colorWhite),borderActionPrimary:Yt.extend("--ft-border-action-primary","Used as border for primary action components.",qt.colorBrand0),borderActionFocusRing:Yt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",qt.colorCyan0),borderWarningPrimary:Yt.extend("--ft-border-warning-primary","Used as border for warning components.",qt.colorOrange30),borderSuccessPrimary:Yt.extend("--ft-border-success-primary","Used as border for success components.",qt.colorGreen30),borderErrorPrimary:Yt.extend("--ft-border-error-primary","Used as border for error components.",qt.colorRed30),borderInfoPrimary:Yt.extend("--ft-border-info-primary","Used as border for information components.",qt.colorCyan30),borderGlobalSubtle:Yt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",qt.colorGray30),borderGlobalPrimary:Yt.extend("--ft-border-global-primary","Used as border for element like input.",qt.colorGray50),borderInputPrimary:Yt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",qt.colorGray80)},Qt={largeHeight:Yt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Yt.extend("--ft-button-large-horizontal-padding","",qt.spacing4),largeGap:Yt.extend("--ft-button-large-gap","",qt.spacing2),largeBorderRadius:Yt.extend("--ft-button-large-border-radius","",qt.borderRadiusS),largeIconSize:Yt.extend("--ft-button-large-icon-size","",qt.iconSize3),largeBorderWidth:Yt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Yt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Yt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Yt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Yt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Yt.extend("--ft-button-small-horizontal-padding","",qt.spacing3),smallGap:Yt.extend("--ft-button-small-gap","",qt.spacing2),smallBorderRadius:Yt.extend("--ft-button-small-border-radius","",qt.borderRadiusS),smallIconSize:Yt.extend("--ft-button-small-icon-size","",qt.iconSize2),smallBorderWidth:Yt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Yt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Yt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Yt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Yt.extend("--ft-button-primary-background-color","",Jt.backgroundActionPrimary),primaryColor:Yt.extend("--ft-button-primary-color","",Jt.contentGlobalOnColor),primaryIconColor:Yt.extend("--ft-button-primary-icon-color","",Jt.contentGlobalOnColor),primaryStateLayerColor:Yt.extend("--ft-button-primary-state-layer-color","",Jt.contentGlobalOnColor),primaryStateLayerOpacityHover:Yt.extend("--ft-button-primary-state-layer-opacity-hover","",qt.opacity16),primaryStateLayerOpacityFocus:Yt.extend("--ft-button-primary-state-layer-opacity-focus","",qt.opacity16),primaryStateLayerOpacityActive:Yt.extend("--ft-button-primary-state-layer-opacity-active","",qt.opacity24),primaryComponentOpacityDisabled:Yt.extend("--ft-button-primary-component-opacity-disabled","",qt.opacity40),focusFocusRingColor:Yt.extend("--ft-button-focus-focus-ring-color","",Jt.borderActionFocusRing),tertiaryBackgroundColor:Yt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Yt.extend("--ft-button-tertiary-color","",Jt.contentActionPrimary),tertiaryIconColor:Yt.extend("--ft-button-tertiary-icon-color","",Jt.contentActionPrimary),tertiaryStateLayerColor:Yt.extend("--ft-button-tertiary-state-layer-color","",Jt.contentActionPrimary),tertiaryStateLayerOpacityHover:Yt.extend("--ft-button-tertiary-state-layer-opacity-hover","",qt.opacity8),tertiaryStateLayerOpacityFocus:Yt.extend("--ft-button-tertiary-state-layer-opacity-focus","",qt.opacity8),tertiaryStateLayerOpacityActive:Yt.extend("--ft-button-tertiary-state-layer-opacity-active","",qt.opacity16),tertiaryComponentOpacityDisabled:Yt.extend("--ft-button-tertiary-component-opacity-disabled","",qt.opacity40),secondaryBackgroundColor:Yt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Yt.extend("--ft-button-secondary-color","",Jt.contentActionPrimary),secondaryIconColor:Yt.extend("--ft-button-secondary-icon-color","",Jt.contentActionPrimary),secondaryStateLayerColor:Yt.extend("--ft-button-secondary-state-layer-color","",Jt.contentActionPrimary),secondaryStateLayerOpacityHover:Yt.extend("--ft-button-secondary-state-layer-opacity-hover","",qt.opacity8),secondaryStateLayerOpacityFocus:Yt.extend("--ft-button-secondary-state-layer-opacity-focus","",qt.opacity8),secondaryStateLayerOpacityActive:Yt.extend("--ft-button-secondary-state-layer-opacity-active","",qt.opacity16),secondaryComponentOpacityDisabled:Yt.extend("--ft-button-secondary-component-opacity-disabled","",qt.opacity40),secondaryBorderColor:Yt.extend("--ft-button-secondary-border-color","",Jt.borderActionPrimary),neutralBackgroundColor:Yt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Yt.extend("--ft-button-neutral-icon-color","",Jt.contentGlobalSecondary),neutralColor:Yt.extend("--ft-button-neutral-color","",Jt.contentGlobalSecondary),neutralStateLayerColor:Yt.extend("--ft-button-neutral-state-layer-color","",Jt.contentGlobalSecondary),neutralStateLayerOpacityHover:Yt.extend("--ft-button-neutral-state-layer-opacity-hover","",qt.opacity8),neutralStateLayerOpacityFocus:Yt.extend("--ft-button-neutral-state-layer-opacity-focus","",qt.opacity8),neutralStateLayerOpacityActive:Yt.extend("--ft-button-neutral-state-layer-opacity-active","",qt.opacity16),neutralComponentOpacityDisabled:Yt.extend("--ft-button-neutral-component-opacity-disabled","",qt.opacity40)};Yt.extend("--ft-tabs-top-left-border-radius","",qt.borderRadiusS),Yt.extend("--ft-tabs-top-right-border-radius","",qt.borderRadiusS),Yt.extend("--ft-tabs-label-horizontal-padding","",qt.spacing4),Yt.extend("--ft-tabs-label-vertical-padding","",qt.spacing3),Yt.extend("--ft-tabs-label-gap","",qt.spacing1),Yt.extend("--ft-switch-group-horizontal-padding","",qt.spacing1),Yt.extend("--ft-switch-group-vertical-padding","",qt.spacing1),Yt.extend("--ft-switch-group-gap","",qt.spacing1),Yt.extend("--ft-switch-group-background-color","",Jt.backgroundGlobalSurface),Yt.extend("--ft-switch-group-border-color","",Jt.borderGlobalSubtle),Yt.create("--ft-switch-group-border-radius","","SIZE","6px"),Yt.extend("--ft-switch-label-horizontal-padding","",qt.spacing2),Yt.extend("--ft-switch-label-vertical-padding","",qt.spacing1),Yt.extend("--ft-switch-icon-horizontal-padding","",qt.spacing1),Yt.extend("--ft-switch-icon-vertical-padding","",qt.spacing1),Yt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-switch-focus-focus-ring-color","",Jt.borderActionFocusRing),Yt.extend("--ft-switch-option-border-radius","",qt.borderRadiusS),Yt.extend("--ft-switch-off-state-layer-opacity-hover","",qt.opacity8),Yt.extend("--ft-switch-off-state-layer-opacity-focus","",qt.opacity8),Yt.extend("--ft-switch-off-state-layer-opacity-active","",qt.opacity16),Yt.extend("--ft-switch-off-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-switch-off-color","",Jt.contentGlobalSubtle),Yt.extend("--ft-switch-off-state-layer-color","",Jt.contentGlobalSubtle),Yt.extend("--ft-chart-1-light","for area color charts",qt.colorBrand40),Yt.extend("--ft-chart-1-base","for line charts",qt.colorBrand0),Yt.extend("--ft-chart-2-light","for area color charts",qt.colorYellow60),Yt.extend("--ft-chart-2-base","for line charts",qt.colorYellow100),Yt.extend("--ft-chart-3-light","",qt.colorUltramarine40),Yt.extend("--ft-chart-3-base","",qt.colorUltramarine70),Yt.extend("--ft-chart-4-light","",qt.colorCyan50),Yt.extend("--ft-chart-4-base","",qt.colorCyan100),Yt.extend("--ft-chart-5-light","",qt.colorRed40),Yt.extend("--ft-chart-5-base","",qt.colorRed60),Yt.extend("--ft-chart-6-light","",qt.colorGreen40),Yt.extend("--ft-chart-6-base","",qt.colorGreen70),Yt.extend("--ft-chart-7-light","",qt.colorOrange70),Yt.extend("--ft-chart-7-base","",qt.colorOrange100),Yt.extend("--ft-chart-8-light","",qt.colorAvocado70),Yt.extend("--ft-chart-8-base","",qt.colorAvocado200),Yt.extend("--ft-chart-9-light","",qt.colorBrown50),Yt.extend("--ft-chart-9-base","",qt.colorBrown200),Yt.extend("--ft-chart-10-light","",qt.colorGray50),Yt.extend("--ft-chart-10-base","",qt.colorGray80),Yt.extend("--ft-chart-monochrome-10","",qt.colorBrand10),Yt.extend("--ft-chart-monochrome-20","",qt.colorBrand20),Yt.extend("--ft-chart-monochrome-30","",qt.colorBrand40),Yt.extend("--ft-chart-monochrome-40","",qt.colorBrand60),Yt.extend("--ft-chart-monochrome-50","",qt.colorBrand0),Yt.extend("--ft-chart-monochrome-60","",qt.colorBrand200),Yt.extend("--ft-chip-large-horizontal-padding","",qt.spacing4),Yt.extend("--ft-chip-large-vertical-padding","",qt.spacing2),Yt.extend("--ft-chip-large-gap","",qt.spacing1),Yt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Yt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-chip-large-border-radius","",qt.borderRadiusPill),Yt.create("--ft-chip-large-border-width","","SIZE","1px"),Yt.extend("--ft-chip-large-icon-size","",qt.iconSize3),Yt.extend("--ft-chip-medium-horizontal-padding","",qt.spacing3),Yt.extend("--ft-chip-medium-vertical-padding","",qt.spacing1),Yt.extend("--ft-chip-medium-gap","",qt.spacing1),Yt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Yt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-chip-medium-border-radius","",qt.borderRadiusPill),Yt.create("--ft-chip-medium-border-width","","SIZE","1px"),Yt.extend("--ft-chip-medium-icon-size","",qt.iconSize2),Yt.extend("--ft-chip-small-horizontal-padding","",qt.spacing2),Yt.extend("--ft-chip-small-vertical-padding","",qt.spacing05),Yt.extend("--ft-chip-small-gap","",qt.spacing1),Yt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Yt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-chip-small-border-radius","",qt.borderRadiusPill),Yt.create("--ft-chip-small-border-width","","SIZE","1px"),Yt.extend("--ft-chip-small-icon-size","",qt.iconSize1),Yt.extend("--ft-chip-neutral-background-color","",Jt.backgroundGlobalOnSurface),Yt.extend("--ft-chip-neutral-color","",Jt.contentGlobalPrimary),Yt.extend("--ft-chip-neutral-border-color","",Jt.borderGlobalSubtle),Yt.extend("--ft-chip-info-background-color","",Jt.backgroundInfoSubtle),Yt.extend("--ft-chip-info-color","",Jt.contentInfoPrimary),Yt.extend("--ft-chip-info-border-color","",Jt.borderInfoPrimary),Yt.extend("--ft-chip-success-background-color","",Jt.backgroundSuccessSubtle),Yt.extend("--ft-chip-success-color","",Jt.contentSuccessPrimary),Yt.extend("--ft-chip-success-border-color","",Jt.borderSuccessPrimary),Yt.extend("--ft-chip-warning-background-color","",Jt.backgroundWarningSubtle),Yt.extend("--ft-chip-warning-color","",Jt.contentWarningPrimary),Yt.extend("--ft-chip-warning-border-color","",Jt.borderWarningPrimary),Yt.extend("--ft-chip-error-background-color","",Jt.backgroundErrorSubtle),Yt.extend("--ft-chip-error-color","",Jt.contentErrorPrimary),Yt.extend("--ft-chip-error-border-color","",Jt.borderErrorPrimary),Yt.create("--ft-notice-border-width","","SIZE","1px"),Yt.extend("--ft-notice-horizontal-padding","",qt.spacing2),Yt.extend("--ft-notice-vertical-padding","",qt.spacing1),Yt.extend("--ft-notice-border-radius","",qt.borderRadiusS),Yt.extend("--ft-notice-gap","",qt.spacing2),Yt.extend("--ft-notice-icon-size","",qt.iconSize3),Yt.extend("--ft-notice-info-background-color","",Jt.backgroundInfoSubtle),Yt.extend("--ft-notice-info-border-color","",Jt.borderInfoPrimary),Yt.extend("--ft-notice-info-color","",Jt.contentInfoPrimary),Yt.extend("--ft-notice-warning-background-color","",Jt.backgroundWarningSubtle),Yt.extend("--ft-notice-warning-border-color","",Jt.borderWarningPrimary),Yt.extend("--ft-notice-warning-color","",Jt.contentWarningPrimary),Yt.extend("--ft-checkbox-label-color","",Jt.contentGlobalPrimary),Yt.extend("--ft-checkbox-checked-background-color","",Jt.contentActionPrimary),Yt.extend("--ft-checkbox-checked-state-layer-color","",Jt.contentActionPrimary),Yt.extend("--ft-checkbox-checked-color","",Jt.contentGlobalOnColor),Yt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-checkbox-checked-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-checkbox-checked-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-checkbox-unchecked-border-color","",qt.colorGray80),Yt.extend("--ft-checkbox-unchecked-state-layer-color","",qt.colorGray80),Yt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-checkbox-focus-focus-ring-color","",Jt.borderActionFocusRing),Yt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Yt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-checkbox-gap","",qt.spacing3),Yt.extend("--ft-toggle-off-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-toggle-off-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-toggle-off-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-toggle-off-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-toggle-off-background-color","",Jt.contentGlobalSubtle),Yt.extend("--ft-toggle-off-icon-color","",Jt.contentGlobalSubtle),Yt.extend("--ft-toggle-off-state-layer-color","",Jt.contentGlobalSubtle),Yt.extend("--ft-toggle-on-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-toggle-on-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-toggle-on-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-toggle-on-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-toggle-on-background-color","",Jt.contentActionPrimary),Yt.extend("--ft-toggle-on-icon-color","",Jt.contentActionPrimary),Yt.extend("--ft-toggle-on-state-layer-color","",Jt.contentActionPrimary),Yt.extend("--ft-toggle-label-color","",Jt.contentGlobalPrimary),Yt.extend("--ft-toggle-focus-focus-ring-color","",Jt.borderActionFocusRing),Yt.extend("--ft-toggle-gap","",qt.spacing3),Yt.extend("--ft-radio-label-color","",Jt.contentGlobalPrimary),Yt.extend("--ft-radio-selected-color","",Jt.contentActionPrimary),Yt.extend("--ft-radio-selected-state-layer-color","",Jt.contentActionPrimary),Yt.extend("--ft-radio-selected-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-radio-selected-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-radio-selected-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-radio-selected-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-radio-unselected-state-layer-color","",qt.colorGray80),Yt.extend("--ft-radio-unselected-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-radio-unselected-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-radio-unselected-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-radio-unselected-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-radio-focus-focus-ring-color","",Jt.borderActionFocusRing),Yt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Yt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-radio-gap","",qt.spacing3),Yt.extend("--ft-notification-icon-size","",qt.iconSize4),Yt.extend("--ft-notification-horizontal-padding","",qt.spacing4),Yt.extend("--ft-notification-vertical-padding","",qt.spacing4),Yt.extend("--ft-notification-info-background-color","",Jt.backgroundInfoSubtle),Yt.extend("--ft-notification-info-color","",Jt.contentInfoPrimary),Yt.extend("--ft-notification-info-border-color","",Jt.borderInfoPrimary),Yt.extend("--ft-notification-success-background-color","",Jt.backgroundSuccessSubtle),Yt.extend("--ft-notification-success-color","",Jt.contentSuccessPrimary),Yt.extend("--ft-notification-success-border-color","",Jt.borderSuccessPrimary),Yt.extend("--ft-notification-warning-background-color","",Jt.backgroundWarningSubtle),Yt.extend("--ft-notification-warning-color","",Jt.contentWarningPrimary),Yt.extend("--ft-notification-warning-border-color","",Jt.borderWarningPrimary),Yt.extend("--ft-notification-error-background-color","",Jt.backgroundErrorSubtle),Yt.extend("--ft-notification-error-color","",Jt.contentErrorPrimary),Yt.extend("--ft-notification-error-border-color","",Jt.borderErrorPrimary),Yt.extend("--ft-notification-border-radius","",qt.borderRadiusPill),Yt.create("--ft-notification-border-width","","SIZE","1px"),Yt.extend("--ft-notification-gap-leading","",qt.spacing2),Yt.extend("--ft-notification-gap-trailing","",qt.spacing8);const to=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),oo=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),eo={fontFamily:oo,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},io=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",to),no=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",eo.fontSize,"20px"),ro=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",eo.fontWeight,"normal"),ao=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",eo.letterSpacing,"0.15px"),lo=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",eo.lineHeight,"1.2"),so=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",eo.textTransform,"inherit"),co=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",to),fo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",eo.fontSize,"14px"),po=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",eo.fontWeight,"normal"),ho=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",eo.letterSpacing,"0.105px"),uo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",eo.lineHeight,"1.7"),go=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",eo.textTransform,"inherit"),yo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",oo),bo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",eo.fontSize,"16px"),mo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",eo.fontWeight,"600"),vo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",eo.letterSpacing,"0.144px"),xo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",eo.lineHeight,"1.5"),Oo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",eo.textTransform,"inherit"),No=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",oo),wo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",eo.fontSize,"14px"),So=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",eo.fontWeight,"normal"),Co=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",eo.letterSpacing,"0.098px"),$o=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",eo.lineHeight,"1.7"),Io=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",eo.textTransform,"inherit"),Eo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",oo),Ro=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",eo.fontSize,"16px"),ko=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",eo.fontWeight,"normal"),Uo=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",eo.letterSpacing,"0.496px"),Lo=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",eo.lineHeight,"1.5"),Wo=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",eo.textTransform,"inherit"),zo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",oo),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",eo.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",eo.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",eo.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",eo.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",eo.textTransform,"inherit")},Ao=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",oo),Ko=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",eo.fontSize,"12px"),Zo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",eo.fontWeight,"normal"),Bo=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",eo.letterSpacing,"0.396px"),Do=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",eo.lineHeight,"1.33"),Fo=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",eo.textTransform,"inherit"),To=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",oo),Po=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",eo.fontSize,"10px"),Ho=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",eo.fontWeight,"normal"),Mo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",eo.letterSpacing,"0.33px"),jo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",eo.lineHeight,"1.6"),Go=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",eo.textTransform,"inherit"),_o=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",oo),Vo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",eo.fontSize,"10px"),Yo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",eo.fontWeight,"normal"),qo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",eo.letterSpacing,"1.5px"),Xo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",eo.lineHeight,"1.6"),Jo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",eo.textTransform,"uppercase"),Qo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",oo),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",eo.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",eo.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",eo.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",eo.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",eo.textTransform,"uppercase")},te=e.css`
32
+ const Pt=Symbol.for(""),Mt=t=>{if(t?.r===Pt)return t?._$litStatic$},Ht=t=>({_$litStatic$:t,r:Pt}),jt=new Map,Gt=(t=>(o,...e)=>{const i=e.length;let n,r;const a=[],l=[];let s,c=0,f=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(r=e[c],n=Mt(r));)s+=n+o[++c],f=!0;c!==i&&l.push(r),a.push(s),c++}if(c===i&&a.push(o[i]),f){const t=a.join("$$lit$$");void 0===(o=jt.get(t))&&(a.raw=a,jt.set(t,o=a)),e=l}return t(o,...e)})(Ct);var _t;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(_t||(_t={}));const Vt=t=>"string"==typeof t?e.unsafeCSS(t):t;class Yt{static create(t,o,i,n){const r=t=>Vt(null!=t?t:n),a=e.css`var(${Vt(t)}, ${r(n)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=n,a.defaultCssValue=r,a.get=o=>e.css`var(${Vt(t)}, ${r(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>n,a}static extend(t,o,i,n){const r=t=>i.get(null!=t?t:n),a=e.css`var(${Vt(t)}, ${r(n)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=n,a.defaultCssValue=r,a.get=o=>e.css`var(${Vt(t)}, ${r(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=n?n:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Vt(null!=o?o:t.lastResortDefaultValue()),n=e.css`var(${Vt(t.name)}, ${i(t.defaultValue)})`;return n.name=t.name,n.category=t.category,n.fallbackVariable=t.fallbackVariable,n.defaultValue=t.defaultValue,n.context=o,n.defaultCssValue=i,n.get=o=>e.css`var(${Vt(t.name)}, ${i(o)})`,n.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>t.lastResortDefaultValue(),n}}const qt={colorWhite:Yt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Yt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Yt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Yt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Yt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Yt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Yt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Yt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Yt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Yt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Yt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Yt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Yt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Yt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Yt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Yt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Yt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Yt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Yt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Yt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Yt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Yt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Yt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Yt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Yt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Yt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Yt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Yt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Yt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Yt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Yt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Yt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Yt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Yt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Yt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Yt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Yt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Yt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Yt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Yt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Yt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Yt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Yt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Yt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Yt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Yt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Yt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Yt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Yt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Yt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Yt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Yt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Yt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Yt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Yt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Yt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Yt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Yt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Yt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Yt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Yt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Yt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Yt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Yt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Yt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Yt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Yt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Yt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Yt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Yt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Yt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Yt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Yt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Yt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Yt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Yt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Yt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Yt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Yt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Yt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Yt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Yt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Yt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Yt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Yt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Yt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Yt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Yt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Yt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Yt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Yt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Yt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Yt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Yt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Yt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Yt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Yt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Yt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Yt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Yt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Yt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Yt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Yt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Yt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Yt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Yt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Yt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Yt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Yt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Yt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Yt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Yt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Yt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Yt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Yt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Yt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Yt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Yt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Yt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Yt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Yt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Yt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Yt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Yt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Yt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Yt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Yt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Yt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Yt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Yt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Yt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Yt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Yt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Yt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Yt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Yt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Yt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Yt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Yt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Yt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Yt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Yt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Yt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Yt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Yt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Yt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Yt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Yt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Yt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Yt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Yt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Yt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Yt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Yt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Yt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Yt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Yt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Yt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Yt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Yt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Yt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Yt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Yt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Yt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Yt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Yt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Yt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Yt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Yt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Yt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Yt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Yt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Yt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Yt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Yt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Yt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Yt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Yt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Yt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Yt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Yt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Yt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Yt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Yt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Yt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Yt.create("--ft-opacity-80","","NUMBER","0.8")},Xt={display:{fontFamily:Yt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Yt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Yt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Yt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Yt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Yt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Yt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Yt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Yt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Yt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Yt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Yt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Yt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Yt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Yt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Yt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Yt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Yt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Yt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Yt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Yt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Yt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Yt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Yt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Yt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Yt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Yt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Yt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Yt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Yt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Yt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Yt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Yt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Yt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Yt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Yt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Yt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Yt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Yt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Yt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Yt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Yt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Yt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Yt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Yt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Yt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Yt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Yt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Yt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Yt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Yt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Yt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Yt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Yt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Yt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Yt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Yt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Yt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Yt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Yt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Yt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Yt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Jt={backgroundActionPrimary:Yt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",qt.colorBrand0),backgroundErrorPrimary:Yt.extend("--ft-background-error-primary","Used as background of error components.",qt.colorRed0),backgroundErrorSubtle:Yt.extend("--ft-background-error-subtle","Used as background of subtle error components.",qt.colorRed10),backgroundInfoPrimary:Yt.extend("--ft-background-info-primary","Used as background of information components.",qt.colorCyan200),backgroundInfoSubtle:Yt.extend("--ft-background-info-subtle","Used as background of subtle information components.",qt.colorCyan10),backgroundWarningPrimary:Yt.extend("--ft-background-warning-primary","Used as background of warning components.",qt.colorOrange300),backgroundWarningSubtle:Yt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",qt.colorOrange10),backgroundSuccessPrimary:Yt.extend("--ft-background-success-primary","Used as background of success components.",qt.colorGreen200),backgroundSuccessSubtle:Yt.extend("--ft-background-success-subtle","Used as background of subtle success components.",qt.colorGreen10),backgroundGlobalSurface:Yt.extend("--ft-background-global-surface","Used as app background.",qt.colorWhite),backgroundGlobalOnSurface:Yt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",qt.colorGray10),backgroundGlobalOnSurfaceDark:Yt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",qt.colorGray30),contentActionPrimary:Yt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",qt.colorBrand0),contentWarningPrimary:Yt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",qt.colorOrange300),contentWarningIconOnly:Yt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",qt.colorOrange0),contentErrorPrimary:Yt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",qt.colorRed0),contentErrorIconOnly:Yt.extend("--ft-content-error-icon-only","Used on error status icons alone",qt.colorRed0),contentInfoPrimary:Yt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",qt.colorCyan200),contentInfoIconOnly:Yt.extend("--ft-content-info-icon-only","Used on info status icons alone",qt.colorCyan0),contentSuccessIconOnly:Yt.extend("--ft-content-success-icon-only","Used on success status icons alone",qt.colorGreen0),contentSuccessPrimary:Yt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",qt.colorGreen200),contentGlobalPrimary:Yt.extend("--ft-content-global-primary","Used for main content on the page.",qt.colorGray500),contentGlobalSecondary:Yt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",qt.colorGray200),contentGlobalSubtle:Yt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",qt.colorGray0),contentGlobalOnColor:Yt.extend("--ft-content-global-on-color","Used for content on a dominant color.",qt.colorWhite),borderActionPrimary:Yt.extend("--ft-border-action-primary","Used as border for primary action components.",qt.colorBrand0),borderActionFocusRing:Yt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",qt.colorCyan0),borderWarningPrimary:Yt.extend("--ft-border-warning-primary","Used as border for warning components.",qt.colorOrange30),borderSuccessPrimary:Yt.extend("--ft-border-success-primary","Used as border for success components.",qt.colorGreen30),borderErrorPrimary:Yt.extend("--ft-border-error-primary","Used as border for error components.",qt.colorRed30),borderInfoPrimary:Yt.extend("--ft-border-info-primary","Used as border for information components.",qt.colorCyan30),borderGlobalSubtle:Yt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",qt.colorGray30),borderGlobalPrimary:Yt.extend("--ft-border-global-primary","Used as border for element like input.",qt.colorGray50),borderInputPrimary:Yt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",qt.colorGray80)},Qt={largeHeight:Yt.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Yt.extend("--ft-button-large-horizontal-padding","",qt.spacing4),largeGap:Yt.extend("--ft-button-large-gap","",qt.spacing2),largeBorderRadius:Yt.extend("--ft-button-large-border-radius","",qt.borderRadiusS),largeIconSize:Yt.extend("--ft-button-large-icon-size","",qt.iconSize3),largeBorderWidth:Yt.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Yt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Yt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Yt.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Yt.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Yt.extend("--ft-button-small-horizontal-padding","",qt.spacing3),smallGap:Yt.extend("--ft-button-small-gap","",qt.spacing2),smallBorderRadius:Yt.extend("--ft-button-small-border-radius","",qt.borderRadiusS),smallIconSize:Yt.extend("--ft-button-small-icon-size","",qt.iconSize2),smallBorderWidth:Yt.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Yt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Yt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Yt.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Yt.extend("--ft-button-primary-background-color","",Jt.backgroundActionPrimary),primaryColor:Yt.extend("--ft-button-primary-color","",Jt.contentGlobalOnColor),primaryIconColor:Yt.extend("--ft-button-primary-icon-color","",Jt.contentGlobalOnColor),primaryStateLayerColor:Yt.extend("--ft-button-primary-state-layer-color","",Jt.contentGlobalOnColor),primaryStateLayerOpacityHover:Yt.extend("--ft-button-primary-state-layer-opacity-hover","",qt.opacity16),primaryStateLayerOpacityFocus:Yt.extend("--ft-button-primary-state-layer-opacity-focus","",qt.opacity16),primaryStateLayerOpacityActive:Yt.extend("--ft-button-primary-state-layer-opacity-active","",qt.opacity24),primaryComponentOpacityDisabled:Yt.extend("--ft-button-primary-component-opacity-disabled","",qt.opacity40),focusFocusRingColor:Yt.extend("--ft-button-focus-focus-ring-color","",Jt.borderActionFocusRing),tertiaryBackgroundColor:Yt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Yt.extend("--ft-button-tertiary-color","",Jt.contentActionPrimary),tertiaryIconColor:Yt.extend("--ft-button-tertiary-icon-color","",Jt.contentActionPrimary),tertiaryStateLayerColor:Yt.extend("--ft-button-tertiary-state-layer-color","",Jt.contentActionPrimary),tertiaryStateLayerOpacityHover:Yt.extend("--ft-button-tertiary-state-layer-opacity-hover","",qt.opacity8),tertiaryStateLayerOpacityFocus:Yt.extend("--ft-button-tertiary-state-layer-opacity-focus","",qt.opacity8),tertiaryStateLayerOpacityActive:Yt.extend("--ft-button-tertiary-state-layer-opacity-active","",qt.opacity16),tertiaryComponentOpacityDisabled:Yt.extend("--ft-button-tertiary-component-opacity-disabled","",qt.opacity40),secondaryBackgroundColor:Yt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Yt.extend("--ft-button-secondary-color","",Jt.contentActionPrimary),secondaryIconColor:Yt.extend("--ft-button-secondary-icon-color","",Jt.contentActionPrimary),secondaryStateLayerColor:Yt.extend("--ft-button-secondary-state-layer-color","",Jt.contentActionPrimary),secondaryStateLayerOpacityHover:Yt.extend("--ft-button-secondary-state-layer-opacity-hover","",qt.opacity8),secondaryStateLayerOpacityFocus:Yt.extend("--ft-button-secondary-state-layer-opacity-focus","",qt.opacity8),secondaryStateLayerOpacityActive:Yt.extend("--ft-button-secondary-state-layer-opacity-active","",qt.opacity16),secondaryComponentOpacityDisabled:Yt.extend("--ft-button-secondary-component-opacity-disabled","",qt.opacity40),secondaryBorderColor:Yt.extend("--ft-button-secondary-border-color","",Jt.borderActionPrimary),neutralBackgroundColor:Yt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Yt.extend("--ft-button-neutral-icon-color","",Jt.contentGlobalSecondary),neutralColor:Yt.extend("--ft-button-neutral-color","",Jt.contentGlobalSecondary),neutralStateLayerColor:Yt.extend("--ft-button-neutral-state-layer-color","",Jt.contentGlobalSecondary),neutralStateLayerOpacityHover:Yt.extend("--ft-button-neutral-state-layer-opacity-hover","",qt.opacity8),neutralStateLayerOpacityFocus:Yt.extend("--ft-button-neutral-state-layer-opacity-focus","",qt.opacity8),neutralStateLayerOpacityActive:Yt.extend("--ft-button-neutral-state-layer-opacity-active","",qt.opacity16),neutralComponentOpacityDisabled:Yt.extend("--ft-button-neutral-component-opacity-disabled","",qt.opacity40)};Yt.extend("--ft-tabs-top-left-border-radius","",qt.borderRadiusS),Yt.extend("--ft-tabs-top-right-border-radius","",qt.borderRadiusS),Yt.extend("--ft-tabs-label-horizontal-padding","",qt.spacing4),Yt.extend("--ft-tabs-label-vertical-padding","",qt.spacing3),Yt.extend("--ft-tabs-label-gap","",qt.spacing1),Yt.extend("--ft-switch-group-horizontal-padding","",qt.spacing1),Yt.extend("--ft-switch-group-vertical-padding","",qt.spacing1),Yt.extend("--ft-switch-group-gap","",qt.spacing1),Yt.extend("--ft-switch-group-background-color","",Jt.backgroundGlobalSurface),Yt.extend("--ft-switch-group-border-color","",Jt.borderGlobalSubtle),Yt.create("--ft-switch-group-border-radius","","SIZE","6px"),Yt.extend("--ft-switch-label-horizontal-padding","",qt.spacing2),Yt.extend("--ft-switch-label-vertical-padding","",qt.spacing1),Yt.extend("--ft-switch-icon-horizontal-padding","",qt.spacing1),Yt.extend("--ft-switch-icon-vertical-padding","",qt.spacing1),Yt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-switch-focus-focus-ring-color","",Jt.borderActionFocusRing),Yt.extend("--ft-switch-option-border-radius","",qt.borderRadiusS),Yt.extend("--ft-switch-off-state-layer-opacity-hover","",qt.opacity8),Yt.extend("--ft-switch-off-state-layer-opacity-focus","",qt.opacity8),Yt.extend("--ft-switch-off-state-layer-opacity-active","",qt.opacity16),Yt.extend("--ft-switch-off-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-switch-off-color","",Jt.contentGlobalSubtle),Yt.extend("--ft-switch-off-state-layer-color","",Jt.contentGlobalSubtle),Yt.extend("--ft-chart-1-light","for area color charts",qt.colorBrand40),Yt.extend("--ft-chart-1-base","for line charts",qt.colorBrand0),Yt.extend("--ft-chart-2-light","for area color charts",qt.colorYellow60),Yt.extend("--ft-chart-2-base","for line charts",qt.colorYellow100),Yt.extend("--ft-chart-3-light","",qt.colorUltramarine40),Yt.extend("--ft-chart-3-base","",qt.colorUltramarine70),Yt.extend("--ft-chart-4-light","",qt.colorCyan50),Yt.extend("--ft-chart-4-base","",qt.colorCyan100),Yt.extend("--ft-chart-5-light","",qt.colorRed40),Yt.extend("--ft-chart-5-base","",qt.colorRed60),Yt.extend("--ft-chart-6-light","",qt.colorGreen40),Yt.extend("--ft-chart-6-base","",qt.colorGreen70),Yt.extend("--ft-chart-7-light","",qt.colorOrange70),Yt.extend("--ft-chart-7-base","",qt.colorOrange100),Yt.extend("--ft-chart-8-light","",qt.colorAvocado70),Yt.extend("--ft-chart-8-base","",qt.colorAvocado200),Yt.extend("--ft-chart-9-light","",qt.colorBrown50),Yt.extend("--ft-chart-9-base","",qt.colorBrown200),Yt.extend("--ft-chart-10-light","",qt.colorGray50),Yt.extend("--ft-chart-10-base","",qt.colorGray80),Yt.extend("--ft-chart-monochrome-10","",qt.colorBrand10),Yt.extend("--ft-chart-monochrome-20","",qt.colorBrand20),Yt.extend("--ft-chart-monochrome-30","",qt.colorBrand40),Yt.extend("--ft-chart-monochrome-40","",qt.colorBrand60),Yt.extend("--ft-chart-monochrome-50","",qt.colorBrand0),Yt.extend("--ft-chart-monochrome-60","",qt.colorBrand200),Yt.extend("--ft-chip-large-horizontal-padding","",qt.spacing4),Yt.extend("--ft-chip-large-vertical-padding","",qt.spacing2),Yt.extend("--ft-chip-large-gap","",qt.spacing1),Yt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Yt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-chip-large-border-radius","",qt.borderRadiusPill),Yt.create("--ft-chip-large-border-width","","SIZE","1px"),Yt.extend("--ft-chip-large-icon-size","",qt.iconSize3),Yt.extend("--ft-chip-medium-horizontal-padding","",qt.spacing3),Yt.extend("--ft-chip-medium-vertical-padding","",qt.spacing1),Yt.extend("--ft-chip-medium-gap","",qt.spacing1),Yt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Yt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-chip-medium-border-radius","",qt.borderRadiusPill),Yt.create("--ft-chip-medium-border-width","","SIZE","1px"),Yt.extend("--ft-chip-medium-icon-size","",qt.iconSize2),Yt.extend("--ft-chip-small-horizontal-padding","",qt.spacing2),Yt.extend("--ft-chip-small-vertical-padding","",qt.spacing05),Yt.extend("--ft-chip-small-gap","",qt.spacing1),Yt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Yt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-chip-small-border-radius","",qt.borderRadiusPill),Yt.create("--ft-chip-small-border-width","","SIZE","1px"),Yt.extend("--ft-chip-small-icon-size","",qt.iconSize1),Yt.extend("--ft-chip-neutral-background-color","",Jt.backgroundGlobalOnSurface),Yt.extend("--ft-chip-neutral-color","",Jt.contentGlobalPrimary),Yt.extend("--ft-chip-neutral-border-color","",Jt.borderGlobalSubtle),Yt.extend("--ft-chip-info-background-color","",Jt.backgroundInfoSubtle),Yt.extend("--ft-chip-info-color","",Jt.contentInfoPrimary),Yt.extend("--ft-chip-info-border-color","",Jt.borderInfoPrimary),Yt.extend("--ft-chip-success-background-color","",Jt.backgroundSuccessSubtle),Yt.extend("--ft-chip-success-color","",Jt.contentSuccessPrimary),Yt.extend("--ft-chip-success-border-color","",Jt.borderSuccessPrimary),Yt.extend("--ft-chip-warning-background-color","",Jt.backgroundWarningSubtle),Yt.extend("--ft-chip-warning-color","",Jt.contentWarningPrimary),Yt.extend("--ft-chip-warning-border-color","",Jt.borderWarningPrimary),Yt.extend("--ft-chip-error-background-color","",Jt.backgroundErrorSubtle),Yt.extend("--ft-chip-error-color","",Jt.contentErrorPrimary),Yt.extend("--ft-chip-error-border-color","",Jt.borderErrorPrimary),Yt.create("--ft-notice-border-width","","SIZE","1px"),Yt.extend("--ft-notice-horizontal-padding","",qt.spacing2),Yt.extend("--ft-notice-vertical-padding","",qt.spacing1),Yt.extend("--ft-notice-border-radius","",qt.borderRadiusS),Yt.extend("--ft-notice-gap","",qt.spacing2),Yt.extend("--ft-notice-icon-size","",qt.iconSize3),Yt.extend("--ft-notice-info-background-color","",Jt.backgroundInfoSubtle),Yt.extend("--ft-notice-info-border-color","",Jt.borderInfoPrimary),Yt.extend("--ft-notice-info-color","",Jt.contentInfoPrimary),Yt.extend("--ft-notice-warning-background-color","",Jt.backgroundWarningSubtle),Yt.extend("--ft-notice-warning-border-color","",Jt.borderWarningPrimary),Yt.extend("--ft-notice-warning-color","",Jt.contentWarningPrimary),Yt.extend("--ft-checkbox-label-color","",Jt.contentGlobalPrimary),Yt.extend("--ft-checkbox-checked-background-color","",Jt.contentActionPrimary),Yt.extend("--ft-checkbox-checked-state-layer-color","",Jt.contentActionPrimary),Yt.extend("--ft-checkbox-checked-color","",Jt.contentGlobalOnColor),Yt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-checkbox-checked-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-checkbox-checked-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-checkbox-unchecked-border-color","",qt.colorGray80),Yt.extend("--ft-checkbox-unchecked-state-layer-color","",qt.colorGray80),Yt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-checkbox-focus-focus-ring-color","",Jt.borderActionFocusRing),Yt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Yt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-checkbox-gap","",qt.spacing3),Yt.extend("--ft-toggle-off-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-toggle-off-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-toggle-off-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-toggle-off-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-toggle-off-background-color","",Jt.contentGlobalSubtle),Yt.extend("--ft-toggle-off-icon-color","",Jt.contentGlobalSubtle),Yt.extend("--ft-toggle-off-state-layer-color","",Jt.contentGlobalSubtle),Yt.extend("--ft-toggle-on-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-toggle-on-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-toggle-on-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-toggle-on-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-toggle-on-background-color","",Jt.contentActionPrimary),Yt.extend("--ft-toggle-on-icon-color","",Jt.contentActionPrimary),Yt.extend("--ft-toggle-on-state-layer-color","",Jt.contentActionPrimary),Yt.extend("--ft-toggle-label-color","",Jt.contentGlobalPrimary),Yt.extend("--ft-toggle-focus-focus-ring-color","",Jt.borderActionFocusRing),Yt.extend("--ft-toggle-gap","",qt.spacing3),Yt.extend("--ft-radio-label-color","",Jt.contentGlobalPrimary),Yt.extend("--ft-radio-selected-color","",Jt.contentActionPrimary),Yt.extend("--ft-radio-selected-state-layer-color","",Jt.contentActionPrimary),Yt.extend("--ft-radio-selected-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-radio-selected-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-radio-selected-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-radio-selected-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-radio-unselected-state-layer-color","",qt.colorGray80),Yt.extend("--ft-radio-unselected-state-layer-opacity-hover","",qt.opacity16),Yt.extend("--ft-radio-unselected-state-layer-opacity-focus","",qt.opacity16),Yt.extend("--ft-radio-unselected-state-layer-opacity-active","",qt.opacity24),Yt.extend("--ft-radio-unselected-component-opacity-disabled","",qt.opacity40),Yt.extend("--ft-radio-focus-focus-ring-color","",Jt.borderActionFocusRing),Yt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Yt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Yt.extend("--ft-radio-gap","",qt.spacing3),Yt.extend("--ft-notification-icon-size","",qt.iconSize4),Yt.extend("--ft-notification-horizontal-padding","",qt.spacing4),Yt.extend("--ft-notification-vertical-padding","",qt.spacing4),Yt.extend("--ft-notification-info-background-color","",Jt.backgroundInfoSubtle),Yt.extend("--ft-notification-info-color","",Jt.contentInfoPrimary),Yt.extend("--ft-notification-info-border-color","",Jt.borderInfoPrimary),Yt.extend("--ft-notification-success-background-color","",Jt.backgroundSuccessSubtle),Yt.extend("--ft-notification-success-color","",Jt.contentSuccessPrimary),Yt.extend("--ft-notification-success-border-color","",Jt.borderSuccessPrimary),Yt.extend("--ft-notification-warning-background-color","",Jt.backgroundWarningSubtle),Yt.extend("--ft-notification-warning-color","",Jt.contentWarningPrimary),Yt.extend("--ft-notification-warning-border-color","",Jt.borderWarningPrimary),Yt.extend("--ft-notification-error-background-color","",Jt.backgroundErrorSubtle),Yt.extend("--ft-notification-error-color","",Jt.contentErrorPrimary),Yt.extend("--ft-notification-error-border-color","",Jt.borderErrorPrimary),Yt.extend("--ft-notification-border-radius","",qt.borderRadiusPill),Yt.create("--ft-notification-border-width","","SIZE","1px"),Yt.extend("--ft-notification-gap-leading","",qt.spacing2),Yt.extend("--ft-notification-gap-trailing","",qt.spacing8);const to=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),oo=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),eo={fontFamily:oo,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},io=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",to),no=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",eo.fontSize,"20px"),ro=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",eo.fontWeight,"normal"),ao=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",eo.letterSpacing,"0.15px"),lo=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",eo.lineHeight,"1.2"),so=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",eo.textTransform,"inherit"),co=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",to),fo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",eo.fontSize,"14px"),po=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",eo.fontWeight,"normal"),ho=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",eo.letterSpacing,"0.105px"),uo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",eo.lineHeight,"1.7"),go=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",eo.textTransform,"inherit"),yo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",oo),bo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",eo.fontSize,"16px"),mo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",eo.fontWeight,"600"),vo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",eo.letterSpacing,"0.144px"),xo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",eo.lineHeight,"1.5"),Oo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",eo.textTransform,"inherit"),No=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",oo),wo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",eo.fontSize,"14px"),So=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",eo.fontWeight,"normal"),Co=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",eo.letterSpacing,"0.098px"),$o=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",eo.lineHeight,"1.7"),Io=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",eo.textTransform,"inherit"),Eo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",oo),Ro=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",eo.fontSize,"16px"),ko=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",eo.fontWeight,"normal"),Uo=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",eo.letterSpacing,"0.496px"),Lo=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",eo.lineHeight,"1.5"),Wo=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",eo.textTransform,"inherit"),zo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",oo),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",eo.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",eo.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",eo.letterSpacing,"0.252px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",eo.lineHeight,"1.4"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",eo.textTransform,"inherit")},Ao=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",oo),Ko=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",eo.fontSize,"12px"),Zo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",eo.fontWeight,"normal"),Bo=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",eo.letterSpacing,"0.396px"),Do=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",eo.lineHeight,"1.33"),Fo=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",eo.textTransform,"inherit"),To=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",oo),Po=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",eo.fontSize,"10px"),Mo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",eo.fontWeight,"normal"),Ho=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",eo.letterSpacing,"0.33px"),jo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",eo.lineHeight,"1.6"),Go=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",eo.textTransform,"inherit"),_o=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",oo),Vo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",eo.fontSize,"10px"),Yo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",eo.fontWeight,"normal"),qo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",eo.letterSpacing,"1.5px"),Xo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",eo.lineHeight,"1.6"),Jo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",eo.textTransform,"uppercase"),Qo={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",oo),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",eo.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",eo.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",eo.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",eo.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",eo.textTransform,"uppercase")},te=e.css`
33
33
  .ft-typography--title {
34
34
  font-family: ${io};
35
35
  font-size: ${no};
@@ -97,8 +97,8 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
97
97
  .ft-typography--breadcrumb {
98
98
  font-family: ${To};
99
99
  font-size: ${Po};
100
- font-weight: ${Ho};
101
- letter-spacing: ${Mo};
100
+ font-weight: ${Mo};
101
+ letter-spacing: ${Ho};
102
102
  line-height: ${jo};
103
103
  text-transform: ${Go};
104
104
  }
@@ -134,10 +134,10 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
134
134
  text-transform: ${o.textCase};
135
135
  }
136
136
  `}(t)))];var he=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class de extends o.FtLitElement{constructor(){super(...arguments),this.variant=_t.body1}render(){return this.element?Gt`
137
- <${Mt(this.element)}
137
+ <${Ht(this.element)}
138
138
  class="ft-typography ft-typography--${this.variant}">
139
139
  <slot></slot>
140
- </${Mt(this.element)}>
140
+ </${Ht(this.element)}>
141
141
  `:Gt`
142
142
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
143
143
  `}}de.styles=[te,oe,ee,ie,ne,re,ae,le,se,ce,fe,...pe],he([i.property()],de.prototype,"element",void 0),he([i.property()],de.prototype,"variant",void 0),o.customElement("ft-typography")(de);const ue=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),ge=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),ye=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),be=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),me=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),ve=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),xe=e.css`
@@ -169,7 +169,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
169
169
  position: relative;
170
170
  word-break: break-word;
171
171
  }
172
- `,Oe=["start","end"],Ne=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Oe[0],o+"-"+Oe[1])),[]),we=Math.min,Se=Math.max,Ce=Math.round,$e=t=>({x:t,y:t}),Ie={left:"right",right:"left",bottom:"top",top:"bottom"},Ee={start:"end",end:"start"};function Re(t,o,e){return Se(t,we(o,e))}function ke(t,o){return"function"==typeof t?t(o):t}function Ue(t){return t.split("-")[0]}function Le(t){return t.split("-")[1]}function We(t){return"x"===t?"y":"x"}function ze(t){return"y"===t?"height":"width"}function Ae(t){return["top","bottom"].includes(Ue(t))?"y":"x"}function Ke(t){return We(Ae(t))}function Ze(t){return t.replace(/left|right|bottom|top/g,(t=>Ie[t]))}function Be(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function De(t,o,e){let{reference:i,floating:n}=t;const r=Ae(o),a=Ke(o),l=ze(a),s=Ue(o),c="y"===r,f=i.x+i.width/2-n.width/2,p=i.y+i.height/2-n.height/2,h=i[l]/2-n[l]/2;let d;switch(s){case"top":d={x:f,y:i.y-n.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:p};break;case"left":d={x:i.x-n.width,y:p};break;default:d={x:i.x,y:i.y}}switch(Le(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Fe(t,o){var e;void 0===o&&(o={});const{x:i,y:n,platform:r,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=ke(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),g=l[h?"floating"===p?"reference":"floating":p],y=Be(await r.getClippingRect({element:null==(e=await(null==r.isElement?void 0:r.isElement(g)))||e?g:g.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...a.floating,x:i,y:n}:a.reference,m=await(null==r.getOffsetParent?void 0:r.getOffsetParent(l.floating)),v=await(null==r.isElement?void 0:r.isElement(m))&&await(null==r.getScale?void 0:r.getScale(m))||{x:1,y:1},x=Be(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-x.top+u.top)/v.y,bottom:(x.bottom-y.bottom+u.bottom)/v.y,left:(y.left-x.left+u.left)/v.x,right:(x.right-y.right+u.right)/v.x}}function Te(t,o,e){return(t?[...e.filter((o=>Le(o)===t)),...e.filter((o=>Le(o)!==t))]:e.filter((t=>Ue(t)===t))).filter((e=>!t||(Le(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ee[t]))}(e)!==e)))}const Pe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,n;const{rects:r,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:h=Ne,autoAlignment:d=!0,...u}=ke(t,o),g=void 0!==p||h===Ne?Te(p||null,d,h):h,y=await Fe(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const i=Le(t),n=Ke(t),r=ze(n);let a="x"===n?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[r]>o.floating[r]&&(a=Ze(a)),[a,Ze(a)]}(m,r,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const x=[y[Ue(m)],y[v[0]],y[v[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],N=g[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const w=O.map((t=>{const o=Le(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),S=w.filter((t=>t[2].slice(0,Le(t[0])?2:3).every((t=>t<=0)))),C=(null==(n=S[0])?void 0:n[0])||w[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function He(t){return Ge(t)?(t.nodeName||"").toLowerCase():"#document"}function Me(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function je(t){var o;return null==(o=(Ge(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Ge(t){return t instanceof Node||t instanceof Me(t).Node}function _e(t){return t instanceof Element||t instanceof Me(t).Element}function Ve(t){return t instanceof HTMLElement||t instanceof Me(t).HTMLElement}function Ye(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Me(t).ShadowRoot)}function qe(t){const{overflow:o,overflowX:e,overflowY:i,display:n}=oi(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(n)}function Xe(t){return["table","td","th"].includes(He(t))}function Je(t){const o=Qe(),e=oi(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Qe(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ti(t){return["html","body","#document"].includes(He(t))}function oi(t){return Me(t).getComputedStyle(t)}function ei(t){return _e(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ii(t){if("html"===He(t))return t;const o=t.assignedSlot||t.parentNode||Ye(t)&&t.host||je(t);return Ye(o)?o.host:o}function ni(t){const o=ii(t);return ti(o)?t.ownerDocument?t.ownerDocument.body:t.body:Ve(o)&&qe(o)?o:ni(o)}function ri(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const n=ni(t),r=n===(null==(i=t.ownerDocument)?void 0:i.body),a=Me(n);return r?o.concat(a,a.visualViewport||[],qe(n)?n:[],a.frameElement&&e?ri(a.frameElement):[]):o.concat(n,ri(n,[],e))}function ai(t){const o=oi(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const n=Ve(t),r=n?t.offsetWidth:e,a=n?t.offsetHeight:i,l=Ce(e)!==r||Ce(i)!==a;return l&&(e=r,i=a),{width:e,height:i,$:l}}function li(t){return _e(t)?t:t.contextElement}function si(t){const o=li(t);if(!Ve(o))return $e(1);const e=o.getBoundingClientRect(),{width:i,height:n,$:r}=ai(o);let a=(r?Ce(e.width):e.width)/i,l=(r?Ce(e.height):e.height)/n;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const ci=$e(0);function fi(t){const o=Me(t);return Qe()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ci}function pi(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const n=t.getBoundingClientRect(),r=li(t);let a=$e(1);o&&(i?_e(i)&&(a=si(i)):a=si(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Me(t))&&o}(r,e,i)?fi(r):$e(0);let s=(n.left+l.x)/a.x,c=(n.top+l.y)/a.y,f=n.width/a.x,p=n.height/a.y;if(r){const t=Me(r),o=i&&_e(i)?Me(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=si(e),o=e.getBoundingClientRect(),i=oi(e),n=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,r=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=n,c+=r,e=Me(e).frameElement}}return Be({width:f,height:p,x:s,y:c})}function hi(t){return pi(je(t)).left+ei(t).scrollLeft}function di(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=Me(t),i=je(t),n=e.visualViewport;let r=i.clientWidth,a=i.clientHeight,l=0,s=0;if(n){r=n.width,a=n.height;const t=Qe();(!t||t&&"fixed"===o)&&(l=n.offsetLeft,s=n.offsetTop)}return{width:r,height:a,x:l,y:s}}(t,e);else if("document"===o)i=function(t){const o=je(t),e=ei(t),i=t.ownerDocument.body,n=Se(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),r=Se(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+hi(t);const l=-e.scrollTop;return"rtl"===oi(i).direction&&(a+=Se(o.clientWidth,i.clientWidth)-n),{width:n,height:r,x:a,y:l}}(je(t));else if(_e(o))i=function(t,o){const e=pi(t,!0,"fixed"===o),i=e.top+t.clientTop,n=e.left+t.clientLeft,r=Ve(t)?si(t):$e(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:n*r.x,y:i*r.y}}(o,e);else{const e=fi(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return Be(i)}function ui(t,o){const e=ii(t);return!(e===o||!_e(e)||ti(e))&&("fixed"===oi(e).position||ui(e,o))}function gi(t,o,e){const i=Ve(o),n=je(o),r="fixed"===e,a=pi(t,!0,r,o);let l={scrollLeft:0,scrollTop:0};const s=$e(0);if(i||!i&&!r)if(("body"!==He(o)||qe(n))&&(l=ei(o)),i){const t=pi(o,!0,r,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else n&&(s.x=hi(n));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function yi(t,o){return Ve(t)&&"fixed"!==oi(t).position?o?o(t):t.offsetParent:null}function bi(t,o){const e=Me(t);if(!Ve(t))return e;let i=yi(t,o);for(;i&&Xe(i)&&"static"===oi(i).position;)i=yi(i,o);return i&&("html"===He(i)||"body"===He(i)&&"static"===oi(i).position&&!Je(i))?e:i||function(t){let o=ii(t);for(;Ve(o)&&!ti(o);){if(Je(o))return o;o=ii(o)}return null}(t)||e}const mi={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const n=Ve(e),r=je(e);if(e===r)return o;let a={scrollLeft:0,scrollTop:0},l=$e(1);const s=$e(0);if((n||!n&&"fixed"!==i)&&(("body"!==He(e)||qe(r))&&(a=ei(e)),Ve(e))){const t=pi(e);l=si(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:je,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:n}=t;const r="clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=ri(t,[],!1).filter((t=>_e(t)&&"body"!==He(t))),n=null;const r="fixed"===oi(t).position;let a=r?ii(t):t;for(;_e(a)&&!ti(a);){const o=oi(a),e=Je(a);e||"fixed"!==o.position||(n=null),(r?!e&&!n:!e&&"static"===o.position&&n&&["absolute","fixed"].includes(n.position)||qe(a)&&!e&&ui(t,a))?i=i.filter((t=>t!==a)):n=o,a=ii(a)}return o.set(t,i),i}(o,this._c):[].concat(e),a=[...r,i],l=a[0],s=a.reduce(((t,e)=>{const i=di(o,e,n);return t.top=Se(i.top,t.top),t.right=we(i.right,t.right),t.bottom=we(i.bottom,t.bottom),t.left=Se(i.left,t.left),t}),di(o,l,n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:bi,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const n=this.getOffsetParent||bi,r=this.getDimensions;return{reference:gi(o,await n(e),i),floating:{x:0,y:0,...await r(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return ai(t)},getScale:si,isElement:_e,isRTL:function(t){return"rtl"===oi(t).direction}},vi=(t,o,e)=>{const i=new Map,n={platform:mi,...e},r={...n.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:n="absolute",middleware:r=[],platform:a}=e,l=r.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:n}),{x:f,y:p}=De(c,i,s),h=i,d={},u=0;for(let e=0;e<l.length;e++){const{name:r,fn:g}=l[e],{x:y,y:b,data:m,reset:v}=await g({x:f,y:p,initialPlacement:i,placement:h,strategy:n,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=y?y:f,p=null!=b?b:p,d={...d,[r]:{...d[r],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:n}):v.rects),({x:f,y:p}=De(c,h,s))),e=-1)}return{x:f,y:p,placement:h,strategy:n,middlewareData:d}})(t,o,{...n,platform:r})};function xi(t){return function(t){for(let o=t;o;o=Oi(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Oi(t);o;o=Oi(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Oi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function Ni(t,o,e){return vi(t,o,{platform:{...mi,getOffsetParent:t=>mi.getOffsetParent(t,xi)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:o,y:e,placement:n}=t,{mainAxis:r=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=ke(i,t),c={x:o,y:e},f=await Fe(t,s),p=Ae(Ue(n)),h=We(p);let d=c[h],u=c[p];if(r){const t="y"===h?"bottom":"right";d=Re(d+f["y"===h?"top":"left"],d,d-f[t])}if(a){const t="y"===p?"bottom":"right";u=Re(u+f["y"===p?"top":"left"],u,u-f[t])}const g=l.fn({...t,[h]:d,[p]:u});return{...g,data:{x:g.x-o,y:g.y-e}}}}),Pe({allowedPlacements:[e]})]});var i}var wi=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class Si extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
172
+ `,Oe=["start","end"],Ne=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Oe[0],o+"-"+Oe[1])),[]),we=Math.min,Se=Math.max,Ce=Math.round,$e=t=>({x:t,y:t}),Ie={left:"right",right:"left",bottom:"top",top:"bottom"},Ee={start:"end",end:"start"};function Re(t,o,e){return Se(t,we(o,e))}function ke(t,o){return"function"==typeof t?t(o):t}function Ue(t){return t.split("-")[0]}function Le(t){return t.split("-")[1]}function We(t){return"x"===t?"y":"x"}function ze(t){return"y"===t?"height":"width"}function Ae(t){return["top","bottom"].includes(Ue(t))?"y":"x"}function Ke(t){return We(Ae(t))}function Ze(t){return t.replace(/left|right|bottom|top/g,(t=>Ie[t]))}function Be(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function De(t,o,e){let{reference:i,floating:n}=t;const r=Ae(o),a=Ke(o),l=ze(a),s=Ue(o),c="y"===r,f=i.x+i.width/2-n.width/2,p=i.y+i.height/2-n.height/2,h=i[l]/2-n[l]/2;let d;switch(s){case"top":d={x:f,y:i.y-n.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:p};break;case"left":d={x:i.x-n.width,y:p};break;default:d={x:i.x,y:i.y}}switch(Le(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Fe(t,o){var e;void 0===o&&(o={});const{x:i,y:n,platform:r,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=ke(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),g=l[h?"floating"===p?"reference":"floating":p],y=Be(await r.getClippingRect({element:null==(e=await(null==r.isElement?void 0:r.isElement(g)))||e?g:g.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...a.floating,x:i,y:n}:a.reference,m=await(null==r.getOffsetParent?void 0:r.getOffsetParent(l.floating)),v=await(null==r.isElement?void 0:r.isElement(m))&&await(null==r.getScale?void 0:r.getScale(m))||{x:1,y:1},x=Be(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-x.top+u.top)/v.y,bottom:(x.bottom-y.bottom+u.bottom)/v.y,left:(y.left-x.left+u.left)/v.x,right:(x.right-y.right+u.right)/v.x}}function Te(t,o,e){return(t?[...e.filter((o=>Le(o)===t)),...e.filter((o=>Le(o)!==t))]:e.filter((t=>Ue(t)===t))).filter((e=>!t||(Le(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ee[t]))}(e)!==e)))}const Pe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,n;const{rects:r,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:h=Ne,autoAlignment:d=!0,...u}=ke(t,o),g=void 0!==p||h===Ne?Te(p||null,d,h):h,y=await Fe(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const i=Le(t),n=Ke(t),r=ze(n);let a="x"===n?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[r]>o.floating[r]&&(a=Ze(a)),[a,Ze(a)]}(m,r,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const x=[y[Ue(m)],y[v[0]],y[v[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],N=g[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const w=O.map((t=>{const o=Le(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),S=w.filter((t=>t[2].slice(0,Le(t[0])?2:3).every((t=>t<=0)))),C=(null==(n=S[0])?void 0:n[0])||w[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Me(t){return Ge(t)?(t.nodeName||"").toLowerCase():"#document"}function He(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function je(t){var o;return null==(o=(Ge(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Ge(t){return t instanceof Node||t instanceof He(t).Node}function _e(t){return t instanceof Element||t instanceof He(t).Element}function Ve(t){return t instanceof HTMLElement||t instanceof He(t).HTMLElement}function Ye(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof He(t).ShadowRoot)}function qe(t){const{overflow:o,overflowX:e,overflowY:i,display:n}=oi(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(n)}function Xe(t){return["table","td","th"].includes(Me(t))}function Je(t){const o=Qe(),e=oi(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Qe(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ti(t){return["html","body","#document"].includes(Me(t))}function oi(t){return He(t).getComputedStyle(t)}function ei(t){return _e(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ii(t){if("html"===Me(t))return t;const o=t.assignedSlot||t.parentNode||Ye(t)&&t.host||je(t);return Ye(o)?o.host:o}function ni(t){const o=ii(t);return ti(o)?t.ownerDocument?t.ownerDocument.body:t.body:Ve(o)&&qe(o)?o:ni(o)}function ri(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const n=ni(t),r=n===(null==(i=t.ownerDocument)?void 0:i.body),a=He(n);return r?o.concat(a,a.visualViewport||[],qe(n)?n:[],a.frameElement&&e?ri(a.frameElement):[]):o.concat(n,ri(n,[],e))}function ai(t){const o=oi(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const n=Ve(t),r=n?t.offsetWidth:e,a=n?t.offsetHeight:i,l=Ce(e)!==r||Ce(i)!==a;return l&&(e=r,i=a),{width:e,height:i,$:l}}function li(t){return _e(t)?t:t.contextElement}function si(t){const o=li(t);if(!Ve(o))return $e(1);const e=o.getBoundingClientRect(),{width:i,height:n,$:r}=ai(o);let a=(r?Ce(e.width):e.width)/i,l=(r?Ce(e.height):e.height)/n;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const ci=$e(0);function fi(t){const o=He(t);return Qe()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ci}function pi(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const n=t.getBoundingClientRect(),r=li(t);let a=$e(1);o&&(i?_e(i)&&(a=si(i)):a=si(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==He(t))&&o}(r,e,i)?fi(r):$e(0);let s=(n.left+l.x)/a.x,c=(n.top+l.y)/a.y,f=n.width/a.x,p=n.height/a.y;if(r){const t=He(r),o=i&&_e(i)?He(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=si(e),o=e.getBoundingClientRect(),i=oi(e),n=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,r=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=n,c+=r,e=He(e).frameElement}}return Be({width:f,height:p,x:s,y:c})}function hi(t){return pi(je(t)).left+ei(t).scrollLeft}function di(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=He(t),i=je(t),n=e.visualViewport;let r=i.clientWidth,a=i.clientHeight,l=0,s=0;if(n){r=n.width,a=n.height;const t=Qe();(!t||t&&"fixed"===o)&&(l=n.offsetLeft,s=n.offsetTop)}return{width:r,height:a,x:l,y:s}}(t,e);else if("document"===o)i=function(t){const o=je(t),e=ei(t),i=t.ownerDocument.body,n=Se(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),r=Se(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+hi(t);const l=-e.scrollTop;return"rtl"===oi(i).direction&&(a+=Se(o.clientWidth,i.clientWidth)-n),{width:n,height:r,x:a,y:l}}(je(t));else if(_e(o))i=function(t,o){const e=pi(t,!0,"fixed"===o),i=e.top+t.clientTop,n=e.left+t.clientLeft,r=Ve(t)?si(t):$e(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:n*r.x,y:i*r.y}}(o,e);else{const e=fi(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return Be(i)}function ui(t,o){const e=ii(t);return!(e===o||!_e(e)||ti(e))&&("fixed"===oi(e).position||ui(e,o))}function gi(t,o,e){const i=Ve(o),n=je(o),r="fixed"===e,a=pi(t,!0,r,o);let l={scrollLeft:0,scrollTop:0};const s=$e(0);if(i||!i&&!r)if(("body"!==Me(o)||qe(n))&&(l=ei(o)),i){const t=pi(o,!0,r,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else n&&(s.x=hi(n));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function yi(t,o){return Ve(t)&&"fixed"!==oi(t).position?o?o(t):t.offsetParent:null}function bi(t,o){const e=He(t);if(!Ve(t))return e;let i=yi(t,o);for(;i&&Xe(i)&&"static"===oi(i).position;)i=yi(i,o);return i&&("html"===Me(i)||"body"===Me(i)&&"static"===oi(i).position&&!Je(i))?e:i||function(t){let o=ii(t);for(;Ve(o)&&!ti(o);){if(Je(o))return o;o=ii(o)}return null}(t)||e}const mi={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const n=Ve(e),r=je(e);if(e===r)return o;let a={scrollLeft:0,scrollTop:0},l=$e(1);const s=$e(0);if((n||!n&&"fixed"!==i)&&(("body"!==Me(e)||qe(r))&&(a=ei(e)),Ve(e))){const t=pi(e);l=si(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:je,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:n}=t;const r="clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=ri(t,[],!1).filter((t=>_e(t)&&"body"!==Me(t))),n=null;const r="fixed"===oi(t).position;let a=r?ii(t):t;for(;_e(a)&&!ti(a);){const o=oi(a),e=Je(a);e||"fixed"!==o.position||(n=null),(r?!e&&!n:!e&&"static"===o.position&&n&&["absolute","fixed"].includes(n.position)||qe(a)&&!e&&ui(t,a))?i=i.filter((t=>t!==a)):n=o,a=ii(a)}return o.set(t,i),i}(o,this._c):[].concat(e),a=[...r,i],l=a[0],s=a.reduce(((t,e)=>{const i=di(o,e,n);return t.top=Se(i.top,t.top),t.right=we(i.right,t.right),t.bottom=we(i.bottom,t.bottom),t.left=Se(i.left,t.left),t}),di(o,l,n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:bi,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const n=this.getOffsetParent||bi,r=this.getDimensions;return{reference:gi(o,await n(e),i),floating:{x:0,y:0,...await r(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return ai(t)},getScale:si,isElement:_e,isRTL:function(t){return"rtl"===oi(t).direction}},vi=(t,o,e)=>{const i=new Map,n={platform:mi,...e},r={...n.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:n="absolute",middleware:r=[],platform:a}=e,l=r.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:n}),{x:f,y:p}=De(c,i,s),h=i,d={},u=0;for(let e=0;e<l.length;e++){const{name:r,fn:g}=l[e],{x:y,y:b,data:m,reset:v}=await g({x:f,y:p,initialPlacement:i,placement:h,strategy:n,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=y?y:f,p=null!=b?b:p,d={...d,[r]:{...d[r],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:n}):v.rects),({x:f,y:p}=De(c,h,s))),e=-1)}return{x:f,y:p,placement:h,strategy:n,middlewareData:d}})(t,o,{...n,platform:r})};function xi(t){return function(t){for(let o=t;o;o=Oi(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Oi(t);o;o=Oi(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Oi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function Ni(t,o,e){return vi(t,o,{platform:{...mi,getOffsetParent:t=>mi.getOffsetParent(t,xi)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:o,y:e,placement:n}=t,{mainAxis:r=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=ke(i,t),c={x:o,y:e},f=await Fe(t,s),p=Ae(Ue(n)),h=We(p);let d=c[h],u=c[p];if(r){const t="y"===h?"bottom":"right";d=Re(d+f["y"===h?"top":"left"],d,d-f[t])}if(a){const t="y"===p?"bottom":"right";u=Re(u+f["y"===p?"top":"left"],u,u-f[t])}const g=l.fn({...t,[h]:d,[p]:u});return{...g,data:{x:g.x-o,y:g.y-e}}}}),Pe({allowedPlacements:[e]})]});var i}var wi=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class Si extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
173
173
  <div part="container"
174
174
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
175
175
  @mouseenter=${this.onHover}
@@ -363,7 +363,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
363
363
  ${r.unsafeHTML(this.resolvedIcon)}
364
364
  <slot ?hidden=${o}></slot>
365
365
  </i>
366
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case Fi.file_format:this.resolvedIcon=null!==(t=Ai[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Fi.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=zi[i.replace("-","_").toUpperCase()])&&void 0!==o?o:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Pi.elementDefinitions={},Pi.styles=Di,Ti([i.property()],Pi.prototype,"variant",void 0),Ti([i.property()],Pi.prototype,"value",void 0),Ti([i.state()],Pi.prototype,"resolvedIcon",void 0),Ti([i.query("slot")],Pi.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Pi);const Hi={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Mi=e.css`
366
+ `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case Fi.file_format:this.resolvedIcon=null!==(t=Ai[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case Fi.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=zi[i.replace("-","_").toUpperCase()])&&void 0!==o?o:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Pi.elementDefinitions={},Pi.styles=Di,Ti([i.property()],Pi.prototype,"variant",void 0),Ti([i.property()],Pi.prototype,"value",void 0),Ti([i.state()],Pi.prototype,"resolvedIcon",void 0),Ti([i.query("slot")],Pi.prototype,"slottedContent",void 0),o.customElement("ft-icon")(Pi);const Mi={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Hi=e.css`
367
367
  :host {
368
368
  line-height: 0;
369
369
  }
@@ -372,8 +372,8 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
372
372
  display: inline-block;
373
373
  position: relative;
374
374
 
375
- width: ${Hi.size};
376
- height: ${Hi.size};
375
+ width: ${Mi.size};
376
+ height: ${Mi.size};
377
377
  }
378
378
 
379
379
  .ft-loader div {
@@ -382,7 +382,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
382
382
  width: 25%;
383
383
  height: 25%;
384
384
  border-radius: 50%;
385
- background: ${Hi.color};
385
+ background: ${Mi.color};
386
386
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
387
387
  }
388
388
 
@@ -429,7 +429,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
429
429
  transform: translate(0, 0);
430
430
  }
431
431
  100% {
432
- transform: translate(calc(0.35 * ${Hi.size}), 0);
432
+ transform: translate(calc(0.35 * ${Mi.size}), 0);
433
433
  }
434
434
  }
435
435
  `,ji=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Gi={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:ji,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",Qo.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",ji),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},_i=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Vi={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:_i,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",_i)},Yi=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),qi=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Xi=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Ji=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),Qi=[e.css`
@@ -566,8 +566,8 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
566
566
  }
567
567
 
568
568
  ft-loader {
569
- ${o.setVariable(Hi.size,Gi.iconSize)};
570
- ${o.setVariable(Hi.color,"var(--ft-button-internal-color)")};
569
+ ${o.setVariable(Mi.size,Gi.iconSize)};
570
+ ${o.setVariable(Mi.color,"var(--ft-button-internal-color)")};
571
571
  }
572
572
  `,o.noTextSelect];class tn extends o.FtLitElement{render(){return e.html`
573
573
  <div class="ft-loader">
@@ -576,7 +576,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
576
576
  <div></div>
577
577
  <div></div>
578
578
  </div>
579
- `}}tn.styles=Mi,o.customElement("ft-loader")(tn);var on=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class en extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
579
+ `}}tn.styles=Hi,o.customElement("ft-loader")(tn);var on=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class en extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
580
580
  <button part="button"
581
581
  class="${n.classMap(this.buttonClasses)}"
582
582
  aria-label="${this.getLabel()}"
@@ -678,7 +678,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
678
678
  /** Primary styles **/
679
679
 
680
680
  .ft-button--primary {
681
- ${o.setVariable(Hi.color,Qt.primaryIconColor)};
681
+ ${o.setVariable(Mi.color,Qt.primaryIconColor)};
682
682
 
683
683
  ${o.setVariable($i.color,Qt.primaryStateLayerColor)};
684
684
  ${o.setVariable($i.opacityContentOnSurfaceHover,Qt.primaryStateLayerOpacityHover)};
@@ -702,7 +702,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
702
702
  /** Secondary styles **/
703
703
 
704
704
  .ft-button--secondary {
705
- ${o.setVariable(Hi.color,Qt.secondaryIconColor)};
705
+ ${o.setVariable(Mi.color,Qt.secondaryIconColor)};
706
706
 
707
707
  ${o.setVariable($i.color,Qt.secondaryStateLayerColor)};
708
708
  ${o.setVariable($i.opacityContentOnSurfaceHover,Qt.secondaryStateLayerOpacityHover)};
@@ -727,7 +727,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
727
727
  /** Tertiary styles **/
728
728
 
729
729
  .ft-button--tertiary {
730
- ${o.setVariable(Hi.color,Qt.tertiaryIconColor)};
730
+ ${o.setVariable(Mi.color,Qt.tertiaryIconColor)};
731
731
 
732
732
  ${o.setVariable($i.color,Qt.tertiaryStateLayerColor)};
733
733
  ${o.setVariable($i.opacityContentOnSurfaceHover,Qt.tertiaryStateLayerOpacityHover)};
@@ -751,7 +751,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
751
751
  /** Neutral styles **/
752
752
 
753
753
  .ft-button--neutral {
754
- ${o.setVariable(Hi.color,Qt.neutralIconColor)};
754
+ ${o.setVariable(Mi.color,Qt.neutralIconColor)};
755
755
 
756
756
  ${o.setVariable($i.backgroundColor,Qt.neutralStateLayerColor)};
757
757
  ${o.setVariable($i.opacityContentOnSurfaceHover,Qt.neutralStateLayerOpacityHover)};
@@ -776,7 +776,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
776
776
 
777
777
  .ft-button--large {
778
778
  ${o.setVariable(Bi.size,Qt.largeIconSize)};
779
- ${o.setVariable(Hi.size,Qt.largeIconSize)};
779
+ ${o.setVariable(Mi.size,Qt.largeIconSize)};
780
780
 
781
781
  height: ${Qt.largeHeight};
782
782
  padding: 0 ${Qt.largeHorizontalPadding};
@@ -799,7 +799,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
799
799
 
800
800
  .ft-button--small {
801
801
  ${o.setVariable(Bi.size,Qt.smallIconSize)};
802
- ${o.setVariable(Hi.size,Qt.smallIconSize)};
802
+ ${o.setVariable(Mi.size,Qt.smallIconSize)};
803
803
 
804
804
  height: ${Qt.smallHeight};
805
805
  padding: 0 ${Qt.smallHorizontalPadding};
@@ -1049,12 +1049,12 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
1049
1049
  <slot></slot>
1050
1050
  </ft-typography>
1051
1051
  </div>
1052
- `}onClick(t){this.dispatchEvent(new kn(this.value))}}Un.elementDefinitions={"ft-icon":Pi,"ft-ripple":Zi,"ft-typography":de},Un.styles=En,Rn([i.property()],Un.prototype,"iconVariant",void 0),Rn([i.property()],Un.prototype,"icon",void 0),Rn([i.property()],Un.prototype,"value",void 0);var Ln=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class Wn extends o.FtLitElement{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=Fi.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptions=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container),this.menuOpen||document.removeEventListener("click",this.hideOptions)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return e.html`
1052
+ `}onClick(t){this.dispatchEvent(new kn(this.value))}}Un.elementDefinitions={"ft-icon":Pi,"ft-ripple":Zi,"ft-typography":de},Un.styles=En,Rn([i.property()],Un.prototype,"iconVariant",void 0),Rn([i.property()],Un.prototype,"icon",void 0),Rn([i.property()],Un.prototype,"value",void 0);var Ln=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class Wn extends o.FtLitElement{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=Fi.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return e.html`
1053
1053
  <div class="${n.classMap(t)}">
1054
1054
 
1055
1055
  <slot name="toggle"
1056
1056
  part="toggle"
1057
- @click=${this.onClick}>
1057
+ @click=${this.toggleMenu}>
1058
1058
  <ft-or-ftds-button id="actions-button"
1059
1059
  part="button"
1060
1060
  ?primary=${this.primary}
@@ -1077,7 +1077,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
1077
1077
  <div id="ft-floating-menu-options"
1078
1078
  class="ft-floating-menu--options"
1079
1079
  part="options"
1080
- @select="${this.onClickItem}">
1080
+ @select="${this.closeMenu}">
1081
1081
  <slot id="ft-floating-menu-content"
1082
1082
  @click=${this.onContentClick}
1083
1083
  @close-ft-floating-menu=${this.onCloseEvent}
@@ -1085,7 +1085,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
1085
1085
  </div>
1086
1086
  </div>
1087
1087
  </div>
1088
- `}onClick(){this.menuOpen=!this.menuOpen,setTimeout((()=>document.addEventListener("click",this.hideOptions)))}onClickItem(){this.closeMenu()}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){o.eventPathContainsMatchingElement(t,this.closeMenuMatchers,this)&&(this.closeMenu(),t.stopPropagation())}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}contentAvailableCallback(t){super.contentAvailableCallback(t),["menuOpen"].some((o=>t.has(o)))&&this.menuOpen&&(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper())}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";const t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:o,y:e}=await Ni(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${o}px`,this.menuWrapper.style.top=`${e}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}}Wn.elementDefinitions={"ft-floating-menu-item":Un},Ln([i.state()],Wn.prototype,"menuOpen",void 0),Ln([i.state()],Wn.prototype,"forceMenuOpen",void 0),Ln([i.query(".ft-floating-menu")],Wn.prototype,"container",void 0),Ln([i.query(".ft-floating-menu--wrapper")],Wn.prototype,"menuWrapper",void 0),Ln([i.query("#ft-floating-menu-options")],Wn.prototype,"menuContent",void 0),Ln([i.query("#actions-button")],Wn.prototype,"actionButton",void 0),Ln([i.queryAssignedElements({slot:"toggle"})],Wn.prototype,"customToggle",void 0),Ln([i.property({type:Boolean})],Wn.prototype,"primary",void 0),Ln([i.property({type:Boolean})],Wn.prototype,"secondary",void 0),Ln([i.property({type:Boolean})],Wn.prototype,"tertiary",void 0),Ln([i.property({type:Boolean})],Wn.prototype,"neutral",void 0),Ln([i.property({type:Boolean})],Wn.prototype,"small",void 0),Ln([i.property()],Wn.prototype,"label",void 0),Ln([i.property()],Wn.prototype,"tooltipPosition",void 0),Ln([i.property()],Wn.prototype,"iconVariant",void 0),Ln([i.property()],Wn.prototype,"icon",void 0),Ln([i.property()],Wn.prototype,"text",void 0),Ln([i.property()],Wn.prototype,"horizontalAlignment",void 0),Ln([i.property()],Wn.prototype,"verticalAlignment",void 0),Ln([i.property({type:Boolean})],Wn.prototype,"disabled",void 0),Ln([o.jsonProperty([])],Wn.prototype,"closeMenuMatchers",void 0);class zn extends Wn{}zn.elementDefinitions={"ft-or-ftds-button":rn},zn.styles=$n;class An extends Wn{}An.elementDefinitions={"ft-or-ftds-button":sn},An.styles=$n;const Kn=o.FtCssVariableFactory.extend("--ft-floating-menu-label-color","",o.designSystemVariables.colorOnSurfaceMedium),Zn=e.css`
1088
+ `}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){o.eventPathContainsMatchingElement(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";const t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:o,y:e}=await Ni(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${o}px`,this.menuWrapper.style.top=`${e}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}}Wn.elementDefinitions={"ft-floating-menu-item":Un},Ln([i.state()],Wn.prototype,"menuOpen",void 0),Ln([i.state()],Wn.prototype,"forceMenuOpen",void 0),Ln([i.query(".ft-floating-menu")],Wn.prototype,"container",void 0),Ln([i.query(".ft-floating-menu--wrapper")],Wn.prototype,"menuWrapper",void 0),Ln([i.query("#actions-button")],Wn.prototype,"actionButton",void 0),Ln([i.queryAssignedElements({slot:"toggle"})],Wn.prototype,"customToggle",void 0),Ln([i.property({type:Boolean})],Wn.prototype,"primary",void 0),Ln([i.property({type:Boolean})],Wn.prototype,"secondary",void 0),Ln([i.property({type:Boolean})],Wn.prototype,"tertiary",void 0),Ln([i.property({type:Boolean})],Wn.prototype,"neutral",void 0),Ln([i.property({type:Boolean})],Wn.prototype,"small",void 0),Ln([i.property()],Wn.prototype,"label",void 0),Ln([i.property()],Wn.prototype,"tooltipPosition",void 0),Ln([i.property()],Wn.prototype,"iconVariant",void 0),Ln([i.property()],Wn.prototype,"icon",void 0),Ln([i.property()],Wn.prototype,"text",void 0),Ln([i.property()],Wn.prototype,"horizontalAlignment",void 0),Ln([i.property()],Wn.prototype,"verticalAlignment",void 0),Ln([i.property({type:Boolean})],Wn.prototype,"disabled",void 0),Ln([o.jsonProperty([])],Wn.prototype,"closeMenuMatchers",void 0);class zn extends Wn{}zn.elementDefinitions={"ft-or-ftds-button":rn},zn.styles=$n;class An extends Wn{}An.elementDefinitions={"ft-or-ftds-button":sn},An.styles=$n;const Kn=o.FtCssVariableFactory.extend("--ft-floating-menu-label-color","",o.designSystemVariables.colorOnSurfaceMedium),Zn=e.css`
1089
1089
  .ft-floating-menu-label {
1090
1090
  padding: 4px 8px;
1091
1091
  }
@@ -1104,7 +1104,7 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
1104
1104
  <slot></slot>
1105
1105
  </ft-typography>
1106
1106
  </div>
1107
- `}}function Dn(t){var o,e;return(null!==(e=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==e?e:null==t?void 0:t.topic).metadata.map((t=>function(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" / ")),t.length>2?e.push(`... / ${t[t.length-1]}`):e.push(t.join(" / "))})),{key:t.key,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,value:o,displayValue:o}}}(t)))}Bn.elementDefinitions={"ft-typography":de},Bn.styles=Zn,o.customElement("ft-floating-menu")(zn),o.customElement("ftds-floating-menu")(An),o.customElement("ft-floating-menu-item")(Un),o.customElement("ft-floating-menu-label")(Bn);class Fn extends CustomEvent{constructor(t,o){super("ft-search-result-click",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}}class Tn{constructor(t,o,e,i){this.cluster=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=i}computeClustersItemsForMetadata(t,o){var e;const i=null===(e=this.cluster)||void 0===e?void 0:e.entries.flatMap((o=>Dn(o).filter((o=>o.key===t)))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return i.map((o=>({result:this.findMatchingResult(t,o.value),metadata:o}))).sort(((e,i)=>this.compareMetadata(e.metadata.value,i.metadata.value,t,o)))}compareMetadata(t,o,e,i){let n=this.metadataDescriptors.find((t=>e==t.key)),r=(null==n?void 0:n.sortRule)||"NONE",a=(null==n?void 0:n.reverseSort)||!1;if("ALPHABET"==r||"VERSION"==r){let e=t.localeCompare(o,i,{numeric:!0});return a?-1*e:e}return 0}findMatchingResult(t,o){var e,i;let n=Dn(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),r=[...n.filter((o=>o.key!==t)),{key:t,value:o,displayValue:o}];return null!==(i=null!==(e=this.findResultMatchingMetadata(r))&&void 0!==e?e:this.findResultMatchingMetadata([{key:t,value:o,displayValue:o}]))&&void 0!==i?i:this.cluster.entries[0]}findResultMatchingMetadata(t){return this.cluster.entries.find((o=>this.resultMatchesMetadata(o,t)))}resultMatchesMetadata(t,o){let e=Dn(t);return o.every((t=>e.some((o=>o.key==t.key&&o.value==t.value))))}}var Pn=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class Hn extends(Q(V)){constructor(){super(),this.useChip=!1,this.useAsClusterSwitch=!1,this.goToDocumentOnSwitch=!1,this.editorMode=!1,this.metadataDescriptors=[],this.clustersByValue={},this.clusters=[],this.addStore(I),this.addI18nContext(rt)}setResultStateManager(t){super.setResultStateManager(t),this.key&&this.useAsClusterSwitch&&t.registerMetadata(this.key)}render(){return e.html`
1107
+ `}}function Dn(t){var o,e;return(null!==(e=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==e?e:null==t?void 0:t.topic).metadata.map((t=>function(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" / ")),t.length>2?e.push(`... / ${t[t.length-1]}`):e.push(t.join(" / "))})),{key:t.key,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,value:o,displayValue:o}}}(t)))}Bn.elementDefinitions={"ft-typography":de},Bn.styles=Zn,o.customElement("ft-floating-menu")(zn),o.customElement("ftds-floating-menu")(An),o.customElement("ft-floating-menu-item")(Un),o.customElement("ft-floating-menu-label")(Bn);class Fn extends CustomEvent{constructor(t,o){super("ft-search-result-click",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}}class Tn{constructor(t,o,e,i){this.cluster=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=i}computeClustersItemsForMetadata(t,o){var e;const i=null===(e=this.cluster)||void 0===e?void 0:e.entries.flatMap((o=>Dn(o).filter((o=>o.key===t)))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return i.map((o=>({result:this.findMatchingResult(t,o.value),metadata:o}))).sort(((e,i)=>this.compareMetadata(e.metadata.value,i.metadata.value,t,o)))}compareMetadata(t,o,e,i){let n=this.metadataDescriptors.find((t=>e==t.key)),r=(null==n?void 0:n.sortRule)||"NONE",a=(null==n?void 0:n.reverseSort)||!1;if("ALPHABET"==r||"VERSION"==r){let e=t.localeCompare(o,i,{numeric:!0});return a?-1*e:e}return 0}findMatchingResult(t,o){var e,i;let n=Dn(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),r=[...n.filter((o=>o.key!==t)),{key:t,value:o,displayValue:o}];return null!==(i=null!==(e=this.findResultMatchingMetadata(r))&&void 0!==e?e:this.findResultMatchingMetadata([{key:t,value:o,displayValue:o}]))&&void 0!==i?i:this.cluster.entries[0]}findResultMatchingMetadata(t){return this.cluster.entries.find((o=>this.resultMatchesMetadata(o,t)))}resultMatchesMetadata(t,o){let e=Dn(t);return o.every((t=>e.some((o=>o.key==t.key&&o.value==t.value))))}}var Pn=function(t,o,e,i){for(var n,r=arguments.length,a=r<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(r<3?n(a):r>3?n(o,e,a):n(o,e))||a);return r>3&&a&&Object.defineProperty(o,e,a),a};class Mn extends(Q(V)){constructor(){super(),this.useChip=!1,this.useAsClusterSwitch=!1,this.goToDocumentOnSwitch=!1,this.editorMode=!1,this.metadataDescriptors=[],this.clustersByValue={},this.clusters=[],this.addStore(I),this.addI18nContext(rt)}setResultStateManager(t){super.setResultStateManager(t),this.key&&this.useAsClusterSwitch&&t.registerMetadata(this.key)}render(){return e.html`
1108
1108
  ${this.displayCluster?this.renderClusterList():this.renderChip()}
1109
1109
  ${this.hideIfEmpty()}
1110
1110
  `}renderClusterList(){return e.html`
@@ -1142,4 +1142,4 @@ const Pt=Symbol.for(""),Ht=t=>{if(t?.r===Pt)return t?._$litStatic$},Mt=t=>({_$li
1142
1142
  display: none !important;
1143
1143
  }
1144
1144
  </style>
1145
- `}get displayCluster(){var t,o;return this.useAsClusterSwitch&&(null!==(o=null===(t=this.cluster)||void 0===t?void 0:t.entries.length)&&void 0!==o?o:0)>1}getEllipsis(t){let o=this.maxLength?t.substring(0,this.maxLength):t;return o+(o.length<t.length?"…":"")}update(t){var o,e,i,n,r;super.update(t),(t.has("result")||t.has("key"))&&this.result&&(this.resultMetadata=null===(o=this.resultData)||void 0===o?void 0:o.metadata.find((t=>t.key==this.key)),this.metadataLabel=this.findClusterMetadataLabel()),t.has("key")&&this.useAsClusterSwitch&&(t.get("key")&&(null===(e=this.resultStateManager)||void 0===e||e.unregisterMetadata(t.get("key"))),this.key&&(null===(i=this.resultStateManager)||void 0===i||i.registerMetadata(this.key))),t.has("useAsClusterSwitch")&&this.key&&(this.useAsClusterSwitch?null===(n=this.resultStateManager)||void 0===n||n.registerMetadata(this.key):null===(r=this.resultStateManager)||void 0===r||r.unregisterMetadata(this.key)),(t.has("cluster")||t.has("result")||t.has("key")||t.has("useAsClusterSwitch"))&&this.cluster&&this.result&&this.key&&this.useAsClusterSwitch&&this.computeClusters()}get resultData(){var t,o,e,i,n;return null!==(i=null!==(o=null===(t=this.result)||void 0===t?void 0:t.map)&&void 0!==o?o:null===(e=this.result)||void 0===e?void 0:e.topic)&&void 0!==i?i:null===(n=this.result)||void 0===n?void 0:n.document}get valueText(){var t,o;return null!==(o=null===(t=this.resultMetadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){return this.resultMetadata?`${this.metadataLabel}: ${this.valueText}`:this.useAsClusterSwitch?`${this.metadataLabel}: ${rt.messages.noValueInCluster()}`:""}findClusterMetadataLabel(){var t;const o=null===(t=this.cluster)||void 0===t?void 0:t.entries.flatMap((t=>{var o,e;return(null!==(e=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==e?e:null==t?void 0:t.topic).metadata.filter((t=>t.key==this.key))}))[0];return null==o?void 0:o.label}}Hn.elementDefinitions={"ft-tooltip":Si,"ft-chip":mn,"ft-floating-menu":zn,"ft-floating-menu-item":Un,"ft-floating-menu-label":Bn},Hn.styles=l,Pn([i.property()],Hn.prototype,"key",void 0),Pn([i.property({type:Boolean})],Hn.prototype,"useChip",void 0),Pn([i.property({type:Boolean})],Hn.prototype,"useAsClusterSwitch",void 0),Pn([i.property({type:Boolean})],Hn.prototype,"goToDocumentOnSwitch",void 0),Pn([i.property({type:Number,attribute:"max-length"})],Hn.prototype,"maxLength",void 0),Pn([o.redux({store:I.name})],Hn.prototype,"editorMode",void 0),Pn([o.redux({store:I.name})],Hn.prototype,"metadataDescriptors",void 0),Pn([o.redux({store:"search"})],Hn.prototype,"request",void 0),Pn([i.state()],Hn.prototype,"resultMetadata",void 0),Pn([i.state()],Hn.prototype,"metadataLabel",void 0),Pn([i.state()],Hn.prototype,"clustersByValue",void 0),Pn([i.state()],Hn.prototype,"clusters",void 0),o.customElement("ft-search-result-metadata")(Hn),t.FtSearchResultMetadata=Hn,t.FtSearchResultMetadataCssVariables={},t.styles=l}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML,ftGlobals.litRepeat);
1145
+ `}get displayCluster(){var t,o;return this.useAsClusterSwitch&&(null!==(o=null===(t=this.cluster)||void 0===t?void 0:t.entries.length)&&void 0!==o?o:0)>1}getEllipsis(t){let o=this.maxLength?t.substring(0,this.maxLength):t;return o+(o.length<t.length?"…":"")}update(t){var o,e,i,n,r;super.update(t),(t.has("result")||t.has("key"))&&this.result&&(this.resultMetadata=null===(o=this.resultData)||void 0===o?void 0:o.metadata.find((t=>t.key==this.key)),this.metadataLabel=this.findClusterMetadataLabel()),t.has("key")&&this.useAsClusterSwitch&&(t.get("key")&&(null===(e=this.resultStateManager)||void 0===e||e.unregisterMetadata(t.get("key"))),this.key&&(null===(i=this.resultStateManager)||void 0===i||i.registerMetadata(this.key))),t.has("useAsClusterSwitch")&&this.key&&(this.useAsClusterSwitch?null===(n=this.resultStateManager)||void 0===n||n.registerMetadata(this.key):null===(r=this.resultStateManager)||void 0===r||r.unregisterMetadata(this.key)),(t.has("cluster")||t.has("result")||t.has("key")||t.has("useAsClusterSwitch"))&&this.cluster&&this.result&&this.key&&this.useAsClusterSwitch&&this.computeClusters()}get resultData(){var t,o,e,i,n;return null!==(i=null!==(o=null===(t=this.result)||void 0===t?void 0:t.map)&&void 0!==o?o:null===(e=this.result)||void 0===e?void 0:e.topic)&&void 0!==i?i:null===(n=this.result)||void 0===n?void 0:n.document}get valueText(){var t,o;return null!==(o=null===(t=this.resultMetadata)||void 0===t?void 0:t.values.join(", "))&&void 0!==o?o:""}get tooltipText(){return this.resultMetadata?`${this.metadataLabel}: ${this.valueText}`:this.useAsClusterSwitch?`${this.metadataLabel}: ${rt.messages.noValueInCluster()}`:""}findClusterMetadataLabel(){var t;const o=null===(t=this.cluster)||void 0===t?void 0:t.entries.flatMap((t=>{var o,e;return(null!==(e=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==e?e:null==t?void 0:t.topic).metadata.filter((t=>t.key==this.key))}))[0];return null==o?void 0:o.label}}Mn.elementDefinitions={"ft-tooltip":Si,"ft-chip":mn,"ft-floating-menu":zn,"ft-floating-menu-item":Un,"ft-floating-menu-label":Bn},Mn.styles=l,Pn([i.property()],Mn.prototype,"key",void 0),Pn([i.property({type:Boolean})],Mn.prototype,"useChip",void 0),Pn([i.property({type:Boolean})],Mn.prototype,"useAsClusterSwitch",void 0),Pn([i.property({type:Boolean})],Mn.prototype,"goToDocumentOnSwitch",void 0),Pn([i.property({type:Number,attribute:"max-length"})],Mn.prototype,"maxLength",void 0),Pn([o.redux({store:I.name})],Mn.prototype,"editorMode",void 0),Pn([o.redux({store:I.name})],Mn.prototype,"metadataDescriptors",void 0),Pn([o.redux({store:"search"})],Mn.prototype,"request",void 0),Pn([i.state()],Mn.prototype,"resultMetadata",void 0),Pn([i.state()],Mn.prototype,"metadataLabel",void 0),Pn([i.state()],Mn.prototype,"clustersByValue",void 0),Pn([i.state()],Mn.prototype,"clusters",void 0),o.customElement("ft-search-result-metadata")(Mn),t.FtSearchResultMetadata=Mn,t.FtSearchResultMetadataCssVariables={},t.styles=l}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML,ftGlobals.litRepeat);