@fluid-topics/ft-search-results 1.1.18 → 1.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,19 +1,19 @@
1
- !function(t,o,e,r,a,i){const n=e.css`
1
+ !function(t,o,e,r,a,n){const i=e.css`
2
2
  [part="no-results-message"] {
3
3
  text-align: center;
4
4
  padding: 12px;
5
5
  }
6
- `;var l,c,s,f,p,h,y,d,g,u,b,m,O,N,S,C,v,w;!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 r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function i(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 n(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 c(t){this.map={},t instanceof c?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 s(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 y(){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)||a(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=s(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?s(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t,o,e,r=s(this);if(r)return r;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),r=0;r<o.length;r++)e[r]=String.fromCharCode(o[r]);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(u)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,o){t=i(t),o=n(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},c.prototype.delete=function(t){delete this.map[i(t)]},c.prototype.get=function(t){return t=i(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(i(t))},c.prototype.set=function(t,o){this.map[i(t)]=n(o)},c.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},c.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,o){var e,r,a=(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 c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,a||null==t._bodyInit||(a=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 c(o.headers)),this.method=(e=o.method||this.method||"GET",r=e.toUpperCase(),d.indexOf(r)>-1?r:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(a)}function u(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),r=e.shift().replace(/\+/g," "),a=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(r),decodeURIComponent(a))}})),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 c(o.headers),this.url=o.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},y.call(g.prototype),y.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(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 O(t,r){return new Promise((function(a,i){var n=new g(t,r);if(n.signal&&n.signal.aborted)return i(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function s(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),r=e.shift().trim();if(r){var a=e.join(":").trim();o.append(r,a)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var r="response"in l?l.response:l.responseText;a(new b(r,e))},l.onerror=function(){i(new TypeError("Network request failed"))},l.ontimeout=function(){i(new TypeError("Network request failed"))},l.onabort=function(){i(new o.DOMException("Aborted","AbortError"))},l.open(n.method,n.url,!0),"include"===n.credentials?l.withCredentials=!0:"omit"===n.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),n.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),n.signal&&(n.signal.addEventListener("abort",s),l.onreadystatechange=function(){4===l.readyState&&n.signal.removeEventListener("abort",s)}),l.send(void 0===n._bodyInit?null:n._bodyInit)}))}O.polyfill=!0,t.fetch||(t.fetch=O,t.Headers=c,t.Request=g,t.Response=b),o.Headers=c,o.Request=g,o.Response=b,o.fetch=O,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"}(l||(l={})),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"}(s||(s={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(f||(f={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(p||(p={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(h||(h={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(y||(y={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(d||(d={})),function(t){t.ASC="ASC",t.DESC="DESC"}(g||(g={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(u||(u={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(b||(b={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(m||(m={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(O||(O={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(N||(N={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(S||(S={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(C||(C={})),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"}(v||(v={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(w||(w={})),v.PERSONAL_BOOK_SHARE_USER,v.PERSONAL_BOOK_USER,v.HTML_EXPORT_USER,v.PERSONAL_BOOK_USER,v.PDF_EXPORT_USER,v.PERSONAL_BOOK_USER,v.KHUB_ADMIN,v.CONTENT_PUBLISHER,v.ADMIN,v.KHUB_ADMIN,v.USERS_ADMIN,v.PORTAL_ADMIN,v.DEVELOPER,v.BETA_USER,v.DEBUG_USER;const R=e.css`
7
- `,E=o.FtReduxStore.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setMetadataDescriptors:(t,o)=>{t.metadataDescriptors=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataDescriptors:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class I{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=E.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?I.build(t):null!==(o=I.API)&&void 0!==o?o:I.API=I.build()}static await(t){return new Promise((o=>{let e=I.get(t);if(e)o(e);else{const r=E.subscribe((()=>{e=I.get(t),e&&(r(),o(e))}))}}))}}var x;const U=Symbol("clearAfterUnitTest");class L{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[x]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=E.getState().uiLocale,E.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=E.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 r;if(t=t.toLowerCase(),Object.keys(e).length>0){const a={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...e};o.deepEqual(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...r){var a,i,n;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(i=null===(a=this.cache.getNow(t))||void 0===a?void 0:a.messages)&&void 0!==i?i:{};return new o.ParametrizedLabelResolver(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},l).resolve(e,...r)}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)))))}}x=U,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new L((async(t,o)=>(await I.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new L((async(t,o)=>(await I.await()).getCustomMessageContext(t,o))));const W=window.FluidTopicsI18nService,K=window.FluidTopicsCustomI18nService;var k=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class A extends o.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.metadataDescriptors=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>I.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
6
+ `;var l,c,s,f,p,h,y,d,g,u,b,m,O,N,S,C,v,w;!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 r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function n(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 i(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 c(t){this.map={},t instanceof c?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 s(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 y(){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)||a(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=s(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?s(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t,o,e,r=s(this);if(r)return r;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),r=0;r<o.length;r++)e[r]=String.fromCharCode(o[r]);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(u)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,o){t=n(t),o=i(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,o){this.map[n(t)]=i(o)},c.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},c.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,o){var e,r,a=(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 c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,a||null==t._bodyInit||(a=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 c(o.headers)),this.method=(e=o.method||this.method||"GET",r=e.toUpperCase(),d.indexOf(r)>-1?r:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(a)}function u(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),r=e.shift().replace(/\+/g," "),a=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(r),decodeURIComponent(a))}})),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 c(o.headers),this.url=o.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},y.call(g.prototype),y.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(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 O(t,r){return new Promise((function(a,n){var i=new g(t,r);if(i.signal&&i.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function s(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),r=e.shift().trim();if(r){var a=e.join(":").trim();o.append(r,a)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var r="response"in l?l.response:l.responseText;a(new b(r,e))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},l.open(i.method,i.url,!0),"include"===i.credentials?l.withCredentials=!0:"omit"===i.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),i.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),i.signal&&(i.signal.addEventListener("abort",s),l.onreadystatechange=function(){4===l.readyState&&i.signal.removeEventListener("abort",s)}),l.send(void 0===i._bodyInit?null:i._bodyInit)}))}O.polyfill=!0,t.fetch||(t.fetch=O,t.Headers=c,t.Request=g,t.Response=b),o.Headers=c,o.Request=g,o.Response=b,o.fetch=O,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"}(l||(l={})),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"}(s||(s={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(f||(f={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(p||(p={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(h||(h={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(y||(y={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(d||(d={})),function(t){t.ASC="ASC",t.DESC="DESC"}(g||(g={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(u||(u={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(b||(b={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(m||(m={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(O||(O={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(N||(N={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(S||(S={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(C||(C={})),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"}(v||(v={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(w||(w={})),v.PERSONAL_BOOK_SHARE_USER,v.PERSONAL_BOOK_USER,v.HTML_EXPORT_USER,v.PERSONAL_BOOK_USER,v.PDF_EXPORT_USER,v.PERSONAL_BOOK_USER,v.KHUB_ADMIN,v.CONTENT_PUBLISHER,v.ADMIN,v.KHUB_ADMIN,v.USERS_ADMIN,v.PORTAL_ADMIN,v.DEVELOPER,v.BETA_USER,v.DEBUG_USER;const R=e.css`
7
+ `,E=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 I{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=E.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?I.build(t):null!==(o=I.API)&&void 0!==o?o:I.API=I.build()}static await(t){return new Promise((o=>{let e=I.get(t);if(e)o(e);else{const r=E.subscribe((()=>{e=I.get(t),e&&(r(),o(e))}))}}))}}var x;const U=Symbol("clearAfterUnitTest");class L{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[x]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=E.getState().uiLocale,E.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=E.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 r;if(t=t.toLowerCase(),Object.keys(e).length>0){const a={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...e};o.deepEqual(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...r){var a,n,i;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(n=null===(a=this.cache.getNow(t))||void 0===a?void 0:a.messages)&&void 0!==n?n:{};return new o.ParametrizedLabelResolver(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},l).resolve(e,...r)}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)))))}}x=U,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new L((async(t,o)=>(await I.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new L((async(t,o)=>(await I.await()).getCustomMessageContext(t,o))));const W=window.FluidTopicsI18nService,K=window.FluidTopicsCustomI18nService;var k=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};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=()=>I.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
8
8
  <slot></slot>
9
- `}update(t){super.update(t),t.has("baseUrl")&&E.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&E.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&E.actions.setUiLocale(this.uiLocale),t.has("metadataDescriptors")&&E.actions.setMetadataDescriptors(this.metadataDescriptors),t.has("noCustom")&&E.actions.setNoCustom(this.noCustom),t.has("editorMode")&&E.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&E.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&E.actions.setSession(this.session),t.has("availableUiLocales")&&E.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>W.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))),null==this.metadataDescriptors&&(this.metadataDescriptors=await this.cache.get("metadataDescriptors",(()=>t.getMetadataDescriptors()))))}}A.elementDefinitions={},A.styles=R,k([a.property()],A.prototype,"baseUrl",void 0),k([a.property()],A.prototype,"apiIntegrationIdentifier",void 0),k([a.property()],A.prototype,"uiLocale",void 0),k([o.jsonProperty([])],A.prototype,"availableUiLocales",void 0),k([o.jsonProperty([])],A.prototype,"metadataDescriptors",void 0),k([a.property({type:Boolean})],A.prototype,"editorMode",void 0),k([a.property({type:Boolean})],A.prototype,"noCustom",void 0),k([a.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],A.prototype,"noCustomComponent",void 0),k([a.property({type:Boolean})],A.prototype,"withManualResources",void 0),k([o.jsonProperty([])],A.prototype,"messageContexts",void 0),k([o.jsonProperty(void 0)],A.prototype,"session",void 0),k([a.property({type:Object})],A.prototype,"apiProvider",void 0);class ${async listMySearches(){var t;return(null===(t=E.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await I.await()).listMySearches(E.getState().session.profile.userId):[]}}const Z=new o.CacheRegistry;class D{async listMyBookmarks(){return Z.get("bookmarks",(async()=>(await I.await()).listMyBookmarks(E.getState().session.profile.userId)))}clearCache(){Z.clear("bookmarks")}}const z=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=E.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new D,E.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=E.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(){z.actions.savedSearches(void 0)}clearMyBookmarks(){z.actions.bookmarks(void 0)}async reloadMySearches(){const t=new $,o=await t.listMySearches();z.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;z.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 B=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class T extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const P=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[P]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[P]):this.dispatchEvent(new T)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=P,B([a.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const G=e.css`
9
+ `}update(t){super.update(t),t.has("baseUrl")&&E.actions.baseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&E.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&E.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&E.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&E.actions.noCustom(this.noCustom),t.has("editorMode")&&E.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&E.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&E.actions.session(this.session),t.has("availableUiLocales")&&E.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>W.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=R,k([a.property()],A.prototype,"baseUrl",void 0),k([a.property()],A.prototype,"apiIntegrationIdentifier",void 0),k([a.property()],A.prototype,"uiLocale",void 0),k([o.jsonProperty(null)],A.prototype,"availableUiLocales",void 0),k([o.jsonProperty(null)],A.prototype,"metadataConfiguration",void 0),k([a.property({type:Boolean})],A.prototype,"editorMode",void 0),k([a.property({type:Boolean})],A.prototype,"noCustom",void 0),k([a.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],A.prototype,"noCustomComponent",void 0),k([a.property({type:Boolean})],A.prototype,"withManualResources",void 0),k([o.jsonProperty([])],A.prototype,"messageContexts",void 0),k([o.jsonProperty(void 0)],A.prototype,"session",void 0),k([a.property({type:Object})],A.prototype,"apiProvider",void 0);class ${async listMySearches(){var t;return(null===(t=E.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await I.await()).listMySearches(E.getState().session.profile.userId):[]}}const Z=new o.CacheRegistry;class D{async listMyBookmarks(){return Z.get("bookmarks",(async()=>(await I.await()).listMyBookmarks(E.getState().session.profile.userId)))}clearCache(){Z.clear("bookmarks")}}const z=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=E.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new D,E.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=E.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(){z.actions.savedSearches(void 0)}clearMyBookmarks(){z.actions.bookmarks(void 0)}async reloadMySearches(){const t=new $,o=await t.listMySearches();z.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;z.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 B=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class T extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const P=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[P]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[P]):this.dispatchEvent(new T)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=P,B([a.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const G=e.css`
10
10
  a {
11
11
  color: inherit;
12
12
  text-decoration: inherit;
13
13
  }
14
- `;class M{constructor(t){this.registeredComponents=[],this.registeredMetadata=new Set,this.onResultSelected=t}registerComponent(t){t.setResultStateManager(this),this.registeredComponents.push(t),this.bindComponent(t)}unregisterComponent(t){this.registeredComponents.splice(this.registeredComponents.indexOf(t),1),t.cluster=void 0,t.result=void 0,t.rank=void 0}registerMetadata(t){this.registeredMetadata.add(t)}unregisterMetadata(t){this.registeredMetadata.delete(t)}updateCluster(t,o){this.cluster=t,this.rank=o,this.selectResult(this.cluster.entries[0])}selectResult(t){this.result=t,this.onResultSelected(t),this.registeredComponents.forEach((t=>this.bindComponent(t)))}clear(){this.registeredComponents=[]}bindComponent(t){t.cluster=this.cluster,t.result=this.result,t.rank=this.rank}}var _=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class j extends CustomEvent{constructor(t){super("ft-search-result-cluster-change",{detail:t,bubbles:!0,composed:!0})}}class Y extends o.FtLitElement{constructor(){super(...arguments),this.index=0,this.stateManager=new M((t=>this.onResultSelected(t)))}render(){return e.html`
14
+ `;class M{constructor(t){this.registeredComponents=[],this.registeredMetadata=new Set,this.onResultSelected=t}registerComponent(t){t.setResultStateManager(this),this.registeredComponents.push(t),this.bindComponent(t)}unregisterComponent(t){this.registeredComponents.splice(this.registeredComponents.indexOf(t),1),t.cluster=void 0,t.result=void 0,t.rank=void 0}registerMetadata(t){this.registeredMetadata.add(t)}unregisterMetadata(t){this.registeredMetadata.delete(t)}updateCluster(t,o){this.cluster=t,this.rank=o,this.selectResult(this.cluster.entries[0])}selectResult(t){this.result=t,this.onResultSelected(t),this.registeredComponents.forEach((t=>this.bindComponent(t)))}clear(){this.registeredComponents=[]}bindComponent(t){t.cluster=this.cluster,t.result=this.result,t.rank=this.rank}}var _=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class j extends CustomEvent{constructor(t){super("ft-search-result-cluster-change",{detail:t,bubbles:!0,composed:!0})}}class Y extends o.FtLitElement{constructor(){super(...arguments),this.index=0,this.stateManager=new M((t=>this.onResultSelected(t)))}render(){return e.html`
15
15
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
16
- `}onResultSelected(t){this.result=t,this.dispatchEvent(new j(this.result))}registerComponent(t){t.stopPropagation();const o=t.composedPath()[0];this.stateManager.registerComponent(o)}update(t){super.update(t),t.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}}Y.elementDefinitions={},Y.styles=G,_([a.property({attribute:!1})],Y.prototype,"cluster",void 0),_([a.state()],Y.prototype,"result",void 0),_([a.property()],Y.prototype,"index",void 0),o.customElement("ft-search-result-context")(Y);var V=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class X extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const q=Symbol("registerInterval");class J 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[q]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[q]):this.dispatchEvent(new X)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return o=q,V([a.property({attribute:!1})],e.prototype,"cluster",void 0),V([a.property({attribute:!1})],e.prototype,"result",void 0),V([a.property({attribute:!1,type:Number})],e.prototype,"rank",void 0),e}(H)){}const Q=o.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent"),tt=e.css`
16
+ `}onResultSelected(t){this.result=t,this.dispatchEvent(new j(this.result))}registerComponent(t){t.stopPropagation();const o=t.composedPath()[0];this.stateManager.registerComponent(o)}update(t){super.update(t),t.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}}Y.elementDefinitions={},Y.styles=G,_([a.property({attribute:!1})],Y.prototype,"cluster",void 0),_([a.state()],Y.prototype,"result",void 0),_([a.property()],Y.prototype,"index",void 0),o.customElement("ft-search-result-context")(Y);var V=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class X extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const q=Symbol("registerInterval");class J 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[q]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[q]):this.dispatchEvent(new X)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return o=q,V([a.property({attribute:!1})],e.prototype,"cluster",void 0),V([a.property({attribute:!1})],e.prototype,"result",void 0),V([a.property({attribute:!1,type:Number})],e.prototype,"rank",void 0),e}(H)){}const Q=o.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent"),tt=e.css`
17
17
  .kwicmatch {
18
18
  font-weight: 700;
19
19
  background-color: ${Q};
@@ -32,13 +32,13 @@
32
32
  * @license
33
33
  * Copyright 2017 Google LLC
34
34
  * SPDX-License-Identifier: BSD-3-Clause
35
- */,ot=globalThis,et=ot.trustedTypes,rt=et?et.createPolicy("lit-html",{createHTML:t=>t}):void 0,at="$lit$",it=`lit$${(Math.random()+"").slice(9)}$`,nt="?"+it,lt=`<${nt}>`,ct=document,st=()=>ct.createComment(""),ft=t=>null===t||"object"!=typeof t&&"function"!=typeof t,pt=Array.isArray,ht="[ \t\n\f\r]",yt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,dt=/-->/g,gt=/>/g,ut=RegExp(`>|${ht}(?:([^\\s"'>=/]+)(${ht}*=${ht}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),bt=/'/g,mt=/"/g,Ot=/^(?:script|style|textarea|title)$/i,Nt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),St=Symbol.for("lit-noChange"),Ct=Symbol.for("lit-nothing"),vt=new WeakMap,wt=ct.createTreeWalker(ct,129);function Rt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==rt?rt.createHTML(o):o}const Et=(t,o)=>{const e=t.length-1,r=[];let a,i=2===o?"<svg>":"",n=yt;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,f=0;for(;f<e.length&&(n.lastIndex=f,c=n.exec(e),null!==c);)f=n.lastIndex,n===yt?"!--"===c[1]?n=dt:void 0!==c[1]?n=gt:void 0!==c[2]?(Ot.test(c[2])&&(a=RegExp("</"+c[2],"g")),n=ut):void 0!==c[3]&&(n=ut):n===ut?">"===c[0]?(n=a??yt,s=-1):void 0===c[1]?s=-2:(s=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?ut:'"'===c[3]?mt:bt):n===mt||n===bt?n=ut:n===dt||n===gt?n=yt:(n=ut,a=void 0);const p=n===ut&&t[o+1].startsWith("/>")?" ":"";i+=n===yt?e+lt:s>=0?(r.push(l),e.slice(0,s)+at+e.slice(s)+it+p):e+it+(-2===s?o:p)}return[Rt(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class It{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let a=0,i=0;const n=t.length-1,l=this.parts,[c,s]=Et(t,o);if(this.el=It.createElement(c,e),wt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=wt.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(at)){const o=s[i++],e=r.getAttribute(t).split(it),n=/([.?@])?(.*)/.exec(o);l.push({type:1,index:a,name:n[2],strings:e,ctor:"."===n[1]?Kt:"?"===n[1]?kt:"@"===n[1]?At:Wt}),r.removeAttribute(t)}else t.startsWith(it)&&(l.push({type:6,index:a}),r.removeAttribute(t));if(Ot.test(r.tagName)){const t=r.textContent.split(it),o=t.length-1;if(o>0){r.textContent=et?et.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],st()),wt.nextNode(),l.push({type:2,index:++a});r.append(t[o],st())}}}else if(8===r.nodeType)if(r.data===nt)l.push({type:2,index:a});else{let t=-1;for(;-1!==(t=r.data.indexOf(it,t+1));)l.push({type:7,index:a}),t+=it.length-1}a++}}static createElement(t,o){const e=ct.createElement("template");return e.innerHTML=t,e}}function xt(t,o,e=t,r){if(o===St)return o;let a=void 0!==r?e._$Co?.[r]:e._$Cl;const i=ft(o)?void 0:o._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),void 0===i?a=void 0:(a=new i(t),a._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=a:e._$Cl=a),void 0!==a&&(o=xt(t,a._$AS(t,o.values),a,r)),o}class Ut{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??ct).importNode(o,!0);wt.currentNode=r;let a=wt.nextNode(),i=0,n=0,l=e[0];for(;void 0!==l;){if(i===l.index){let o;2===l.type?o=new Lt(a,a.nextSibling,this,t):1===l.type?o=new l.ctor(a,l.name,l.strings,this,t):6===l.type&&(o=new $t(a,this,t)),this._$AV.push(o),l=e[++n]}i!==l?.index&&(a=wt.nextNode(),i++)}return wt.currentNode=ct,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class Lt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=Ct,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=xt(this,t,o),ft(t)?t===Ct||null==t||""===t?(this._$AH!==Ct&&this._$AR(),this._$AH=Ct):t!==this._$AH&&t!==St&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>pt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Ct&&ft(this._$AH)?this._$AA.nextSibling.data=t:this.$(ct.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=It.createElement(Rt(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new Ut(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=vt.get(t.strings);return void 0===o&&vt.set(t.strings,o=new It(t)),o}T(t){pt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const a of t)r===o.length?o.push(e=new Lt(this.k(st()),this.k(st()),this,this.options)):e=o[r],e._$AI(a),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Wt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,a){this.type=1,this._$AH=Ct,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=a,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Ct}_$AI(t,o=this,e,r){const a=this.strings;let i=!1;if(void 0===a)t=xt(this,t,o,0),i=!ft(t)||t!==this._$AH&&t!==St,i&&(this._$AH=t);else{const r=t;let n,l;for(t=a[0],n=0;n<a.length-1;n++)l=xt(this,r[e+n],o,n),l===St&&(l=this._$AH[n]),i||=!ft(l)||l!==this._$AH[n],l===Ct?t=Ct:t!==Ct&&(t+=(l??"")+a[n+1]),this._$AH[n]=l}i&&!r&&this.O(t)}O(t){t===Ct?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Kt extends Wt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Ct?void 0:t}}class kt extends Wt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Ct)}}class At extends Wt{constructor(t,o,e,r,a){super(t,o,e,r,a),this.type=5}_$AI(t,o=this){if((t=xt(this,t,o,0)??Ct)===St)return;const e=this._$AH,r=t===Ct&&e!==Ct||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,a=t!==Ct&&(e===Ct||r);r&&this.element.removeEventListener(this.name,this,e),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class $t{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){xt(this,t)}}const Zt=ot.litHtmlPolyfillSupport;Zt?.(It,Lt),(ot.litHtmlVersions??=[]).push("3.1.0");
35
+ */,ot=globalThis,et=ot.trustedTypes,rt=et?et.createPolicy("lit-html",{createHTML:t=>t}):void 0,at="$lit$",nt=`lit$${(Math.random()+"").slice(9)}$`,it="?"+nt,lt=`<${it}>`,ct=document,st=()=>ct.createComment(""),ft=t=>null===t||"object"!=typeof t&&"function"!=typeof t,pt=Array.isArray,ht="[ \t\n\f\r]",yt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,dt=/-->/g,gt=/>/g,ut=RegExp(`>|${ht}(?:([^\\s"'>=/]+)(${ht}*=${ht}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),bt=/'/g,mt=/"/g,Ot=/^(?:script|style|textarea|title)$/i,Nt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),St=Symbol.for("lit-noChange"),Ct=Symbol.for("lit-nothing"),vt=new WeakMap,wt=ct.createTreeWalker(ct,129);function Rt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==rt?rt.createHTML(o):o}const Et=(t,o)=>{const e=t.length-1,r=[];let a,n=2===o?"<svg>":"",i=yt;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,f=0;for(;f<e.length&&(i.lastIndex=f,c=i.exec(e),null!==c);)f=i.lastIndex,i===yt?"!--"===c[1]?i=dt:void 0!==c[1]?i=gt:void 0!==c[2]?(Ot.test(c[2])&&(a=RegExp("</"+c[2],"g")),i=ut):void 0!==c[3]&&(i=ut):i===ut?">"===c[0]?(i=a??yt,s=-1):void 0===c[1]?s=-2:(s=i.lastIndex-c[2].length,l=c[1],i=void 0===c[3]?ut:'"'===c[3]?mt:bt):i===mt||i===bt?i=ut:i===dt||i===gt?i=yt:(i=ut,a=void 0);const p=i===ut&&t[o+1].startsWith("/>")?" ":"";n+=i===yt?e+lt:s>=0?(r.push(l),e.slice(0,s)+at+e.slice(s)+nt+p):e+nt+(-2===s?o:p)}return[Rt(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class It{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let a=0,n=0;const i=t.length-1,l=this.parts,[c,s]=Et(t,o);if(this.el=It.createElement(c,e),wt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=wt.nextNode())&&l.length<i;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(at)){const o=s[n++],e=r.getAttribute(t).split(nt),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:a,name:i[2],strings:e,ctor:"."===i[1]?Kt:"?"===i[1]?kt:"@"===i[1]?At:Wt}),r.removeAttribute(t)}else t.startsWith(nt)&&(l.push({type:6,index:a}),r.removeAttribute(t));if(Ot.test(r.tagName)){const t=r.textContent.split(nt),o=t.length-1;if(o>0){r.textContent=et?et.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],st()),wt.nextNode(),l.push({type:2,index:++a});r.append(t[o],st())}}}else if(8===r.nodeType)if(r.data===it)l.push({type:2,index:a});else{let t=-1;for(;-1!==(t=r.data.indexOf(nt,t+1));)l.push({type:7,index:a}),t+=nt.length-1}a++}}static createElement(t,o){const e=ct.createElement("template");return e.innerHTML=t,e}}function xt(t,o,e=t,r){if(o===St)return o;let a=void 0!==r?e._$Co?.[r]:e._$Cl;const n=ft(o)?void 0:o._$litDirective$;return a?.constructor!==n&&(a?._$AO?.(!1),void 0===n?a=void 0:(a=new n(t),a._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=a:e._$Cl=a),void 0!==a&&(o=xt(t,a._$AS(t,o.values),a,r)),o}class Ut{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??ct).importNode(o,!0);wt.currentNode=r;let a=wt.nextNode(),n=0,i=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new Lt(a,a.nextSibling,this,t):1===l.type?o=new l.ctor(a,l.name,l.strings,this,t):6===l.type&&(o=new $t(a,this,t)),this._$AV.push(o),l=e[++i]}n!==l?.index&&(a=wt.nextNode(),n++)}return wt.currentNode=ct,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class Lt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=Ct,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=xt(this,t,o),ft(t)?t===Ct||null==t||""===t?(this._$AH!==Ct&&this._$AR(),this._$AH=Ct):t!==this._$AH&&t!==St&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>pt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Ct&&ft(this._$AH)?this._$AA.nextSibling.data=t:this.$(ct.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=It.createElement(Rt(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new Ut(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=vt.get(t.strings);return void 0===o&&vt.set(t.strings,o=new It(t)),o}T(t){pt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const a of t)r===o.length?o.push(e=new Lt(this.k(st()),this.k(st()),this,this.options)):e=o[r],e._$AI(a),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class Wt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,a){this.type=1,this._$AH=Ct,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=a,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Ct}_$AI(t,o=this,e,r){const a=this.strings;let n=!1;if(void 0===a)t=xt(this,t,o,0),n=!ft(t)||t!==this._$AH&&t!==St,n&&(this._$AH=t);else{const r=t;let i,l;for(t=a[0],i=0;i<a.length-1;i++)l=xt(this,r[e+i],o,i),l===St&&(l=this._$AH[i]),n||=!ft(l)||l!==this._$AH[i],l===Ct?t=Ct:t!==Ct&&(t+=(l??"")+a[i+1]),this._$AH[i]=l}n&&!r&&this.O(t)}O(t){t===Ct?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Kt extends Wt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Ct?void 0:t}}class kt extends Wt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Ct)}}class At extends Wt{constructor(t,o,e,r,a){super(t,o,e,r,a),this.type=5}_$AI(t,o=this){if((t=xt(this,t,o,0)??Ct)===St)return;const e=this._$AH,r=t===Ct&&e!==Ct||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,a=t!==Ct&&(e===Ct||r);r&&this.element.removeEventListener(this.name,this,e),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class $t{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){xt(this,t)}}const Zt=ot.litHtmlPolyfillSupport;Zt?.(It,Lt),(ot.litHtmlVersions??=[]).push("3.1.0");
36
36
  /**
37
37
  * @license
38
38
  * Copyright 2020 Google LLC
39
39
  * SPDX-License-Identifier: BSD-3-Clause
40
40
  */
41
- const Dt=Symbol.for(""),zt=t=>{if(t?.r===Dt)return t?._$litStatic$},Ft=t=>({_$litStatic$:t,r:Dt}),Bt=new Map,Tt=(t=>(o,...e)=>{const r=e.length;let a,i;const n=[],l=[];let c,s=0,f=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(i=e[s],a=zt(i));)c+=a+o[++s],f=!0;s!==r&&l.push(i),n.push(c),s++}if(s===r&&n.push(o[r]),f){const t=n.join("$$lit$$");void 0===(o=Bt.get(t))&&(n.raw=n,Bt.set(t,o=n)),e=l}return t(o,...e)})(Nt);var Pt;!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"}(Pt||(Pt={}));const Ht=t=>"string"==typeof t?e.unsafeCSS(t):t;class Gt{static create(t,o,r,a){const i=t=>Ht(null!=t?t:a),n=e.css`var(${Ht(t)}, ${i(a)})`;return n.name=t,n.description=o,n.category=r,n.defaultValue=a,n.defaultCssValue=i,n.get=o=>e.css`var(${Ht(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>a,n}static extend(t,o,r,a){const i=t=>r.get(null!=t?t:a),n=e.css`var(${Ht(t)}, ${i(a)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=a,n.defaultCssValue=i,n.get=o=>e.css`var(${Ht(t)}, ${i(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=a?a:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Ht(null!=o?o:t.lastResortDefaultValue()),a=e.css`var(${Ht(t.name)}, ${r(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=r,a.get=o=>e.css`var(${Ht(t.name)}, ${r(o)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}}const Mt={colorWhite:Gt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Gt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Gt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Gt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Gt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Gt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Gt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Gt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Gt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Gt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Gt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Gt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Gt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Gt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Gt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Gt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Gt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Gt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Gt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Gt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Gt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Gt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Gt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Gt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Gt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Gt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Gt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Gt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Gt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Gt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Gt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Gt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Gt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Gt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Gt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Gt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Gt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Gt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Gt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Gt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Gt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Gt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Gt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Gt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Gt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Gt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Gt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Gt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Gt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Gt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Gt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Gt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Gt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Gt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Gt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Gt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Gt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Gt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Gt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Gt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Gt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Gt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Gt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Gt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Gt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Gt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Gt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Gt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Gt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Gt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Gt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Gt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Gt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Gt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Gt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Gt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Gt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Gt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Gt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Gt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Gt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Gt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Gt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Gt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Gt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Gt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Gt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Gt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Gt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Gt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Gt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Gt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Gt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Gt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Gt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Gt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Gt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Gt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Gt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Gt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Gt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Gt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Gt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Gt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Gt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Gt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Gt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Gt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Gt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Gt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Gt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Gt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Gt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Gt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Gt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Gt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Gt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Gt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Gt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Gt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Gt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Gt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Gt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Gt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Gt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Gt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Gt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Gt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Gt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Gt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Gt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Gt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Gt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Gt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Gt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Gt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Gt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Gt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Gt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Gt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Gt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Gt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Gt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Gt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Gt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Gt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Gt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Gt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Gt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Gt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Gt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Gt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Gt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Gt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Gt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Gt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Gt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Gt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Gt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Gt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Gt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Gt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Gt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Gt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Gt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Gt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Gt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Gt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Gt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Gt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Gt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Gt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Gt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Gt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Gt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Gt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Gt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Gt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Gt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Gt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Gt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Gt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Gt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Gt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Gt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Gt.create("--ft-opacity-80","","NUMBER","0.8")},_t={display:{fontFamily:Gt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Gt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Gt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Gt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Gt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Gt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Gt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Gt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Gt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Gt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Gt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Gt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Gt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Gt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Gt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Gt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Gt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Gt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Gt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Gt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Gt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Gt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Gt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Gt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Gt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Gt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Gt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Gt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Gt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Gt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Gt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Gt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Gt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Gt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Gt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Gt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Gt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Gt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},jt={backgroundActionPrimary:Gt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Mt.colorBrand0),backgroundErrorPrimary:Gt.extend("--ft-background-error-primary","Used as background of error components.",Mt.colorRed0),backgroundErrorSubtle:Gt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Mt.colorRed10),backgroundInfoPrimary:Gt.extend("--ft-background-info-primary","Used as background of information components.",Mt.colorCyan200),backgroundInfoSubtle:Gt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Mt.colorCyan10),backgroundWarningPrimary:Gt.extend("--ft-background-warning-primary","Used as background of warning components.",Mt.colorOrange300),backgroundWarningSubtle:Gt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Mt.colorOrange10),backgroundSuccessPrimary:Gt.extend("--ft-background-success-primary","Used as background of success components.",Mt.colorGreen200),backgroundSuccessSubtle:Gt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Mt.colorGreen10),backgroundGlobalSurface:Gt.extend("--ft-background-global-surface","Used as app background.",Mt.colorWhite),backgroundGlobalOnSurface:Gt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Mt.colorGray10),backgroundGlobalOnSurfaceDark:Gt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Mt.colorGray30),contentActionPrimary:Gt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Mt.colorBrand0),contentWarningPrimary:Gt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Mt.colorOrange300),contentWarningIconOnly:Gt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Mt.colorOrange0),contentErrorPrimary:Gt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Mt.colorRed0),contentErrorIconOnly:Gt.extend("--ft-content-error-icon-only","Used on error status icons alone",Mt.colorRed0),contentInfoPrimary:Gt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Mt.colorCyan200),contentInfoIconOnly:Gt.extend("--ft-content-info-icon-only","Used on info status icons alone",Mt.colorCyan0),contentSuccessIconOnly:Gt.extend("--ft-content-success-icon-only","Used on success status icons alone",Mt.colorGreen0),contentSuccessPrimary:Gt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Mt.colorGreen200),contentGlobalPrimary:Gt.extend("--ft-content-global-primary","Used for main content on the page.",Mt.colorGray500),contentGlobalSecondary:Gt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Mt.colorGray200),contentGlobalSubtle:Gt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Mt.colorGray0),contentGlobalOnColor:Gt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Mt.colorWhite),borderActionPrimary:Gt.extend("--ft-border-action-primary","Used as border for primary action components.",Mt.colorBrand0),borderActionFocusRing:Gt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Mt.colorCyan0),borderWarningPrimary:Gt.extend("--ft-border-warning-primary","Used as border for warning components.",Mt.colorOrange30),borderSuccessPrimary:Gt.extend("--ft-border-success-primary","Used as border for success components.",Mt.colorGreen30),borderErrorPrimary:Gt.extend("--ft-border-error-primary","Used as border for error components.",Mt.colorRed30),borderInfoPrimary:Gt.extend("--ft-border-info-primary","Used as border for information components.",Mt.colorCyan30),borderGlobalSubtle:Gt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Mt.colorGray30),borderGlobalPrimary:Gt.extend("--ft-border-global-primary","Used as border for element like input.",Mt.colorGray50),borderInputPrimary:Gt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Mt.colorGray80)};Gt.create("--ft-button-large-height","","SIZE","40px"),Gt.extend("--ft-button-large-horizontal-padding","",Mt.spacing4),Gt.extend("--ft-button-large-gap","",Mt.spacing2),Gt.extend("--ft-button-large-border-radius","",Mt.borderRadiusS),Gt.extend("--ft-button-large-icon-size","",Mt.iconSize3),Gt.create("--ft-button-large-border-width","","SIZE","1px"),Gt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Gt.create("--ft-button-large-icon-only-width","","SIZE","40px"),Gt.create("--ft-button-small-height","","SIZE","30px"),Gt.extend("--ft-button-small-horizontal-padding","",Mt.spacing3),Gt.extend("--ft-button-small-gap","",Mt.spacing2),Gt.extend("--ft-button-small-border-radius","",Mt.borderRadiusS),Gt.extend("--ft-button-small-icon-size","",Mt.iconSize2),Gt.create("--ft-button-small-border-width","","SIZE","1px"),Gt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Gt.create("--ft-button-small-icon-only-width","","SIZE","30px"),Gt.extend("--ft-button-primary-background-color","",jt.backgroundActionPrimary),Gt.extend("--ft-button-primary-color","",jt.contentGlobalOnColor),Gt.extend("--ft-button-primary-icon-color","",jt.contentGlobalOnColor),Gt.extend("--ft-button-primary-state-layer-color","",jt.contentGlobalOnColor),Gt.extend("--ft-button-primary-state-layer-opacity-hover","",Mt.opacity16),Gt.extend("--ft-button-primary-state-layer-opacity-focus","",Mt.opacity16),Gt.extend("--ft-button-primary-state-layer-opacity-active","",Mt.opacity24),Gt.extend("--ft-button-primary-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-button-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Gt.extend("--ft-button-tertiary-color","",jt.contentActionPrimary),Gt.extend("--ft-button-tertiary-icon-color","",jt.contentActionPrimary),Gt.extend("--ft-button-tertiary-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Mt.opacity8),Gt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Mt.opacity8),Gt.extend("--ft-button-tertiary-state-layer-opacity-active","",Mt.opacity16),Gt.extend("--ft-button-tertiary-component-opacity-disabled","",Mt.opacity40),Gt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Gt.extend("--ft-button-secondary-color","",jt.contentActionPrimary),Gt.extend("--ft-button-secondary-icon-color","",jt.contentActionPrimary),Gt.extend("--ft-button-secondary-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-button-secondary-state-layer-opacity-hover","",Mt.opacity8),Gt.extend("--ft-button-secondary-state-layer-opacity-focus","",Mt.opacity8),Gt.extend("--ft-button-secondary-state-layer-opacity-active","",Mt.opacity16),Gt.extend("--ft-button-secondary-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-button-secondary-border-color","",jt.borderActionPrimary),Gt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Gt.extend("--ft-button-neutral-icon-color","",jt.contentGlobalSecondary),Gt.extend("--ft-button-neutral-color","",jt.contentGlobalSecondary),Gt.extend("--ft-button-neutral-state-layer-color","",jt.contentGlobalSecondary),Gt.extend("--ft-button-neutral-state-layer-opacity-hover","",Mt.opacity8),Gt.extend("--ft-button-neutral-state-layer-opacity-focus","",Mt.opacity8),Gt.extend("--ft-button-neutral-state-layer-opacity-active","",Mt.opacity16),Gt.extend("--ft-button-neutral-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-tabs-top-left-border-radius","",Mt.borderRadiusS),Gt.extend("--ft-tabs-top-right-border-radius","",Mt.borderRadiusS),Gt.extend("--ft-tabs-label-horizontal-padding","",Mt.spacing4),Gt.extend("--ft-tabs-label-vertical-padding","",Mt.spacing3),Gt.extend("--ft-tabs-label-gap","",Mt.spacing1),Gt.extend("--ft-switch-group-horizontal-padding","",Mt.spacing1),Gt.extend("--ft-switch-group-vertical-padding","",Mt.spacing1),Gt.extend("--ft-switch-group-gap","",Mt.spacing1),Gt.extend("--ft-switch-group-background-color","",jt.backgroundGlobalSurface),Gt.extend("--ft-switch-group-border-color","",jt.borderGlobalSubtle),Gt.create("--ft-switch-group-border-radius","","SIZE","6px"),Gt.extend("--ft-switch-label-horizontal-padding","",Mt.spacing2),Gt.extend("--ft-switch-label-vertical-padding","",Mt.spacing1),Gt.extend("--ft-switch-icon-horizontal-padding","",Mt.spacing1),Gt.extend("--ft-switch-icon-vertical-padding","",Mt.spacing1),Gt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-switch-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.extend("--ft-switch-option-border-radius","",Mt.borderRadiusS),Gt.extend("--ft-switch-off-state-layer-opacity-hover","",Mt.opacity8),Gt.extend("--ft-switch-off-state-layer-opacity-focus","",Mt.opacity8),Gt.extend("--ft-switch-off-state-layer-opacity-active","",Mt.opacity16),Gt.extend("--ft-switch-off-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-switch-off-color","",jt.contentGlobalSubtle),Gt.extend("--ft-switch-off-state-layer-color","",jt.contentGlobalSubtle),Gt.extend("--ft-chart-1-light","for area color charts",Mt.colorBrand40),Gt.extend("--ft-chart-1-base","for line charts",Mt.colorBrand0),Gt.extend("--ft-chart-2-light","for area color charts",Mt.colorYellow60),Gt.extend("--ft-chart-2-base","for line charts",Mt.colorYellow100),Gt.extend("--ft-chart-3-light","",Mt.colorUltramarine40),Gt.extend("--ft-chart-3-base","",Mt.colorUltramarine70),Gt.extend("--ft-chart-4-light","",Mt.colorCyan50),Gt.extend("--ft-chart-4-base","",Mt.colorCyan100),Gt.extend("--ft-chart-5-light","",Mt.colorRed40),Gt.extend("--ft-chart-5-base","",Mt.colorRed60),Gt.extend("--ft-chart-6-light","",Mt.colorGreen40),Gt.extend("--ft-chart-6-base","",Mt.colorGreen70),Gt.extend("--ft-chart-7-light","",Mt.colorOrange70),Gt.extend("--ft-chart-7-base","",Mt.colorOrange100),Gt.extend("--ft-chart-8-light","",Mt.colorAvocado70),Gt.extend("--ft-chart-8-base","",Mt.colorAvocado200),Gt.extend("--ft-chart-9-light","",Mt.colorBrown50),Gt.extend("--ft-chart-9-base","",Mt.colorBrown200),Gt.extend("--ft-chart-10-light","",Mt.colorGray50),Gt.extend("--ft-chart-10-base","",Mt.colorGray80),Gt.extend("--ft-chart-monochrome-10","",Mt.colorBrand10),Gt.extend("--ft-chart-monochrome-20","",Mt.colorBrand20),Gt.extend("--ft-chart-monochrome-30","",Mt.colorBrand40),Gt.extend("--ft-chart-monochrome-40","",Mt.colorBrand60),Gt.extend("--ft-chart-monochrome-50","",Mt.colorBrand0),Gt.extend("--ft-chart-monochrome-60","",Mt.colorBrand200),Gt.extend("--ft-chip-large-horizontal-padding","",Mt.spacing4),Gt.extend("--ft-chip-large-vertical-padding","",Mt.spacing2),Gt.extend("--ft-chip-large-gap","",Mt.spacing1),Gt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-chip-large-border-radius","",Mt.borderRadiusPill),Gt.create("--ft-chip-large-border-width","","SIZE","1px"),Gt.extend("--ft-chip-large-icon-size","",Mt.iconSize3),Gt.extend("--ft-chip-medium-horizontal-padding","",Mt.spacing3),Gt.extend("--ft-chip-medium-vertical-padding","",Mt.spacing1),Gt.extend("--ft-chip-medium-gap","",Mt.spacing1),Gt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-chip-medium-border-radius","",Mt.borderRadiusPill),Gt.create("--ft-chip-medium-border-width","","SIZE","1px"),Gt.extend("--ft-chip-medium-icon-size","",Mt.iconSize2),Gt.extend("--ft-chip-small-horizontal-padding","",Mt.spacing2),Gt.extend("--ft-chip-small-vertical-padding","",Mt.spacing05),Gt.extend("--ft-chip-small-gap","",Mt.spacing1),Gt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-chip-small-border-radius","",Mt.borderRadiusPill),Gt.create("--ft-chip-small-border-width","","SIZE","1px"),Gt.extend("--ft-chip-small-icon-size","",Mt.iconSize1),Gt.extend("--ft-chip-neutral-background-color","",jt.backgroundGlobalOnSurface),Gt.extend("--ft-chip-neutral-color","",jt.contentGlobalPrimary),Gt.extend("--ft-chip-neutral-border-color","",jt.borderGlobalSubtle),Gt.extend("--ft-chip-info-background-color","",jt.backgroundInfoSubtle),Gt.extend("--ft-chip-info-color","",jt.contentInfoPrimary),Gt.extend("--ft-chip-info-border-color","",jt.borderInfoPrimary),Gt.extend("--ft-chip-success-background-color","",jt.backgroundSuccessSubtle),Gt.extend("--ft-chip-success-color","",jt.contentSuccessPrimary),Gt.extend("--ft-chip-success-border-color","",jt.borderSuccessPrimary),Gt.extend("--ft-chip-warning-background-color","",jt.backgroundWarningSubtle),Gt.extend("--ft-chip-warning-color","",jt.contentWarningPrimary),Gt.extend("--ft-chip-warning-border-color","",jt.borderWarningPrimary),Gt.extend("--ft-chip-error-background-color","",jt.backgroundErrorSubtle),Gt.extend("--ft-chip-error-color","",jt.contentErrorPrimary),Gt.extend("--ft-chip-error-border-color","",jt.borderErrorPrimary),Gt.create("--ft-notice-border-width","","SIZE","1px"),Gt.extend("--ft-notice-horizontal-padding","",Mt.spacing2),Gt.extend("--ft-notice-vertical-padding","",Mt.spacing1),Gt.extend("--ft-notice-border-radius","",Mt.borderRadiusS),Gt.extend("--ft-notice-gap","",Mt.spacing2),Gt.extend("--ft-notice-icon-size","",Mt.iconSize3),Gt.extend("--ft-notice-info-background-color","",jt.backgroundInfoSubtle),Gt.extend("--ft-notice-info-border-color","",jt.borderInfoPrimary),Gt.extend("--ft-notice-info-color","",jt.contentInfoPrimary),Gt.extend("--ft-notice-warning-background-color","",jt.backgroundWarningSubtle),Gt.extend("--ft-notice-warning-border-color","",jt.borderWarningPrimary),Gt.extend("--ft-notice-warning-color","",jt.contentWarningPrimary),Gt.extend("--ft-checkbox-label-color","",jt.contentGlobalPrimary),Gt.extend("--ft-checkbox-checked-background-color","",jt.contentActionPrimary),Gt.extend("--ft-checkbox-checked-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-checkbox-checked-color","",jt.contentGlobalOnColor),Gt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Mt.opacity16),Gt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Mt.opacity16),Gt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Mt.opacity24),Gt.extend("--ft-checkbox-checked-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-checkbox-unchecked-border-color","",Mt.colorGray80),Gt.extend("--ft-checkbox-unchecked-state-layer-color","",Mt.colorGray80),Gt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Mt.opacity16),Gt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Mt.opacity16),Gt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Mt.opacity24),Gt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-checkbox-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Gt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-checkbox-gap","",Mt.spacing3),Gt.extend("--ft-toggle-off-state-layer-opacity-hover","",Mt.opacity16),Gt.extend("--ft-toggle-off-state-layer-opacity-focus","",Mt.opacity16),Gt.extend("--ft-toggle-off-state-layer-opacity-active","",Mt.opacity24),Gt.extend("--ft-toggle-off-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-toggle-off-background-color","",jt.contentGlobalSubtle),Gt.extend("--ft-toggle-off-icon-color","",jt.contentGlobalSubtle),Gt.extend("--ft-toggle-off-state-layer-color","",jt.contentGlobalSubtle),Gt.extend("--ft-toggle-on-state-layer-opacity-hover","",Mt.opacity16),Gt.extend("--ft-toggle-on-state-layer-opacity-focus","",Mt.opacity16),Gt.extend("--ft-toggle-on-state-layer-opacity-active","",Mt.opacity24),Gt.extend("--ft-toggle-on-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-toggle-on-background-color","",jt.contentActionPrimary),Gt.extend("--ft-toggle-on-icon-color","",jt.contentActionPrimary),Gt.extend("--ft-toggle-on-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-toggle-label-color","",jt.contentGlobalPrimary),Gt.extend("--ft-toggle-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.extend("--ft-toggle-gap","",Mt.spacing3),Gt.extend("--ft-radio-label-color","",jt.contentGlobalPrimary),Gt.extend("--ft-radio-selected-color","",jt.contentActionPrimary),Gt.extend("--ft-radio-selected-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-radio-selected-state-layer-opacity-hover","",Mt.opacity16),Gt.extend("--ft-radio-selected-state-layer-opacity-focus","",Mt.opacity16),Gt.extend("--ft-radio-selected-state-layer-opacity-active","",Mt.opacity24),Gt.extend("--ft-radio-selected-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-radio-unselected-state-layer-color","",Mt.colorGray80),Gt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Mt.opacity16),Gt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Mt.opacity16),Gt.extend("--ft-radio-unselected-state-layer-opacity-active","",Mt.opacity24),Gt.extend("--ft-radio-unselected-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-radio-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Gt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-radio-gap","",Mt.spacing3),Gt.extend("--ft-notification-icon-size","",Mt.iconSize4),Gt.extend("--ft-notification-horizontal-padding","",Mt.spacing4),Gt.extend("--ft-notification-vertical-padding","",Mt.spacing4),Gt.extend("--ft-notification-info-background-color","",jt.backgroundInfoSubtle),Gt.extend("--ft-notification-info-color","",jt.contentInfoPrimary),Gt.extend("--ft-notification-info-border-color","",jt.borderInfoPrimary),Gt.extend("--ft-notification-success-background-color","",jt.backgroundSuccessSubtle),Gt.extend("--ft-notification-success-color","",jt.contentSuccessPrimary),Gt.extend("--ft-notification-success-border-color","",jt.borderSuccessPrimary),Gt.extend("--ft-notification-warning-background-color","",jt.backgroundWarningSubtle),Gt.extend("--ft-notification-warning-color","",jt.contentWarningPrimary),Gt.extend("--ft-notification-warning-border-color","",jt.borderWarningPrimary),Gt.extend("--ft-notification-error-background-color","",jt.backgroundErrorSubtle),Gt.extend("--ft-notification-error-color","",jt.contentErrorPrimary),Gt.extend("--ft-notification-error-border-color","",jt.borderErrorPrimary),Gt.extend("--ft-notification-border-radius","",Mt.borderRadiusPill),Gt.create("--ft-notification-border-width","","SIZE","1px"),Gt.extend("--ft-notification-gap-leading","",Mt.spacing2),Gt.extend("--ft-notification-gap-trailing","",Mt.spacing8);const Yt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),Vt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),Xt={fontFamily:Vt,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")},qt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Yt),Jt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",Xt.fontSize,"20px"),Qt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",Xt.fontWeight,"normal"),to=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",Xt.letterSpacing,"0.15px"),oo=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",Xt.lineHeight,"1.2"),eo=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",Xt.textTransform,"inherit"),ro=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Yt),ao=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",Xt.fontSize,"14px"),io=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",Xt.fontWeight,"normal"),no=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",Xt.letterSpacing,"0.105px"),lo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",Xt.lineHeight,"1.7"),co=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",Xt.textTransform,"inherit"),so=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Vt),fo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",Xt.fontSize,"16px"),po=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",Xt.fontWeight,"600"),ho=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",Xt.letterSpacing,"0.144px"),yo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",Xt.lineHeight,"1.5"),go=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",Xt.textTransform,"inherit"),uo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Vt),bo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",Xt.fontSize,"14px"),mo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",Xt.fontWeight,"normal"),Oo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",Xt.letterSpacing,"0.098px"),No=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",Xt.lineHeight,"1.7"),So=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",Xt.textTransform,"inherit"),Co=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Vt),vo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",Xt.fontSize,"16px"),wo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",Xt.fontWeight,"normal"),Ro=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",Xt.letterSpacing,"0.496px"),Eo=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",Xt.lineHeight,"1.5"),Io=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",Xt.textTransform,"inherit"),xo=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Vt),Uo=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",Xt.fontSize,"14px"),Lo=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",Xt.fontWeight,"normal"),Wo=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",Xt.letterSpacing,"0.252px"),Ko=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",Xt.lineHeight,"1.4"),ko=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",Xt.textTransform,"inherit"),Ao=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Vt),$o=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",Xt.fontSize,"12px"),Zo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",Xt.fontWeight,"normal"),Do=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",Xt.letterSpacing,"0.396px"),zo=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",Xt.lineHeight,"1.33"),Fo=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",Xt.textTransform,"inherit"),Bo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Vt),To=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",Xt.fontSize,"10px"),Po=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",Xt.fontWeight,"normal"),Ho=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",Xt.letterSpacing,"0.33px"),Go=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",Xt.lineHeight,"1.6"),Mo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",Xt.textTransform,"inherit"),_o=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Vt),jo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",Xt.fontSize,"10px"),Yo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",Xt.fontWeight,"normal"),Vo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",Xt.letterSpacing,"1.5px"),Xo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",Xt.lineHeight,"1.6"),qo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",Xt.textTransform,"uppercase"),Jo=o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Vt),Qo=o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",Xt.fontSize,"14px"),te=o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",Xt.fontWeight,"600"),oe=o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",Xt.letterSpacing,"1.246px"),ee=o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",Xt.lineHeight,"1.15"),re=o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",Xt.textTransform,"uppercase"),ae=e.css`
41
+ const Dt=Symbol.for(""),zt=t=>{if(t?.r===Dt)return t?._$litStatic$},Ft=t=>({_$litStatic$:t,r:Dt}),Bt=new Map,Tt=(t=>(o,...e)=>{const r=e.length;let a,n;const i=[],l=[];let c,s=0,f=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(n=e[s],a=zt(n));)c+=a+o[++s],f=!0;s!==r&&l.push(n),i.push(c),s++}if(s===r&&i.push(o[r]),f){const t=i.join("$$lit$$");void 0===(o=Bt.get(t))&&(i.raw=i,Bt.set(t,o=i)),e=l}return t(o,...e)})(Nt);var Pt;!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"}(Pt||(Pt={}));const Ht=t=>"string"==typeof t?e.unsafeCSS(t):t;class Gt{static create(t,o,r,a){const n=t=>Ht(null!=t?t:a),i=e.css`var(${Ht(t)}, ${n(a)})`;return i.name=t,i.description=o,i.category=r,i.defaultValue=a,i.defaultCssValue=n,i.get=o=>e.css`var(${Ht(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>a,i}static extend(t,o,r,a){const n=t=>r.get(null!=t?t:a),i=e.css`var(${Ht(t)}, ${n(a)})`;return i.name=t,i.description=o,i.category=r.category,i.fallbackVariable=r,i.defaultValue=a,i.defaultCssValue=n,i.get=o=>e.css`var(${Ht(t)}, ${n(o)})`,i.breadcrumb=()=>[r.name,...r.breadcrumb()],i.lastResortDefaultValue=()=>null!=a?a:r.lastResortDefaultValue(),i}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):Ht(null!=o?o:t.lastResortDefaultValue()),a=e.css`var(${Ht(t.name)}, ${r(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=r,a.get=o=>e.css`var(${Ht(t.name)}, ${r(o)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}}const Mt={colorWhite:Gt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Gt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Gt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Gt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Gt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Gt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Gt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Gt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Gt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Gt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Gt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Gt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Gt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Gt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Gt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Gt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Gt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Gt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Gt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Gt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Gt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Gt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Gt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Gt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Gt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Gt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Gt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Gt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Gt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Gt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Gt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Gt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Gt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Gt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Gt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Gt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Gt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Gt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Gt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Gt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Gt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Gt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Gt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Gt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Gt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Gt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Gt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Gt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Gt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Gt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Gt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Gt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Gt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Gt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Gt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Gt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Gt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Gt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Gt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Gt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Gt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Gt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Gt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Gt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Gt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Gt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Gt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Gt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Gt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Gt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Gt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Gt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Gt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Gt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Gt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Gt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Gt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Gt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Gt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Gt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Gt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Gt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Gt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Gt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Gt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Gt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Gt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Gt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Gt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Gt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Gt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Gt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Gt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Gt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Gt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Gt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Gt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Gt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Gt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Gt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Gt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Gt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Gt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Gt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Gt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Gt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Gt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Gt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Gt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Gt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Gt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Gt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Gt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Gt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Gt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Gt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Gt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Gt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Gt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Gt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Gt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Gt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Gt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Gt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Gt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Gt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Gt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Gt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Gt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Gt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Gt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Gt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Gt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Gt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Gt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Gt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Gt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Gt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Gt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Gt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Gt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Gt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Gt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Gt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Gt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Gt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Gt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Gt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Gt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Gt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Gt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Gt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Gt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Gt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Gt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Gt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Gt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Gt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Gt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Gt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Gt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Gt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Gt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Gt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Gt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Gt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Gt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Gt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Gt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Gt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Gt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Gt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Gt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Gt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Gt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Gt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Gt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Gt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Gt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Gt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Gt.create("--ft-opacity-0","","NUMBER","0"),opacity8:Gt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Gt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Gt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Gt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Gt.create("--ft-opacity-80","","NUMBER","0.8")},_t={display:{fontFamily:Gt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Gt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Gt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Gt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Gt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Gt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Gt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Gt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Gt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Gt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Gt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Gt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Gt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Gt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Gt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Gt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Gt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Gt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Gt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Gt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Gt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Gt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Gt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Gt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Gt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Gt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Gt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Gt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Gt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Gt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Gt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Gt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Gt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Gt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Gt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Gt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Gt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Gt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Gt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Gt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Gt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Gt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Gt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Gt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Gt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Gt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Gt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Gt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Gt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Gt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Gt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Gt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Gt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Gt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Gt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Gt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},jt={backgroundActionPrimary:Gt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Mt.colorBrand0),backgroundErrorPrimary:Gt.extend("--ft-background-error-primary","Used as background of error components.",Mt.colorRed0),backgroundErrorSubtle:Gt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Mt.colorRed10),backgroundInfoPrimary:Gt.extend("--ft-background-info-primary","Used as background of information components.",Mt.colorCyan200),backgroundInfoSubtle:Gt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Mt.colorCyan10),backgroundWarningPrimary:Gt.extend("--ft-background-warning-primary","Used as background of warning components.",Mt.colorOrange300),backgroundWarningSubtle:Gt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Mt.colorOrange10),backgroundSuccessPrimary:Gt.extend("--ft-background-success-primary","Used as background of success components.",Mt.colorGreen200),backgroundSuccessSubtle:Gt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Mt.colorGreen10),backgroundGlobalSurface:Gt.extend("--ft-background-global-surface","Used as app background.",Mt.colorWhite),backgroundGlobalOnSurface:Gt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Mt.colorGray10),backgroundGlobalOnSurfaceDark:Gt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Mt.colorGray30),contentActionPrimary:Gt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Mt.colorBrand0),contentWarningPrimary:Gt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Mt.colorOrange300),contentWarningIconOnly:Gt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Mt.colorOrange0),contentErrorPrimary:Gt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Mt.colorRed0),contentErrorIconOnly:Gt.extend("--ft-content-error-icon-only","Used on error status icons alone",Mt.colorRed0),contentInfoPrimary:Gt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Mt.colorCyan200),contentInfoIconOnly:Gt.extend("--ft-content-info-icon-only","Used on info status icons alone",Mt.colorCyan0),contentSuccessIconOnly:Gt.extend("--ft-content-success-icon-only","Used on success status icons alone",Mt.colorGreen0),contentSuccessPrimary:Gt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Mt.colorGreen200),contentGlobalPrimary:Gt.extend("--ft-content-global-primary","Used for main content on the page.",Mt.colorGray500),contentGlobalSecondary:Gt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Mt.colorGray200),contentGlobalSubtle:Gt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Mt.colorGray0),contentGlobalOnColor:Gt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Mt.colorWhite),borderActionPrimary:Gt.extend("--ft-border-action-primary","Used as border for primary action components.",Mt.colorBrand0),borderActionFocusRing:Gt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Mt.colorCyan0),borderWarningPrimary:Gt.extend("--ft-border-warning-primary","Used as border for warning components.",Mt.colorOrange30),borderSuccessPrimary:Gt.extend("--ft-border-success-primary","Used as border for success components.",Mt.colorGreen30),borderErrorPrimary:Gt.extend("--ft-border-error-primary","Used as border for error components.",Mt.colorRed30),borderInfoPrimary:Gt.extend("--ft-border-info-primary","Used as border for information components.",Mt.colorCyan30),borderGlobalSubtle:Gt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Mt.colorGray30),borderGlobalPrimary:Gt.extend("--ft-border-global-primary","Used as border for element like input.",Mt.colorGray50),borderInputPrimary:Gt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Mt.colorGray80)};Gt.create("--ft-button-large-height","","SIZE","40px"),Gt.extend("--ft-button-large-horizontal-padding","",Mt.spacing4),Gt.extend("--ft-button-large-gap","",Mt.spacing2),Gt.extend("--ft-button-large-border-radius","",Mt.borderRadiusS),Gt.extend("--ft-button-large-icon-size","",Mt.iconSize3),Gt.create("--ft-button-large-border-width","","SIZE","1px"),Gt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Gt.create("--ft-button-large-icon-only-width","","SIZE","40px"),Gt.create("--ft-button-small-height","","SIZE","30px"),Gt.extend("--ft-button-small-horizontal-padding","",Mt.spacing3),Gt.extend("--ft-button-small-gap","",Mt.spacing2),Gt.extend("--ft-button-small-border-radius","",Mt.borderRadiusS),Gt.extend("--ft-button-small-icon-size","",Mt.iconSize2),Gt.create("--ft-button-small-border-width","","SIZE","1px"),Gt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Gt.create("--ft-button-small-icon-only-width","","SIZE","30px"),Gt.extend("--ft-button-primary-background-color","",jt.backgroundActionPrimary),Gt.extend("--ft-button-primary-color","",jt.contentGlobalOnColor),Gt.extend("--ft-button-primary-icon-color","",jt.contentGlobalOnColor),Gt.extend("--ft-button-primary-state-layer-color","",jt.contentGlobalOnColor),Gt.extend("--ft-button-primary-state-layer-opacity-hover","",Mt.opacity16),Gt.extend("--ft-button-primary-state-layer-opacity-focus","",Mt.opacity16),Gt.extend("--ft-button-primary-state-layer-opacity-active","",Mt.opacity24),Gt.extend("--ft-button-primary-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-button-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Gt.extend("--ft-button-tertiary-color","",jt.contentActionPrimary),Gt.extend("--ft-button-tertiary-icon-color","",jt.contentActionPrimary),Gt.extend("--ft-button-tertiary-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Mt.opacity8),Gt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Mt.opacity8),Gt.extend("--ft-button-tertiary-state-layer-opacity-active","",Mt.opacity16),Gt.extend("--ft-button-tertiary-component-opacity-disabled","",Mt.opacity40),Gt.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Gt.extend("--ft-button-secondary-color","",jt.contentActionPrimary),Gt.extend("--ft-button-secondary-icon-color","",jt.contentActionPrimary),Gt.extend("--ft-button-secondary-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-button-secondary-state-layer-opacity-hover","",Mt.opacity8),Gt.extend("--ft-button-secondary-state-layer-opacity-focus","",Mt.opacity8),Gt.extend("--ft-button-secondary-state-layer-opacity-active","",Mt.opacity16),Gt.extend("--ft-button-secondary-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-button-secondary-border-color","",jt.borderActionPrimary),Gt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Gt.extend("--ft-button-neutral-icon-color","",jt.contentGlobalSecondary),Gt.extend("--ft-button-neutral-color","",jt.contentGlobalSecondary),Gt.extend("--ft-button-neutral-state-layer-color","",jt.contentGlobalSecondary),Gt.extend("--ft-button-neutral-state-layer-opacity-hover","",Mt.opacity8),Gt.extend("--ft-button-neutral-state-layer-opacity-focus","",Mt.opacity8),Gt.extend("--ft-button-neutral-state-layer-opacity-active","",Mt.opacity16),Gt.extend("--ft-button-neutral-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-tabs-top-left-border-radius","",Mt.borderRadiusS),Gt.extend("--ft-tabs-top-right-border-radius","",Mt.borderRadiusS),Gt.extend("--ft-tabs-label-horizontal-padding","",Mt.spacing4),Gt.extend("--ft-tabs-label-vertical-padding","",Mt.spacing3),Gt.extend("--ft-tabs-label-gap","",Mt.spacing1),Gt.extend("--ft-switch-group-horizontal-padding","",Mt.spacing1),Gt.extend("--ft-switch-group-vertical-padding","",Mt.spacing1),Gt.extend("--ft-switch-group-gap","",Mt.spacing1),Gt.extend("--ft-switch-group-background-color","",jt.backgroundGlobalSurface),Gt.extend("--ft-switch-group-border-color","",jt.borderGlobalSubtle),Gt.create("--ft-switch-group-border-radius","","SIZE","6px"),Gt.extend("--ft-switch-label-horizontal-padding","",Mt.spacing2),Gt.extend("--ft-switch-label-vertical-padding","",Mt.spacing1),Gt.extend("--ft-switch-icon-horizontal-padding","",Mt.spacing1),Gt.extend("--ft-switch-icon-vertical-padding","",Mt.spacing1),Gt.create("--ft-switch-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-switch-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.extend("--ft-switch-option-border-radius","",Mt.borderRadiusS),Gt.extend("--ft-switch-off-state-layer-opacity-hover","",Mt.opacity8),Gt.extend("--ft-switch-off-state-layer-opacity-focus","",Mt.opacity8),Gt.extend("--ft-switch-off-state-layer-opacity-active","",Mt.opacity16),Gt.extend("--ft-switch-off-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-switch-off-color","",jt.contentGlobalSubtle),Gt.extend("--ft-switch-off-state-layer-color","",jt.contentGlobalSubtle),Gt.extend("--ft-chart-1-light","for area color charts",Mt.colorBrand40),Gt.extend("--ft-chart-1-base","for line charts",Mt.colorBrand0),Gt.extend("--ft-chart-2-light","for area color charts",Mt.colorYellow60),Gt.extend("--ft-chart-2-base","for line charts",Mt.colorYellow100),Gt.extend("--ft-chart-3-light","",Mt.colorUltramarine40),Gt.extend("--ft-chart-3-base","",Mt.colorUltramarine70),Gt.extend("--ft-chart-4-light","",Mt.colorCyan50),Gt.extend("--ft-chart-4-base","",Mt.colorCyan100),Gt.extend("--ft-chart-5-light","",Mt.colorRed40),Gt.extend("--ft-chart-5-base","",Mt.colorRed60),Gt.extend("--ft-chart-6-light","",Mt.colorGreen40),Gt.extend("--ft-chart-6-base","",Mt.colorGreen70),Gt.extend("--ft-chart-7-light","",Mt.colorOrange70),Gt.extend("--ft-chart-7-base","",Mt.colorOrange100),Gt.extend("--ft-chart-8-light","",Mt.colorAvocado70),Gt.extend("--ft-chart-8-base","",Mt.colorAvocado200),Gt.extend("--ft-chart-9-light","",Mt.colorBrown50),Gt.extend("--ft-chart-9-base","",Mt.colorBrown200),Gt.extend("--ft-chart-10-light","",Mt.colorGray50),Gt.extend("--ft-chart-10-base","",Mt.colorGray80),Gt.extend("--ft-chart-monochrome-10","",Mt.colorBrand10),Gt.extend("--ft-chart-monochrome-20","",Mt.colorBrand20),Gt.extend("--ft-chart-monochrome-30","",Mt.colorBrand40),Gt.extend("--ft-chart-monochrome-40","",Mt.colorBrand60),Gt.extend("--ft-chart-monochrome-50","",Mt.colorBrand0),Gt.extend("--ft-chart-monochrome-60","",Mt.colorBrand200),Gt.extend("--ft-chip-large-horizontal-padding","",Mt.spacing4),Gt.extend("--ft-chip-large-vertical-padding","",Mt.spacing2),Gt.extend("--ft-chip-large-gap","",Mt.spacing1),Gt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-chip-large-border-radius","",Mt.borderRadiusPill),Gt.create("--ft-chip-large-border-width","","SIZE","1px"),Gt.extend("--ft-chip-large-icon-size","",Mt.iconSize3),Gt.extend("--ft-chip-medium-horizontal-padding","",Mt.spacing3),Gt.extend("--ft-chip-medium-vertical-padding","",Mt.spacing1),Gt.extend("--ft-chip-medium-gap","",Mt.spacing1),Gt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-chip-medium-border-radius","",Mt.borderRadiusPill),Gt.create("--ft-chip-medium-border-width","","SIZE","1px"),Gt.extend("--ft-chip-medium-icon-size","",Mt.iconSize2),Gt.extend("--ft-chip-small-horizontal-padding","",Mt.spacing2),Gt.extend("--ft-chip-small-vertical-padding","",Mt.spacing05),Gt.extend("--ft-chip-small-gap","",Mt.spacing1),Gt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Gt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-chip-small-border-radius","",Mt.borderRadiusPill),Gt.create("--ft-chip-small-border-width","","SIZE","1px"),Gt.extend("--ft-chip-small-icon-size","",Mt.iconSize1),Gt.extend("--ft-chip-neutral-background-color","",jt.backgroundGlobalOnSurface),Gt.extend("--ft-chip-neutral-color","",jt.contentGlobalPrimary),Gt.extend("--ft-chip-neutral-border-color","",jt.borderGlobalSubtle),Gt.extend("--ft-chip-info-background-color","",jt.backgroundInfoSubtle),Gt.extend("--ft-chip-info-color","",jt.contentInfoPrimary),Gt.extend("--ft-chip-info-border-color","",jt.borderInfoPrimary),Gt.extend("--ft-chip-success-background-color","",jt.backgroundSuccessSubtle),Gt.extend("--ft-chip-success-color","",jt.contentSuccessPrimary),Gt.extend("--ft-chip-success-border-color","",jt.borderSuccessPrimary),Gt.extend("--ft-chip-warning-background-color","",jt.backgroundWarningSubtle),Gt.extend("--ft-chip-warning-color","",jt.contentWarningPrimary),Gt.extend("--ft-chip-warning-border-color","",jt.borderWarningPrimary),Gt.extend("--ft-chip-error-background-color","",jt.backgroundErrorSubtle),Gt.extend("--ft-chip-error-color","",jt.contentErrorPrimary),Gt.extend("--ft-chip-error-border-color","",jt.borderErrorPrimary),Gt.create("--ft-notice-border-width","","SIZE","1px"),Gt.extend("--ft-notice-horizontal-padding","",Mt.spacing2),Gt.extend("--ft-notice-vertical-padding","",Mt.spacing1),Gt.extend("--ft-notice-border-radius","",Mt.borderRadiusS),Gt.extend("--ft-notice-gap","",Mt.spacing2),Gt.extend("--ft-notice-icon-size","",Mt.iconSize3),Gt.extend("--ft-notice-info-background-color","",jt.backgroundInfoSubtle),Gt.extend("--ft-notice-info-border-color","",jt.borderInfoPrimary),Gt.extend("--ft-notice-info-color","",jt.contentInfoPrimary),Gt.extend("--ft-notice-warning-background-color","",jt.backgroundWarningSubtle),Gt.extend("--ft-notice-warning-border-color","",jt.borderWarningPrimary),Gt.extend("--ft-notice-warning-color","",jt.contentWarningPrimary),Gt.extend("--ft-checkbox-label-color","",jt.contentGlobalPrimary),Gt.extend("--ft-checkbox-checked-background-color","",jt.contentActionPrimary),Gt.extend("--ft-checkbox-checked-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-checkbox-checked-color","",jt.contentGlobalOnColor),Gt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Mt.opacity16),Gt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Mt.opacity16),Gt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Mt.opacity24),Gt.extend("--ft-checkbox-checked-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-checkbox-unchecked-border-color","",Mt.colorGray80),Gt.extend("--ft-checkbox-unchecked-state-layer-color","",Mt.colorGray80),Gt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Mt.opacity16),Gt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Mt.opacity16),Gt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Mt.opacity24),Gt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-checkbox-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Gt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-checkbox-gap","",Mt.spacing3),Gt.extend("--ft-toggle-off-state-layer-opacity-hover","",Mt.opacity16),Gt.extend("--ft-toggle-off-state-layer-opacity-focus","",Mt.opacity16),Gt.extend("--ft-toggle-off-state-layer-opacity-active","",Mt.opacity24),Gt.extend("--ft-toggle-off-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-toggle-off-background-color","",jt.contentGlobalSubtle),Gt.extend("--ft-toggle-off-icon-color","",jt.contentGlobalSubtle),Gt.extend("--ft-toggle-off-state-layer-color","",jt.contentGlobalSubtle),Gt.extend("--ft-toggle-on-state-layer-opacity-hover","",Mt.opacity16),Gt.extend("--ft-toggle-on-state-layer-opacity-focus","",Mt.opacity16),Gt.extend("--ft-toggle-on-state-layer-opacity-active","",Mt.opacity24),Gt.extend("--ft-toggle-on-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-toggle-on-background-color","",jt.contentActionPrimary),Gt.extend("--ft-toggle-on-icon-color","",jt.contentActionPrimary),Gt.extend("--ft-toggle-on-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-toggle-label-color","",jt.contentGlobalPrimary),Gt.extend("--ft-toggle-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.extend("--ft-toggle-gap","",Mt.spacing3),Gt.extend("--ft-radio-label-color","",jt.contentGlobalPrimary),Gt.extend("--ft-radio-selected-color","",jt.contentActionPrimary),Gt.extend("--ft-radio-selected-state-layer-color","",jt.contentActionPrimary),Gt.extend("--ft-radio-selected-state-layer-opacity-hover","",Mt.opacity16),Gt.extend("--ft-radio-selected-state-layer-opacity-focus","",Mt.opacity16),Gt.extend("--ft-radio-selected-state-layer-opacity-active","",Mt.opacity24),Gt.extend("--ft-radio-selected-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-radio-unselected-state-layer-color","",Mt.colorGray80),Gt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Mt.opacity16),Gt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Mt.opacity16),Gt.extend("--ft-radio-unselected-state-layer-opacity-active","",Mt.opacity24),Gt.extend("--ft-radio-unselected-component-opacity-disabled","",Mt.opacity40),Gt.extend("--ft-radio-focus-focus-ring-color","",jt.borderActionFocusRing),Gt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Gt.create("--ft-radio-focus-outline-width","","SIZE","2px"),Gt.extend("--ft-radio-gap","",Mt.spacing3),Gt.extend("--ft-notification-icon-size","",Mt.iconSize4),Gt.extend("--ft-notification-horizontal-padding","",Mt.spacing4),Gt.extend("--ft-notification-vertical-padding","",Mt.spacing4),Gt.extend("--ft-notification-info-background-color","",jt.backgroundInfoSubtle),Gt.extend("--ft-notification-info-color","",jt.contentInfoPrimary),Gt.extend("--ft-notification-info-border-color","",jt.borderInfoPrimary),Gt.extend("--ft-notification-success-background-color","",jt.backgroundSuccessSubtle),Gt.extend("--ft-notification-success-color","",jt.contentSuccessPrimary),Gt.extend("--ft-notification-success-border-color","",jt.borderSuccessPrimary),Gt.extend("--ft-notification-warning-background-color","",jt.backgroundWarningSubtle),Gt.extend("--ft-notification-warning-color","",jt.contentWarningPrimary),Gt.extend("--ft-notification-warning-border-color","",jt.borderWarningPrimary),Gt.extend("--ft-notification-error-background-color","",jt.backgroundErrorSubtle),Gt.extend("--ft-notification-error-color","",jt.contentErrorPrimary),Gt.extend("--ft-notification-error-border-color","",jt.borderErrorPrimary),Gt.extend("--ft-notification-border-radius","",Mt.borderRadiusPill),Gt.create("--ft-notification-border-width","","SIZE","1px"),Gt.extend("--ft-notification-gap-leading","",Mt.spacing2),Gt.extend("--ft-notification-gap-trailing","",Mt.spacing8);const Yt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),Vt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),Xt={fontFamily:Vt,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")},qt=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Yt),Jt=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",Xt.fontSize,"20px"),Qt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",Xt.fontWeight,"normal"),to=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",Xt.letterSpacing,"0.15px"),oo=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",Xt.lineHeight,"1.2"),eo=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",Xt.textTransform,"inherit"),ro=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Yt),ao=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",Xt.fontSize,"14px"),no=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",Xt.fontWeight,"normal"),io=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",Xt.letterSpacing,"0.105px"),lo=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",Xt.lineHeight,"1.7"),co=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",Xt.textTransform,"inherit"),so=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Vt),fo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",Xt.fontSize,"16px"),po=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",Xt.fontWeight,"600"),ho=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",Xt.letterSpacing,"0.144px"),yo=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",Xt.lineHeight,"1.5"),go=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",Xt.textTransform,"inherit"),uo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Vt),bo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",Xt.fontSize,"14px"),mo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",Xt.fontWeight,"normal"),Oo=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",Xt.letterSpacing,"0.098px"),No=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",Xt.lineHeight,"1.7"),So=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",Xt.textTransform,"inherit"),Co=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Vt),vo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",Xt.fontSize,"16px"),wo=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",Xt.fontWeight,"normal"),Ro=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",Xt.letterSpacing,"0.496px"),Eo=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",Xt.lineHeight,"1.5"),Io=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",Xt.textTransform,"inherit"),xo=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Vt),Uo=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",Xt.fontSize,"14px"),Lo=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",Xt.fontWeight,"normal"),Wo=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",Xt.letterSpacing,"0.252px"),Ko=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",Xt.lineHeight,"1.4"),ko=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",Xt.textTransform,"inherit"),Ao=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Vt),$o=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",Xt.fontSize,"12px"),Zo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",Xt.fontWeight,"normal"),Do=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",Xt.letterSpacing,"0.396px"),zo=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",Xt.lineHeight,"1.33"),Fo=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",Xt.textTransform,"inherit"),Bo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Vt),To=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",Xt.fontSize,"10px"),Po=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",Xt.fontWeight,"normal"),Ho=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",Xt.letterSpacing,"0.33px"),Go=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",Xt.lineHeight,"1.6"),Mo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",Xt.textTransform,"inherit"),_o=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Vt),jo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",Xt.fontSize,"10px"),Yo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",Xt.fontWeight,"normal"),Vo=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",Xt.letterSpacing,"1.5px"),Xo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",Xt.lineHeight,"1.6"),qo=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",Xt.textTransform,"uppercase"),Jo=o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Vt),Qo=o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",Xt.fontSize,"14px"),te=o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",Xt.fontWeight,"600"),oe=o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",Xt.letterSpacing,"1.246px"),ee=o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",Xt.lineHeight,"1.15"),re=o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",Xt.textTransform,"uppercase"),ae=e.css`
42
42
  .ft-typography--title {
43
43
  font-family: ${qt};
44
44
  font-size: ${Jt};
@@ -47,16 +47,16 @@ const Dt=Symbol.for(""),zt=t=>{if(t?.r===Dt)return t?._$litStatic$},Ft=t=>({_$li
47
47
  line-height: ${oo};
48
48
  text-transform: ${eo};
49
49
  }
50
- `,ie=e.css`
50
+ `,ne=e.css`
51
51
  .ft-typography--title-dense {
52
52
  font-family: ${ro};
53
53
  font-size: ${ao};
54
- font-weight: ${io};
55
- letter-spacing: ${no};
54
+ font-weight: ${no};
55
+ letter-spacing: ${io};
56
56
  line-height: ${lo};
57
57
  text-transform: ${co};
58
58
  }
59
- `,ne=e.css`
59
+ `,ie=e.css`
60
60
  .ft-typography--subtitle1 {
61
61
  font-family: ${so};
62
62
  font-size: ${fo};
@@ -142,16 +142,16 @@ const Dt=Symbol.for(""),zt=t=>{if(t?.r===Dt)return t?._$litStatic$},Ft=t=>({_$li
142
142
  line-height: ${o.lineHeight};
143
143
  text-transform: ${o.textCase};
144
144
  }
145
- `}(t)))];var ue=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class be extends o.FtLitElement{constructor(){super(...arguments),this.variant=Pt.body1}render(){return this.element?Tt`
145
+ `}(t)))];var ue=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class be extends o.FtLitElement{constructor(){super(...arguments),this.variant=Pt.body1}render(){return this.element?Tt`
146
146
  <${Ft(this.element)}
147
147
  class="ft-typography ft-typography--${this.variant}">
148
148
  <slot></slot>
149
149
  </${Ft(this.element)}>
150
150
  `:Tt`
151
151
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
152
- `}}be.styles=[ae,ie,ne,le,ce,se,fe,pe,he,ye,de,...ge],ue([a.property()],be.prototype,"element",void 0),ue([a.property()],be.prototype,"variant",void 0),o.customElement("ft-typography")(be);class me extends CustomEvent{constructor(t,o){super("ft-search-result-click",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}}class Oe extends J{render(){return this.result?e.html`
152
+ `}}be.styles=[ae,ne,ie,le,ce,se,fe,pe,he,ye,de,...ge],ue([a.property()],be.prototype,"element",void 0),ue([a.property()],be.prototype,"variant",void 0),o.customElement("ft-typography")(be);class me extends CustomEvent{constructor(t,o){super("ft-search-result-click",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}}class Oe extends J{render(){return this.result?e.html`
153
153
  <a href="${this.result?function(t){switch(t.type){case S.MAP:return t.map.readerUrl;case S.DOCUMENT:return t.document.viewerUrl;case S.TOPIC:return t.topic.readerUrl}return""}(this.result):""}" @click=${this.onResultClick}>
154
- <ft-typography variant="title" part="text">${i.unsafeHTML(this.selectTitle(this.result))}</ft-typography>
154
+ <ft-typography variant="title" part="text">${n.unsafeHTML(this.selectTitle(this.result))}</ft-typography>
155
155
  </a>
156
156
  `:e.nothing}onResultClick(){this.dispatchEvent(new me(this.result,this.rank))}selectTitle(t){switch(t.type){case"MAP":return t.map.htmlTitle;case"DOCUMENT":return t.document.htmlTitle;case"TOPIC":return t.topic.htmlTitle}return""}}Oe.elementDefinitions={"ft-typography":be},Oe.styles=tt,o.customElement("ft-search-result-title")(Oe);const Ne=o.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent"),Se=e.css`
157
157
  .kwicmatch {
@@ -159,7 +159,7 @@ const Dt=Symbol.for(""),zt=t=>{if(t?.r===Dt)return t?._$litStatic$},Ft=t=>({_$li
159
159
  background-color: ${Ne};
160
160
  }
161
161
  `;class Ce extends J{render(){let t=this.result?this.selectAbstract(this.result):void 0;return t?e.html`
162
- <ft-typography variant="body1" part="text">${i.unsafeHTML(t)}</ft-typography>
162
+ <ft-typography variant="body1" part="text">${n.unsafeHTML(t)}</ft-typography>
163
163
  `:e.html`
164
164
  <style>
165
165
  :host {
@@ -167,11 +167,11 @@ const Dt=Symbol.for(""),zt=t=>{if(t?.r===Dt)return t?._$litStatic$},Ft=t=>({_$li
167
167
  }
168
168
  </style>
169
169
  `}selectAbstract(t){switch(t.type){case"MAP":return t.map.htmlExcerpt;case"DOCUMENT":return t.document.htmlExcerpt;case"TOPIC":return t.topic.htmlExcerpt}return""}}Ce.elementDefinitions={"ft-typography":be},Ce.styles=Se,o.customElement("ft-search-result-abstract")(Ce);const ve=e.css`
170
- `;var we=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};const Re=Symbol("i18nProperties"),Ee=Symbol("i18nUnsubs");function Ie(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?K:W}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const a=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...a)}onI18nUpdate(t){var o;null===(o=this[Re])||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[Re])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Re]&&new Set([...this[Re].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Ee].has(t)||this[Ee].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[Ee].forEach((t=>t())),this[Ee].clear()}}return o=Ee,we([a.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class xe extends(Ie(o.FtLitElement)){}class Ue extends(Ie(o.FtLitElementRedux)){}var Le=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class We extends Ue{constructor(){super(),this.editorMode=!1,this.addStore(E)}render(){return this.key&&this.context?e.html`
170
+ `;var we=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};const Re=Symbol("i18nProperties"),Ee=Symbol("i18nUnsubs");function Ie(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?K:W}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const a=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...a)}onI18nUpdate(t){var o;null===(o=this[Re])||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[Re])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Re]&&new Set([...this[Re].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Ee].has(t)||this[Ee].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[Ee].forEach((t=>t())),this[Ee].clear()}}return o=Ee,we([a.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class xe extends(Ie(o.FtLitElement)){}class Ue extends(Ie(o.FtLitElementRedux)){}var Le=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class We extends Ue{constructor(){super(),this.editorMode=!1,this.addStore(E)}render(){return this.key&&this.context?e.html`
171
171
  <span class="ft-i18n">
172
172
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
173
173
  </span>
174
- `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}We.elementDefinitions={},We.styles=ve,Le([o.redux()],We.prototype,"editorMode",void 0),Le([a.property()],We.prototype,"context",void 0),Le([a.property()],We.prototype,"key",void 0),Le([o.jsonProperty([])],We.prototype,"args",void 0),Le([a.property()],We.prototype,"defaultMessage",void 0);class Ke{static build(t){return new Ke(t)}static fromGwt(t){return new Ke(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>W.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(We);const ke=Ke.build("searchResultsNumber");var Ae=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class $e extends(Ie(H)){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>e.html`
174
+ `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}We.elementDefinitions={},We.styles=ve,Le([o.redux()],We.prototype,"editorMode",void 0),Le([a.property()],We.prototype,"context",void 0),Le([a.property()],We.prototype,"key",void 0),Le([o.jsonProperty([])],We.prototype,"args",void 0),Le([a.property()],We.prototype,"defaultMessage",void 0);class Ke{static build(t){return new Ke(t)}static fromGwt(t){return new Ke(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>W.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(We);const ke=Ke.build("searchResultsNumber");var Ae=function(t,o,e,r){for(var a,n=arguments.length,i=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(i=(n<3?a(i):n>3?a(o,e,i):a(o,e))||i);return n>3&&i&&Object.defineProperty(o,e,i),i};class $e extends(Ie(H)){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>e.html`
175
175
  <ft-search-result-title></ft-search-result-title>
176
176
  <ft-search-result-abstract></ft-search-result-abstract>
177
177
  `,this.selectedResultByCluster={},this.addI18nContext(ke)}render(){if(this.displayNoResultsMessage&&null!=this.results&&0==this.results.length)return e.html`
@@ -181,4 +181,4 @@ const Dt=Symbol.for(""),zt=t=>{if(t?.r===Dt)return t?._$litStatic$},Ft=t=>({_$li
181
181
  @ft-search-result-cluster-change="${o=>this.onClusterChange(t.id,o.detail)}">
182
182
  ${this.renderResult(null!==(r=this.selectedResultByCluster[t.id])&&void 0!==r?r:t.entries[0],o)}
183
183
  </ft-search-result-context>
184
- `}))}onClusterChange(t,o){this.selectedResultByCluster[t]=o}buildClusters(){switch(this.clusterPolicy){case"display-first-result":return this.buildFullClusters();case"display-all-results":return this.buildAllResultsClusters()}}buildFullClusters(){var t,o;return null!==(o=null===(t=this.results)||void 0===t?void 0:t.map((t=>({id:this.clusterId(t.entries[0]),entries:t.entries}))))&&void 0!==o?o:[]}buildAllResultsClusters(){var t,o;return null!==(o=null===(t=this.results)||void 0===t?void 0:t.flatMap((t=>t.entries.map((t=>({id:this.clusterId(t),entries:[t]}))))))&&void 0!==o?o:[]}clusterId(t){var o,e,r,a,i;return null!==(a=null!==(e=null===(o=t.map)||void 0===o?void 0:o.mapId)&&void 0!==e?e:null===(r=t.topic)||void 0===r?void 0:r.tocId)&&void 0!==a?a:null===(i=t.document)||void 0===i?void 0:i.documentId}}$e.styles=n,Ae([a.property({type:String,attribute:"cluster-policy"})],$e.prototype,"clusterPolicy",void 0),Ae([a.property({type:Boolean})],$e.prototype,"displayNoResultsMessage",void 0),Ae([a.property({attribute:!1})],$e.prototype,"renderResult",void 0),Ae([o.redux()],$e.prototype,"results",void 0),o.customElement("ft-search-results")($e),t.FtSearchResults=$e,t.FtSearchResultsCssVariables={},t.styles=n}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);
184
+ `}))}onClusterChange(t,o){this.selectedResultByCluster[t]=o}buildClusters(){switch(this.clusterPolicy){case"display-first-result":return this.buildFullClusters();case"display-all-results":return this.buildAllResultsClusters()}}buildFullClusters(){var t,o;return null!==(o=null===(t=this.results)||void 0===t?void 0:t.map((t=>({id:this.clusterId(t.entries[0]),entries:t.entries}))))&&void 0!==o?o:[]}buildAllResultsClusters(){var t,o;return null!==(o=null===(t=this.results)||void 0===t?void 0:t.flatMap((t=>t.entries.map((t=>({id:this.clusterId(t),entries:[t]}))))))&&void 0!==o?o:[]}clusterId(t){var o,e,r,a,n;return null!==(a=null!==(e=null===(o=t.map)||void 0===o?void 0:o.mapId)&&void 0!==e?e:null===(r=t.topic)||void 0===r?void 0:r.tocId)&&void 0!==a?a:null===(n=t.document)||void 0===n?void 0:n.documentId}}$e.styles=i,Ae([a.property({type:String,attribute:"cluster-policy"})],$e.prototype,"clusterPolicy",void 0),Ae([a.property({type:Boolean})],$e.prototype,"displayNoResultsMessage",void 0),Ae([a.property({attribute:!1})],$e.prototype,"renderResult",void 0),Ae([o.redux()],$e.prototype,"results",void 0),o.customElement("ft-search-results")($e),t.FtSearchResults=$e,t.FtSearchResultsCssVariables={},t.styles=i}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litRepeat,ftGlobals.litDecorators,ftGlobals.litUnsafeHTML);